troubles with non-blocking reads from stdin on ISC 2.2 pseudo ttys

Riccardo Pizzi pizzi at esacs.UUCP
Wed Feb 20 06:28:49 AEST 1991


In article <1991Feb11.045248.3613 at buster.stafford.tx.us> rli at buster.stafford.tx.us writes:

>You should not set VTIME and VMIN to zero!  Instead, you should be using
>the terminal control flag O_NDELAY. 

OK, I'll give it a try. But what makes me wonder is the fact that the way
I handle the problem always *works* except when I'm running on a pty!!
Could someone tell me why this happens?


Rick

-- 
Riccardo Pizzi @ ESA Software, Rimini, ITALY
e-mail: pizzi%esacs at relay.EU.net -or- root at xtc.sublink.org
Public Access Unix @ +39-541-27858 (Telebit)
<< Object Oriented is an Opaque Disease >>



More information about the Comp.unix.sysv386 mailing list