Code

pager: default to LESS=FRSX not LESS=FRS
authorJunio C Hamano <junkio@cox.net>
Mon, 23 Oct 2006 03:28:10 +0000 (20:28 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 23 Oct 2006 03:28:10 +0000 (20:28 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
pager.c

diff --git a/pager.c b/pager.c
index 8bd33a15ca50f01b3c5a5e4028dc0b64d5360a92..4587fbbdb51e50c1e3e6e4c3476cdccd4ac59cee 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -50,7 +50,7 @@ void setup_pager(void)
        close(fd[0]);
        close(fd[1]);
 
-       setenv("LESS", "FRS", 0);
+       setenv("LESS", "FRSX", 0);
        run_pager(pager);
        die("unable to execute pager '%s'", pager);
        exit(255);