From db0849d076261009cf4923d5e072786abf95878b Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 9 Jan 2016 14:54:17 +0100 Subject: [PATCH] terminal.c, miscvars.c, variable 'moremode' instead of 'nomoremode', new default the `more' pager is now disabled by default --- src/frontend/miscvars.c | 2 +- src/frontend/terminal.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/miscvars.c b/src/frontend/miscvars.c index 95a257903..440780fbf 100644 --- a/src/frontend/miscvars.c +++ b/src/frontend/miscvars.c @@ -77,6 +77,7 @@ char *ft_setkwords[] = { "maxwins", "modelcard", "modelline", + "moremode", "nfreqs", "noasciiplotvalue", "noaskquit", @@ -87,7 +88,6 @@ char *ft_setkwords[] = { "noglob", "nogrid", "nomod", - "nomoremode", "nonomatch", "nopadding", "nopage", diff --git a/src/frontend/terminal.c b/src/frontend/terminal.c index 7a1a8ffec..c37dd16d0 100644 --- a/src/frontend/terminal.c +++ b/src/frontend/terminal.c @@ -42,7 +42,7 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group #include "terminal.h" -bool out_moremode = TRUE; +bool out_moremode = FALSE; bool out_isatty = TRUE; #ifndef TCL_MODULE @@ -73,10 +73,10 @@ out_init(void) noprint = nopause = FALSE; - if (cp_getvar("nomoremode", CP_BOOL, NULL)) - out_moremode = FALSE; - else + if (cp_getvar("moremode", CP_BOOL, NULL)) out_moremode = TRUE; + else + out_moremode = FALSE; if (!out_moremode || !cp_interactive) out_isatty = FALSE;