chiark / gitweb /
catalog: open up catalog internals
[elogind.git] / src / shared / pager.c
index 4ffb530e934810b41f3455e1ea18bae8a6054196..8dddf24f4c7816ba7e739016563f4c92b282cca2 100644 (file)
@@ -86,9 +86,9 @@ int pager_open(bool jump_to_end) {
                 close_pipe(fd);
 
                 if (jump_to_end)
-                        setenv("LESS", "FRSXK+G", 0);
+                        setenv("LESS", "FRSXMK+G", 1);
                 else
-                        setenv("LESS", "FRSXK", 0);
+                        setenv("LESS", "FRSXMK", 1);
 
                 /* Make sure the pager goes away when the parent dies */
                 if (prctl(PR_SET_PDEATHSIG, SIGTERM) < 0)