From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Untrapping Ctrl-C in DJGPP Date: Thu, 10 Feb 2000 13:12:24 -0500 Organization: Nortel Networks Lines: 18 Message-ID: <38A2FF88.E4840FC9@americasm01.nt.com> References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <01bf7348$40dc9260$69e126d4 AT pena-ii> NNTP-Posting-Host: wmerh0tk.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.71 [en] (X11; I; HP-UX B.10.20 9000/785) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damian Yerrick 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? None. -- (\/) Rolf Campbell (\/)