zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Danek Duvall <duvall@comfychair.org>, zsh-users@zsh.org
Subject: Re: zsh doesn't understand some multibyte characters
Date: Wed, 13 May 2015 10:43:50 -0700	[thread overview]
Message-ID: <150513104350.ZM28203@torch.brasslantern.com> (raw)
In-Reply-To: <20150513161411.GA4834@lorien.comfychair.org>

On May 13,  9:14am, Danek Duvall wrote:
} Subject: zsh doesn't understand some multibyte characters
}
} Perhaps this is just on Solaris, I dunno. But for some multibyte
} characters [...] if I move the cursor back over them or delete back
} over them, zsh gets confused and moves two positions instead of one
}
} I'll note that the same thing happens with all the other shells on
} Solaris [... ] Where else should I be looking for the problem?

This sounds like the WCWIDTH() macro or function is returning the wrong
value for some characters.

If you are compiling your own zsh, can you (a) check whether config.h
defines BROKEN_WCWIDTH, and (b) if it does not, try defining it and
recompile to see if that makes any difference?


  reply	other threads:[~2015-05-13 17:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 16:14 Danek Duvall
2015-05-13 17:43 ` Bart Schaefer [this message]
2015-05-13 18:29   ` Danek Duvall
2015-05-13 20:20     ` Bart Schaefer
2015-05-13 21:24       ` Chet Ramey
2015-05-14 16:43     ` Jun T.
2015-05-14 17:32       ` Danek Duvall

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=150513104350.ZM28203@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=duvall@comfychair.org \
    --cc=zsh-users@zsh.org \
    /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).