delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/26/08:48:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 26 Oct 2001 14:46:58 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH on Cygwin... Ctl-C kills the session
Message-ID: <20011026144658.S7622@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4C583E8A DOT 7A3879E3 DOT 00AAF04C AT netscape DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <4C583E8A.7A3879E3.00AAF04C@netscape.net>; from tpardike@netscape.net on Thu, Oct 25, 2001 at 06:34:37PM -0400

On Thu, Oct 25, 2001 at 06:34:37PM -0400, Theodore Pardike wrote:
> Corinna, Chris, and John,
> 
> I have been following your discussion about "OpenSSH on Cygwin... Ctl-C kills the session" on the Openssh List Archives.
> 
> On 06/27/2001, Scott Crosby also posted about this problem.  Apparently this problem only occurs when "ForwardX11 = yes" (I have also confirmed this under 2.9.9p2).  See the following thread:
> http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=99366436510488&w=2
> 
> Due to the fact I use Hummingbird Exceed, I would also like to see this problem get resolved.

What about debugging that problem then?

Just FYI, I could reproduce that problem this morning.

It only happens in the following combination:

	Running in a Windows console window
	CYGWIN=... notty ...
	ForwardX11 yes
	Protocol 2

Switching to non-forwarding X11 or to protocol 1 or using CYGWIN=tty
or running in a xterm or rxvt hides the problem.

I had a close look into the ssh sources but I don't see the difference
between Protocol 1 and 2 in terms of tty handling, neither do I see
a difference between X11 forwarding and non-forwarding in terms of tty
handling.  In either case SIGINT is redirected to a function
signal_handler() in clientloop.c.  There's no difference in handling
this signal.

Any debugging help or fixes gladly appreciated,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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