Return to command.c CVS log | Up to [local] / src / usr.bin / less |
version 1.10, 2011/09/21 19:01:49 | version 1.11, 2011/10/08 19:55:39 | ||
---|---|---|---|
|
|
||
extern int oldbot; | extern int oldbot; | ||
extern int forw_prompt; | extern int forw_prompt; | ||
extern int be_helpful; | extern int be_helpful; | ||
extern int less_is_more; | |||
extern int quit_at_eof; | |||
#if SHELL_ESCAPE | #if SHELL_ESCAPE | ||
static char *shellcmd = NULL; /* For holding last shell command for "!!" */ | static char *shellcmd = NULL; /* For holding last shell command for "!!" */ | ||
|
|
||
*/ | */ | ||
if (sigs && !ABORT_SIGS()) | if (sigs && !ABORT_SIGS()) | ||
newaction = A_F_FOREVER; | newaction = A_F_FOREVER; | ||
if (less_is_more) | |||
quit_at_eof = OPT_ON; | |||
break; | break; | ||
case A_F_SCROLL: | case A_F_SCROLL: |