This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash becomes orphaned when remote terminal killed
- From: Gary Johnson <garyjohn at spk dot agilent dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 16 Sep 2007 11:24:38 -0700
- Subject: bash becomes orphaned when remote terminal killed
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/