delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4895FB03.9060807@tlinx.org> |
Date: | Sun, 03 Aug 2008 11:37:55 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ctrl-c terminates ssh session using cmd.exe login shell |
References: | <2AF7DD0CE564C24EBACDABFAE55CC642039C1DDD AT srv DOT odcnet DOT local> |
In-Reply-To: | <2AF7DD0CE564C24EBACDABFAE55CC642039C1DDD@srv.odcnet.local> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Stephen Quintero wrote: > Using cmd.exe as the login shell, ctrl-c terminates the ssh session (rather than being propagated to the process on the remote server). > My question is - is there some way to work around this? > > For example, running bash as the login shell, and then running cmd.exe, does not fix the --- try (export CYGWIN=tty;cygstart bash.exe) at a bash prompt... Basically you need to set the env var CYGWIN to contain 'tty', if you already have something in CYGWIN, you might want to use: (export CYGWIN="tty $CYGWIN"; cygstart bash.exe)... You could set the env-var in a .bat file which then launches cygwin? You can make the 'tty' setting permanently part of your CYGWIN var by adding it to your windows environment (system properties, advanced, Environ vars; user...) -- 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 |