version 1.7, 2011/09/16 18:12:09 |
version 1.8, 2011/09/21 19:01:49 |
|
|
/* |
/* |
* "sigs" contains bits indicating signals which need to be processed. |
* "sigs" contains bits indicating signals which need to be processed. |
*/ |
*/ |
public int sigs; |
public volatile sig_atomic_t sigs; |
|
|
extern int sc_width, sc_height; |
extern int sc_width, sc_height; |
extern int screen_trashed; |
extern int screen_trashed; |
|
|
u_interrupt(type) |
u_interrupt(type) |
int type; |
int type; |
{ |
{ |
bell(); |
|
#if OS2 |
#if OS2 |
LSIGNAL(SIGINT, SIG_ACK); |
LSIGNAL(SIGINT, SIG_ACK); |
#endif |
#endif |
|
|
#endif |
#endif |
if (tsignals & S_INTERRUPT) |
if (tsignals & S_INTERRUPT) |
{ |
{ |
|
bell(); |
if (quit_on_intr) |
if (quit_on_intr) |
quit(QUIT_INTERRUPT); |
quit(QUIT_INTERRUPT); |
} |
} |