* 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/
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC