www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/19:11:42

From: "beat studer" <beat_studer AT freesurf DOT ch>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Untrapping Ctrl-C in DJGPP
Date: Tue, 8 Feb 2000 23:04:21 +0100
Organization: sunrise communications ag
Lines: 19
Message-ID: <87q3sp$8v4$1@news1.sunrise.ch>
References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <87po1a$6n6$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: pop-zh-10-1-dialup-206.freesurf.ch
X-Trace: news1.sunrise.ch 950047449 9188 194.230.194.206 (8 Feb 2000 22:04:09 GMT)
X-Complaints-To: usenet AT sunrise DOT ch
NNTP-Posting-Date: 8 Feb 2000 22:04:09 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

what about __djgpp_set_ctrl_c(0); ?

Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de> wrote in
message news:87po1a$6n6$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
> "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