This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH session terminates with Ctl+C


Hi All...

When you set it from the panel, make sure the case matches.

HTH

...Karl


From: Larry Hall <cygwin-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
To: Jeff Nokes <jeff_nokes@yahoo.com>
CC: cygwin@cygwin.com,  ehud@unix.mvs.co.il
Subject: Re: SSH session terminates with Ctl+C
Date: Fri, 08 Aug 2003 15:15:29 -0400

Jeff Nokes wrote:

Don't do that.  Set CYGWIN to 'tty' in your environment before starting
Cygwin.  See <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>.


Hi Larry,
Sorry about the confusion, I've never had to set this before, and I thought
that you meant the bash environment. Your suggestion worked, but only when I:


set CYGWIN tty

... in the .bat file I use to start the cygwin bash shell (cmd.exe). If I set
this same environment variable in my windows environment (settings ->
control_panel ...) it didn't work. Interestingly enough, either way I set it,
it did show up as being set in my bash environment once I started the shell. But I'm not sure why one way works over the other.


Anyway, I'm happy your suggestion works; no more Ctl+C killing my ssh
sessions.   Thank you very much.  Maybe we can end this rediculously long
thread now!


Glad to hear this works.  Setting 'tty' in CYGWIN from the control panel
should work as well.  That's the way I do it.  So there's something a
bit fishy there.  But, no matter (for you) I expect.  I am still surprised
that it's dependent on the server you log into, all things considered.
I'm fine with leaving that as a mystery for another day though.


-- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746


-- 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/


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]