From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28938 invoked from network); 23 Jul 2005 13:56:12 -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 13:56:12 -0000 Received: (qmail 61906 invoked from network); 23 Jul 2005 13:56:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jul 2005 13:56:05 -0000 Received: (qmail 21319 invoked by alias); 23 Jul 2005 13:56:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21503 Received: (qmail 21310 invoked from network); 23 Jul 2005 13:56:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Jul 2005 13:56:03 -0000 Received: (qmail 61621 invoked from network); 23 Jul 2005 13:56:03 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 23 Jul 2005 13:55:58 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IK3005VL2P8FU76@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 23 Jul 2005 08:55:57 -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 j6NDttm1019815 for ; Sat, 23 Jul 2005 06:55:56 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6NDttD1019814 for zsh-workers@sunsite.dk; Sat, 23 Jul 2005 06:55:55 -0700 Date: Sat, 23 Jul 2005 13:55:54 +0000 From: Bart Schaefer Subject: Re: PATCH: PROMPT_SP In-reply-to: <20050718181330.GA19066@blorf.net> To: Zsh hackers list Message-id: <1050723135554.ZM19813@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii 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> Comments: In reply to Wayne Davison "Re: PATCH: PROMPT_SP" (Jul 18, 11:13am) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Jul 18, 11:13am, Wayne Davison wrote: } } What do you think of the following? (Hopefully my improved precmd } function is not too complex.) 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. Reading this ... } + The problem is normally limited to zsh versions prior to 4.3.0 due to the } + advent of the PROMPT_SP option (which is enabled by default, and eliminates } + this problem for most terminals). An example of the overwriting is: } verb( } % echo -n foo } % } ) ... 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").