X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/oP5JyMQGrN4LSai7zVRnC Date: Fri, 18 May 2012 13:10:30 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: SIGINT not passed to java process Message-ID: <20120518171030.GA28650@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20120517172316 DOT GA17358 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: 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, May 18, 2012 at 06:48:56PM +0200, Olivier Lefevre wrote: >On 5/17/2012 7:23 PM, Christopher Faylor wrote: >> On Thu, May 17, 2012 at 05:30:26PM +0200, Olivier Lefevre wrote: >>> On 5/11/2012 7:29 PM, Franz Kettwig wrote: >>>> After updating to the latest cygwin, my Java processes no longer >>>> receive SIGINT signals. [...] >>> >>> I can attest that Franz is not the only one with this problem. I just >>> upgraded to Cygwin 1.7.15-1 but in vain. Is a fix in the works? >> >> Not from me. I don't do Java. > >python has the same problem. If you send it a Ctrl-C under cmd.com it >will print "KeyboardInterrupt" whereas under Cygwin it prints nothing. >Is python more to your taste? Presumably you are referring to a native windows version of python, since: d:\cyginst>bash bash-4.1$ python Python 2.6.7 (r267:88850, Feb 2 2012, 23:50:20) [GCC 4.5.3] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> >Hit CTRL-C here< KeyboardInterrupt I know this is an astonishing, maybe even revolutionary idea, but maybe somebody who wants to use these native windows applications under Cygwin might want to step up to debug this type of thing. -- 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