Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!iuvax!pur-ee!a.cs.uiuc.edu!m.cs.uiuc.edu!schwager From: schwager@m.cs.uiuc.edu Newsgroups: comp.sys.amiga Subject: Recognizing the break character? Message-ID: <7200049@m.cs.uiuc.edu> Date: 20 Jul 88 22:12:00 GMT Lines: 21 Nf-ID: #N:m.cs.uiuc.edu:7200049:000:1176 Nf-From: m.cs.uiuc.edu!schwager Jul 20 17:12:00 1988 I'm a Unix kind of guy, so I'm always disappointed during this scenario: I'm on my Amiga, learning to program in C (my first project is an Amiga version of the Unix expand(1) command), and I manage to program an infinite loop, or use a pointer incorrectly, or something. Anyway, the machine hangs... it's still alive, but the program is spinning endlessly. So what I want to do is hit a control-C to stop it, ala Unix. I want to generate a chunk of code, a "generic control-C recognizer" if you will, that I can include in all my code so that I can stop it if I want. I read in the Manx 3.4 manual about a function called Chk_Abort (this is in libov68, page 4), but I wasn't able to find any hard facts about this function. It's not in Manx' index, it's not in the Amiga Reference Manuals, nothin'. Is this possible to do? Somehow, my intellect says no, but my heart wants to believe... -Mike Schwager -- {uunet,convex,pur-ee}!uiucdcs!schwager schwager%uiuc@csnet-relay.arpa schwager@cs.uiuc.edu University of Illinois, Dept. of Computer Science P.S. Send E-mail on this, please... I've been so busy at work, I've nary a moment for reading comp.sys.amiga :-(