Use "more" as pager if $PAGER is not set - sacc - sacc(omys), simple console gopher client
(HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) LICENSE
---
(DIR) commit f649b76d536427fbd735f77958aad9d41e1e580e
(DIR) parent 7a2bdea6e18d2338126d3cab8fdc1b0240920801
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 7 Jul 2017 17:11:42 +0200
Use "more" as pager if $PAGER is not set
Diffstat:
M sacc.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
@@ -475,6 +475,7 @@ cleanup(void)
static void
setup(void)
{
+ setenv("PAGER", "more", 0);
atexit(cleanup);
uisetup();
}