🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reading Ctrl-C in TC++

#5475
From: Doug Stevens
Date: Wed, 27 Mar 1991 19:14
7 lines
953 bytes
One of the chronic problems I've had with trapping ^C is not handling the
^C itself, but trying to find a good way to supress the printout on screen 
of the ^C character.

BIOS somehow bypasses the usual streams and outputs this directly to stdout.
About the only way I've found to supress it is to re-direct stdout to NUL,
but then sdtout can't be used for other purposes.
Technical Details
Message-ID: <6343@videovax.tv.tek.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!zephyr.ens.tek.com!videovax!dougs
References: <1991Mar22.122417.7845@neon.Stanford.EDU> <valley.669652276@gsbsun>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!zephyr.ens.tek.com!videovax!dougs
From: dougs@videovax.tv.tek.com (Doug Stevens)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Reading Ctrl-C in TC++
Summary: Difficult to supress ^C printout
Keywords: getch TC++ Borland break ctrl
Message-ID: <6343@videovax.tv.tek.com>
Date: 27 Mar 91 19:14:33 GMT
References: <1991Mar22.122417.7845@neon.Stanford.EDU> <valley.669652276@gsbsun>
Organization: Tektronix TV Measurement Systems, Beaverton OR
Lines: 7