X-Recipient: archive-cygwin@delorie.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: <CAJyLC6uq04KFo=m0u77JeeFdb4HejAnJ1ra1ffuNkymEySz==Q@mail.gmail.com> <CAJyLC6t3qa5n__Zdqih4MDPxukSMc3t+Qp2dRYj6XdK3ypEeBg@mail.gmail.com> <786EBDA1AC46254B813E200779E7AD3602286608@srv1163ex1.flightsafety.com> <CAJyLC6tOCJBB4AVGGQ35Fxp7Z1qR9PGM+yeqaKuFFdmz70aHMQ@mail.gmail.com> <20120415175256.GA27403@ednor.casa.cgf.cx> <CAJyLC6swdL36XH9=OC+wY-C1YnPmc6AU+kGW6q36MCxzVx8WUg@mail.gmail.com> <20120417144834.GE15491@ednor.casa.cgf.cx>
From: "Wm. David Bentlage" <slomium+cygwin@gmail.com>
Date: Tue, 17 Apr 2012 16:24:31 -0500
Message-ID: <CAJyLC6uxi9Lr7jj1Cz5mcqmAak2wkm0oWO49t7r4SfpZW4mRUg@mail.gmail.com>
Subject: Re: Ctrl-C issue for Windows program
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

