Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Mac OS X Prompt Bug
- X-seq: zsh-workers 28440
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Mac OS X Prompt Bug
- Date: Wed, 24 Nov 2010 16:30:07 +0100
- In-reply-to: <BAB9C52A-B68A-4B5A-99C2-F85B310B1380@xxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BAB9C52A-B68A-4B5A-99C2-F85B310B1380@xxxxxxxxx>
Hi,
On 2010-11-24 08:58:26 -0500, Sorin Ionescu wrote:
> Please have a look at the screenshot at
> http://i.imgur.com/huNpI.jpg. Otherwise, the following text may not
> make sense.
>
> A % character appears before every prompt then it is replaced by the
> prompt;
This is a very useful feature (which can be disabled), to know when
some output hasn't been followed by a newline character, e.g. try
echo -n foo
Other shells do not do this, hence the difference.
> so, it only flashes for a fraction of a second. However, if
> the buffer is empty when ZSH starts, such as when one has a
> ~/.hushlogin file, it results in the behaviour in the screenshot,
> which is % character followed by blank lines.
I don't have such a problem under Mac OS X (using iTerm, but I hadn't
noticed it with Terminal either in the past). This may come from the
terminal (a bug?) or its configuration.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author