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= /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.

[1] <>,
[2] <>,
[3] <>
[4] <>
      |\      _,,,---,,_ |
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:
Problem reports:

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