[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: slang, boot-floppies, and wide character support



Adam Di Carlo <adam@onshore.com>:

> I have a patch from the boot-floppies archives to give slang wide
> character support.  I've attached that patch.

Since making slang-1.4.0-ege5.diff I have fixed at least one bug and
ported the patch to slang-1.4.2, I think.

I shall try to produce an up-to-date slang-1.4.4-ege.diff soon.

Please note that the patched slang1 is not binary compatible with the
unpatched slang1. Making it binary compatible would be a horrible hack
as the slang API exposes the internal representation of the contents
of a screen cell as a 32-bit word.

I have no idea whether the current patched slang is usable for
Japanese; I have only used it for UTF-8. However, there's a good
chance it might work for Japanese encodings. With glibc-2.2's wide
character support it is possible to use the same code for UTF-8 as for
Japanese character encodings. So it would nice if someone Japanese
could try it or have a look.

If we could patch slang1 so that it works with glibc-2.2 in UTF-8 or
CJK encodings, but isn't binary-compatible with the unpatched slang1,
would that be an acceptable solution for boot-floppies?

Do you have a check list of the programs that will be linked against
slang in boot-floppies?

I don't know what's happening about slang2, but I assume it won't be
ready in time for Woody. (There are parts of the slang API which I
think should be redesigned to cope better with combining characters -
needed in Thai, for example. We really need John Davis to contribute
to updating the API for slang2.)

Edmund



Reply to: