Harald Alvestrand <[EMAIL PROTECTED]>:
> >With 24 bytes per cell it might be about 160 kB. That doesn't matter
> >in most cases, but maybe in some applications it's a shame to use so
> >much memory.
>
> uh...24 BITS (20 Kbytes total) or 24 BYTES (160 Kbytes total) per cell?
Bytes. /usr/include/ncurses.h has:
typedef unsigned long chtype;
typedef chtype attr_t; /* ...must be at least as wide as chtype */
#define CCHARW_MAX 5
typedef struct
{
attr_t attr;
wchar_t chars[CCHARW_MAX];
}
cchar_t;
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/