From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22586 invoked from network); 15 Jan 1999 15:46:32 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Jan 1999 15:46:32 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id KAA04171; Fri, 15 Jan 1999 10:42:23 -0500 (EST) Resent-Date: Fri, 15 Jan 1999 10:42:19 -0500 (EST) Sender: andrewg@hornet.am.qub.ac.uk Message-ID: <369F61AC.408FF17@earthling.net> Date: Fri, 15 Jan 1999 15:41:32 +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: <369F2AF4.5FD78841@earthling.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"xlsV41.0.d01.P7sds"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/2024 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: > 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" ...? foo> setopt nopromptcr (15:38, Fri 15) foo> echo -n "ssssss" (15:39, Fri 15) ssssssfoo> (15:39, Fri 15) foo> setopt promptcr (15:39, Fri 15) foo> echo -n "ssssss" (15:39, Fri 15) foo> (15:39, Fri 15) -- Andrew Gallagher http://members.tripod.com/~AndrewGallagher/id.html