Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!sri-spam!ames!ucla-cs!sdcrdcf!ism780c!mikep From: mikep@ism780c.UUCP Newsgroups: comp.unix.wizards Subject: Re: reading from terminal Message-ID: <6578@ism780c.UUCP> Date: Wed, 10-Jun-87 17:33:09 EDT Article-I.D.: ism780c.6578 Posted: Wed Jun 10 17:33:09 1987 Date-Received: Sat, 13-Jun-87 08:33:09 EDT References: <7749@brl-adm.ARPA> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 30 In article <7749@brl-adm.ARPA> jfjr@mitre-bedford.arpa (Freedman) writes: > >I need to read a character from the terminal >without stopping a program. > >Jerry Freedman, Jr "If at first you don't succeed, lower your standards" >jfjr@mitre-bedford.arpa >(617)271-6248 or 8658 Jerry, You didn't specify what version of UNIX (or even Xenix) that you were using. If you were using Xenix 3.X, for example, there is a rdchk() function that allows you to see if any characters are available on the input queue. Respond and you can get a little more detail. By the way, take a more detailed look at the tty section of devices and the ioctl() call in the ref. manual. These will help you. ps - Do you know a person by the name of Adolph Fejfar or Mike Corin who work for MITRE-Bedford, but at the Ft. Huachuca, AZ. site? Just curious to see how small a world it *actually* is... ------------------------------------------------------------------------------- The company and all my associates and friends and ESPECIALLY the government put me up to say all this useless trash. |=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| MikeP sdcrdcf!\ "Some of my best friends are Bigots..." >-- ism780c!mikep seismo!/