X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 6 Apr 2010 10:11:11 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Cannot stop "cygcheck -c"
Message-ID: <20100406141111.GB16409@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.NEB.4.64.1004051548230.12027@panix2.panix.com>  <4BBA4E05.8030602@redhat.com>  <20100405213550.GA11775@ednor.casa.cgf.cx>  <20100406082938.GR18530@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20100406082938.GR18530@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Apr 06, 2010 at 10:29:38AM +0200, Corinna Vinschen wrote:
>On Apr  5 17:35, Christopher Faylor wrote:
>> On Mon, Apr 05, 2010 at 02:54:29PM -0600, Eric Blake wrote:
>> >On 04/05/2010 02:54 PM, Tim McDaniel wrote:
>> >> I'm running the latest setup.exe, cygwin libraries, and installed
>> >> packages.  I ran "cygcheck -c" (thanks to the list member who pointed
>> >> it out).  After a screen or two, I wanted to stop the output to scroll
>> >> back.  It doesn't seem to respond to control-C or control-Z.  Does
>> >> this happen to anyone else?
>> >
>> >Yes, this is an unfortunate side-effect of cygcheck being a native
>> >windows program rather than a cygwin app.  It doesn't know how to
>> >respond to cygwin signals.
>> 
>> That shouldn't matter.  If you're running it from bash then CTRL-C should
>> still terminate the process unless there's a bug.
>
>Curious side-point:  You can't even Ctrl-C cygcheck when running from
>a CMD shell.

On thinking about this more, I'll bet this is because cygcheck is a
pseudo-cygwin process which loads the cygwin DLL dynamically.  Probably
adding a CTRL-C handler would solve this problem.

cgf

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

