I have a program which is running a telnet as a child process (a
pipe). If I hit ^Z (sending SIGTSTP to the parent), the child telnet
receives some signal which causes it to lose its connection.
If I hit ^Z when using telnet directly, it is tramsmitted to the
remote host which then drops the connection, but if I use ^] to get to
the telnet prompt first, I can suspend the telnet without problems.
How can I duplicate this behavior when the telnet is running as the