🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #638

How can I silence a ^C interrupt?

#638
From: peter c halverson
Date: Thu, 09 Apr 1992 17:55
18 lines
1335 bytes
I've got an application running under Borland C++ 3.0 on a Dell 386 box
(MS-DOS 5.0), using the BGI graphics library to manage the VGA display.

I'm trying to use Borland's "ctrlbrk" function to handle ^C/^Break events
(setting a flag that another routine eventually notices), and it seems to
work as advertised, except that I can't seem to suppress the echo of
"^C<CR>" to the screen (which trashes the display).  Obviously there's some
chunk of code outside the default ^C handler which is doing this echoing
(the BIOS keystroke handler, maybe?), but I thought I'd check before trying
to hunt it down myself.  Any suggestions?

Thanks,
Pete
--
===============================================================================
Pete Halverson                                      INET: halverson@crd.ge.com 
GE Corporate R&D Center                       UUCP: uunet!crd.ge.com!halverson
Schenectady, NY
Technical Details
Message-ID: <1992Apr9.175502.2526@crd.ge.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!rdsunx.crd.ge.com!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!rdsunx.crd.ge.com!usenet
From: halvers@procyon.crd.ge.com (peter c halverson)
Newsgroups: comp.os.msdos.programmer
Subject: How can I silence a ^C interrupt?
Message-ID: <1992Apr9.175502.2526@crd.ge.com>
Date: 9 Apr 92 17:55:02 GMT
Sender: usenet@crd.ge.com (Required for NNTP)
Organization: General Electric Corporate R&D Center
Lines: 18
Nntp-Posting-Host: procyon.crd.ge.com