www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/30/12:58:33

Date: Fri, 30 Apr 93 12:09:41 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: control-c handling

I put a hack into exphdlr.c so that when you make the DOS call which disables
control-c checking, go32 installs a control-break interception routine which
ignores the break.  This works, but the application doesn't get told about the
break, although I guess it does see a ^C keystroke.  I was thinking of doing a
similar trick for a critical error handler; go32 would tell DOS to fail the
error.  In this case, there would definitely be a need to have go32 set a flag
which the application could check.  I gather that there is some sort of signal
support under development for the next release, so I figure I should ask
what's coming before I do much more.

- Raw text -


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