From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27032 invoked from network); 18 Jan 1999 10:55:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 Jan 1999 10:55:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id FAA28796; Mon, 18 Jan 1999 05:46:58 -0500 (EST) Resent-Date: Mon, 18 Jan 1999 05:46:48 -0500 (EST) Sender: andrewg@hornet.am.qub.ac.uk Message-ID: <36A310E1.E8778F5@earthling.net> Date: Mon, 18 Jan 1999 10:45:53 +0000 From: Andrew Gallagher Organization: QUB X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: zsh-users@math.gatech.edu Subject: Re: Xterm title changing prompt problem: HELP! References: <369F61AC.408FF17@earthling.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"6JZ113.0.S17.54nes"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/2026 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Geoff Wing wrote: > Andrew Gallagher typed: > :Geoff Wing wrote: > :> Andrew Gallagher typed: > :> PROMPT will overwrite the "echo -n"ed line whether it > :> :is printed or not (so long as it is less than 80 chars). > :> No, PROMPT will only overwrite the echo output if you have PROMPT_CR > :> option set. It is set by default, so this only applies to people who > :> have done ``setopt nopromptcr'' (or ``unsetopt promptcr'') either > :> interactively or via startup files. > :Good point, but surely you mean that it _doesn't_ apply to those who have > :"setopt nopromptcr" ...? > > Ah, sorry, when I said "this only applies ..." I meant along the lines of > "the only people who need take notice of this ..." > I see what you mean now. To get around this if you have done "setopt nopromptcr", you just tack the ^M character onto the end of the "echo -n"ed string manually... et voila. -- Andrew Gallagher http://members.tripod.com/~AndrewGallagher/id.html