Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problems with 4.3.4 and Tru64
- X-seq: zsh-workers 23418
- From: Peter Stephenson <pws@xxxxxxx>
- To: Timo Aaltonen <tjaalton@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: problems with 4.3.4 and Tru64
- Date: Thu, 10 May 2007 11:30:32 +0100
- In-reply-to: <Pine.OSF.4.64.0705101310130.479844@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <Pine.OSF.4.64.0705101117330.479844@xxxxxxxxxxxxxxxx> <200705100955.l4A9tTmQ001343@xxxxxxxxxxxxxx> <Pine.OSF.4.64.0705101305200.479844@xxxxxxxxxxxxxxxx> <Pine.OSF.4.64.0705101310130.479844@xxxxxxxxxxxxxxxx>
Timo Aaltonen <tjaalton@xxxxxxxxx> wrote:
> On Thu, 10 May 2007, Timo Aaltonen wrote:
>
> >> Could you send a transcript of your session (as simple as
> >> possible) made with "script" so we can see what is being sent to
> >> the shell input?
> >
> > Attached.
>
> Forgot to mention that I pressed each of these keys twice;
> ö - odiaeresis
> ä - adiaeresis
> å - aring
Hmmm... nothing appears to be coming out; I'm looking for byte sequences
like 0xc3 0xa4 (ä).
Could we try a different tack? Could you check the "multibyte" option has
come on (use "setopt")? This should happen automatically. If it hasn't,
the shell may not have built properly and we need to go back and look at
the configuration.
If multibyte mode is apparently enabled, try "cat >test.out", typing one of
the characters, then ^D. "xxd" or similar should show you the file
contains a two-octet character like 0xc3 0xa4 (ä), 0xc3 0xb6 (ö), or 0xc3
0xa5 (å). This may not tell us much, but it's a start...
If that's all OK, try seeing if the shell is recognising multibyte
characters internally. Take the contents of a file with a multibyte
character in it (say test.out) and do
print ${#$(<test.out)}
That should say 1 (i.e. one character found). If it says 2 the shell is
interpreting the multibyte stream wrongly.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
Messages sorted by:
Reverse Date,
Date,
Thread,
Author