From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13197 invoked from network); 23 Jul 2005 16:53:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jul 2005 16:53:14 -0000 Received: (qmail 67396 invoked from network); 23 Jul 2005 16:53:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jul 2005 16:53:09 -0000 Received: (qmail 18927 invoked by alias); 23 Jul 2005 16:53:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21507 Received: (qmail 18918 invoked from network); 23 Jul 2005 16:53:06 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Jul 2005 16:53:06 -0000 Received: (qmail 67102 invoked from network); 23 Jul 2005 16:53:06 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 23 Jul 2005 16:53:02 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id 2AE29ACB; Sat, 23 Jul 2005 09:53:01 -0700 (PDT) Date: Sat, 23 Jul 2005 09:53:01 -0700 From: Wayne Davison To: Bart Schaefer Cc: Zsh hackers list Subject: Re: PATCH: PROMPT_SP Message-ID: <20050723165301.GB16571@blorf.net> References: <20050714182506.GB11296@blorf.net> <20050715175551.GA29713@blorf.net> <1050716160634.ZM31049@candle.brasslantern.com> <20050716195612.GA11575@blorf.net> <200507181032.j6IAWB4q022520@news01.csr.com> <20050718181330.GA19066@blorf.net> <1050723135554.ZM19813@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1050723135554.ZM19813@candle.brasslantern.com> User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Sat, Jul 23, 2005 at 01:55:54PM +0000, Bart Schaefer wrote: > The echotc command now requires the termcap module ... I can't decide > whether I'm more concerned that (1) the module won't be available, or > that (2) the RI capability won't be. However, neither concern is very > serious. And I do still give the simpler 1-echo alternative for those that can't use the 3-echo version. There's probably even be a way to code up a check for the termcap module and the RI capability, but that seems like overkill to me. > ... I've begun to wonder whether we're only replacing one complaint ("the > prompt overwrites my output") with another ("'echo -n' doesn't work, I > always get a newline"). Interesting! One way to deal with that would be to output some characters other than spaces that would only become visible when zsh makes a partial line visible. For instance: echotc so echo -n '[EOL]' echotc se echotc RI $((COLUMNS - 7)) echo -n ' ' That puts a standout-string "[EOL]" at the end of the output. I like the extra indication that the output did not end with a newline. What do you think? ..wayne..