delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/21/22:43:04

X-Spam-Check-By: sourceware.org
Date: Sun, 21 May 2006 22:42:45 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: clayne AT anodized DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: 20060521 snapshot, Ctrl-C, and Windows processes
In-Reply-To: <20060522022254.GD13907@ns1.anodized.com>
Message-ID: <Pine.GSO.4.63.0605212239040.21697@access1.cims.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 63 DOT 0605212209150 DOT 21697 AT access1 DOT cims DOT nyu DOT edu> <20060522022254 DOT GD13907 AT ns1 DOT anodized DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Sun, 21 May 2006, clayne wrote:

> On Sun, May 21, 2006 at 10:19:06PM -0400, Igor Peshansky wrote:
> > Noticed a problem today: if you start a Windows process in bash and
> > press Ctrl-C, the Ctrl-C will be delivered to the process, but then
> > bash (or the Cygwin wrapper that waits for the Windows process) will
> > simply hang until the Windows process terminates.  If the process does
> > not terminate (e.g., "ping -t"), bash will hang until Ctrl-C is
> > pressed 10 times (the delays between the consecutive Ctrl-Cs don't
> > seem to matter).
> >
> > Steps to reproduce:
> >
> > In bash, type "ping -t cygwin.com", then, after a couple of ping
> > results, press Ctrl-C.  The process will hang (here's the screenshot):
> >
> > $ ping -t cygwin.com
> >
> > Pinging www.cygwin.com [209.132.176.174] with 32 bytes of data:
> >
> > Reply from 209.132.176.174: bytes=32 time=82ms TTL=46
> > Reply from 209.132.176.174: bytes=32 time=83ms TTL=46
>
> I know this may sound insane, but could you try the following in another
> shell when it is hanging:
>
> ping localhost
>
> or
>
> ping <whatever your network interface ip is>

Tried it.  Neither did anything discernible.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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