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> <38A2FF88 DOT E4840FC9 AT americasm01 DOT nt DOT com> <38A5520F DOT 57B6ED6A AT is DOT elta DOT co DOT il> <38A5707A DOT 4ED5ED78 AT maths DOT unine DOT ch> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 X-Trace: /K+neUphnW1DPgnFt6G8NaZqHoG++sBaTxqAKBcEOMeI52wFm9o6T3xVxtc6ZGEb/7UrizEdHec3!pm456f5DtHqQVPgfzdlYSKzamm/M7rRR1pUgc8GPUvslVAU/X0Y07UEbzM1sIHNyXUCeIeSOOcpl!VCJRU04= 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: Sat, 12 Feb 2000 15:53:51 GMT Distribution: world Date: Sat, 12 Feb 2000 15:53:51 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 12 Feb 2000 14:38:50 +0000, Gautier wrote: >> > Then how do edit.com and command.com catch it? > >> I don't know, but I suspect that command.com and edit.com are actually >> Windows console applications in disguise. Ran 'em both in F8-DOS. >This is *very* unlikely. Anyway you can catch it from >pure 16-bit DOS applications using int 2F & AX = 168Fh : > > http://www.ctyme.com/intr/rb-4556.htm So why not catch this in the next version of the DJGPP library and send the same signal that X sends when a terminal window is closed? What is it? SIGTERM? Any takers for coding this? -- 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