Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!samsung!uunet!mcsun!i2unix!esacs!pizzi From: pizzi@esacs.UUCP (Riccardo Pizzi) Newsgroups: comp.unix.sysv386 Subject: Re: troubles with non-blocking reads from stdin on ISC 2.2 pseudo ttys Keywords: ISC pty read stdin non-blocking ioctl Message-ID: <104@esacs.UUCP> Date: 19 Feb 91 19:28:49 GMT References: <88@esacs.UUCP> <1991Feb11.045248.3613@buster.stafford.tx.us> Reply-To: pizzi@esacs.UUCP (Riccardo Pizzi(JANE)) Organization: Esa Software s.r.l. Rimini (FO), ITALY Lines: 17 In article <1991Feb11.045248.3613@buster.stafford.tx.us> rli@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@relay.EU.net -or- root@xtc.sublink.org Public Access Unix @ +39-541-27858 (Telebit) << Object Oriented is an Opaque Disease >>