Strange problems with FEATURE_VI_8BIT
Paul Fox
pgf at brightstareng.com
Mon Jan 14 08:57:13 PST 2008
i'm just re-reading this message, which i didn't pay attention to before.
> I tried to use FEATURE_VI_8BIT in busybox 1.9.0 bus was unsuccessful so
> far. Even though this feature is enabled in my configuration, I can't
> enter german umlauts into vi.
...
> int main(int argc, char **argv)
> {
> unsigned int x;
> while(1) {
> x = getc(stdin);
> if(isprint(x))
> {
> printf("%c is printable\n", x);
> } else {
> printf("%c is not printable\n", x);
> }
> }
> return 0;
> }
> - ----------------------------- 8< ------------------------
>
> Needless to say, it always prints out the "is not printable" text
> for all umlauts I enter.
>
> Am I doing something wrong or is this a bug?
is your locale set correctly? if busybox is built to honor your
locale, then i'm surprised that the umlaut isn't "printable".
(in fact, this makes me wonder if my fix to lineedit.c was correct.)
paul
=---------------------
paul fox, pgf at brightstareng.com
More information about the busybox
mailing list