Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <002501c0c919$b78fe4c0$0c8a42d8@hpcustomer>
From: "Tim Baker" <dbaker@direct.ca>
To: <cygwin@cygwin.com>
References: <002101c0c82e$8206abe0$3e8a42d8@hpcustomer> <2352393414.20010418214818@logos-m.ru> <002901c0c833$d32553a0$3e8a42d8@hpcustomer> <31355732075.20010418224356@logos-m.ru>
Subject: Re: cygwin apps in pipe ignore ctrl+c
Date: Thu, 19 Apr 2001 14:42:43 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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

