terminal.c, miscvars.c, variable 'moremode' instead of 'nomoremode', new default
the `more' pager is now disabled by default
This commit is contained in:
parent
eef5a058d2
commit
db0849d076
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue