Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/