X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20120417144834.GE15491@ednor.casa.cgf.cx> 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> From: "Wm. David Bentlage" Date: Tue, 17 Apr 2012 16:24:31 -0500 Message-ID: Subject: Re: Ctrl-C issue for Windows program To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 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 David -- 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