delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/08/15:01:05

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
Message-ID: <20030808190014.72714.qmail@web20418.mail.yahoo.com>
Date: Fri, 8 Aug 2003 12:00:14 -0700 (PDT)
From: Jeff Nokes <jeff_nokes AT yahoo DOT com>
Subject: Re: SSH session terminates with Ctl+C
To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com, ehud AT unix DOT mvs DOT co DOT il
In-Reply-To: <3F33E40F.1040801@cygwin.com>
MIME-Version: 1.0

> 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!
Regards,
- Jeff


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019