From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9621 invoked from network); 22 Sep 2005 08:29:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Sep 2005 08:29:51 -0000 Received: (qmail 7333 invoked from network); 22 Sep 2005 08:29:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Sep 2005 08:29:44 -0000 Received: (qmail 1535 invoked by alias); 22 Sep 2005 08:29:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21750 Received: (qmail 1526 invoked from network); 22 Sep 2005 08:29:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Sep 2005 08:29:41 -0000 Received: (qmail 7070 invoked from network); 22 Sep 2005 08:29:41 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 22 Sep 2005 08:29:37 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IN700GDRM9A4LJ2@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 22 Sep 2005 03:29: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 j8M8TYPX011495 for ; Thu, 22 Sep 2005 01:29:34 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j8M8TYKQ011494 for zsh-workers@sunsite.dk; Thu, 22 Sep 2005 01:29:34 -0700 Date: Thu, 22 Sep 2005 08:29:34 +0000 From: Bart Schaefer Subject: Re: Prompt oddity when running as "sh" (4.3.0-dev) In-reply-to: <20050921034206.GA2955@blorf.net> To: zsh-workers@sunsite.dk Message-id: <1050922082934.ZM11493@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <1050920160050.ZM9532@candle.brasslantern.com> <20050920163045.GE28681@blorf.net> <1050921021110.ZM9892@candle.brasslantern.com> <20050921034206.GA2955@blorf.net> Comments: In reply to Wayne Davison "Re: Prompt oddity when running as "sh" (4.3.0-dev)" (Sep 20, 8:42pm) 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.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Sep 20, 8:42pm, Wayne Davison wrote: } Subject: Re: Prompt oddity when running as "sh" (4.3.0-dev) } } On Wed, Sep 21, 2005 at 02:11:10AM +0000, Bart Schaefer wrote: } > Shouldn't that be "%B%S%#%s%b" ? } } I'm not sure why we'd want the character to change between % and # } depending on the user being root. What was your reasoning? That it would be the default prompt character, as if zsh had printed a prompt at the end of the "partial" line and then printed a newline and a new prompt.