On Friday 11 January 2008 08:02, Alexander Griesser wrote:
> Paul Fox wrote:
> >  > Hi!
> >  > 
> >  > I'm still stuggling with getting the german umlauts (=E4,=F6,=FC, a.s.o)
> >  > working on my thinclient installation.
> >  > The really strange thing is, that it doesn't seem to be a keyboard
> >  > layout problem at all.
> > 
> > if you build busybox without command-line editing enabled, does
> > the problem go away?
> 
> Yes, it does.
> 
> > if editing is enabled, i assume you're in emacs (default) mode,
> > and not vi editing mode, correct?
> 
> That doesn't matter. I tried with emacs and vi editing mode and the
> problem stays the same.
> 
> After having a look at lineedit.c, I found the following code:
> 
>   if (!Isprint(c)) /* Skip non-printable characters */
>       break;
> 
> That's bad.
> isprint() does _NOT_ work correctly, as I already mentioned in my mail
> with the subject "Strange problems with FEATURE_VI_8BIT".

This code is disabled (ENABLE_FEATURE_NONPRINTABLE_INVERSE_PUT==0),
so it cannot be a problem here:

#if ENABLE_FEATURE_NONPRINTABLE_INVERSE_PUT
        /* Display non-printable characters in reverse */
        if (!Isprint(c)) {
                if (c >= 128)
                        c -= 128;
                if (c < ' ')
                        c += '@';
                if (c == 127)
                        c = '?';
                printf("\033[7m%c\033[0m", c);
        } else
#endif

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to