Article View: alt.msdos.programmer
Article #293Re: Control C and Break
From: AAron nAAs
Date: Sat, 12 Sep 1992 22:18
Date: Sat, 12 Sep 1992 22:18
14 lines
1001 bytes
1001 bytes
From article <BuG1F8.G6o@mentor.cc.purdue.edu>, by piskacrj@mentor.cc.purdue.edu (Bob Piskac): > How do you trap a Control Break or Control C in MS C V7.0. I can > stop it from interupting the program, but I get a ^C on the screen. > > Thanks, > > piskacrj@mentor.cc.purdue.edu We wrote a program with a TUI, and had a Ctrl-C handler that did nothing. We encountered your problem of the ^C on the screen, and our quick and dirty solution was to redirect stdout in initialization. Since we did special screen writes it wasn't a problem. AAron nAAs Eclat Technologies, Inc.
Technical Details
Message-ID:
<1992Sep12.221805.18053@news.clarkson.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!clarkson!newsReferences:
<BuG1F8.G6o@mentor.cc.purdue.edu>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!clarkson!news From: AAron@sun.soe.clarkson.edu (AAron nAAs) Subject: Re: Control C and Break Message-ID: <1992Sep12.221805.18053@news.clarkson.edu> Sender: news@news.clarkson.edu Nntp-Posting-Host: sun.soe.clarkson.edu Organization: Clarkson University References: <BuG1F8.G6o@mentor.cc.purdue.edu> Date: Sat, 12 Sep 1992 22:18:05 GMT Lines: 14