From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23464 invoked from network); 13 Jul 2009 18:47:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 13 Jul 2009 18:47:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 30198 invoked from network); 13 Jul 2009 18:39:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Jul 2009 18:39:49 -0000 Received: (qmail 9486 invoked by alias); 13 Jul 2009 18:39:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27147 Received: (qmail 9468 invoked from network); 13 Jul 2009 18:39:34 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Jul 2009 18:39:34 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id 7AB6D8027106 for ; Mon, 13 Jul 2009 20:39:31 +0200 (CEST) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090713183930.BRLE6611.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Mon, 13 Jul 2009 19:39:30 +0100 Received: from pws-pc.ntlworld.com ([81.107.42.185]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090713183930.ZYMS22934.aamtaout04-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Mon, 13 Jul 2009 19:39:30 +0100 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.3/8.14.2) with ESMTP id n6DIdO6Z003291 for ; Mon, 13 Jul 2009 19:39:24 +0100 Message-Id: <200907131839.n6DIdO6Z003291@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in emacs under Mac OS X In-Reply-To: Message from Bart Schaefer of "Sun, 12 Jul 2009 19:36:23 PDT." <090712193623.ZM14823@torch.brasslantern.com> Date: Mon, 13 Jul 2009 19:39:24 +0100 X-Cloudmark-Analysis: v=1.0 c=1 a=uJtZFhPr6yEA:10 a=dS7UjBLMAAAA:8 a=NLZqzBF-AAAA:8 a=TzY4Su2M_45ciHCGkTMA:9 a=xl_zckBP6ECw0Y1t--XRoesC0gwA:4 a=6gBTA_o6BGwA:10 a=_dQi-Dcv4p4A:10 X-Virus-Scanned: ClamAV 0.94.2/9559/Mon Jul 13 13:00:11 2009 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > } I've searched on Google, and found the explanations of the various > } behaviors: > } > } http://www.cons.org/cracauer/sigint.html > } > } IMHO, zsh should implement WCE, just like bash. > > I'm not so sure. You can emulate WCE with WUE and a trap, but there is > no way to make WCE do the right thing in the case of an ill-behaved > child that does not propagate the signal state through exit status. Could be an option (but I'm not writing it). -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/