delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_MR,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: ssh from linux to cygwin + CUI + Ctrl-C |
Date: | Tue, 14 Sep 2010 19:43:59 -0700 |
Lines: | 43 |
Message-ID: | <i6pbtg$dhi$1@dough.gmane.org> |
References: | <AANLkTi=CvtJmarzhczDOu5k=pE2MsUe=YBiLNH=og0z0 AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9pre) Gecko/20100821 Lightning/1.0b2 Lanikai/3.1.3pre |
In-Reply-To: | <AANLkTi=CvtJmarzhczDOu5k=pE2MsUe=YBiLNH=og0z0@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 09/14/2010 08:39 AM, Ilia K. wrote: > Hi, All. > I've searched quite a lot for the subj and found no solution yet. > I've installed the last cygwin+openssh on Windows XP. I want to > connect from linux and run some native console applications > (non-cygwin CUI, particularly, cdb and cmd) and I need these > applications to correctly handle Ctrt-C. > If such CUI application is started from local cygwin bash window it > handles Ctrl-C properly, but if it's started over ssh Ctrl-C > terminates application and the control returns to bash (the one which > runs on the server, ssh session doesn't terminate). Control-C works from me ssh'ing from Linux -> Cygwin. Of course my Cygwin is running on Windows 7 (Actually a vm of Windows 7) but IIRC Control-C also works at work when I ssh from Linux -> Cygwin on XP. Earth:uname -a Linux earth 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux Earth:ssh pluto Last login: Tue Sep 14 19:40:43 2010 from earth Pluto:uname -a CYGWIN_NT-6.1-WOW64 Pluto 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin Pluto:^C Pluto:stty -a speed 38400 baud; rows 24; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^X; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe -echok -echonl -noflsh tostop echoctl echoke Pluto: -- Andrew DeFaria <http://defaria.com> Why can't women put on mascara with their mouth closed? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |