zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Timo Aaltonen <tjaalton@cc.hut.fi>, zsh-workers@sunsite.dk
Subject: Re: problems with 4.3.4 and Tru64
Date: Thu, 10 May 2007 11:30:32 +0100	[thread overview]
Message-ID: <20070510113032.3d50cd67.pws@csr.com> (raw)
In-Reply-To: <Pine.OSF.4.64.0705101310130.479844@replicant.hut.fi>

Timo Aaltonen <tjaalton@cc.hut.fi> 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@csr.com>                  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


  reply	other threads:[~2007-05-10 10:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10  8:25 Timo Aaltonen
2007-05-10  9:55 ` Peter Stephenson
2007-05-10 10:05   ` Peter Stephenson
2007-05-10 10:06   ` Timo Aaltonen
2007-05-10 10:15     ` Timo Aaltonen
2007-05-10 10:30       ` Peter Stephenson [this message]
2007-05-10 11:03         ` Timo Aaltonen
2007-05-10 11:30           ` Peter Stephenson
2007-05-10 11:43             ` Timo Aaltonen
2007-05-10 11:55               ` Peter Stephenson
2007-05-10 13:05                 ` Timo Aaltonen
2007-05-10 13:35                   ` Peter Stephenson
2007-05-13 20:12             ` Peter Stephenson
2007-05-13 23:43               ` Wayne Davison
2007-05-10 17:55 ` Phil Pennock
2007-05-10 19:24   ` Timo Aaltonen
2007-05-10 22:26     ` Phil Pennock
2007-05-11  9:28       ` Peter Stephenson
2007-05-11 16:23         ` Jordan Breeding
2007-05-11 17:25           ` Jordan Breeding
2007-05-11 17:56             ` Peter Stephenson
2007-05-11 18:42               ` Jordan Breeding

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=20070510113032.3d50cd67.pws@csr.com \
    --to=pws@csr.com \
    --cc=tjaalton@cc.hut.fi \
    --cc=zsh-workers@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).