X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ry87edWtDsuGPDNa zH2IfDsSZM3PZwsSUPlAq4RBrT6Rago+oQpfY7ZzmjXuO28S4F4b/Lk9qD7Z6Dzx fbFmE0+MpNLvUpZ0oDKoxV/S+PjSvRvqzidqhVteHSbh7BouBXZar/kA2I8RZ4U3 Es7DKG1EeVi+y2xi7xpu+iXcI1o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=nH4PTnWqPlGoZPTXTIv4uJ xj0t4=; b=WRq9qkxcxSYRQ0/qJPE6cpSJhD2XCJbZY9HCRTZSuobQjFyl0VGjYk z2+5T0VHfAAD2w0ZETekbpZJlw1xzQdOTaKSP8Q5WKSpayy5hr2fkzM6rNi+XCBG lt3Uo5P0wOiGwRL8pPAywnIP/Pky9EHsVh64Uqibo8rRcIyS4ERyE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f174.google.com X-Received: by 10.194.192.72 with SMTP id he8mr6076315wjc.11.1436950023749; Wed, 15 Jul 2015 01:47:03 -0700 (PDT) Subject: Re: SIGINT generated by Control-C, is not delivered in mintty To: cygwin AT cygwin DOT com References: <1436859879 DOT 3576693 DOT 323109769 DOT 13A8B37B AT webmail DOT messagingengine DOT com> From: Marco Atzeri Message-ID: <55A61E00.9020505@gmail.com> Date: Wed, 15 Jul 2015 10:46:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <1436859879.3576693.323109769.13A8B37B@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 7/14/2015 9:44 AM, Ronald Fischer wrote: > Using Cygwin 64 on Windows 7: > > In a bash or zsh running inside mintty, pressing Control-C has no > effect. In a bash or zsh running in a Windows Console, it works fine. > > This can be verified in two ways: > > (1) Using 'trap': > > In the shell, we do a > > trap 'echo trapped' INT > as Achim mentioned, it works also for me on both 32bit and 64bit $ trap 'echo trapped' INT $ ^Ctrapped $ ^Ctrapped 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