Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 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