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 12577
- From: Peter Stephenson <pws@xxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: Phil's prompt is not working when LANG is set to UTF-8
- Date: Fri, 15 Feb 2008 10:01:46 +0000
- In-reply-to: <20080214215550.GA5950@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0802102301i71dcd71erb1a2993a7f0bd643@xxxxxxxxxxxxxx> <20080211092021.GC6965@xxxxxxxxxxxxxxxxxxxxxxx> <20080211130707.7d45f6af@news01> <20080211133743.GA28384@xxxxxxxxxxxxxxxxxxxxxxx> <200802111407.m1BE77Lh004330@xxxxxxxxxxxxxx> <20080211150709.GA28841@xxxxxxxxxxxxxxxxxxxxx> <20080211155200.0a8e9ecf@news01> <20080211205721.GD6217@xxxxxxxxxxxxxxxxxxxxxxx> <20080214123757.GA2943@xxxxxxxxxxxxxxxxxxxxxxx> <200802141300.m1ED0qOo017425@xxxxxxxxxxxxxx> <20080214215550.GA5950@xxxxxxxxxxxxxxxxxxxxxxx>
Wael Nasreddine wrote:
> Maybe this problem I am having is actually related to another, very
> irritating, problem and like the problem previously mentioned I don't
> understand why it's happening... The below screenshot[1] is when I run
> my Gnome session from GDM it doesn't happen when I ran it from usual
> startx command, I really don't get it, what would be different when I
> start my Gnome session from GDM or from startx ??
>
> Take a look at this screenshot[1], it speaks for itself...
Presumably you mean one of the non-ASCII characters is showing up
correctly in one window but different ways in other windows.
Assuming they really are the same character, which you can check e.g. by
looking at the characters in your prompts:
print -P $PS1 | xxd
then there's no obvious sign here this is due to the shell, since everything
appears to be lined up correctly. You probably need to check the
settings for the terminals in the different windows, in particular that
they're using the same character sets. Different emulators handle this
differently: in xterm, you need to tell it the enconding as part of the
font, while gnome-terminal and others with menu-driven configuration
will try to combine the locale with the typeface you select.
--
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