From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23513 invoked from network); 12 Jul 2005 03:21:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Jul 2005 03:21:17 -0000 Received: (qmail 59524 invoked from network); 12 Jul 2005 03:21:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Jul 2005 03:21:11 -0000 Received: (qmail 13802 invoked by alias); 12 Jul 2005 03:21:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21444 Received: (qmail 13793 invoked from network); 12 Jul 2005 03:21:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Jul 2005 03:21:04 -0000 Received: (qmail 58795 invoked from network); 12 Jul 2005 03:21:04 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 12 Jul 2005 03:21:00 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJH006RNVYSG4TM@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Mon, 11 Jul 2005 22:20:53 -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 j6C3KpNI026028 for ; Mon, 11 Jul 2005 20:20:52 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6C3KptE026027 for zsh-workers@sunsite.dk; Mon, 11 Jul 2005 20:20:51 -0700 Date: Tue, 12 Jul 2005 03:20:50 +0000 From: Bart Schaefer Subject: Re: Very wierd output problems In-reply-to: <20050711174055.GB9294@blorf.net> To: zsh-workers@sunsite.dk Message-id: <1050712032050.ZM26026@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050711151454.GH12208@ruby.cat.pdx.edu> <20050711174055.GB9294@blorf.net> Comments: In reply to Wayne Davison "Re: Very wierd output problems" (Jul 11, 10:40am) 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 Jul 11, 10:40am, Wayne Davison wrote: } } I think we should take this solution and turn it into a zsh option that } is enabled by default for interactive sessions. Perhaps name it } PRE_PROMPT_SPACES. Can anyone see a problem with that? Given that promptcr is a ZLE-specific option already, and ZLE generally has to know how wide the terminal is, I'd say this seems reasonable -- but it's going to cause strange behavior for anyone who already has made the FAQ-suggested alteration to precmd. As for the name: It's not PRE_PROMPT_CR, so I don't think the PRE_ is needed. I'm agnostic on whether _SPACES is the best suffix. Also, it should perhaps be mutually exclusive with SINGLE_LINE_ZLE. I'm not convinced of that, but ...