Messages in this thread | | | Date | Sun, 19 Feb 2012 21:35:03 +0000 | From | Alan Cox <> | Subject | Re: PROBLEM: Data corruption when pasting large data to terminal |
| |
> Well, not sure but the closing of ptmx on sender side should force kernel > to flush whatever is remaining independently on end-of-line (I was > thinking I should push an EOF over the ptmx instead of closing it before > waiting for child process though I have not yet looked-up how to do so!). >
The behaviour for the master side on a close is to hangup the child.
You would normally wait for the child to exit first
| |