From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5774 invoked from network); 18 Sep 2008 15:45:44 -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 news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Sep 2008 15:45:44 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 37293 invoked from network); 18 Sep 2008 15:45:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Sep 2008 15:45:36 -0000 Received: (qmail 15078 invoked by alias); 18 Sep 2008 15:45:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25689 Received: (qmail 15063 invoked from network); 18 Sep 2008 15:45:30 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Sep 2008 15:45:30 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 45A2B802720D for ; Thu, 18 Sep 2008 17:45:27 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly16g.srv.mailcontrol.com (MailControl) with ESMTP id m8IFj7dg003405 for ; Thu, 18 Sep 2008 16:45:14 +0100 Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Sep 2008 16:45:07 +0100 Date: Thu, 18 Sep 2008 16:45:01 +0100 From: Peter Stephenson To: "Zsh hackers list" Subject: Re: PATCH: source file info from PS4 Message-ID: <20080918164501.5a48dd38@news01> In-Reply-To: <6cd6de210809180839v3a8b7dcr10a9591e505b9d2a@mail.gmail.com> References: <6005.1221576641@csr.com> <6cd6de210809170939p968d36bufda419592a10cb45@mail.gmail.com> <20080918131320.2d7f88f4@news01> <6cd6de210809180805w6a60f2eft222e436176659fe4@mail.gmail.com> <6cd6de210809180822y15f5c97bn44844f4ef76b22a7@mail.gmail.com> <200809181525.m8IFPWSg018460@news01.csr.com> <6cd6de210809180839v3a8b7dcr10a9591e505b9d2a@mail.gmail.com> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Sep 2008 15:45:07.0063 (UTC) FILETIME=[8652A070:01C919A5] X-Scanned-By: MailControl A-08-50-14 (www.mailcontrol.com) on 10.71.0.126 X-Virus-Scanned: ClamAV 0.92.1/8279/Thu Sep 18 14:42:42 2008 on bifrost X-Virus-Status: Clean On Thu, 18 Sep 2008 11:39:31 -0400 "Rocky Bernstein" wrote: > How does one use TRAPNAL for the "DEBUG" signal? It's the same as for any signal: defining TRAPDEBUG() { ... } is basically the same as defining trap '...' DEBUG apart from obvious quoting issues, and apart from the fact that TRAPDEBUG gets its own full function environment rather than an eval-style environment. You can have one or other at any one time, not both. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070