Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!UWAV4.BITNET!02335 From: 02335@UWAV4.BITNET Newsgroups: mod.computers.vax Subject: C prgram needed - read with timeout Message-ID: <8608162317.AA12382@ucbvax.Berkeley.EDU> Date: Sat, 16-Aug-86 19:17:51 EDT Article-I.D.: ucbvax.8608162317.AA12382 Posted: Sat Aug 16 19:17:51 1986 Date-Received: Sun, 17-Aug-86 09:40:01 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 17 Approved: info-vax@sri-kl.arpa Hi, I have been trying to write a C routine to poll the keyboard. The function needs to return a 0 if no key was pressed and the ASCII value of the character pressed if one was. One important bit of information is that this routine is needed for an HP-9000 machine. Any information would be appreciated. Thanks in advance, Tony Andrea Sierra Geophysics, Inc. Kirkland Washington BITNET: 02335 at UWAV4 ARPA/CSNET: 02335%uwav4.bitnet@wiscvm.arpa