X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18LjabqoKRTyXCRJ2WhQlM1 Date: Fri, 3 Aug 2012 10:05:44 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Ctrl+C not working with windows programs in Cygwin 1.7.16 Message-ID: <20120803140544.GA21548@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <501AD5B9 DOT 5030005 AT gmail DOT com> <20120802230013 DOT GB6793 AT ednor DOT casa DOT cgf DOT cx> <501BD762 DOT 80300 AT gmail DOT com> <20120803135716 DOT GA21306 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120803135716.GA21306@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, Aug 03, 2012 at 09:57:16AM -0400, Christopher Faylor wrote: >On Fri, Aug 03, 2012 at 03:51:30PM +0200, marco atzeri wrote: >>On 8/3/2012 3:43 PM, Earnie Boyd wrote: >>> On Thu, Aug 2, 2012 at 7:00 PM, Christopher Faylor wrote: >>>> On Thu, Aug 02, 2012 at 09:32:09PM +0200, Marcin Kielar wrote: >>>>> Steps to reproduce: >>>>> >>>>> 1. Start cygwin using cygwin.bat >>>>> 2. Run `ping -t google.com` >>>>> 3. Try breaking it with Ctrl+C >>>>> >>>>> Expected behaviur: >>>>> The ping breaks execution and the command prompt is shown and available >>>>> >>>>> Actual behaviour: >>>>> Nothing happens, ping loops until killed with `/usr/bin/kill -f PID` >>>> >>>> I don't have a "cygwin.bat" but if I start bash via Start->Run this >>>> works for me. ping is interrupted by CTRL-C. >>>> >>> >>> If executed from mintty CTRL-C works to interrupt the process. If >>> executed from a Windows console terminal (and I don't mean cmd.exe) >> >>a "windows console terminal" is cmd.exe, IMHO. >>There are no other console in windows as standard installation. >> >>> ping doesn't interrupt with CTRL-C. Another interesting thing, ``run >>> bash --login -i'' starts the process but the Window closes with the >>> process in the background and I have to use the Task Manager to kill >>> it, Cygwin's kill doesn't kill it. However ``run mintty'' works >>> regardless. >> >>have you checked the manual ? >> >>RUN(1) run 1.1.13 >>RUN(1) >> >>NAME >> run - start programs with hidden console window > >This thread has it all. Affronted user, useless pile on, and now we >start to drift away from the actual subject. > >It's a little early here for popcorn but I'm tempted anyway. And, to add to the thread: clueless developer running a cygwin version of ping.exe. I *can* duplicate the problem when I specifically run the windows ping rather than the Cygwin one. I thought I'd deleted the Cygwin ping years ago but... I was wrong. -- 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