From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7861 invoked from network); 2 Feb 2000 03:38:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Feb 2000 03:38:52 -0000 Received: (qmail 8344 invoked by alias); 2 Feb 2000 03:38:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9520 Received: (qmail 8337 invoked from network); 2 Feb 2000 03:38:45 -0000 Date: Tue, 1 Feb 2000 21:38:37 -0600 From: Dan Nelson To: zsh-workers@sunsite.auc.dk Subject: Re: PS1 covers output of previous program Message-ID: <20000201213837.B87242@dan.emsphone.com> References: <20000202005616.A1416@pld.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000202005616.A1416@pld.org.pl>; from "Michal Kuratczyk" on Wed Feb 2 00:56:16 GMT 2000 X-OS: FreeBSD 4.0-CURRENT In the last episode (Feb 02), Michal Kuratczyk said: > Is this bug or feature that PS1 covers the text before? > > ~ % echo -n "foo" > ~ % > > In bash, tcsh and pdksh the second line would look like this: > foo~ % Feature. It's required so that zsh's enhanced commandline editor works right. Without it, zsh doesn't know what column the cursor is on, and can't set RPROMPT right. To disable, "setopt nopromptcr". -- Dan Nelson dnelson@emsphone.com