Subject: Re: wscons keymaps (in-kernel and/or outside of it?)
To: None <tech-kern@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-kern
Date: 02/11/2004 16:10:03
On Tue, Feb 10, 2004 at 11:06:09PM +0100, Hernani Marques Madeira wrote:
> > Option 3) sounds nice.  Do you mean that I could compile a kernel
> > containing just the one mapping (e.g. encoding=de) that I use, 
> > and no others?
> 
> Yeah, I thought of it so.
> 
> > Would option 2) allow that, too?
> 
> Yes, if it would be implemented to do that, of course.
> 
> > Thanks -- Volker
> > -- 
> > ------------------------------------------------------------------------
> > Volker A. Brandt                  Consulting and Support for Sun Solaris
> > Brandt & Brandt Computer GmbH              WWW: http://www.bb-c.de/~vab/
> > Meckenheim, Germany                                   Email: vab@bb-c.de
> 
> Hernani

It is not that easy:

Maps are recursive. For example to get the Map "de.nodead" the map "us" is
loaded. Then the Map "de" is merged. Then the Map "de.nodead" is merged.

It will be difficult to only keep the needed maps based on a config option.

At this moment wskbdmap_mfii.c supports 10 languages with variants. The
tables use only 2720 bytes. I'm still in favour of option 2).

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)