From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24708 invoked from network); 28 Jul 2009 21:31:17 -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.5 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; 28 Jul 2009 21:31:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28743 invoked from network); 28 Jul 2009 21:31:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Jul 2009 21:31:09 -0000 Received: (qmail 10659 invoked by alias); 28 Jul 2009 21:31:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27195 Received: (qmail 10635 invoked from network); 28 Jul 2009 21:31:02 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 28 Jul 2009 21:31:02 -0000 Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by bifrost.dotsrc.org (Postfix) with ESMTP id E9E2680525CB for ; Tue, 28 Jul 2009 23:30:58 +0200 (CEST) Received: from torch.brasslantern.com ([96.238.220.32]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KNH000KL5TSNXW0@vms173003.mailsrvcs.net> for zsh-workers@sunsite.dk; Mon, 27 Jul 2009 23:29:53 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n6S4TorG017522; Mon, 27 Jul 2009 21:29:51 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n6S4Tn7v017521; Mon, 27 Jul 2009 21:29:49 -0700 From: Bart Schaefer Message-id: <090727212949.ZM17520@torch.brasslantern.com> Date: Mon, 27 Jul 2009 21:29:49 -0700 In-reply-to: <20090727231026.GA78597@cons.org> Comments: In reply to Martin Cracauer "Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in emacs under Mac OS X" (Jul 27, 7:10pm) References: <20090722181841.GA30416@cons.org> <090725115811.ZM23957@torch.brasslantern.com> <20090727231026.GA78597@cons.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Martin Cracauer Subject: Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in emacs under Mac OS X Cc: zsh-workers@sunsite.dk MIME-version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.94.2/9627/Tue Jul 28 21:44:30 2009 on bifrost X-Virus-Status: Clean On Jul 27, 7:10pm, Martin Cracauer wrote: } Subject: Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in em } } Bart Schaefer wrote on Sat, Jul 25, 2009 at 11:58:11AM -0700: } > Did you also see Eric Blake's assertion that the shell must not } > un-ignore a signal if it "starts life" with the signal ignored? } } In fact this would be useful if somebody want to change a } shellscript's behavior to not abort more than the current program on } SIGINT and go forward with the next statement in the script. No; if the shell doesn't un-ignore the signal, then any program that is started from the script will also still have SIGINT ignored, and (unless *that* program re-handles the signal) neither the script nor its children will be interruptible.