From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2747 invoked from network); 8 Apr 2005 16:23:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Apr 2005 16:23:50 -0000 Received: (qmail 58646 invoked from network); 8 Apr 2005 16:23:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Apr 2005 16:23:44 -0000 Received: (qmail 60 invoked by alias); 8 Apr 2005 16:23:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21123 Received: (qmail 51 invoked from network); 8 Apr 2005 16:23:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Apr 2005 16:23:40 -0000 Received: (qmail 58399 invoked from network); 8 Apr 2005 16:23:40 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 8 Apr 2005 16:23:35 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IEM004IQYVAQIDC@vms040.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 08 Apr 2005 11:23:35 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j38GNXxK019179 for ; Fri, 08 Apr 2005 09:23:34 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j38GNX08019178 for zsh-workers@sunsite.dk; Fri, 08 Apr 2005 09:23:33 -0700 Date: Fri, 08 Apr 2005 16:23:33 +0000 From: Bart Schaefer Subject: Re: Zsh clears prompt line. Feature or bug? In-reply-to: <20050408152957.GA20933@DervishD> To: zsh-workers@sunsite.dk Message-id: <1050408162333.ZM19177@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <1dc4e3890504061159601fb049@mail.gmail.com> <20050407172756.GA16416@DervishD> <1dc4e38905040711017a63b0ba@mail.gmail.com> <20050407181536.GD16712@DervishD> <1050407225513.ZM17729@candle.brasslantern.com> <4374.1112949824@trentino.groupinfra.com> <1050408100927.ZM18483@candle.brasslantern.com> <5550.1112958038@trentino.groupinfra.com> <1050408151221.ZM19094@candle.brasslantern.com> <20050408152957.GA20933@DervishD> Comments: In reply to DervishD "Re: Zsh clears prompt line. Feature or bug?" (Apr 8, 5:29pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Apr 8, 5:29pm, DervishD wrote: } Subject: Re: Zsh clears prompt line. Feature or bug? } } * Bart Schaefer dixit: } > The next complaint, of course, is going to be that zsh clobbers the word } > "RIGHT" in the following: } > } > zsh% echo -n "${(l.COLUMNS-6.. .)}RIGHT\015LEFT" } } I wouldn't complain because my 'echo' needs -e to clobber 'RIGHT'. } OTHO, 'print' clobbers it (correctly) ;)) What I meant was that even if echo or print does not clobber RIGHT, the printing of the prompt will do so because the output ends in the middle of the line after LEFT.