🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Control-C handling

#5370
From: Wayne Turner
Date: Fri, 22 Mar 1991 00:32
15 lines
1036 bytes
I've installed a control-C handler (INT 23) for an application I am
writing. It works but either DOS or BIOS still echoes the "^C" to
the console.  This is a problem since it's a graphics application and
I want to avoid a screen redraw whenever the user hits ^C (BTW, my
handler does nothing but IRET).  I'd also like to avoid such extremes
as redirecting stdout or hooking the keyboard interrupt handler. Also
the keyboard-intercept interrupt is not supported on all PC's.
Any ideas would be much appreciated.

Thanks,
Wayne Turner
Tektronix, Inc.
Redmond, Oregon
waynet@kit.CNA.TEK.COM
503-923-4517
Technical Details
Message-ID: <969@masterCNA.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uunet!zephyr.ens.tek.com!master!kit!waynet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uunet!zephyr.ens.tek.com!master!kit!waynet
From: waynet@kit.tek.com (Wayne Turner)
Newsgroups: comp.os.msdos.programmer
Subject: Control-C handling
Message-ID: <969@masterCNA.TEK.COM>
Date: 22 Mar 91 00:32:28 GMT
Sender: news@masterCNA.TEK.COM
Reply-To: waynet@kit.tek.com (Wayne Turner)
Organization: Tektronix, Inc., Redmond, Oregon
Lines: 15