Browse Source

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

the `more' pager is now disabled by default
pre-master-46
h_vogt 10 years ago
committed by rlar
parent
commit
db0849d076
  1. 2
      src/frontend/miscvars.c
  2. 8
      src/frontend/terminal.c

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

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

Loading…
Cancel
Save