projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f3523b
)
pager: add -M to $LESS to make the bottom line nicer
author
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2013 20:42:25 +0000
(21:42 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2013 20:43:28 +0000
(21:43 +0100)
src/shared/pager.c
patch
|
blob
|
history
diff --git
a/src/shared/pager.c
b/src/shared/pager.c
index
e9aa022
..
8dddf24
100644
(file)
--- a/
src/shared/pager.c
+++ b/
src/shared/pager.c
@@
-86,9
+86,9
@@
int pager_open(bool jump_to_end) {
close_pipe(fd);
if (jump_to_end)
- setenv("LESS", "FRSXK+G", 1);
+ setenv("LESS", "FRSX
M
K+G", 1);
else
- setenv("LESS", "FRSXK", 1);
+ setenv("LESS", "FRSX
M
K", 1);
/* Make sure the pager goes away when the parent dies */
if (prctl(PR_SET_PDEATHSIG, SIGTERM) < 0)