Thomas Dickey wrote on 2000-06-10 19:11 UTC:
> I'll take a look at it. Beside the reports of problems selecting, I'm a little
> discomforted by the 500kb character-class table (which I have an impression
> could be generated at compile-time from a much shorter list).
That one is easy to solve:
The entire thing should be based completely on wcwidth(), and for those
platforms where the C library is not yet providing one (that users then
can configure via the locale), the very compact and portable one in
http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
can be used as a good substitute. It is more than enough efficient
for terminal display.
Markus
--
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/>
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/