Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Phil's prompt is not working when LANG is set to UTF-8
- X-seq: zsh-users 12546
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Phil's prompt is not working when LANG is set to UTF-8
- Date: Mon, 11 Feb 2008 15:52:00 +0000
- In-reply-to: <20080211150709.GA28841@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <20080211033116.GD19613@xxxxxxxxxxxxxxxxxxxxxxx> <237967ef0802102301i71dcd71erb1a2993a7f0bd643@xxxxxxxxxxxxxx> <20080211092021.GC6965@xxxxxxxxxxxxxxxxxxxxxxx> <20080211130707.7d45f6af@news01> <20080211133743.GA28384@xxxxxxxxxxxxxxxxxxxxxxx> <200802111407.m1BE77Lh004330@xxxxxxxxxxxxxx> <20080211150709.GA28841@xxxxxxxxxxxxxxxxxxxxx>
On Mon, 11 Feb 2008 16:07:09 +0100
antho.charles@xxxxxxxxx wrote:
> I didn't have this problem on Debian etch, but it appears when I
> upgraded to lenny. It's the same problem: if I set LANG to a non utf8
> encoding (fr_FR instead of fr_FR.UTF-8), RPROMPT is good, otherwise
> it's partially on another line and the cusor is after RPROMPT.
> (cf. http://tinyurl.com/3xjeqt)
Sounds like it ought to be fairly reproducible, but it's not happening on
Fedora 8 (and it still sounds suspiciously like the shell is getting duff
information about the environment, though that's certainly not the only
possibility). I've tried adding multibyte characters to the command line
and complicating the RPROMPT and even adding multibyte characters to that,
but it still works OK.
Are there any particular things on the command line, forms of RPROMPT etc.
etc. that show this up? (We really need something that narrows this down.)
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author