CTRL+C is not working with java on latest cygwin 1.7.15
Aaron Schneider
notstop@users.sourceforge.net
Thu Jul 12 14:24:00 GMT 2012
On 11/07/2012 21:17, 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
>
>
>
Tested here and working correctly.
$ uname -a
CYGWIN_NT-6.1-WOW64 LAPTOP 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin
$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)
$ javac -version
javac 1.6.0_25
On 11/07/2012 22:26, saltnlight5 wrote:>
> Hi,
>
> I did compile and ran your Test.java program, and it's not working. I
have
> java 6
>
> $ java -version
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)
>
>
> K Stahl wrote:
>>
>> Hmm, what version of Java are you using? Mine example was tested on
Java
>> 1.6.
>>
>> --
>> 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
>
saltnlight5, could you try a fresh install of cygwin just to test?
--
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
More information about the Cygwin
mailing list