| delorie.com/archives/browse.cgi | search |
| From: | "Antti Koskipää" <antti DOT koskipaa AT NO DOT SPAM DOT PLEASE DOT nic DOT fi> |
| Subject: | Untrapping Ctrl-C in DJGPP |
| Newsgroups: | comp.os.msdos.djgpp |
| Message-ID: | <01bf725f$15b1d9e0$12e126d4@pena-ii> |
| X-Newsreader: | Microsoft Internet News 4.70.1155 |
| Lines: | 18 |
| Date: | Tue, 08 Feb 2000 17:00:51 GMT |
| NNTP-Posting-Host: | 212.38.225.18 |
| X-Trace: | uutiset.nic.fi 950029251 212.38.225.18 (Tue, 08 Feb 2000 19:00:51 EET) |
| NNTP-Posting-Date: | Tue, 08 Feb 2000 19:00:51 EET |
| Organization: | NIC Tietoverkot Oy - NIC Data Networks Ltd. |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
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. If I shell out from the proggy, press Ctrl-C on the command line (DOS prints the ^C and a CR) and type exit to return, the program crashes again. This is ridiculous! Is there any way to disable Ctrl-C from causing an exception other than writing my own keyboard handler? Thanks, Antti -- To reply via mail, remove you-know-what.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |