delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/18/13:11:10

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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: <A1B8331495C6F348B95DC9E930C25EDC5FD01A48D3 AT hiwan DOT concordenergy DOT com> <jp35il$m84$1 AT dough DOT gmane DOT org> <20120517172316 DOT GA17358 AT ednor DOT casa DOT cgf DOT cx> <jp5uhu$pmn$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <jp5uhu$pmn$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019