| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <34147841.post@talk.nabble.com> |
| Date: | Wed, 11 Jul 2012 13:07:04 -0700 (PDT) |
| From: | saltnlight5 <saltnlight5 AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: CTRL+C is not working with java on latest cygwin 1.7.15 |
| In-Reply-To: | <34147783.post@talk.nabble.com> |
| MIME-Version: | 1.0 |
| References: | <34147441 DOT post AT talk DOT nabble DOT com> <CAMK_jUXuu9Bmwurx733P3kV4EevCpens5ESnsP6EcRAWbxiBFQ AT mail DOT gmail DOT com> <34147783 DOT post AT talk DOT nabble DOT com> |
| X-IsSubscribed: | yes |
| 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 |
Thanks for the reply "K Stahl", but it didn't work for me. I ran the same
Test, then press CTRL+C. But the cygwin terminal did nothing. It did not
stop the java process, and it did not print any thing further. I must
manually terminate the process by going into Windows TaskManager.
Again, here is my cygwin version:
$ uname -srv
CYGWIN_NT-5.1 1.7.15(0.260/5/3) 2012-05-09 10:25
Am I on the latest version as you said? Did I miss any other config?
Thanks
Zemian
saltnlight5 wrote:
>
> I do have the latest cygwin install. In fact I re-installed just today and
> it's still not working.
>
> I printed the full version in my previous email. Was that not the lastest
> cygwin version?
>
>
> K Stahl wrote:
>>
>> Just tested with this against the latest release version (1.7.15) and
>> everything works as expected.
>>
>> Example:
>> public final class Test {
>> public static void main(String[] args) {
>> System.out.println("This shall hang until CTRL-C is pressed...");
>> for (;;);
>> }
>> }
>>
>> javac -cp . Test.java
>> java -cp . Test
>>
>> Press CTRL-C and you are returned to the terminal.
>>
>> --
>> 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
>>
>>
>>
>
>
-----
----
Zemian Deng
--
View this message in context: http://old.nabble.com/CTRL%2BC-is-not-working-with-java-on-latest-cygwin-1.7.15-tp34147441p34147841.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |