Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sri-spam!mordor!lll-tis!ptsfa!ihnp4!homxb!mtuxo!mtune!codas!ablnc!latham From: latham@ablnc.ATT.COM (Ken Latham) Newsgroups: comp.unix.wizards Subject: Re: TERMIO wait /no wait operation Message-ID: <337@ablnc.ATT.COM> Date: Wed, 7-Oct-87 12:55:32 EDT Article-I.D.: ablnc.337 Posted: Wed Oct 7 12:55:32 1987 Date-Received: Sat, 10-Oct-87 19:18:02 EDT References: <403@acp.OZ> Organization: AT&T, Maitland, Florida Lines: 39 Keywords: TERMIO ICANON TIMEOUT Summary: How to get indefinite wait from TERMIO In article <403@acp.OZ>, julian@acp.OZ (Julian Elischer) writes: > Reading the unix system V.2 and V.3 manuals, I see that > if ICANON is not set then a read will return an TIME 10ths > of a second or when MIN characters are available. > I cannot however see how to get it to sit indefinitly > and wait for a character. ..... > 1/ what is the exact configuration of termio needed > give the standard RAW mode under sysV. ICANON off Standard RAW ????? no such beastie :-> MIN 1 TIMEOUT 0 > 2/ is there a similar timeout facility available > for pipes or do i HAVE to use ALARM/SIGNAL etc? use Alarm/Signal this is much more portable. > 3/ is there any clearer description of SYSV.3 shared memory/ > massages/semaphore operations than the hopeless ATT > "Documentation".. something that describes the whole > thing in a useable way instead of drowning you in details. I assume the "documentation you are refering to is the standard manual set, yes this is just facts to guide the experienced user. The "AT&T :-) System V Interprocess Communications Guide" is what you want it gives examples and explains the ordinary use of queues, shared memory and semaphores. > 4/ does a value of 255 or something disable the TIMEOUT in the > affore mentioned TERMIO ~ICANON mode ? see above Ken Latham AT&T Support ..!ihnp4!ablnc!latham