Hi, I've just played around with kbdmap in pxelinux. I always wondered why there was no translation for "AltGr"-Keys (the right 'Alt'-Key) (AltGr-Q generates "@" on a german keyboard e.g.), and I found in conio.inc (syslinux 1.76): getchar: [..] .kbd: xor ax,ax ; Get keyboard input int 16h and al,al jz .func_key mov bx,KbdMap ; Convert character sets xlatb .func_key: ret So (from my small knowledge about asm ...) the character is read, tested for something (the 'and'/'jz' - is this a test for >127?), and only if that didn't return zero the keymap translation is done. Why isn't every character translated? Is there some problem with this? Since the characters above 127 are also in the kbdmap-table, there should be no problem in translating them all? Or does the bios treat characters >127 different?
Josef Siemes wrote:> Hi, > > I've just played around with kbdmap in pxelinux. I always wondered why there was no > translation for "AltGr"-Keys (the right 'Alt'-Key) (AltGr-Q generates "@" on a german > keyboard e.g.), and I found in conio.inc (syslinux 1.76): >The answer is that AltGr doesn't exist on the default -- U.S. -- keyboard. Don't blame me, blame IBM for that one...> > So (from my small knowledge about asm ...) the character is read, tested for something (the > 'and'/'jz' - is this a test for >127?), and only if that didn't return zero the keymap translation > is done. Why isn't every character translated? Is there some problem with this? Since the > characters above 127 are also in the kbdmap-table, there should be no problem in translating > them all? Or does the bios treat characters >127 different? >It's not a test for > 127 -- it's a test for function keys (the and/jz is a test for zero.)>>From the label func_key - does this have to do with the F-Keys? > > Looking at keytab-lilo.pl there seems to be something done with altgr-keymaps. Is there any > chance one can e.g. get the AltGr-Mappings working in syslinux, or is there some major > problem with this?It would mean changing the format of the key file, and it's still likely that a lot of combinations simply still wouldn't exist. -hpa
Hi, "H. Peter Anvin" <hpa at zytor.com> schrieb am 16.10.02 21:40:10:> Josef Siemes wrote: > > I've just played around with kbdmap in pxelinux. I always wondered why there was no > > translation for "AltGr"-Keys (the right 'Alt'-Key) (AltGr-Q generates "@" on a german > > keyboard e.g.), and I found in conio.inc (syslinux 1.76): > > > > The answer is that AltGr doesn't exist on the default -- U.S. -- > keyboard. Don't blame me, blame IBM for that one...Agreed .... So does the BIOS give ALT-Q to syslinux if I press AltGr-Q? Or is it nothing? If yes, is it possible to remap this? Reason for this is also backslash, tilde, the {[]}-keys etc, these all get accessed via AltGr. If it's possible without changing anything in syslinux or if it's a small change (and you have the time to do this) it's ok, if this would be some more work forget about this. It would be nice to have these keys, but it won't hurt if not, since I can always define a different label for this. Regards, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
Try pressing SHIFT-2 on your German keyboard during boot. -----Original Message----- From: Josef Siemes [mailto:jsiemes at web.de] Sent: Thursday, October 17, 2002 10:17 AM To: H. Peter Anvin; JosefSiemes Cc: syslinux Subject: Re: [syslinux] kbdmap & ASCII > 128 Hi, "H. Peter Anvin" <hpa at zytor.com> schrieb am 16.10.02 21:40:10:> Josef Siemes wrote: > > I've just played around with kbdmap in pxelinux. I always wondered > > why there was no > > translation for "AltGr"-Keys (the right 'Alt'-Key) (AltGr-Q generates"@" on a german> > keyboard e.g.), and I found in conio.inc (syslinux 1.76): > > > > The answer is that AltGr doesn't exist on the default -- U.S. -- > keyboard. Don't blame me, blame IBM for that one...Agreed .... So does the BIOS give ALT-Q to syslinux if I press AltGr-Q? Or is it nothing? If yes, is it possible to remap this? Reason for this is also backslash, tilde, the {[]}-keys etc, these all get accessed via AltGr. If it's possible without changing anything in syslinux or if it's a small change (and you have the time to do this) it's ok, if this would be some more work forget about this. It would be nice to have these keys, but it won't hurt if not, since I can always define a different label for this. Regards, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 _______________________________________________ SYSLINUX mailing list Submissions to SYSLINUX at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux
Hi, "Luis.F.Correia" <Luis.F.Correia at seg-social.pt> schrieb am 17.10.02 13:27:44:> Try pressing SHIFT-2 on your German keyboard during boot.I want to have some reasonable mapping for syslinux with kbdmap. I know that I can press e.g. z instead of y if I boot without any kbdmap command (on a german keyboard these two are swapped). The question is if I also can remap AltGr-Q to the '@'-symbol (or better: Alt-Q instead of AltGr-Q), this is also for \, {, ~, ... The problem is that not I sit in front of the keyboard, but someone else, and he doesn't know how the US keyboard is laid out. Regards, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
Hi,> > Reason for this is also backslash, tilde, the {[]}-keys etc, these all get accessed > > via AltGr. If it's possible without changing anything in syslinux or if it's a small > > change (and you have the time to do this) it's ok, if this would be some more work > > forget about this. It would be nice to have these keys, but it won't hurt if not, > > since I can always define a different label for this. > > It's nontrivial (mostly because it'd mean actually having to go in and > hammer on the keymap generator program), and I would recommend avoiding > it... it makes it harder for people with other keyboards than the one > you'd expect.ok, forget about it, then these keys won't work. Thanks, Josef ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13