Path: utzoo!attcan!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: I need a SysV select() Message-ID: <7904@brl-smoke.ARPA> Date: 17 May 88 07:28:19 GMT References: <9738@sol.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <9738@sol.ARPA> jpayne@cs.rochester.edu (Jonathan Payne) writes: >I want to get input >from either the keyboard or from some other file description. I don't >want to sit around polling the two, because that would be ridiculous. If you set MIN and TIME to 0 in the terminal handler, then an attempt to read from the terminal with no data available will return immediately. There is nothing analogous for ordinary files.