Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!eneevax!umd5!umbc3!cs490147 From: cs490147@umbc3.UMD.EDU ( Dipto Chakravarty) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: RE: I need an interrupt !! Message-ID: <333@umbc3.UMD.EDU> Date: Thu, 7-May-87 03:19:31 EDT Article-I.D.: umbc3.333 Posted: Thu May 7 03:19:31 1987 Date-Received: Sat, 9-May-87 02:08:09 EDT Reply-To: cs490147@umbc3.umd.edu.UUCP ( Dipto Chakravarty) Organization: University of Maryland, Baltimore County Lines: 16 Xref: mnetor comp.unix.wizards:2190 comp.unix.questions:2179 You need to look up the following system calls in order to understand how to invoke them:- (1) fork, (2) signal, (3) kill (its man entry.) First, do a fork() /* this takes care of stdin and stdout */ When the special control character(s) comes in, trap it with the help of signal(). Usually, the ninth signal, SIGKILL is a sure kill. Hope this helps ... Best -- Dipto in real life: net: cs490147@umbc3.umd.edu.ARPA