tUse "more" as pager if $PAGER is not set - sacc - sacc (saccomys): simple goph… | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f649b76d536427fbd735f77958aad9d41e1e580e | |
parent 7a2bdea6e18d2338126d3cab8fdc1b0240920801 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 7 Jul 2017 17:11:42 +0200 | |
Use "more" as pager if $PAGER is not set | |
Diffstat: | |
sacc.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/sacc.c b/sacc.c | |
t@@ -475,6 +475,7 @@ cleanup(void) | |
static void | |
setup(void) | |
{ | |
+ setenv("PAGER", "more", 0); | |
atexit(cleanup); | |
uisetup(); | |
} |