Path: utzoo!attcan!uunet!husc6!linus!alliant!rosenkra
From: rosenkra@Alliant.COM (Bill Rosenkranz)
Newsgroups: comp.sys.atari.st
Subject: Re: Ctrl-C
Message-ID: <2239@alliant.Alliant.COM>
Date: 16 Aug 88 20:52:35 GMT
References: <7620@boring.cwi.nl>
Reply-To: rosenkra@alliant.UUCP (Bill Rosenkranz)
Organization: Alliant Computer Systems, Littleton, MA
Lines: 17

In article <7620@boring.cwi.nl> steven@cwi.nl (or try mcvax!steven.uucp) writes:
->Gemdos only registers a ctrl-c when something is written to the
->screen, or read from the keyboard (and then only non-raw I/O).

 [ stuff deleted ]

->My question is: does anybody know of a simpler method?
->
->Steven Pemberton, CWI, Amsterdam; steven@cwi.nl

you could modify the entry into any of the gemdos/bios/xbios traps (see
osbind.o) to check for ^C. in this way, when any system call was made, a check
is first performed. this is not really equivalent to signal(3) under unix, but
is better than what's there now. MWC has a signal(3) function but i don't
know how/if it works. alcyon's does not seem to work.

-bill