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:date:from:reply-to:reply-to:to:message-id :subject:mime-version:content-type:content-transfer-encoding :references; q=dns; s=default; b=loPQrqYHMHMn+H2Y4beeDB0psRZsGow VTFve4yhPVeqsZgA2FJ7VxbYoDdnEjfllNSEfakiUeK1rATMHNt0TKMAWSUCkXZk vtfWM2U62jPGkn3QCPkm0j0E743ysp/QamtHY4DuVxvmCbp8crn+4lU5jX6vLuBV uLHKUKF5cxgw= 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:date:from:reply-to:reply-to:to:message-id :subject:mime-version:content-type:content-transfer-encoding :references; s=default; bh=k6eXyB7/Uq0XbN+KJwaA3GwM9L0=; b=slJA1 LINdTHU2CH3jmb1xe3lyfWlnXRQ4gJoYxUfDwGTDCFcrFZpgOrtx+AmLcnAV39zZ 3WqzezJQD6GbbCaI5kIyY4IRysiPS7qWLI5o36gf2LjS5LS62K93WRwGhw5uCC79 KZbGl534fCw87xWQVuUqJ6N7ktl+ihzK9ZQ+qU= 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=0.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=yahoocom, yahoo.com, H*M:yahoo, H*x:WebService X-HELO: sonic304-25.consmr.mail.gq1.yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582060725; bh=aUNfYMGoV3vQYXTU41iR8nTDz9VMpDi8RcoKGjGtTbw=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=NUkW00HYKsJCFarmRAveeRleW11CMyHn86DOgoGORYnad8DRdYSQQKJXcHSc0XLzOfOCk3ZUIcdu4yv36imgs9fQs7UJBv8uAxQphJuVwD4p1s46tZOKfCBl4dKVmdAb1Y+VjpWo5LpEfB6i1GhdJoD58LkHvf19P9NdJrwApFS1Bz55tnJ9gbrQfzb0tsD+808V2hQKT+6pfo30jpzSWfea/+PuimDfaeExsNswPJnDrKCqpyjLAvH8PevSa81Xm7KvZ7h6gsbW56egWrnZmdFaW1qL7hI1/yfgavw76qQL1QvxcWgGXCXvgAgVvsyRBqHP4Hy8EJtM/HvD1BFyBA== Date: Tue, 18 Feb 2020 21:16:45 +0000 (UTC) From: "Kevin Schnitzius via cygwin" Reply-To: Kevin Schnitzius Reply-To: Kevin Schnitzius To: "cygwin AT cygwin DOT com" Message-ID: <937489593.4978154.1582060605719@mail.yahoo.com> Subject: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: <937489593 DOT 4978154 DOT 1582060605719 DOT ref AT mail DOT yahoo DOT com> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 01ILJNBC005124 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 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