delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/21/12:57:16

X-Spam-Check-By: sourceware.org
Date: Fri, 21 Jul 2006 12:57:05 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Ctrl-C kills "ssh -X" with notty
Message-ID: <Pine.GSO.4.63.0607211228330.17655@access1.cims.nyu.edu>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

This has been reported as far back as 2002 [1], and there were a few
reports in 2004 [2] and 2005 [3].  Corinna claimed [4] that this was
fixed, but I can still easily reproduce this with both 1.5.20 and the
latest snapshot (20060718), using the latest openssh/openssl.
STC (from a console bash):

$ uname -svr
CYGWIN_NT-5.1 1.5.21s(0.156/4/2) 20060718 11:35:58
$ echo $CYGWIN
check_case:strict ntsec notitle binmode nosmbntsec notty
$ DISPLAY=127.0.0.1:0.0 /bin/ssh -X user AT unixhost
[user AT unixhost] <Ctrl-C>Killed by signal 2.
$

I will try to investigate this as time permits, but if someone better
versed in Cygwin signal handling cares to take a look, I won't complain.
As Rob said, adding "tty" to $CYGWIN is a workaround.
	Igor

[1] <http://cygwin.com/ml/cygwin/2002-07/msg02586.html>,
    <http://cygwin.com/ml/cygwin/2002-09/msg01032.html>
[2] <http://cygwin.com/ml/cygwin/2004-09/msg00406.html>,
    <http://cygwin.com/ml/cygwin/2004-05/msg00376.html>,
    <http://cygwin.com/ml/cygwin-xfree/2004-02/msg00163.html>
[3] <http://cygwin.com/ml/cygwin/2005-09/msg00777.html>
[4] <http://cygwin.com/ml/cygwin/2005-09/msg00780.html>
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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