Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utah-gr.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!utah-cs!utah-gr!thomas From: thomas@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: net.unix-wizards Subject: Re: select query Message-ID: <1322@utah-gr.UUCP> Date: Wed, 30-Jan-85 15:21:25 EST Article-I.D.: utah-gr.1322 Posted: Wed Jan 30 15:21:25 1985 Date-Received: Sun, 3-Feb-85 02:03:04 EST References: <7834@brl-tgr.ARPA> Reply-To: thomas@utah-gr.UUCP (Spencer W. Thomas) Organization: Univ of Utah CS Dept Lines: 15 Xref: seismo net.unix-wizards:11733 Summary: In article <7834@brl-tgr.ARPA> jsol@bbnccv.ARPA writes: >timeval is declared in sys/time.h. > >The problem is: When I call this peice of code, it times out, >claiming infile has no characters ready to read. Examination of the >data stream (with a line monitor) indicates that a character is being >sent to the program, but somehow the program doesn't notice. If you do not have your terminal line in either CBREAK or RAW mode, there are NO characters AVAILABLE TO READ until a newline is received. -- =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@utah-cs.ARPA) <<< Silly quote of the week >>>