Re: tty or script(1) weirdness?

2010-03-11 Thread Gary Jennejohn
On Wed, 10 Mar 2010 21:04:10 +0100 Ed Schouten e...@80386.nl wrote: * Ed Schouten e...@80386.nl wrote: Hmmm... It seems this is a TTY bug. When you close a TTY, the final close() call should get stuck until all data is actually drained. This doesn't seem to happen properly. Some further

Re: tty or script(1) weirdness?

2010-03-10 Thread Ed Schouten
Hi Alfred, * Alfred Perlstein alf...@freebsd.org wrote: 1) download the suite. 2) run sh test.sh to see the bug 3) run sh test.sh yes to not see the bug (sleep called) Hmmm... It seems this is a TTY bug. When you close a TTY, the final close() call should get stuck until all data is

Re: tty or script(1) weirdness?

2010-03-10 Thread Ed Schouten
* Ed Schouten e...@80386.nl wrote: Hmmm... It seems this is a TTY bug. When you close a TTY, the final close() call should get stuck until all data is actually drained. This doesn't seem to happen properly. Some further research: it's not a TTY bug, but a bug in script(1). The script parent