Re: Full Debian install impressions and facts

2004-04-20 Thread Branden Robinson
On Mon, Apr 19, 2004 at 10:16:40AM +0100, Alastair McKinstry wrote:
> >On 18.IV.2004 at 13:27 (-0500) Branden Robinson wrote:
> >> 
> >> The main challenge here, as I understand it, is that d-i basically uses
> >> console-data's paradigm for keyboard description.  So what we need is a
> >> gigantic mapping table in xserver-xfree86.config to translate
> >> console-data keyboard descriptions into XKB
> >> Rules/Model/Layout(/Variant?) tuples.
[...]
> One of my post-sarge TODO items for console-tools is to implement xkb
> keyboard parsing in loadkeys (using X11 libraries). Then merging the
> two keymap sets, with the X ones being definitive (ie removing
> separate keymaps for the console).
> 
> So I would prefer to have the table in console-data
> and have kbd-chooser / prebaseconfig seed the debconf database
> for X11. 
> 
> Any comments?

That would completely rock.

> What debconf entries would need to be set?

Well, the template names I use for XFree86 are:

xserver-xfree86/config/inputdevice/keyboard/rules
xserver-xfree86/config/inputdevice/keyboard/model
xserver-xfree86/config/inputdevice/keyboard/layout
xserver-xfree86/config/inputdevice/keyboard/variant
xserver-xfree86/config/inputdevice/keyboard/options

These could easily become shared templates.

-- 
G. Branden Robinson|   Arguments, like men, are often
Debian GNU/Linux   |   pretenders.
[EMAIL PROTECTED] |   -- Plato
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Re: Full Debian install impressions and facts

2004-04-19 Thread Alastair McKinstry
>On 18.IV.2004 at 13:27 (-0500) Branden Robinson wrote:
>> 
>> The main challenge here, as I understand it, is that d-i basically uses
>> console-data's paradigm for keyboard description.  So what we need is a
>> gigantic mapping table in xserver-xfree86.config to translate
>> console-data keyboard descriptions into XKB
>> Rules/Model/Layout(/Variant?) tuples.
>
>The package console-cyrillic does the oposite for the Cyrillic
>languages.  This package is simply an inteligent wrapper arount
>`consolechars' and `loadkeys'.  It provides the Linux console with
>flexible keyboard configuration similar to what xkb provides to X
>Window.
>
>It is possible to extend the functionality of console-cyrillic to
>cover non-Cyrillic languages, but this would require manual conversion
>of the files in /etc/X11/xkb/symbols to another format.
>
>Anton Zinoviev


One of my post-sarge TODO items for console-tools is to
implement xkb keyboard parsing in loadkeys (using X11 libraries). Then merging
the two keymap sets, with the
X ones being definitive (ie removing separate keymaps
for the console).

So I would prefer to have the table in console-data
and have kbd-chooser / prebaseconfig seed the debconf database
for X11. 

Any comments?
What debconf entries would need to be set?

- Alastair



Re: Full Debian install impressions and facts

2004-04-19 Thread Anton Zinoviev
On 18.IV.2004 at 13:27 (-0500) Branden Robinson wrote:
> 
> The main challenge here, as I understand it, is that d-i basically uses
> console-data's paradigm for keyboard description.  So what we need is a
> gigantic mapping table in xserver-xfree86.config to translate
> console-data keyboard descriptions into XKB
> Rules/Model/Layout(/Variant?) tuples.

The package console-cyrillic does the oposite for the Cyrillic
languages.  This package is simply an inteligent wrapper arount
`consolechars' and `loadkeys'.  It provides the Linux console with
flexible keyboard configuration similar to what xkb provides to X
Window.

It is possible to extend the functionality of console-cyrillic to
cover non-Cyrillic languages, but this would require manual conversion
of the files in /etc/X11/xkb/symbols to another format.

Anton Zinoviev



Re: Full Debian install impressions and facts

2004-04-18 Thread Branden Robinson
On Fri, Apr 16, 2004 at 10:59:33AM +0200, Christian Perrier wrote:
> The XFree keyboard was US layout while I had chosen a french layout
> for the console keyboard during d-i. I think we need some closer
> interaction between the console-* package settings and the xfree settings.

This has been reported many times (see #238778, for example) and the
Debian X Strike Force knows it's a problem.  I've also communicated with
Joey Hess about it.

The main challenge here, as I understand it, is that d-i basically uses
console-data's paradigm for keyboard description.  So what we need is a
gigantic mapping table in xserver-xfree86.config to translate
console-data keyboard descriptions into XKB
Rules/Model/Layout(/Variant?) tuples.

-- 
G. Branden Robinson|
Debian GNU/Linux   | Ab abusu ad usum non valet
[EMAIL PROTECTED] | consequentia.
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature