home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!tessi!morton!morton!joe
- From: joe@morton.rain.com (Joe Moss)
- Subject: Re: polling, nonblocking reads in tcl
- Message-ID: <joe.722544680@morton>
- Organization: Morton & Associates, Inc.
- References: <mathew.722381246@henry>
- Date: Mon, 23 Nov 1992 18:51:20 GMT
- Lines: 19
-
- mathew@elroy.Jpl.Nasa.Gov (Mathew Yeates) writes:
-
- [...]
-
- >2) It seems that the input is being buffered. Is this a consequence of
- >the Tcl command "read" being built on top of fread instead of read?
- >Often times, the program will hang at the select call as if there is
- >no impending input (even though I know it is there). If I force some
- >characters through the telnet connection, then the missing characters
- >show but the ones I just sent do not. In other words, there is a delay.
-
- Try adding this after the open call:
-
- fcntl $valkcon NOBUF 1
- --
- Joe V. Moss | joe@morton.rain.com
- Morton & Associates | joem@m2xenix.psg.com
- 7478 S.W. Coho Ct. | - or -
- Tualatin, OR 97062-9277 | uunet!m2xenix!morton!joe
-