zsh-workers
 help / color / mirror / code / Atom feed
From: "Ruslan N. Balkin" <ruslanbalkin@gmail.com>
To: zsh-workers@sunsite.dk
Subject: zsh (CVS) and unicode
Date: Fri, 8 Jul 2005 03:04:00 +0400	[thread overview]
Message-ID: <20050708030400.321ec1f3@baron.pp.ru> (raw)

Hi

First of all, I'm new to this list and first thing i want to do is to thank
developers for perfect shell and for first UTF-8 steps were already done at
the moment. After switching to UTF-8, I understood how bad is that i can't
use my zsh 4.2.5 with utf-8 locale.

I tried cvs version to see whether i can help with testing and/or development
of utf-8 support, but i'm not that familiar with development for linux, nor
with C, nor with zsh sources, the only thing i know by searching zsh maillists,
is that utf-8 support is not fully ready within zle module.

I haven't find any guidelines to compiling CVS version other than few lines in
FAQ, so i uncommented in ./Src/system.h:#define ZLE_UNICODE_SUPPORT      1
and since then, i was able to write cyrillic letters with zsh.

Even better, they seem to work, so for example i can use
mplayer <cyrillic_here>. But current CVS of zsh, after i enable
ZLE_UNICODE_SUPPORT, crashes on tab-completion of these names. I can post a
backtrace from gdb on your request, but to my eyes it isn't very useful.
(yes my binary was compiled with debug flags on and unstripped, but backtrace
is reportet to be several screens long, and bt full terminates on frame 1).
Maybe these errors are even usable for you -
BUG: substring ends in the middle of a metachar in ztrsub()
BUG: 0 <= wb <= zlecs <= we is not true!
Segmentation fault (core dumped)

If I did something wrong, please excuse me, but i haven't found much information
about zsh and utf-8, and mail list search is not very usable. If i can help
somehow, please let me know if you need my backtraces or help in testing
something. 
P.S. The crash is reproducible here always, when i enable ZLE_UNICODE_SUPPORT.
P.P.S. Thanks for your work, the greatest shell ever existed.
P.P.P.S. I'm running gentoo, 2.3.4glibc, ru_RU.UTF-8 locale, gcc version is 3.3.5
and running on 32 bit AMD processor.

-- 
Ruslan


             reply	other threads:[~2005-07-07 23:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 23:04 Ruslan N. Balkin [this message]
2005-07-08 16:54 ` Andrey Borzenkov

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=20050708030400.321ec1f3@baron.pp.ru \
    --to=ruslanbalkin@gmail.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).