This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGINT not passed to java process


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]