Thank you for the clarification.
Does this mean that I cant do a read and write to the master terminal at the
Why is it possible at the slave end, and not in the master end?
“Joe Mammone” <firstname.lastname@example.org> wrote in message news:email@example.com…
The ptypX entry is the master side of the pty. You can only have one
connection (open) to the master side of a pty at a time. The master side
of a pty can only be re-opened once the previous connection to the master
and all connections to its slave pair are closed.
How can I properly open and read the two ends of the pseudo terminal (eg
/dev/ptyp1 & /dev/ttyp1 ). Is there anything to be done before these can
When I try to cat /dev/ptyp1, I cant do an echo to /dev/ptyp1.
But read and write to /dev/ttyp1 occurs without any problem
Thanks in advance,