From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5310 invoked from network); 16 Jul 2009 16:24:48 -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; 16 Jul 2009 16:24:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 41234 invoked from network); 16 Jul 2009 16:24:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jul 2009 16:24:36 -0000 Received: (qmail 20205 invoked by alias); 16 Jul 2009 16:24:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27153 Received: (qmail 20181 invoked from network); 16 Jul 2009 16:24:24 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Jul 2009 16:24:24 -0000 Received: from prunille.vinc17.org (vinc17.pck.nerim.net [213.41.242.187]) by bifrost.dotsrc.org (Postfix) with ESMTP id 20BFE801E289 for ; Thu, 16 Jul 2009 18:24:19 +0200 (CEST) Received: by prunille.vinc17.org (Postfix, from userid 501) id 3D11D3BD7387; Thu, 16 Jul 2009 18:24:19 +0200 (CEST) Date: Thu, 16 Jul 2009 18:24:19 +0200 From: Vincent Lefevre 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 Message-ID: <20090716162419.GA26179@prunille.vinc17.org> Mail-Followup-To: zsh-workers@sunsite.dk References: <090712193623.ZM14823@torch.brasslantern.com> <200907131839.n6DIdO6Z003291@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200907131839.n6DIdO6Z003291@pws-pc.ntlworld.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-5983-vl-r30292 (2009-07-14) X-Virus-Scanned: ClamAV 0.94.2/9573/Thu Jul 16 07:40:42 2009 on bifrost X-Virus-Status: Clean On 2009-07-13 19:39:24 +0100, Peter Stephenson wrote: > Bart Schaefer wrote: > > I'm not so sure. You can emulate WCE with WUE and a trap, I'll try to look at that. > > 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. Well, since bash implements WCE and is the default shell on Linux and Mac OS X machines, I'd say that such ill-behaved programs should not be common (and should be fixed). So, IMHO, there would be more benefit to have WCE in zsh. > Could be an option (but I'm not writing it). Yes, that would be nice, even though a trap emulating WCE could be as simple (unless there are drawbacks). In any case, I think that the behavior should be documented. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)