truss(1) locked in kernel with 8.0-BETA2
Ed Schouten
ed at 80386.nl
Sun Aug 23 20:48:21 UTC 2009
* Nathan Lay <nslay at comcast.net> wrote:
> Actually, your snipit there fixes it. You can disregard my previous
> message, though I am curious about what you specifically meant by
> propagating the end-of-file condition.
When script(1) receives an end-of-file on the outside, it should somehow
send an end-of-file to the process running on the inside. This isn't
possible with pseudo-terminals. There isn't a function like shutdown(2)
that can be called on a pseudo-terminal master to stop the flow of data
in one direction. Normally you would just call close(2), but this means
you can't receive any output from processes on the inside.
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090823/05861524/attachment.pgp
More information about the freebsd-current
mailing list