From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5772 invoked from network); 25 May 2001 15:34:34 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 May 2001 15:34:34 -0000 Received: (qmail 2675 invoked by alias); 25 May 2001 15:34:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14482 Received: (qmail 2663 invoked from network); 25 May 2001 15:34:16 -0000 From: "Bart Schaefer" Message-Id: <1010525153352.ZM14682@candle.brasslantern.com> Date: Fri, 25 May 2001 15:33:52 +0000 In-Reply-To: <20010525105604.A6763@dman.com> Comments: In reply to Clint Adams "prompt reprinting on SIGWINCH" (May 25, 10:56am) References: <20010525105604.A6763@dman.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Clint Adams , zsh-workers@sunsite.dk Subject: Re: prompt reprinting on SIGWINCH Cc: 97880-forwarded@bugs.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 25, 10:56am, Clint Adams wrote: } } Is this really a bug? } } ----- Forwarded message from Neil Conway ----- } } (Every time the size of the window is adjusted, another prompt is } printed). No, this is not really a bug. It also has nothing to do with the themed prompt system; the prompt is always reprinted whenever the window is resized. However, you can't *see* this happening unless the prompt has a newline character in it (which most of the themed prompts happen to). The prompt is reprinted because it might contain conditionals that depend on the width of the terminal, or because there might be an RPS1 (right- side prompt) that has to be repositioned. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net