delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/10/13:41:49

From: "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com>
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> <Pine DOT SUN DOT 3 DOT 91 DOT 1000209090433 DOT 9816J-100000 AT is> <01bf7348$40dc9260$69e126d4 AT pena-ii> <Pine DOT SUN DOT 3 DOT 91 DOT 1000210133041 DOT 27855K-100000 AT is> <f2s5as89cbh6f1c4effk3bb03k1bnk2s6i AT 4ax DOT com>
NNTP-Posting-Host: wmerh0tk.ca.nortel.com
Mime-Version: 1.0
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 (\/)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019