delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/18:07:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <002501c0c919$b78fe4c0$0c8a42d8@hpcustomer>
From: "Tim Baker" <dbaker AT direct DOT ca>
To: <cygwin AT cygwin DOT com>
References: <002101c0c82e$8206abe0$3e8a42d8 AT hpcustomer> <2352393414 DOT 20010418214818 AT logos-m DOT ru> <002901c0c833$d32553a0$3e8a42d8 AT hpcustomer> <31355732075 DOT 20010418224356 AT logos-m DOT ru>
Subject: Re: cygwin apps in pipe ignore ctrl+c
Date: Thu, 19 Apr 2001 14:42:43 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

> TB> In any event, this bug effects typing Ctrl+C in a console window too.
> TB> When I run "gcc -pipe file.c" and CPP is running, I type Ctrl+C and
> TB> CPP does not die. I then type Ctrl+Alt+Del to see the running tasks
> TB> and GCC is gone but not CPP (CPP continues running then exits).
> 
> can you provide simple testcase?



That is the simple testcase. I can take any large C file on my system
and type "gcc -pipe file.c" to begin compilation. As soon as the
console window title changes from GCC to CPP to indicate that
cpp.exe is running, I type Ctrl+C and nothing happens. I then
quickly type Ctrl+Alt+Del to bring up the list of running tasks and
see that GCC has terminated (because of my Ctrl+C) but CPP is
still running. I'm saying there is a bug in Cygwin that makes apps
running in a pipe ignore Ctrl+C.

-- Tim Baker


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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