X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/PMManwl86ew3/SWZSpA3G Date: Wed, 18 Apr 2012 01:11:10 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Ctrl-C issue for Windows program Message-ID: <20120418051110.GA22255@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <786EBDA1AC46254B813E200779E7AD3602286608 AT srv1163ex1 DOT flightsafety DOT com> <20120415175256 DOT GA27403 AT ednor DOT casa DOT cgf DOT cx> <20120417144834 DOT GE15491 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Apr 17, 2012 at 04:24:31PM -0500, Wm. David Bentlage wrote: >On Tue, Apr 17, 2012 at 9:48 AM, Christopher Faylor wrote: >> On Mon, Apr 16, 2012 at 12:57:09PM -0500, Wm. David Bentlage wrote: >>>Christopher, >>> >>>>>My issue started with 1.7.10 and remains the same in 1.7.13. >>>> >>>> Does today's snapshot (when it shows up) work any better? >>> >>>I tried cygwin-inst-20120415.tar.bz2. >>> >>>$ uname -a >>>CYGWIN_NT-5.2 server 1.7.14s(0.260/5/3) 20120415 17:52:03 i686 Cygwin >>> >>>The issue remains the same. >> >> Could you recount the actual issue then using off-the-shelf >> Windows commands as found in windows\system32 ? > >Here are a couple approaches. > >1) On my Windows server 2003 system: > >CYGWIN_NT-5.2 server 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin > >Execute the following in a mintty window at a bash prompt: > >$ C:/winnt/system32/help sc > >This prompts with "Would you like to see help for the QUERY and >QUERYEX commands? [ y | n ]:" > >Pressing Ctrl-C terminates the query and returns to the bash prompt. >On the same server using CYGWIN_NT-5.2 server 1.7.14s(0.260/5/3) >20120415 17:52:03 i686 Cygwin, Ctrl-C leaves me with a hung window. > >2) I can achieve a similar effect by the following process. > >In an mintty window at a bash prompt: > >$ cmd >Microsoft Windows [Version 5.2.3790] >(C) Copyright 1985-2003 Microsoft Corp. > >C:\>date >date >The current date is: Tue 04/17/2012 >Enter the new date: (mm-dd-yy) > >Pressing Ctrl-C using 1.7.9 returns me to a bash prompt, using 1.7.14s >leaves me with a hung window. > >I can repeat 2) on XP with 1.7.9 and 1.7.10. Specifically, these versions: > >CYGWIN_NT-5.1 pc 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin >CYGWIN_NT-5.1 pc 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin Thanks for the test case. Yes, I got the fact that it worked better in older versions. No need to keep stressing that. cgf -- 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