From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12506 invoked from network); 29 Jun 1999 15:31:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 15:31:41 -0000 Received: (qmail 7838 invoked by alias); 29 Jun 1999 15:31:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6928 Received: (qmail 7831 invoked from network); 29 Jun 1999 15:31:32 -0000 From: "Bart Schaefer" Message-Id: <990629153127.ZM21149@candle.brasslantern.com> Date: Tue, 29 Jun 1999 15:31:27 +0000 In-Reply-To: <9906281705.AA30579@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "Re: PATCH: pws-24: prompt escapes for script/function and lineno" (Jun 28, 7:05pm) References: <9906281705.AA30579@ibmth.df.unipi.it> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: pws-24: prompt escapes for script/function and lineno MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 28, 7:05pm, Peter Stephenson wrote: } Subject: Re: PATCH: pws-24: prompt escapes for script/function and lineno } } "Andrej Borsenkow" wrote: } > I would suggest just '+%N:%i> '. } } OK, this makes sense --- } } The default stays the same for sh and ksh emulations where promptpercent is } not set. Incidentally, bash prints more than one "+" at the beginning of each line when xtracing a subshell (that is, a parenthesized or otherwise grouped list of commands), so you can see how deeply nested the forking is getting. Is there a way to duplicate that effect with PS4 formats? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com