From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4611 invoked by alias); 12 Jul 2012 14:24:52 -0000 Received: (qmail 4594 invoked by uid 22791); 12 Jul 2012 14:24:50 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from blu0-omc1-s4.blu0.hotmail.com (HELO blu0-omc1-s4.blu0.hotmail.com) (65.55.116.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jul 2012 14:24:36 +0000 Received: from BLU0-SMTP109 ([65.55.116.7]) by blu0-omc1-s4.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 12 Jul 2012 07:24:34 -0700 Message-ID: Received: from [127.0.0.1] ([77.27.22.4]) by BLU0-SMTP109.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 12 Jul 2012 07:24:34 -0700 Date: Thu, 12 Jul 2012 14:24:00 -0000 From: Aaron Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: CTRL+C is not working with java on latest cygwin 1.7.15 References: <34147441.post@talk.nabble.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00221.txt.bz2 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