delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/21/13:25:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <20120821122441.2374133g023bonkp@webmail.siklos.ca>
Date: Tue, 21 Aug 2012 12:24:41 -0500
From: Rob Siklos <cygwin AT siklos DOT ca>
To: cygwin AT cygwin DOT com
Subject: 1.7.16: problem with CTRL+C and CTRL+Z
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.11)
X-BWhitelist: no
X-Source-Sender: (localhost) [127.0.0.1]:51432
X-Source-Auth: cygwin AT siklos DOT ca
X-Email-Count: 2
X-Source-Cap: cm9iO3JvYjtnYXRvcjI5NS5ob3N0Z2F0b3IuY29t
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 Cygwin List,

I've read some messages on this topic, but haven't been able to find a  
resolution to my problem.

Here's what I'm doing at the bash prompt:

$ /c/Windows/system32/ping.exe -t cygwin.com

The result is an endless ping trace - as expected.

The problem is that I have no way of stopping this command.  Here is  
what I've tried:
   1) CTRL+C: does nothing
   2) CTRL+Z: does nothing
   3) CTRL+Break: Prints the text "Control-Break" in the output, but  
doesn't exit the ping process (expected, since it behaves the same way  
when running under cmd.exe).

I would expect CTRL+C to stop the process (the way it does when  
running under cmd.exe).

I would also expect CTRL+Z to suspend the process, so that I could  
then manage it with "bg" and "fg".

I first noticed something was weird because when I upgraded cygwin  
CTRL+C stopped working (i.e. had no effect) when pressed in the middle  
of an "msbuild.exe" run.  Previously, this caused msbuild to stop.

Any help would be much appreciated.

Rob.


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

- Raw text -


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