zsh-users
 help / color / mirror / code / Atom feed
* zsh doesn't understand some multibyte characters
@ 2015-05-13 16:14 Danek Duvall
  2015-05-13 17:43 ` Bart Schaefer
  0 siblings, 1 reply; 7+ messages in thread
From: Danek Duvall @ 2015-05-13 16:14 UTC (permalink / raw)
  To: zsh-users

Perhaps this is just on Solaris, I dunno.  But for some multibyte
characters ("…", for instance), if I type them on the commandline -- either
using the Compose key on my keyboard, or via insert-unicode-character or
insert-composed-character -- then if I move the cursor back over them or
delete back over them, zsh gets confused and moves two positions instead of
one:

    $ PS1='$ '
    $ …_ (cursor at _; now hit backspace once)
    $_

I do have access to a Linux box running 4.3.17, and it doesn't seem to be a
problem there, but I don't know whether that's because of a different
version or a different OS.

I'll note that the same thing happens with all the other shells on Solaris,
so I'm guessing it's not directly a problem with zsh.  FWIW, bash (and
libreadline) is compiled with Solaris curses, while zsh is compiled with
ncurses, so I'm guessing it's not that.  But vim has no problems
whatsoever (old Solaris vi does).  Where else should I be looking for the
problem?

Thanks,
Danek


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-14 17:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-13 16:14 zsh doesn't understand some multibyte characters Danek Duvall
2015-05-13 17:43 ` Bart Schaefer
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

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).