Date: Fri, 9 Dec 1994 11:24:49 -0500 From: Marc Feeley To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Handling Ctrl-C interrupts Hi, I'm new to this list so please excuse me if this has already been answered before. I would like to catch "ctrl-c" interrupts so that the program does not terminate abruptly. I can catch "ctrl-break" but can't figure out how to do it for "ctrl-c". Also, is there a way for "ctrl-c" interrupts (or "ctrl-break") to abort the current call to "fread"? I would like a behavior similar to the one gotten with UNIX's "sigaction" routine, when specifying SA_INTERRUPT in the sa_flags field. Marc