beautypg.com

HP NonStop G-Series User Manual

Page 59

background image

Creating a New Keymap File for a National Language

x6530 Run Command and Customizing Options

2–30

082628 Tandem Computers Incorporated

3.

Update the comments at the beginning of the keymap file so you have a complete
list of keyboard keys and their keysyms.

4.

Add keymap instructions to the keymap file to assign the keysyms for the keys
you need to redefine to the appropriate ASCII characters from Table 2-7 (#, $, @, [,
\, ], ^, `, {, |, }, or ~).

Example

Using the Danish language for this example, suppose that when you press the keys
printed with Ж, Ш, and Å, with and without the Shift key, none of those characters are
displayed on your screen. Instead, the characters :, ", {, ;, ', and [ are displayed. You
want the Ж, Ш, and Å keys to display the characters printed on them in uppercase and
lowercase letters.

After running xev to find all the keysyms for your keyboard and X server, you know
that the keys printed with Ж, Ш, and Å have the keysyms listed in Table 2-8.

Table 2-8. Danish Keysyms

Key

Keysym

What is Displayed

What You Want Displayed

Shift

Shift_L colon

:

Uppercase

Shift

Shift_L quotedbl

"

Uppercase

Shift

Shift_L braceleft

{

Uppercase

Æ

semicolon

;

Lowercase

Ø

quoteright

'

Lowercase

Å

bracketleft

[

Lowercase

Looking in Table 2-7, you see that x6530 displays the national characters you want
based on receiving the ASCII characters [, \, ], {, |, and }. Table 2-9 summarizes this
information.

Table 2-9. x6530 ASCII Characters for Your Keys

Key

What You Want Displayed

ASCII Character

Shift Æ

Uppercase Æ

[

Shift Ø

Uppercase Ø

\

Shift Å

Uppercase Е

]

Ж

Lowercase ж

{

Ш

Lowercase ш

|

Е

Lowercase е

}

This manual is related to the following products: