terminal.c, miscvars.c, variable 'moremode' instead of 'nomoremode', new default

the `more' pager is now disabled by default
This commit is contained in:
h_vogt 2016-01-09 14:54:17 +01:00 committed by rlar
parent eef5a058d2
commit db0849d076
2 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -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;