🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #27525

How to establish a ^C handler?

#27525
From: Sandra J Loosemore
Date: Fri, 10 Jul 1987 14:58
11 lines
1057 bytes
I'd like to have a program I'm working on establish a handler for
asynchronous ^c interrupts.  Some TOS programs seem to do this already,
but others seem to handle ^c's synchronously.  The GEMDOS documentation 
implies that ^c's are treated specially when you use Cconin and Cnecin,
but this can only be synchronous, right?  I can't find any mention of a
special interrupt for ^c in the docs -- could I poll the keyboard
for input from inside a clock-driven interrupt handler?  Is there an
easier way?

-Sandra Loosemore
sandra@cs.utah.edu, sandra@utah-cs.uucp
Technical Details
Message-ID: <4728@utah-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!ut-sally!utah-cs!sandra

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!ut-sally!utah-cs!sandra
From: sandra@utah-cs.UUCP (Sandra J Loosemore)
Newsgroups: comp.sys.atari.st
Subject: How to establish a ^C handler?
Message-ID: <4728@utah-cs.UUCP>
Date: Fri, 10-Jul-87 10:58:42 EDT
Article-I.D.: utah-cs.4728
Posted: Fri Jul 10 10:58:42 1987
Date-Received: Sun, 12-Jul-87 10:49:49 EDT
Organization: University of Utah CS Dept
Lines: 11
Keywords: ^c interrupt