delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/26/09:51:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 26 Feb 2013 15:50:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: SIGINT not passed to java process
Message-ID: <20130226145031.GE2388@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <A1B8331495C6F348B95DC9E930C25EDC5FD01A48D3 AT hiwan DOT concordenergy DOT com> <jpgeme$5tb$1 AT dough DOT gmane DOT org> <loom DOT 20130226T132811-136 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20130226T132811-136@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Feb 26 12:31, Escay wrote:
> 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.

You're using an old version of Cygwin.  The CYGWIN=(no)tty option
has been removed a while ago:

http://cygwin.com/ml/cygwin-announce/2012-02/msg00008.html

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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