Article View: comp.sys.amiga.tech
Article #8120Checking for CTRL-c
From: Eric S Bazan
Date: Fri, 01 Feb 1991 12:04
Date: Fri, 01 Feb 1991 12:04
14 lines
1030 bytes
1030 bytes
How would one go about creating an asynchronous signal/task which would check for a given an external user generated interrupt (such as CTRL-c or CTRL-\). I'd like to be able to check for these so I can easily exit programs I write while they're running. I'd like to know a general purpose way of doing this -- I'm not using Lattice, so I can't use its Enable_Abort CTRL-c checking. Many Thanks, -Eric Bazan theboo@picard.cs.wisc.edu -or- bazan@cae.wisc.edu
Technical Details
Message-ID:
<1991Feb1.120407.11888@daffy.cs.wisc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!daffy!picard.cs.wisc.edu!thebooShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!uwm.edu!uwvax!daffy!picard.cs.wisc.edu!theboo From: theboo@picard.cs.wisc.edu (Eric S Bazan) Newsgroups: comp.sys.amiga.tech Subject: Checking for CTRL-c Message-ID: <1991Feb1.120407.11888@daffy.cs.wisc.edu> Date: 1 Feb 91 12:04:07 GMT Sender: news@daffy.cs.wisc.edu (The News) Organization: U of Wisconsin CS Dept Lines: 14 Originator: theboo@picard.cs.wisc.edu