[comp.sys.atari.st] How to establish a ^C handler?

sandra@utah-cs.UUCP (Sandra J Loosemore) (07/10/87)

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