This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ctrl-C kills "ssh -X" with notty


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@unixhost
[user@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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]