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=WV92FAvpxCIu7Lyu rdYUDG4IVIQGdXq4J+VO6lCj6apJsLYEHMUcgAwxPRkam5xtoDkWPDuoSO8KFGeu 3C2PS9AAXIo09z3lrwvFoi9FxXj8z0MGilIUBpu6krIPUN7E97Q60XkeL2wTiICo Ed/CWBOf9st8FN1xqwyTCH/YRe8= 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=JcIpvwYL6kzNuue0Nx5ROy zmwCA=; b=SDsrKeOYhWEIE/Su1TtPpiPl+662cnx2p5YiBdD94OvujvPHoAHTTR aDJ1VBY4zgW8FC5U5+YNZxEfEAwRmM3RhtJ1igFIkdxD6nJ37lL/PVynXtgvd1q3 39shOPAjVhgXziUzviAKxOPLoQzRAZRhizGRV3gCJNiWVByL9HJ+w= 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-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: mout.kundenserver.de Subject: Re: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling To: cygwin AT cygwin DOT com References: <937489593 DOT 4978154 DOT 1582060605719 DOT ref AT mail DOT yahoo DOT com> <937489593 DOT 4978154 DOT 1582060605719 AT mail DOT yahoo DOT com> From: Thomas Wolff X-Tagtoolbar-Keys: D20200218235406608 Message-ID: Date: Tue, 18 Feb 2020 23:54:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <937489593.4978154.1582060605719@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Am 18.02.2020 um 22:16 schrieb Kevin Schnitzius via cygwin: > With Cygwin version 3.0.7-1, crtl-c kills native apps that are started from the shell,  For example, starting notepad in the foreground from bash would be kill by a ctrl-c. > > With Cygwin version 3.1.2-1, crtl-c DOES NOT kill native apps that are started from the shell, > > Can I restore this behavior? > > With 3.1.2-1: > > mintty -o "CA+F12:break"               =====>    ctrl-alt-F12 causes a break and kills notepad > mintty -o "c:break"                    =====>    ctrl-shift-c causes a break and kills notepad > mintty -o "C+c:break"                  =====>  FAIL -- ctrl-c kills native apps but notepad is not affected > mintty -o "CA+c:break"                 =====>  FAIL -- ctrl-alt-c kills native apps but notepad is not affected This would be mintty -o KeyFunctions='CA+F12:break' etc. The latter two are not valid mintty configuration; Ctrl is only supported as a modifier for function keys and special keys, not letters. This is unchanged with the cygwin version. > These tests show that the 'break' signal can be propagated from mintty but is not for the ctrl-c case. > > I am guessing that this behavior is from the pty handing but I have not dug into this code or installed winpty. > > Is all this documented somewhere that I could not find? > > Kevin > > -- > 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 > -- 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