delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KAM_STOCKGEN,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Tue, 14 Sep 2010 17:39:21 +0200 |
Message-ID: | <AANLkTi=CvtJmarzhczDOu5k=pE2MsUe=YBiLNH=og0z0@mail.gmail.com> |
Subject: | ssh from linux to cygwin + CUI + Ctrl-C |
From: | "Ilia K." <mail4ilia AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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). I would appreciate a solution besides using another remote access program (freessh, VNC, RDP, etc.). Below is my current bash environment when run from sshd (note, CYGWIN is unset and TERM=xterm). HOMEPATH=\cygwin\home\user MANPATH=/usr/local/man:/usr/share/man:/usr/man: _NT_DEBUG_LOG_FILE_APPEND=C:\cygwin\home\user\ntdebug.log HOSTNAME=winxp-vbox _NT_SYMBOL_PATH=srv*C:\cygwin\home\user\symbols*http://msdl.microsoft.com/download/symbols;cache*C:\cygwin\home\user\symbols TERM=xterm SHELL=/bin/bash WINDIR=C:\WINDOWS SSH_CLIENT=192.168.56.1 57891 22 MYDIR=/home/user OLDPWD=/home/user USERDOMAIN=NT AUTHORITY SSH_TTY=/dev/tty0 OS=Windows_NT ALLUSERSPROFILE=C:\Documents and Settings\All Users USER=user USERNAME=SYSTEM MAIL=/var/spool/mail/user PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/bin:/cygdrive/c/Program Files/Bazaar/:/cygdrive/c/Program Files/Debugging Tools for Windows (x86)/ PWD=/home/user SYSTEMDRIVE=C: LANG=C.UTF-8 USERPROFILE=C:\Documents and Settings\user PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ HISTIGNORE=[ ]*:&:[fb]g:exit:ls HISTCONTROL=ignoreboth SHLVL=1 HOME=/home/user PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH HOMEDRIVE=C: COMSPEC=C:\WINDOWS\system32\cmd.exe LOGNAME=user SYSTEMROOT=C:\WINDOWS PRINTER= CVS_RSH=/bin/ssh SSH_CONNECTION=192.168.56.1 57891 192.168.56.101 22 INFOPATH=/usr/local/info:/usr/share/info:/usr/info: COMPUTERNAME=WINXP-VBOX Thanks, Ilia. -- 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 |