X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0	tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Escay <dj.escay@gmail.com>
Subject: Re: SIGINT not passed to java process
Date: Tue, 26 Feb 2013 12:31:11 +0000 (UTC)
Lines: 16
Message-ID: <loom.20130226T132811-136@post.gmane.org>
References: <A1B8331495C6F348B95DC9E930C25EDC5FD01A48D3@hiwan.concordenergy.com> <jpgeme$5tb$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Olivier Lefevre <lefevrol <at> yahoo.com> writes:

> 
> Since apparently nobody wants to take ownership of this regression
> I'll point out the workaround, for the benefit of those googling
> and landing on this thread: start Java with -Xrs and use Ctrl-Break
> instead of Ctrl-C. This will disable thread dump and break any
> application that relies on normal signal handling, though.
> 

For me the following solution worked:
http://stackoverflow.com/questions/8014916/control-break-not-working-in-java-using-cygwin

Add global env variable 'CYGWIN' and set the value to 'tty'.
Now CTRL+C works for me.



--
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

