[syslinux] kbdmap module file format error

H. Peter Anvin hpa at zytor.com
Thu Apr 9 06:53:39 PDT 2009


Dag Wieers wrote:
> On Wed, 8 Apr 2009, H. Peter Anvin wrote:
> 
>> Dag Wieers wrote:
>>
>>>  I was excited to find the kbdmap module, but have some problems
>>> making it
>>>  work with keyboard mapping files that works fine with syslinux.
>>>
>>
>> It's a bug; I pushed out 3.74-pre21 which fixes the bug.
> 
> I just tested 3.74-pre21 and discovered that an entry like:
> 
>   label de
>     menu label ^German keyboard (de)
>     kernel kbdmap.c32 maps/de.ktl
> 
> works from the menu, but not on the commandline. However using the
> command 'kbdmap' on the commandline it works fine
> 
> ----
> boot: de
> Usage: kbdmap mapfile
> boot: kbdmap maps/de.ktl
> boot:
> ----
> 
> Could this be another bug ?
> 

No, it's a syntax error:

label de
  menu label ^German keyboard (de)
  kernel kbdmap.c32
  append maps/de.ktl

The syntax you're using isn't supported but happens to work by accident
in the menu system.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list