This is the mail archive of the
mailing list for the Cygwin project.
Ctrl-C kills "ssh -X" with notty
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Date: Fri, 21 Jul 2006 12:57:05 -0400 (EDT)
- Subject: Ctrl-C kills "ssh -X" with notty
- Reply-to: cygwin at cygwin dot com
This has been reported as far back as 2002 , and there were a few
reports in 2004  and 2005 . Corinna claimed  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.
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
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