Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Wrong UTF-8-characters in prompt
- X-seq: zsh-users 9492
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Wrong UTF-8-characters in prompt
- Date: Wed, 12 Oct 2005 10:35:55 +0100
- In-reply-to: <200510112101.24336.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <20051011093327.GB12645@xxxxxxxxxx> <200510112032.42671.arvidjaar@xxxxxxxxxx> <EXCHANGE03qjJny7v35000048b4@xxxxxxxxxxxxxxxxxx> <200510112101.24336.arvidjaar@xxxxxxxxxx>
Andrey Borzenkov <arvidjaar@xxxxxxxxxx> 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@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author