delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/29/17:06:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=UohlG/wRXIb5Wkgc
AHr2Vnl/sgDfYKx6G+k+4+CVQyaxME8/CP/6fRUcZHcPtDJEADYvEzccceHL2X/h
lKjJG9lZxeb1lTuWGKd3I3kebxU/lKyl54n1z/x+DM6gf9OyUqYTR31YghVO/ZPo
qr1WdQt2SoPIZLidoR8x0aNEcJ4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=fzGp8iIiOEBxscOONIEYTi
Vf3Eg=; b=BPq9Rf4NccDRIEikrdcTHBqS4+U1yHohY+rzVtMvwrS7QaP6r4YOSd
lY+MBSFZsIs0yRJVnTUghPmSeaOcOvBxoI2kYppl6+IBjIoZwZeCSNcoFc8joJEE
2V0SVYMmJevWmM5GcsdZWbXTBW9rQuLXwOsYIs9rARR4rrDFZxQX4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=pe, Warren, warren, H*r:0600
X-HELO: EMP-EXED101.leidos.com
Subject: Re: CTRL-C does not work in Cygwin when using pipes
References: <e601a203135941a0bb276c699263fb7e AT ntmaexbe04 DOT bedford DOT progress DOT com> <1354034A-DA1F-4615-B962-D1894DE5A427 AT etr-usa DOT com>
To: <cygwin AT cygwin DOT com>
From: Roger Wells <roger DOT k DOT wells AT leidos DOT com>
Message-ID: <568303EA.7080901@leidos.com>
Date: Tue, 29 Dec 2015 17:06:34 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <1354034A-DA1F-4615-B962-D1894DE5A427@etr-usa.com>
X-IsSubscribed: yes

On 12/29/2015 03:29 PM, Warren Young wrote:
> On Dec 29, 2015, at 1:03 PM, Bill Smith <bsmith AT progress DOT com> wrote:
>>
>> echo foo | perl -e 'while(1) {sleep 1;}'
>>
>> CTRL-C does not work.  I have to use Task Manager to kill the perl program.
> 
> Works for me on Windows 10, under both the Cygwin Terminal (mintty) and in a raw cmd.exe window.
> 

a bit more:
windows 10, mintty, works as hoped.
windows 10, bash, observe what the OP reported originally

HTH

> You’ll have to narrow the conditions.
> --
> 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
> 
> 


-- 
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger DOT k DOT wells AT leidos DOT com

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