From: "Ismail Dönmez" <ismail@pardus.org.tr>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Interesting display corruption problem
Date: Wed, 6 Feb 2008 04:37:39 +0200 [thread overview]
Message-ID: <200802060437.39352.ismail@pardus.org.tr> (raw)
In-Reply-To: <080205182617.ZM19691@torch.brasslantern.com>
At Wednesday 06 February 2008 around 04:26:17 Bart Schaefer wrote:
> On Feb 6, 3:03am, Ismail wrote:
> }
> } I am getting a weird display corruption problem, it looks like this :
> }
> } [/packages/python2.5]> cd ..
> } c%
> }
> } Notice the c and % sign.
>
> Why do you think this is "corruption"?
>
> The mostly likely explanation is the PROMPT_SP option. Doc excerpt:
>
> When a partial line is preserved, you will see an inverse+bold
> character at the end of the partial line: a "%" for a normal user
> or a "#" for root.
Because I have never seen this with bash, so I thought it might be a bug
instead. Thanks for your explanation.
I see the behavior easier now :
[~]> echo -n foo
foo%
[~]>
Is there a way to omit this % ? Because if I do setopt NOPROMPT_SP it got
worse :
[~]> echo -n foo
[~]>
Nothing is printed.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
next prev parent reply other threads:[~2008-02-06 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-06 1:03 Ismail Dönmez
2008-02-06 2:26 ` Bart Schaefer
2008-02-06 2:37 ` Ismail Dönmez [this message]
2008-02-06 4:56 ` Bart Schaefer
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=200802060437.39352.ismail@pardus.org.tr \
--to=ismail@pardus.org.tr \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/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).