5    Setting Up a Japanese Keyboard

The Tru64 UNIX system supports the following Japanese keyboards (in this table, Yes means that the keyboard has a Conversion key or Kana LED):

Keyboard Language Conversion Key Kana LED

LK411-AJ/LK41W-AJ

Japanese LK411

ANSI Yes Yes

LK411-JJ/LK41W-JJ

Japanese LK411

JIS Yes Yes

LK421-AJ

Japanese LK421

JIS No No

LK421-JJ

Japanese LK421

JIS Yes Yes

PCXAJ-AA

Japanese PC106

JIS Yes No

LK97W-AJ

Japanese PC109

JIS Yes No

Check the back of the keyboard for the model number.

5.1    Setting Up a CDE Keyboard

To use the Japanese keyboard, you must set it up for CDE sessions as described in this section.

To set up the keyboard for each user, use the Set Up Keyboard action from the Desktop Application of the Application Manager. Select the keyboard name of your Japanese keyboard from the keyboard list [Footnote 4] .

For details about setting the keyboard, refer to the CDE Companion.

For details about setting the system default keyboard, see Section 5.2.

Note

The LK41W-AJ Japanese keyboard must be used with the same settings as the LK411-AJ. The LK41W-JJ Japanese keyboard must be used with the same settings as the LK411-JJ. The LK97W-AJ Japanese keyboard must be used with the same settings as the PCXAJ-AA.

5.1.1    Kana Mode

After you have set up the Japanese keyboard, turn on Kana mode to type Kana characters through the keyboard. When you type a keyboard key in Kana mode, it inputs the Kana character (rather than the ASCII character) displayed on the keytop.

On the PCXAJ-AA and LK97W-AJ keyboards, turn on Kana mode by pressing the right [Ctrl] [Footnote 5] . On other Japanese keyboards, turn on Kana mode by pressing the (KANA) key, located at the bottom left corner of the keyboard. Repeating the same operation returns the keyboard to ASCII mode.

To type Kana characters, you must be in the Japanese environment.

5.1.2    Conversion Keys

Some Japanese keyboards have the (MU-HENKAN), (MAE-KOUHO/HENKAN), and (KATAKANA/HIRAGANA) keys at both sides of the [Space] bar. These keys are called conversion keys and can be used for Kana-Kanji conversion input from a Japanese input server.

5.1.3    Kana LED

When the Kana LED on a Japanese keyboard is lit, it indicates that Kana mode is on.

In earlier versions of Tru64 UNIX, the keyboard indicator (kb_indicator) is controlled the Kana LED. In Version 4.0 or higher, support of XKB enables the Kana LED to blink properly without the kb_indicator.

5.2    Setting Up a Japanese Keyboard in Console or Single-User Mode

In Tru64 UNIX Version 4.0 and later, the settings for the Japanese keyboard have been modified to improve ease of use and the console firmware has been modified to resolve the following problems:

The latest (modified) console firmware CD-ROM is included in the installation kit for this version.

Use the following procedure to set up the Japanese keyboard with the console firmware:

  1. Update the console firmware.

    For details, refer to the console firmware document.

  2. Set the console firmware variables kbd_hardware_type and language. The kbd_hardware_type variable indicates the keyboard type. The language variable indicates the keyboard layout and language.

    Specify LK411 (for the LK41* Japanese keyboard) or PCXAL (for the PCXAJ-AA and LK97W-AJ keyboards) as the value for the kbd_hardware_type variable.

    Specify 50 (for the JIS layout Japanese keyboard) or 52 (for the ANSI layout Japanese keyboard) as the value for the language variable.

    The following table lists the variable values by keyboard:

    Keyboard kbd_hardware_type Language
    LK411-AJ/LK41W-AJ LK411 52
    LK411-JJ/LK41W-JJ LK411 50
    PCXAJ-AA PCXAL 50
    LK97W-AJ PCXAL 50

    The following example sets up the LK41W-JJ keyboard:

            >>> set language 50
            >>> set kbd_hardware_type LK411
    

    You can enter more than one command on a line, for example:

            >>> set language 50; set kbd_hardware_type LK411
    

  3. Initialize the console firmware with the following command:

            >>> init
    

    Alternatively, you can initialize the console firmware by powering off the system and powering it on again.

    If you replace the keyboard, power off the system first.

  4. Confirm that the keyboard variable values have been changed by using the show command.

            >>> show
                 :
            kbd_hardware_type       LK411
            language                50
            language_name           Japanese (JIS)
                 :