Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 21 Jul 2005 10:23:20 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Ctrl-C not working as well as on Linux Message-ID: <20050721142320.GB14376@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <9bbd2794050721014940f12467 AT mail DOT gmail DOT com> <42DF8FCF DOT 4050201 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42DF8FCF.4050201@byu.net> User-Agent: Mutt/1.5.8i On Thu, Jul 21, 2005 at 06:06:39AM -0600, Eric Blake wrote: >According to Alex Goldman on 7/21/2005 2:49 AM: >>On Linux, after I start a program that consumes 100% of CPU time, I can >>usually terminate it just by typing Ctrl-C. This is very convenient to >>me as a developer. However, using Cygwin in the same situation, the >>shell becomes "bash (Not Responding)", and I have to invoke the process >>manager and kill the process from there. Does anyone know why this >>happens and what can be done about it? > >What terminal are you using? If it is the Windows console, then you >need to have CYGWIN=tty in your environment before starting bash to >ensure saner behavior of Ctrl-C (at the expense of possibly breaking >Windows native applications in the same console). ? CTRL-C should work just fine without CYGWIN=tty. In fact, it should work better than CYGWIN=tty in situations where system time is being consumed by a runaway process. I don't see any reason why either Cygwin or bash should become unresponsive due to a program which consumes CPU. >Hint - following the problem reporting directions would have helped us >know right off whether you were using the Windows console: > >> Problem reports: http://cygwin.com/problems.html Right. In this situation a test case and better description of the problem is required, too. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/