From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28573 invoked from network); 18 Feb 2004 00:27:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Feb 2004 00:27:47 -0000 Received: (qmail 5975 invoked by alias); 18 Feb 2004 00:27:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19432 Received: (qmail 363 invoked from network); 18 Feb 2004 00:25:58 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 18 Feb 2004 00:25:58 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.95.128.56] by sunsite.dk (MessageWall 1.0.8) with SMTP; 18 Feb 2004 0:25:57 -0000 Received: from 127.0.0.1 (localhost [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 8F5DC366649 for ; Wed, 18 Feb 2004 08:25:54 +0800 (WST) Received: from gulag.gu.uwa.edu.au (gulag.guild.uwa.edu.au [130.95.100.5]) by asclepius.uwa.edu.au (Postfix) with ESMTP id 7C84F36663D for ; Wed, 18 Feb 2004 08:25:54 +0800 (WST) Received: from gulag.gu.uwa.edu.au (devenish@localhost [127.0.0.1]) by gulag.gu.uwa.edu.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i1I0PrF3002143 for ; Wed, 18 Feb 2004 08:25:53 +0800 Received: (from devenish@localhost) by gulag.gu.uwa.edu.au (8.12.3/8.12.3/Debian-6.6) id i1I0PrtT002141 for zsh-workers@sunsite.dk; Wed, 18 Feb 2004 08:25:53 +0800 Date: Wed, 18 Feb 2004 08:25:53 +0800 From: James Devenish To: zw Subject: Re: jobs not listing all commands Message-ID: <20040218002553.GA1429@mail.guild.uwa.edu.au> Mail-Followup-To: zw References: <20040217075827.1498.qmail@web10410.mail.yahoo.com> <1040217221439.ZM12330@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1040217221439.ZM12330@candle.brasslantern.com> User-Agent: Mutt/1.3.28i In message <1040217221439.ZM12330@candle.brasslantern.com> on Tue, Feb 17, 2004 at 10:14:39PM +0000, Bart Schaefer wrote: > On Feb 16, 11:58pm, Felix Rosencrantz wrote: > } ps also note another "bug" with "%j" and the prompt. when the sleep > } finishes, the prompt doesn't update. > Prompts don't update between two interactive commands, ever, no matter > what the reason. The prompt string is computed when ZLE initializes > (just before it is first printed) and is thereafter used verbatim until > the next re-initialize. I'm a bit confused by both of the both comments. Firstly, %j works "as a user would expect" for me in zsh v4.1.1 (i.e. I get the behaviour that Felix expects). Secondly, %t, %@, %T, %*, %? (etc.) work as expected in PS1, so why should we not expect %j to work? Thirdly, Felix demonstrated that %j could could /up/ (i.e. the prompt *did* get updated between interactive commands) and he was questioning why it didn't also count /down/.