Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!ius2.cs.cmu.edu!edw From: edw@ius2.cs.cmu.edu (Eddie Wyatt) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Help! I need an interrupt!! Message-ID: <1138@ius2.cs.cmu.edu> Date: Sat, 2-May-87 12:32:35 EDT Article-I.D.: ius2.1138 Posted: Sat May 2 12:32:35 1987 Date-Received: Tue, 5-May-87 01:44:15 EDT References: <565@aramis.RUTGERS.EDU> Organization: Carnegie-Mellon University, CS/RI Lines: 11 Xref: mnetor comp.unix.wizards:2137 comp.unix.questions:2131 Instead of setting up interrupt keys, how about using a polling technique combined with a timer interrupt. That is, setup an interrupt timer (using setitimer) with an interrupt handler (using signal or sigvec) such that the interrupt handler will poll stdin (using select and fileno(stdin) to get a file descriptor of stdin) to see if and charcters are out there? -- Eddie Wyatt