delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/15:44:00

From: Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Untrapping Ctrl-C in DJGPP
Date: 8 Feb 2000 18:41:46 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 13
Message-ID: <87po1a$6n6$1@nets3.rz.RWTH-Aachen.DE>
References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
Mime-Version: 1.0
X-Trace: nets3.rz.RWTH-Aachen.DE 950035306 6886 137.226.32.75 (8 Feb 2000 18:41:46 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 8 Feb 2000 18:41:46 GMT
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586))
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Antti Koskipää" <antti DOT koskipaa AT no DOT spam DOT please DOT nic DOT fi> wrote:
> Hello,

> I'm working on a little program (18000+ lines of code already =)
> and I want to disable Ctrl-C trapping. With _go32_want_ctrl_break()
> I can disable Ctrl-Break. Great. But when I press Ctrl-C, the program
> bombs with quadruple faults.

Looks like you lack a SIGINT handler. That's what you should use to
catch Ctrl-C. 
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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