Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!byrne%TARTAN@CMU-CS-C.ARPA From: byrne%TARTAN@CMU-CS-C.ARPA Newsgroups: net.unix Subject: Interrupting a read Message-ID: <15088@sri-arpa.UUCP> Date: Wed, 4-Jan-84 15:29:26 EST Article-I.D.: sri-arpa.15088 Posted: Wed Jan 4 15:29:26 1984 Date-Received: Sat, 7-Jan-84 02:53:57 EST Lines: 16 From: Steve OS: 4.2BSD Problem: I want to read from a terminal a certain number of characters within a given time. If the read doesn't get the proper number of characters within the given time limit, I want the read to terminate, and possibly signal some sort of error (just returning -1 as its value would be find). This worked in 4.1, but I can't figure out a way to make it work under 4.2. Any clues? steve -------