🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I silence a ^C interrupt?

#735
From: Ralf Brown
Date: Wed, 15 Apr 1992 02:27
18 lines
1543 bytes
In article <37390028@hpopd.pwd.hp.com> 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 /
}To quote an old DOS reference manual :- "If the Ctrl-Break interrupts
}functions 9 or 10, buffered I/O, then C, carriage-return, and linefeed are
}output."
}
}This implies that you will need to make sure that you do not use buffered
}I/O to/from the console when that buffering is performed by DOS via Int 21H,
}functions 9 or 10.

Actually, you'll have to make sure you don't use *any* DOS console I/O
function that checks for Ctrl-C or Ctrl-Break.  This includes unbuffered
I/O as well as functions 9 and 10.
-- 
{backbone}!cs.cmu.edu!ralf  ARPA: RALF@CS.CMU.EDU  FIDO: Ralf Brown 1:129/26.1
BITnet: RALF%CS.CMU.EDU@CARNEGIE   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER?  Did   |  Hansen's Library Axiom: The closest library doesn't
I claim something? |                          have the material you need.
Technical Details
Message-ID: <1992Apr15.022726.98742@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!ralf
References: <1992Apr9.175502.2526@crd.ge.com> <37390028@hpopd.pwd.hp.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!ralf
From: ralf+@cs.cmu.edu (Ralf Brown)
Subject: Re: How can I silence a ^C interrupt?
Message-ID: <1992Apr15.022726.98742@cs.cmu.edu>
Date: Wed, 15 Apr 92 02:27:26 GMT
Organization: School of Computer Science, Carnegie Mellon
Nntp-Posting-Host: b.gp.cs.cmu.edu
References: <1992Apr9.175502.2526@crd.ge.com> <37390028@hpopd.pwd.hp.com>
Lines: 18