# FAQ(38) - Some keys on my foreign keyboard do not work properly, how do I get them working ??

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## QUESTION (38)

Some keys on my foreign keyboard do not work properly, how do I get them working ??

## ANSWER

The most common problem are with foreign keyboards where the <AltGr> key is used to generate some characters in a similar fashion to the <Shift> key. For example, on a Belgian keyboard the '9' key produces a '{' character when the <AltGr> key is also pressed.

The quickest and best solution is to use the Keyboard setup on the Start-Up page of user-setup(3). This however may not provide the solution as not all keyboards are currently supported. If you are using an unsupported keyboard please send configuration information back to JASSPA for inclusion in the next release. The keyboard configuration information is stored in the macro file `keyboard.emf`.

If user-setup does not currently support your keyboard, or you wish to remap some keys, then the command translate-key(2) should be used. translate-key remaps generated key stroke(s) into another key at a low level so the mapping is supported in all areas. If a macro and key binding were used instead, while they would work in the main text windows, they would not work in the message line. See help on translate-key for more information.

Note that some <AltGr> keys can produce 2 keys, for example on a Belgian keyboard '<AltGr>-9' produces the key 'A-C-9' first, immediately followed by 'A-C-{'. This is an unfortunate side effect of windows, it is better to have two keys rather than none. But this does add confusion to the problem! Again, see translate-key for more information.

[FAQ Index].

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>