delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/08/13:15:28

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: <20030808171504.43993.qmail@web20414.mail.yahoo.com>
Date: Fri, 8 Aug 2003 10:15:04 -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: ehud AT unix DOT mvs DOT co DOT il, cygwin AT cygwin DOT com
In-Reply-To: <3F33D46A.4000909@cygwin.com>
MIME-Version: 1.0

--- Larry Hall <cygwin-lh AT cygwin DOT com> wrote:
> Don't know why this would make a difference with one server and not the
> other but do you have 'tty' set in your CYGWIN environment?  If not, you
> might try it.  The fact that rxvt doesn't have the problem sounds like
> it's a tty thing, though playing around with it here, I still can't
> reproduce the behavior you described.
> 
> Larry


Hi Larry,
One point I'd like to add to my previous post is that I have since found out
how to get rid of my xauth warning.  I tried the advice in the following link
and it worked:

  http://sources.redhat.com/ml/cygwin-xfree/2003-06/msg00245.html

But, even now, while successfully creating ssh sessions that forward X packets
fine, without the xauth warning, a Ctl+C still kills my ssh session.  Weird! 
I guess the bottom line with my particular issue (in my environment) is that
whenever I forward X packets over ssh in my cygwin bash (cmd.exe) shell, my
local ssh client is trapping the Ctl+C I'm trying to send the remote host.

OK, so here's what happened when I tried setting tty in my cygin bash
(cmd.exe) environment.  I set CYGWIN='tty' in my .profile and tried it again. 
I'm assuming from Brian's previous post in this thread, this is what I was
supposed to do.  Anyway, this does not stop the Ctl+C issue, the sessions
still terminate on it.  Also, now, whenever I use a command like cat file |
more, and do a 'q' to terminate the more, I can't see my shell commands echoed
anymore.  They are there, being accepted by the bash shell, but I cannot see
them anymore.  Removing the CYGWIN env setting stops this.

Hmmm, I'm not sure if I'm adding to the effort of solving this issue or making
it more complicated ...

Thanks for the help though,
-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