* Ctrl-C issue for Windows program [not found] <CAJyLC6uq04KFo=m0u77JeeFdb4HejAnJ1ra1ffuNkymEySz==Q@mail.gmail.com> @ 2012-04-13 19:45 ` Wm. David Bentlage 2012-04-13 19:49 ` Thrall, Bryan 0 siblings, 1 reply; 8+ messages in thread From: Wm. David Bentlage @ 2012-04-13 19:45 UTC (permalink / raw) To: cygwin Hello, I run locally-developed Windows console program via mintty/cygwin. I've noticed a problem with Ctrl-C in mintty 1.0.3 not terminating my app. The problem came about with my switching to "CYGWIN_NT-5.1 pc 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin". Ctrl-C just makes the window hang. /bin/kill -f cannot kill the task either. I can kill my Windows program via task manager. mintty 1.0.3 and Ctrl-C on "CYGWIN_NT-5.2 server 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin" works fine. On 1.7.10 or "CYGWIN_NT-5.2 server 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 Cygwin" Ctrl-C does not. In addition, rxvt has the same change in Ctrl-C behavior with the introduction of 1.7.10. Can the functionality of Ctrl-C please be restored? Thanks, 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Ctrl-C issue for Windows program 2012-04-13 19:45 ` Ctrl-C issue for Windows program Wm. David Bentlage @ 2012-04-13 19:49 ` Thrall, Bryan 2012-04-13 19:59 ` Wm. David Bentlage 0 siblings, 1 reply; 8+ messages in thread From: Thrall, Bryan @ 2012-04-13 19:49 UTC (permalink / raw) To: cygwin; +Cc: Thrall, Bryan Wm. David Bentlage wrote on 2012-04-13: > Hello, > > I run locally-developed Windows console program via mintty/cygwin. > I've noticed a problem with Ctrl-C in mintty 1.0.3 not terminating my > app. The problem came about with my switching to "CYGWIN_NT-5.1 pc > 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin". Ctrl-C just makes > the window hang. /bin/kill -f cannot kill the task either. I can > kill my Windows program via task manager. > > mintty 1.0.3 and Ctrl-C on "CYGWIN_NT-5.2 server 1.7.9(0.237/5/3) > 2011-03-29 10:10 i686 Cygwin" works fine. On 1.7.10 or "CYGWIN_NT-5.2 > server 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 Cygwin" Ctrl-C does > not. In addition, rxvt has the same change in Ctrl-C behavior with > the introduction of 1.7.10. > > Can the functionality of Ctrl-C please be restored? Cygwin 1.7.12 has a fix for Ctrl-C handling: http://cygwin.com/ml/cygwin-announce/2012-04/msg00016.html Hope this helps! -- Bryan Thrall Principal Software Engineer FlightSafety International bryan.thrall@flightsafety.com -- 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-13 19:49 ` Thrall, Bryan @ 2012-04-13 19:59 ` Wm. David Bentlage 2012-04-15 17:53 ` Christopher Faylor 0 siblings, 1 reply; 8+ messages in thread From: Wm. David Bentlage @ 2012-04-13 19:59 UTC (permalink / raw) To: cygwin Bryan, > Cygwin 1.7.12 has a fix for Ctrl-C handling: > > http://cygwin.com/ml/cygwin-announce/2012-04/msg00016.html Thanks, but 1.7.13 doesn't work either. That was a little buried in my message. > > On 1.7.10 or "CYGWIN_NT-5.2 > > server 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 Cygwin" Ctrl-C does > > not. My issue started with 1.7.10 and remains the same in 1.7.13. 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-13 19:59 ` Wm. David Bentlage @ 2012-04-15 17:53 ` Christopher Faylor 2012-04-16 17:57 ` Wm. David Bentlage 0 siblings, 1 reply; 8+ messages in thread From: Christopher Faylor @ 2012-04-15 17:53 UTC (permalink / raw) To: cygwin On Fri, Apr 13, 2012 at 02:59:18PM -0500, Wm. David Bentlage wrote: >On Fri, Apr 13, 2012 at 02:49:07PM -0500, Thrall, Bryan wrote: >>Cygwin 1.7.12 has a fix for Ctrl-C handling: >> >>http://cygwin.com/ml/cygwin-announce/2012-04/msg00016.html > >Thanks, but 1.7.13 doesn't work either. That was a little buried in my >message. > >>>On 1.7.10 or "CYGWIN_NT-5.2 server 1.7.13(0.260/5/3) 2012-04-05 12:43 >>>i686 Cygwin" Ctrl-C does not. > >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? http://cygwin.com/snapshots/ 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-15 17:53 ` Christopher Faylor @ 2012-04-16 17:57 ` Wm. David Bentlage 2012-04-17 14:48 ` Christopher Faylor 0 siblings, 1 reply; 8+ messages in thread From: Wm. David Bentlage @ 2012-04-16 17:57 UTC (permalink / raw) To: cygwin 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. Thanks, 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-16 17:57 ` Wm. David Bentlage @ 2012-04-17 14:48 ` Christopher Faylor 2012-04-17 21:25 ` Wm. David Bentlage 0 siblings, 1 reply; 8+ messages in thread From: Christopher Faylor @ 2012-04-17 14:48 UTC (permalink / raw) To: cygwin 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 ? -- 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-17 14:48 ` Christopher Faylor @ 2012-04-17 21:25 ` Wm. David Bentlage 2012-04-18 5:30 ` Christopher Faylor 0 siblings, 1 reply; 8+ messages in thread From: Wm. David Bentlage @ 2012-04-17 21:25 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ctrl-C issue for Windows program 2012-04-17 21:25 ` Wm. David Bentlage @ 2012-04-18 5:30 ` Christopher Faylor 0 siblings, 0 replies; 8+ messages in thread From: Christopher Faylor @ 2012-04-18 5:30 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-04-18 5:30 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CAJyLC6uq04KFo=m0u77JeeFdb4HejAnJ1ra1ffuNkymEySz==Q@mail.gmail.com> 2012-04-13 19:45 ` Ctrl-C issue for Windows program Wm. David Bentlage 2012-04-13 19:49 ` Thrall, Bryan 2012-04-13 19:59 ` Wm. David Bentlage 2012-04-15 17:53 ` Christopher Faylor 2012-04-16 17:57 ` Wm. David Bentlage 2012-04-17 14:48 ` Christopher Faylor 2012-04-17 21:25 ` Wm. David Bentlage 2012-04-18 5:30 ` Christopher Faylor
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).