delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/17/17:25:23

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: <CAJyLC6uq04KFo=m0u77JeeFdb4HejAnJ1ra1ffuNkymEySz==Q AT mail DOT gmail DOT com> <CAJyLC6t3qa5n__Zdqih4MDPxukSMc3t+Qp2dRYj6XdK3ypEeBg AT mail DOT gmail DOT com> <786EBDA1AC46254B813E200779E7AD3602286608 AT srv1163ex1 DOT flightsafety DOT com> <CAJyLC6tOCJBB4AVGGQ35Fxp7Z1qR9PGM+yeqaKuFFdmz70aHMQ AT mail DOT gmail DOT com> <20120415175256 DOT GA27403 AT ednor DOT casa DOT cgf DOT cx> <CAJyLC6swdL36XH9=OC+wY-C1YnPmc6AU+kGW6q36MCxzVx8WUg AT mail DOT gmail DOT com> <20120417144834 DOT GE15491 AT ednor DOT casa DOT cgf DOT cx>
From: "Wm. David Bentlage" <slomium+cygwin AT gmail DOT 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 AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019