Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: insert-unicode-char



I now checked this also on our solaris systems. The situation is that both
insert-composed-char and insert-unicode-char fail, on the line which tries to
print a unicode esacep sequence. However, on these machines, I get
'zsh: cannot do charset conversion' on such print commands (e.g., print
\\u21 , which should print a bang!), a message which is generated by
Src/utils.c. I am using a LC_CTYPE=en_US.UTF-8 locale, and zsh in configured
with --enable-multibyte (which is a mistary by itself, since on my RedHat
system, this flag is not needed since configure figures it out by itself).

On Thu, 24 Nov 2005 16:08:54 +0200, Zvi Har'El wrote about "insert-unicode-char":
> Hi,
> 
> I am trying to use the new insert-unicode-char in a vi emulation - insetmode,
> using
> 
>         autoload insert-unicode-char
>         zle -N insert-unicode-char
>         bindkey -v '^y' insert-unicode-char
> 
> It works, accept I cannot enter  two unicode characters in a row. After I have
> finished entering the first one by entering its closing ^Y, the  opening ^Y of
> the second character just beeps. I can start another insert-unicode-char
> sequence only after typing at least one more character (of course, a
> "solution" is to hit any character and to follow it by a backspace ;-)).
> I am using the up-to-date zsh-4.3.0-dev-1 (ChangeLog revision 1.2939,
> insert-unicode-char revision 1.3) on a RedHat 9 and system.
> Best,
> 
> Zvi.
> 
> -- 
> Dr. Zvi Har'El      mailto:rl@xxxxxxxxxxxxxxxxxxx    Department of Mathematics
> tel:+972-54-4227607 icq:179294841    Technion - Israel Institute of Technology
> fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
> "If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
>                           Thursday, 22 Heshvan 5766, 24 November 2005,  3:47PM

-- 
Dr. Zvi Har'El      mailto:rl@xxxxxxxxxxxxxxxxxxx    Department of Mathematics
tel:+972-54-4227607 icq:179294841    Technion - Israel Institute of Technology
fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                          Thursday, 22 Heshvan 5766, 24 November 2005,  4:22PM



Messages sorted by: Reverse Date, Date, Thread, Author