Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: boolean function to tell if a key has been pressed Message-ID: <5913@mimsy.UUCP> Date: Sun, 22-Mar-87 11:27:24 EST Article-I.D.: mimsy.5913 Posted: Sun Mar 22 11:27:24 1987 Date-Received: Tue, 24-Mar-87 01:23:31 EST References: <10260@topaz.RUTGERS.EDU> <523@thumper.UUCP> <1073@ius2.cs.cmu.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 In article <1073@ius2.cs.cmu.edu> edw@ius2.cs.cmu.edu (Eddie Wyatt) writes: >If you are on a unix os you can make a call to "select" ... As this points out, the answer is system dependent. In particular, select() exists only on 4.2BSD and V8 derived systems. (I understand System VII ... no, make that System V release 3 [cannot change a standard! :-) ] for the Vax has something equivalent, but harder to use.) Under 4.1BSD, one can use the FIONREAD ioctl. Under System III one can fiddle with VTIME or something like that. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu