Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!cernvax!chx400!sgzh!root From: root@sgzh.uucp (Bruno Pape) Newsgroups: comp.sys.sgi Subject: Re: Timeout on serial port read Message-ID: <1990May7.175515.6051@sgzh.uucp> Date: 7 May 90 17:55:15 GMT References: <9005030929.aa08086@VMB.BRL.MIL> <1990May4.161343.1945@sgzh.uucp> <59374@sgi.sgi.com> Reply-To: root@sgzh.UUCP (Bruno Pape) Organization: Silicon Graphics S.A., Zuerich, Switzerland Lines: 19 In article <59374@sgi.sgi.com> vjs@sgi.com (Vernon Schryver) writes: > >The VTIME parameter is in units of tenths of seconds, not seconds. > >The FIONBIO ioctl works on IRIX TTY's, to give "non-block" I/O. > >Using select(2) is almost certainly the best solution. > Opps, tenths of a seconds it is. Non-blocking I/O and non-blocking with a delay are slightly different. Select seems like overkill for simple tty I/O. Why is it almost certainly the best solution? To all non-blocking tty I/O problems? Just wondering, Bruno