🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I silence a ^C interrupt?

#727
From: John A. Slagel
Date: Tue, 14 Apr 1992 21:03
14 lines
1323 bytes
richardh@hpopd.pwd.hp.com (Richard Hancock) writes:

>/ hpopd:comp.os.msdos.programmer / halvers@procyon.crd.ge.com (peter c halverson) /  6:55 pm  Apr  9, 1992 /

>>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?

    An easy way to get rid of it is to locate the cursor at a 
    non-displayed location, like row 26 when you're not using it.
Technical Details
Message-ID: <1992Apr14.210313.21622@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
References: <1992Apr9.175502.2526@crd.ge.com> <37390028@hpopd.pwd.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Newsgroups: comp.os.msdos.programmer
Subject: Re: How can I silence a ^C interrupt?
Message-ID: <1992Apr14.210313.21622@ux1.cso.uiuc.edu>
Date: 14 Apr 92 21:03:13 GMT
Article-I.D.: ux1.1992Apr14.210313.21622
References: <1992Apr9.175502.2526@crd.ge.com> <37390028@hpopd.pwd.hp.com>
Sender: usenet@ux1.cso.uiuc.edu (News)
Organization: University of Illinois at Urbana
Lines: 14