This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Ctrl-C issue for Windows program
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