This is the mail archive of the cygwin@cygwin.com 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]

Re: OpenSSH on Cygwin... Ctl-C kills the session


Note that I solved this problem in a silly way:  by downgrading to
OpenSSH 2.3.1p1.

This was a matter of downloading
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-2.3.0p1.tar
.gz, untgzing, and compiling as per the instructions that ship with
the Cygwin binary OpenSSH, e.g.:

./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin --w
ith-pcre; make; make install

After downgrading, a SIGINT sent via Ctrl-C does not kick me out of
the SSH session itself, just out of the running program on the remote
host (as you would expect).

- C

----- Original Message -----
From: "Chris McDonough" <chrism@digicool.com>
To: <cygwin@cygwin.com>
Sent: Saturday, October 20, 2001 4:30 PM
Subject: Re: OpenSSH on Cygwin... Ctl-C kills the session


> Note that I have the same problem as John V. does with OpenSSH
> interpreting Ctrl-C as Ctrl-D after upgrading to Cygwin 1.3.3.  The
> OpenSSH with Cygwin 1.1.7 did not have this issue (that was what I
> upgraded from).  If I downgrade my cygwin1.dll to 1.1.8, the problem
> remains, so I'm reasonably certain it has something to do with the
> OpenSSH binary as it ships with 1.3.3 or the way it was compiled in
the
> 1.3.3 distro.  Setting my TERM variable to "cygwin" as someone else
> suggested had no effect (I usually set it to "linux").
>
> If I find anything else out I'll let the list know.
>
> --
> Chris McDonough                    Zope Corporation
> http://www.zope.org             http://www.zope.com
> "Killing hundreds of birds with thousands of stones"
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]