X-Spam-Check-By: sourceware.org Date: Fri, 21 Jul 2006 12:57:05 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Ctrl-C kills "ssh -X" with notty Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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] 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] , [2] , , [3] [4] -- 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/