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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=e7C xHZZg0dvzzm3IfleXdteX/L4dOTzCnCBJyW6tFsGVIZZIhEB3nV0D8npPCD9NoD0 gUQftIGKtuK0CM6oMQiYWT+N2VC4cF0gdFmAGC8ULgPbajEXOwpMklNKIHL/8NSs CcDdw/vdxT+eL2S7FXZ5hNA+pGsATulfH6E4Pslo= 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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=vC3XVheJx i8EZJT/Di8oz7fJfsc=; b=ceC9pZsYEFAxtoyKfrcslmh7zNKJ1SJpgYfexWLtr qBENNNhaqWewYUJSyMtXtQEyjs7wMwzbnBxK4eG1gP++T93yhESVnCC0sKszzcmo C6alQeq+t29DM7MUthbNh/on9JbFsOpyvvI4GOOs1/loDbY8JlkAKuLbJZ3eQLYk Hs= 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=0.2 required=5.0 tests=AWL,BAYES_60,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:sk:server-, H*RU:sk:server-, 20151217, 2015-12-17 X-HELO: mail1.bemta8.messagelabs.com X-Env-Sender: bsmith AT progress DOT com X-Msg-Ref: server-4.tower-119.messagelabs.com!1451419419!14720879!1 X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked From: Bill Smith To: "cygwin AT cygwin DOT com" Subject: CTRL-C does not work in Cygwin when using pipes Date: Tue, 29 Dec 2015 20:03:33 +0000 Message-ID: x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tBTK3rV0026076 Hi, I have observed that CTRL-C does not work when using pipes in Cygwin. Is this a bug? Or is there an issue with my stty settings? If I do this: perl -e 'while(1) {sleep 1;}' CTRL-C works If I do: echo foo | perl -e 'while(1) {sleep 1;}' CTRL-C does not work. I have to use Task Manager to kill the perl program. I've reproduce the behavior with other Cygwin programs so it's not specific to perl. You could do: cat | more to get the same behavior. I used versions 2.0.1(0.287/5/3) 2015-04-30 18:13 & 2.4.0(0.292/5/3) 2015-12-17 21:59 to reproduce the issue. Thanks, --Bill -- 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