From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25184 invoked by alias); 3 Aug 2012 13:51:54 -0000 Received: (qmail 25175 invoked by uid 22791); 3 Aug 2012 13:51:52 -0000 X-SWARE-Spam-Status: No, hits=-5.5 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 Received: from mail-bk0-f43.google.com (HELO mail-bk0-f43.google.com) (209.85.214.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Aug 2012 13:51:39 +0000 Received: by bkty15 with SMTP id y15so280582bkt.2 for ; Fri, 03 Aug 2012 06:51:38 -0700 (PDT) Received: by 10.204.130.146 with SMTP id t18mr675121bks.65.1344001898190; Fri, 03 Aug 2012 06:51:38 -0700 (PDT) Received: from [172.21.193.100] (85-18-126-22.ip.fastwebnet.it. [85.18.126.22]) by mx.google.com with ESMTPS id 14sm4854063bkw.15.2012.08.03.06.51.37 (version=SSLv3 cipher=OTHER); Fri, 03 Aug 2012 06:51:37 -0700 (PDT) Message-ID: <501BD762.80300@gmail.com> Date: Fri, 03 Aug 2012 13:53:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Ctrl+C not working with windows programs in Cygwin 1.7.16 References: <501AD5B9.5030005@gmail.com> <20120802230013.GB6793@ednor.casa.cgf.cx> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00088.txt.bz2 On 8/3/2012 3:43 PM, Earnie Boyd wrote: > On Thu, Aug 2, 2012 at 7:00 PM, Christopher Faylor wrote: >> On Thu, Aug 02, 2012 at 09:32:09PM +0200, Marcin Kielar wrote: >>> Steps to reproduce: >>> >>> 1. Start cygwin using cygwin.bat >>> 2. Run `ping -t google.com` >>> 3. Try breaking it with Ctrl+C >>> >>> Expected behaviur: >>> The ping breaks execution and the command prompt is shown and available >>> >>> Actual behaviour: >>> Nothing happens, ping loops until killed with `/usr/bin/kill -f PID` >> >> I don't have a "cygwin.bat" but if I start bash via Start->Run this >> works for me. ping is interrupted by CTRL-C. >> > > If executed from mintty CTRL-C works to interrupt the process. If > executed from a Windows console terminal (and I don't mean cmd.exe) a "windows console terminal" is cmd.exe, IMHO. There are no other console in windows as standard installation. > ping doesn't interrupt with CTRL-C. Another interesting thing, ``run > bash --login -i'' starts the process but the Window closes with the > process in the background and I have to use the Task Manager to kill > it, Cygwin's kill doesn't kill it. However ``run mintty'' works > regardless. have you checked the manual ? RUN(1) run 1.1.13 RUN(1) NAME run - start programs with hidden console window Regards Marco -- 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