This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot stop "cygcheck -c"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]