From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22843 invoked from network); 4 Mar 2000 17:19:03 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Mar 2000 17:19:03 -0000 Received: (qmail 12498 invoked by alias); 4 Mar 2000 17:18:49 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2946 Received: (qmail 12479 invoked from network); 4 Mar 2000 17:18:47 -0000 From: "Bart Schaefer" Message-Id: <1000304171843.ZM24820@candle.brasslantern.com> Date: Sat, 4 Mar 2000 17:18:43 +0000 In-Reply-To: <1000304163801.ZM24423@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: zsh tips for "UNIX Power Tools"" (Mar 4, 4:38pm) References: <28174.952013581@jpeek.com> <20000303123932.A11036@picard.franken.de> <87k8jjwt6h.fsf@cenderis.demon.co.uk> <1000304054014.ZM21187@candle.brasslantern.com> <20000304130547.D1805@picard.franken.de> <1000304163801.ZM24423@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.auc.dk Subject: Re: zsh tips for "UNIX Power Tools" Cc: Jerry Peek MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 4, 4:38pm, Bart Schaefer wrote: } Subject: Re: zsh tips for "UNIX Power Tools" } } show_mode is a function; fiddle with it. E.g. pass the number of lines } to move up as a second argument, or pass that second argument only when } in the prompt and don't move up a line when $# > 1, or ... I just noticed a problem with this that I should have remembered: zsh issues a clear-to-eol at every newline in a multiline prompt, so the prompt will erase anything that's printed before it is drawn. Thomas's sleep run from precmd appears to be the only workaround for this, so I apologize for second-guessing. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com