From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: Wrong UTF-8-characters in prompt
Date: Wed, 12 Oct 2005 10:35:55 +0100 [thread overview]
Message-ID: <20051012103555.6653cc5b.pws@csr.com> (raw)
In-Reply-To: <200510112101.24336.arvidjaar@newmail.ru>
Andrey Borzenkov <arvidjaar@newmail.ru> wrote:
> {pts/2}% ~/pkg/bin/zsh -f
> cooker% PS1="%~> "
> ~/build/zsh> cd ~/tmp/test/____________
> ~/tmp/test/\M-P\M-9\M-Q\M-^F\M-Q\M-^C\M-P\M-:\M-P\M-5\M-P\M-=> setopt
> printeightbit
> ~/tmp/test/____________>
Aha --- it's the %~ that's still using the old nicezputs(). It works fine
if you include the same characters literally in the prompt. This shouldn't
be too hard to fix.
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
next prev parent reply other threads:[~2005-10-12 9:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 9:33 Stephan Windmüller
2005-10-11 16:32 ` Andrey Borzenkov
2005-10-11 16:42 ` Peter Stephenson
2005-10-11 17:01 ` Andrey Borzenkov
2005-10-12 9:35 ` Peter Stephenson [this message]
2005-10-12 19:39 ` Stephan Windmüller
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=20051012103555.6653cc5b.pws@csr.com \
--to=pws@csr.com \
--cc=zsh-users@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).