=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/signal.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/less/signal.c 2011/09/16 18:12:09 1.7 +++ src/usr.bin/less/signal.c 2011/09/21 19:01:49 1.8 @@ -23,7 +23,7 @@ /* * "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 screen_trashed; @@ -41,7 +41,6 @@ u_interrupt(type) int type; { - bell(); #if OS2 LSIGNAL(SIGINT, SIG_ACK); #endif @@ -236,6 +235,7 @@ #endif if (tsignals & S_INTERRUPT) { + bell(); if (quit_on_intr) quit(QUIT_INTERRUPT); }