Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Re: Capturing ^C and Q to C-A on same Message-ID: <8611070647.AA15935@cory.Berkeley.EDU> Date: Fri, 7-Nov-86 01:47:37 EST Article-I.D.: cory.8611070647.AA15935 Posted: Fri Nov 7 01:47:37 1986 Date-Received: Sat, 8-Nov-86 03:42:31 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 13 Yes, you *can* have an exception handling routine. RKM is a bit vague. The most I've ever done inside the 'service' routine is to increment a global variable. RKM says that the exception handler is on the user-stack and run almost as if it were a subroutine of your process. However, since most library calls also run on the user-stack, I don't think it would be a good idea to 'cleanup and exit'... you could hit ^C at a critical moment (C-A, any comments?? are library calls and such protected from the exception signal processing????). -Matt