From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Untrapping Ctrl-C in DJGPP Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <01bf7348$40dc9260$69e126d4 AT pena-ii> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 20 X-Trace: /Kkf2Lj4Z+Bb/oO2IqBXTmTfNhA8KYLZ0Zu+31vVafBwaDyjf6dVMCFocLSMzUX0AmBBuMNaYOBg!QuYPb2atmyMGNKSA6Cj3xml18G3R+ALY2BO8pV1VThTUS0lWpDcsSdgVY3dVCSVtWuQrhel7kPE1!F7gssNI= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 10 Feb 2000 17:10:18 GMT Distribution: world Date: Thu, 10 Feb 2000 17:10:18 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 10 Feb 2000 13:32:46 +0200, Eli Zaretskii wrote: >On Wed, 9 Feb 2000, Antti Koskipää wrote: > >> Should I hook all of SIG: INT, ABRT, QUIT, ILL, etc...? > >Ctrl-C generates SIGINT. SIGQUIT is generated by Ctrl-\, and is by >default ignored (and you have DJGPP v2.01 where SIGQUIT wasn't >generated at all), so it shouldn't matter. SIGABRT is only raised by >calling the library function `abort'. For SIGILL you'd need some >heavy breakage in the program or emit an illegal instruction. What signal does clicking a Win9x DOS box's close box generate? -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html