Go to the source code of this file.
void handle_interrupt |
( |
| ) |
|
Definition at line 43 of file interrupt.c.
References abort_life(), DIGIT, EOLN, exit_life(), FALSE, input_state, interrupted, open_input_file(), prompt, quietflag, read_char(), restore_state(), show_count(), stdin_cleareof(), stepcount, stepflag, steptrace, trace, TRUE, and verbose.
64 printf(
"*** Command ");
70 }
while (c!=
EOLN && c>0 && c<=32);
78 if (c==
'h' || c==
'?') {
79 printf(
"*** [Quit (q), Continue (c), Abort (a), Step (s,RETURN), Trace (t), Help (h,?)]\n");
82 }
while (c==
'h' || c==
'?');
95 if (c==EOF) printf(
"\n");
119 case '0':
case '1':
case '2':
case '3':
case '4':
120 case '5':
case '6':
case '7':
case '8':
case '9':
void exit_life(long nl_flag)
long abort_life(int nlflag)
void restore_state(ptr_psi_term t)
long open_input_file(char *file)
Definition at line 28 of file interrupt.c.
References interrupt().
32 if (signal(SIGINT,SIG_IGN)!=SIG_IGN)
33 (
void)signal(SIGINT,f);