Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!mcnc!thorin!glycine!taylorr From: taylorr@glycine.cs.unc.edu (Russell Taylor) Newsgroups: comp.sys.sgi Subject: How to do non-blocking keyboard input Keywords: non-blocking keyboard i/o help Message-ID: <14670@thorin.cs.unc.edu> Date: 13 Jun 90 20:33:29 GMT Sender: news@thorin.cs.unc.edu Lines: 10 I want to do non-blocking keyboard I/O in a program. Basically, the routine will read a character from the keyboard if there is one and return NULL if there is not. This is done in a tight loop with reads and writes to other devices. How to I get a character from the keyboard if there is one and a NULL if there is not? Thanks, Russell Taylor taylorr@cs.unc.edu