Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site galbp.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxlm!akgua!galbp!jwg
From: jwg@galbp.UUCP (Joe Guthridge)
Newsgroups: net.unix-wizards
Subject: Re:  Scanning stdin with no pause
Message-ID: <76@galbp.UUCP>
Date: Fri, 28-Dec-84 12:49:21 EST
Article-I.D.: galbp.76
Posted: Fri Dec 28 12:49:21 1984
Date-Received: Sat, 29-Dec-84 05:40:21 EST
References: <6674@brl-tgr.ARPA> <>
Reply-To: jwg@galbp.UUCP (Joe Guthridge)
Organization: Lanier Business Products, Inc., Atlanta, Georgia
Lines: 14
Summary: 

>>     I am working with V7 UN*X.  I need a way to scan the standard input
>> stream for a character, but not wait.
>
>This is not supported by 7th Edition UNIX.  You need to add something
>to your kernel to do this directly; the Rand Corp. empty() call has
>been distributed by USENIX a long time ago, and more recent approaches
>include VTIME,VMIN in AT&T UNIX Systems III & V and select() in 4.2BSD.
>
Xenix has a system call rdchk() to do this.

-- 
					Joe Guthridge
					..!akgua!galbp!jwg
			NOTE NEW MACHINE NAME    ^^^^^