delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/06/14:21:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "linda w \(cyg\)" <cygwin AT tlinx DOT org>
To: <cygwin AT cygwin DOT com>
Subject: control-c problem...known bug?
Date: Fri, 6 Dec 2002 11:21:27 -0800
Message-ID: <000701c29d5c$ac3769e0$1403a8c0@sc.tlinx.org>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB6JLfP10375

Somehow, something I've done in my environment seems to cause a problem
with control-c handling.

A control-c gets sent to any sub-shells and right through 'ssh' -- very 
annoying:

I tried the cygwin X server, but at the time it wanted to own the whole desktop and
didn't behave in a civilized manner with other win apps.  So, using Exceed's 
X server, I can start other xterms and get pure X- cut/past semantics in addition
to horizontal resizing of the window. However, I notice that if I press 'control-c'
in the Cygwin window that started the xterm, the control-c is also sent to the 
xterm window -- causing whatever is running it the window to terminate as though
I'd pressed control-c in that window as well.  The xterm doesn't terminate -- just
any control-c vulnerable program in the window -- which brings me to the next
point.

For some reason, on my system, 'ssh' is killed when I press control-c -- rather than
passing the ^c onto the remote system, it's processed locally and 'ssh' is 
terminated: NOT what I wanted! :-(

Is there some setting I've unknowingly messed up?  stty -a looks like:
speed 38400 baud; rows 59; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^X; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Y; 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


Thanks,
Linda



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019