Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site uicsl Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!uiucdcs!uicsl!hr From: hr@uicsl.UUCP Newsgroups: net.micro.amiga Subject: More questions Message-ID: <151400020@uicsl> Date: Mon, 24-Feb-86 10:52:00 EST Article-I.D.: uicsl.151400020 Posted: Mon Feb 24 10:52:00 1986 Date-Received: Fri, 28-Feb-86 01:12:29 EST Lines: 28 Nf-ID: #N:uicsl:151400020:000:860 Nf-From: uicsl.UUCP!hr Feb 24 09:52:00 1986 <> A couple of simple (I hope) questions: Is there an easy way of detecting ^C, ^D, ^E, ^F from C? I've read about Chk_Abort(), but I am trying to not use the Lattice I/O routines. I have tried opening a RAW window but would rather have used the Input() file handle. (I wrote a simple print program using Lattice stream I/O and printf and one using just Amigados I/O. The 'printf' version was about 15KB, the Amigados only version was about 3KB.) Also: The Lattice manual gives LC1 & LC2 switches for generating position independent code. Are these useful? I tried them (just once) and didn't get very far. Is there a way for a program 'Execute'ing or creating a process to find the result code of the executed or created process? Am I wrong or does Lattice C ignore ^C requests when compiling? ---- harold ravlin {ihnp4,pur-ee}!uiucdcs!uicsl!hr