From: Andrew Gallagher <andrew.gallagher@earthling.net>
To: zsh-users@math.gatech.edu
Subject: Re: Xterm title changing prompt problem: HELP!
Date: Mon, 18 Jan 1999 10:45:53 +0000 [thread overview]
Message-ID: <36A310E1.E8778F5@earthling.net> (raw)
In-Reply-To: <slrn79utbm.mk3.mason@coral.primenet.com.au>
Geoff Wing wrote:
> Andrew Gallagher <andrew.gallagher@earthling.net> typed:
> :Geoff Wing wrote:
> :> Andrew Gallagher <andrew.gallagher@earthling.net> 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
prev parent reply other threads:[~1999-01-18 10:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-14 22:17 Shawn Leas
1999-01-14 23:25 ` Geoff Wing
1999-01-15 11:48 ` Andrew Gallagher
1999-01-15 11:58 ` Bruce Stephens
1999-01-15 14:29 ` Geoff Wing
1999-01-15 15:41 ` Andrew Gallagher
1999-01-15 17:05 ` Geoff Wing
1999-01-18 10:45 ` Andrew Gallagher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36A310E1.E8778F5@earthling.net \
--to=andrew.gallagher@earthling.net \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).