Re: (forw) Bug#251550 acknowledged by developer

2004-07-02 Thread Recai Oktas
* Christian Perrier [2004-07-02 08:28:32+0200]
> Quoting Recai Oktas ([EMAIL PROTECTED]):
> > * Denis Barbier [2004-07-01 22:26:25+0200]
> > > [Eugeniy Meshcheryakov]
> > > > This breaks keyboard handling: unicode keymaps (ua-utf,
> > > > consoel-cyrillic unicode keymaps) does not work (I can enter only
> > > > ASCII symbols).
> > > 
> > > My bad, here is a patch (it was tested against my patched kbd, and
> > > should work as well against console-tools).
> 
> Have you tested this with kbd-config and entering high ASCII
> characters in d-i first stage with a latin keymap ?

No, I've just tested it in the virtual consoles of my working machine, 
(not in kbd-chooser).  But I'll also perform a test in d-i as soon as I 
can spare some time.

-- 
roktas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: (forw) Bug#251550 acknowledged by developer

2004-07-01 Thread Christian Perrier
Quoting Recai Oktas ([EMAIL PROTECTED]):
> * Denis Barbier [2004-07-01 22:26:25+0200]
> > [Eugeniy Meshcheryakov]
> > > This breaks keyboard handling: unicode keymaps (ua-utf,
> > > consoel-cyrillic unicode keymaps) does not work (I can enter only
> > > ASCII symbols).
> > 
> > My bad, here is a patch (it was tested against my patched kbd, and
> > should work as well against console-tools).

Have you tested this with kbd-config and entering high ASCII
characters in d-i first stage with a latin keymap ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: (forw) Bug#251550 acknowledged by developer

2004-07-01 Thread Recai Oktas
* Denis Barbier [2004-07-01 22:26:25+0200]
> [Eugeniy Meshcheryakov]
> > This breaks keyboard handling: unicode keymaps (ua-utf,
> > consoel-cyrillic unicode keymaps) does not work (I can enter only
> > ASCII symbols).
> 
> My bad, here is a patch (it was tested against my patched kbd, and
> should work as well against console-tools).
> 
> Denis

> --- src/ksyms.c   2004-06-27 21:39:36.0 +0200
> +++ src/ksyms.c   2004-07-01 22:05:37.0 +0200
> @@ -1801,8 +1801,8 @@
>   return code;
>   ioctl(getfd(NULL), KDGKBMODE, &kbd_mode);
>   if (kbd_mode == K_UNICODE && KTYP(code) >= syms_size) {
> - if (KVAL(code ^ 0xf000) < 0x80)
> - return K(KT_LATIN, KVAL(code ^ 0xf000));
> + if ((code ^ 0xf000) < 0x80)
> + return K(KT_LATIN, code ^ 0xf000);
>   else
>   return code;
>   }

Great.  It works for the Turkish unicode keymap (trqu).  Now the patched 
loadkeys can handle both types (ISO and unicode) of Turkish keymaps.  
Thanks.

-- 
roktas


signature.asc
Description: Digital signature


Re: (forw) Bug#251550 acknowledged by developer

2004-07-01 Thread Denis Barbier
[Eugeniy Meshcheryakov]
> This breaks keyboard handling: unicode keymaps (ua-utf,
> consoel-cyrillic unicode keymaps) does not work (I can enter only
> ASCII symbols).

My bad, here is a patch (it was tested against my patched kbd, and
should work as well against console-tools).

Denis
--- src/ksyms.c 2004-06-27 21:39:36.0 +0200
+++ src/ksyms.c 2004-07-01 22:05:37.0 +0200
@@ -1801,8 +1801,8 @@
return code;
ioctl(getfd(NULL), KDGKBMODE, &kbd_mode);
if (kbd_mode == K_UNICODE && KTYP(code) >= syms_size) {
-   if (KVAL(code ^ 0xf000) < 0x80)
-   return K(KT_LATIN, KVAL(code ^ 0xf000));
+   if ((code ^ 0xf000) < 0x80)
+   return K(KT_LATIN, code ^ 0xf000);
else
return code;
}


Re: (forw) Bug#251550 acknowledged by developer (Bug#251231: fixed in console-tools 1:0.2.3dbs-53)

2004-07-01 Thread Christian Perrier



> >
> This breaks keyboard handling: unicode keymaps (ua-utf, consoel-cyrillic 
> unicode keymaps) does not work (I can enter only ASCII symbols).

And, after recompiling a mini.iso with this new kbd-chooser and
testing it with fr_FR, I cofnirm that the "kayboard freeze" bug is
still here...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: (forw) Bug#251550 acknowledged by developer (Bug#251231: fixed in console-tools 1:0.2.3dbs-53)

2004-07-01 Thread Eugeniy Meshcheryakov
Christian Perrier ÑÐÐ 30.06.2004 09:14:
251550 was originally a d-i bug which after lot of analysis turned out
to be a console-tools bug.
This is the "d-i freezes when entenring high ASCII characters" bug.
Denis Barbier spotted the problem, provided a patch, and Alastair
integrated it in console-tools.
IIRC, the same patch has to be applied to kbd-chooser's loadkeys. I
guess Alastair will make the change in the currently unrelease 0.55
version.
My opinion is that this should make its way into testing as soon as a
few days sid_d-i tests will have proven it does not break the general
keyboard handling.
This breaks keyboard handling: unicode keymaps (ua-utf, consoel-cyrillic 
unicode keymaps) does not work (I can enter only ASCII symbols).

--
Eugeniy Meshcheryakov
Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]