delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Info: | This message was accepted for relay by |
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication | |
X-Trace: | UmFuZG9tSVbBMPhWLKsSTvchWybIoE92q+n9vvWcEonZarmlkauaKU99D7osHM0K |
Message-ID: | <3F33F6D1.1060604@cygwin.com> |
Date: | Fri, 08 Aug 2003 15:15:29 -0400 |
From: | Larry Hall <cygwin-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | Jeff Nokes <jeff_nokes AT yahoo DOT com> |
CC: | cygwin AT cygwin DOT com, ehud AT unix DOT mvs DOT co DOT il |
Subject: | Re: SSH session terminates with Ctl+C |
References: | <20030808190014 DOT 72714 DOT qmail AT web20418 DOT mail DOT yahoo DOT com> |
In-Reply-To: | <20030808190014.72714.qmail@web20418.mail.yahoo.com> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |