Article View: comp.os.msdos.programmer
Article #2954Intercepting control-break in Microsoft C
From: James Seidman
Date: Wed, 07 Nov 1990 16:53
Date: Wed, 07 Nov 1990 16:53
14 lines
1067 bytes
1067 bytes
Sorry if this is a FAQ, but I can't seem to figure it out. For a program I'm writing in MSC 6.0, I need to be able to prevent the user from breaking out of it. Now, capturing SIGINT's will do this, but it still causes a "^C" to be printed to the console. Needless to say, this is *really* ugly, and it's not at all friendly when the screen starts scrolling. Has anyone figured out a workaround for this? Thanks in advance for any help! -- Jim Seidman (Drax), the accidental engineer. "There's a certain freedom to being completely screwed." - The Freshman UUCP: ames!vsi1!hsv3!jls Internet: hsv3.UUCP!jls@apple.com
Technical Details
Message-ID:
<5654@hsv3.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!vsi1!hsv3!jlsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!vsi1!hsv3!jls From: jls@hsv3.UUCP (James Seidman) Newsgroups: comp.os.msdos.programmer Subject: Intercepting control-break in Microsoft C Message-ID: <5654@hsv3.UUCP> Date: 7 Nov 90 16:53:06 GMT Reply-To: jls@hsv3.UUCP (James Seidman) Organization: Video Seven / Headland Technology Lines: 14