bash becomes orphaned when remote terminal killed
Gary Johnson
garyjohn@spk.agilent.com
Sun Sep 16 18:24:00 GMT 2007
I've found this question in the archives, but not the answer. I
login to a machine running Cygwin (call it mypc) from one running
Linux with this command:
xterm -e ssh mypc
When I close the xterm on the Linux machine, the login bash process
on the Cygwin machine becomes an orphan instead of terminating. Is
there a way to have the bash process terminate instead?
The reason this is a problem, or rather an annoyance, is that from
this bash I run a simple terminal emulator program that copies
everything it gets from the tty to a serial port and from the serial
port to the tty. Once started, there is no way to end the program
other than to send it a signal. I can do this from another ssh
login session, but it would be a lot more convenient to just close
the xterm.
Regards,
Gary
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list