On Wed, Nov 02, 2005 at 11:32:46PM +0100, Denis Barbier wrote:
[...]
> > --- console-tools-0.2.3.orig/lib/ksyms.c 2005-10-29
> > 17:06:31.000000000 +0100
> > +++ console-tools-0.2.3/lib/ksyms.c 2005-10-29 17:07:45.000000000 +0100
> > @@ -1669,6 +1669,9 @@
> > int i;
> >
> > - if (!strcasecmp(charset, "unicode"))
> > + if (!strcasecmp(charset, "unicode")) {
> > + prefer_unicode = 1;
> > return 0;
> > + }
> > + prefer_unicode = 0;
> >
> > for (i = 1; i < sizeof(charsets)/sizeof(charsets[0]); i++) {
>
> You are fully right. I applied a very similar patch for the kbd package,
> but it looks like the 430_read_keymaps_fmt patch I sent to Alastair was
> buggy (or maybe I fixed kbd after sending it, I do not remember).
Correction: in kbd I did not set prefer_unicode = 0 after the strcasecmp
test (which is why I talked about a "very similar patch"). After more
thinking, I believe that this line should indeed be removed from your
patch so that "loadkeys -u" works as expected even if keyboard is in
ASCII mode.
Denis
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]