Hi, Having the unfortunate disadvantage to live in a country that uses the Belgian keyboard (azerty, much like French keyboards) and being in a corporate merge with Germany (qwertz) causes a problem to work with a single syslinux-based ISO image. Since it is almost impossible to type IP-addresses or URLs in syslinux with an azerty-keyboard that is set to use US-layout, we need to have the possibility to at least select Belgian keyboard. But the German colleagues require the German keyboard mappings, or at least US-layout. So we are basicly looking for a way to reload the keyboard in syslinux. By means of a menu entry or keyboard shortcut. Otherwise we have to create an ISO image that is identical except for the keyboard mapping. Any solutions I have missed ? :-) PS A more generic solution where people can select the keyboard and this selection is appended to the boot-options would be very useful for Live CDs, installers and rescue images as well. -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
Dag Wieers wrote:> Hi, > > Having the unfortunate disadvantage to live in a country that uses the > Belgian keyboard (azerty, much like French keyboards) and being in a > corporate merge with Germany (qwertz) causes a problem to work with a > single syslinux-based ISO image. > > Since it is almost impossible to type IP-addresses or URLs in syslinux > with an azerty-keyboard that is set to use US-layout, we need to have the > possibility to at least select Belgian keyboard. > > But the German colleagues require the German keyboard mappings, or at > least US-layout. So we are basicly looking for a way to reload the > keyboard in syslinux. By means of a menu entry or keyboard shortcut. > > Otherwise we have to create an ISO image that is identical except for the > keyboard mapping. > > Any solutions I have missed ? :-) > > PS A more generic solution where people can select the keyboard and this > selection is appended to the boot-options would be very useful for Live > CDs, installers and rescue images as well. >Use a menu which loads a new config file (via the CONFIG option). The new config file can have an appropriate KBDMAP option. -hpa
On Thu, 7 Aug 2008, H. Peter Anvin wrote:> Dag Wieers wrote: > >> Having the unfortunate disadvantage to live in a country that uses the >> Belgian keyboard (azerty, much like French keyboards) and being in a >> corporate merge with Germany (qwertz) causes a problem to work with a >> single syslinux-based ISO image. >> >> But the German colleagues require the German keyboard mappings, or at >> least US-layout. So we are basicly looking for a way to reload the >> keyboard in syslinux. By means of a menu entry or keyboard shortcut. >> >> Any solutions I have missed ? :-) > > Use a menu which loads a new config file (via the CONFIG option). The > new config file can have an appropriate KBDMAP option.In that case we have to generate the config-files for each different keyboard map or create identical minimal config files for each keyboard that all include all the other cruft. Would it be possible to create com32 that can reload the keyboard map ? It would be more practical for Live CDs as well. -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
On Thu, 7 Aug 2008, H. Peter Anvin wrote:> Dag Wieers wrote: > >> Having the unfortunate disadvantage to live in a country that uses the >> Belgian keyboard (azerty, much like French keyboards) and being in a >> corporate merge with Germany (qwertz) causes a problem to work with a >> single syslinux-based ISO image.-snip->> Otherwise we have to create an ISO image that is identical except for the >> keyboard mapping. >> >> Any solutions I have missed ? :-) > > Use a menu which loads a new config file (via the CONFIG option). The > new config file can have an appropriate KBDMAP option.I have now done this. I have duplicated the main isolinux.cfg file for every keyboard mapping that we want to have (also including uk, fr and us). That means I have 5 different files where the only line different is the prepended kbdmap-line. I also included labels for each that loads the correct config file, however when I now do that, I get: ---- boot: de Loading auto... failed! Kernel load failure (insufficient memory?) boot: ---- The keyboard mappings in this case were changed to DE, but I apparently lost all other entries (none of the labels work anymore). Any ideas what could be the problem, a typical label for the keyboard entries looks like: ---- menu begin keyboard menu title CORPboot v1.98 | keyboard menu exit main label be menu label Keyboard be config maps/be.cfg label de menu label Keyboard de config maps/de.cfg menu end ---- Where the maps/be.cfg is the isolinux.cfg with the kbdmap maps/be.ktl prepended. PS Another problem is that the "menu exit main" does not bring me back to the main menu when I press ESC in the keyboard submenu. -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]