zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: problems with 4.3.4 and Tru64
Date: Fri, 11 May 2007 10:28:50 +0100	[thread overview]
Message-ID: <200705110928.l4B9Sobe019086@news01.csr.com> (raw)
In-Reply-To: <20070510222647.GA45037@redoubt.spodhuis.org>

Phil Pennock wrote:
> > > If these display fine, then multibyte is working and parts of zle are
> > > working; the problem will be in input processing.  If these don't
> > > display, then the problem's not in the input processing.
> > 
> >  Touche, that works!
> > 
> >  Now, how to fix input processing?-)

The fact they display doesn't tell you very much.  You also need to
check that once you've got them on the command line they behave like a
single character.  The easiest way is just to move the cursor and check
it doesn't go to far (which it will if doesn't recognise the two bytes
as a single character).

If that's really working, input processing is quite involved to check.
The key function for this is getrestchar() in Src/Zle/zle_main.c.  This
should recognise the first byte is an incomplete character and the
second byte completes it.  I don't think this an easy way to avoid
debugging the insides.

> What I have noticed is that the configure tests for multibyte changed
> between 4.3.2 and 4.3.4.  It might be helpful for those who _can_ debug
> these if you can dig out config.log and config.h from both the 4.3.2 and
> 4.3.4 builds and put them on a webserver, posting the URLs here.  At a
> _very_ brief look, it seems that there was a move to checking for
> existence of the standardised API for widechar handling.

I think we've already gone through this by showing that the multibyte
option is on by default.

-- 
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-11  9:29 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
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 [this message]
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=200705110928.l4B9Sobe019086@news01.csr.com \
    --to=pws@csr.com \
    --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).