From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5332 invoked by alias); 2 Aug 2012 17:30:48 -0000 Received: (qmail 5316 invoked by uid 22791); 2 Aug 2012 17:30:45 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_40,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mclmx2.mail.saic.com (HELO mclmx2.mail.saic.com) (149.8.64.32) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 17:30:32 +0000 Received: from dc04p-em-sbg02.saic.com ([149.8.64.21] [149.8.64.21]) by mclmx2.mail.saic.com with ESMTP id BT-MMP-247400 for cygwin@cygwin.com; Thu, 2 Aug 2012 13:30:20 -0400 Received: from 0015-its-exbh03.us.saic.com (mcl-sixl-nat.saic.com [149.8.64.21]) by dc04p-em-sbg02.saic.com (Symantec Messaging Gateway) with SMTP id 11.7A.26003.C29BA105; Thu, 2 Aug 2012 13:30:20 -0400 (EDT) Received: from 0015-its-exbh01.us.saic.com ([10.43.229.18]) by 0015-its-exbh03.us.saic.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 13:30:20 -0400 Received: from dc01p-em-exfe02.us.saic.com ([139.121.144.71]) by 0015-its-exbh01.us.saic.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 13:30:20 -0400 Received: from [10.40.90.16] ([139.121.144.120]) by dc01p-em-exfe02.us.saic.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 12:29:57 -0500 Message-Id: <501AB915.5050106@saic.com> Date: Thu, 02 Aug 2012 17:31:00 -0000 From: "Roger K. Wells" User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 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> <34147783.post@talk.nabble.com> <34147841.post@talk.nabble.com> In-Reply-To: <34147841.post@talk.nabble.com> 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-08/txt/msg00052.txt.bz2 On 07/11/2012 04:07 PM, saltnlight5 wrote: > 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 This is still a problem. CYGWIN_NT-6.1 rwells-w7 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin We have been developing CLI applications for close to 20 years and have never had a problem with the cygwin bash shell failing to pass Ctrl-C signals to the application until now. Luckily the cmd.exe still does. Let me know if it something that I can help track down. Glad to help if possible. -- Roger Wells, P.E. SAIC 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) roger.k.wells@saic.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