The JavaOS software supports a number of PS/2 keyboards that may not have been supplied with your JavaStation computers. To support most locales, you must configure a new keyboard to replace the default keyboard, USPS2. As an exception, Latin accent characters and Arabic, Hebrew, and Thai characters can be typed at any supported keyboard if one of the javaos.im.compose properties has been set. This document refers to the U.S. keyboard. See "Enabling Special Characters on the U.S. Keyboard".
The Arabic, Hebrew, and Thai locales also require font support. The Chinese (Simplified and Traditional), Japanese, and Korean locales require font and input method support. See "Overview and Examples", "Adding Fonts", and "Setting the Input Method ".
JavaOS supports the following keyboards:
Connect the keyboard to the JavaStation.
Set the javaos.mountlist property.
This property setting tells the JavaOS software to mount the locale directory at startup.
-ajavaos.mountlist=host:localization_top_dir |/REMOTE
By default, the locale directory is /export/root/javaos/classes. If you set javaos.mountlist as follows:
-ajavaos.mountlist=sunroom:/export/root/javaos/classes|/REMOTE
The JavaOS software mounts the directory /export/root/javaos/classes/sun/javaos. Note that if you are specifying a FONTS directory as well as a REMOTE directory, the javaos.mountlist property is a list delimited by semicolons. For example:
-ajavaos.mountlist=sunroom:/export/root/javaos/fonts|/FONTS; sunroom:/export/root/javaos/classes|/REMOTE
Set the javaos.kbd property.
This property setting tells the JavaOS software the name of the keyboard file, which contains the keyboard mapping table. Keyboard files for all of the countries listed on the previous page are included in the JavaStation client software.
-djavaos.kbd=keyboard
The syntax of keyboard is namePS2, where name is one of the countries in the preceding list. For example, to add the Swedish keyboard:
-djavaos.kbd=SwedishPS2
Four javaos.im.compose properties enable you to modify the characters typed at the U.S. English keyboard. You can enable input of Latin accent characters or Arabic, Hebrew, or Thai characters.
Latin accent characters - When the javaos.im.compose.deadkeys property is set to true, the following keys can be typed in combination with other keys to produce Latin accent characters.
` (single quote)
` (back single quote)
" (double quote)
^ (circumflex)
For example, pressing the ` key plus the "a" key produces an á. This feature is commonly used in European locales.
Pressing one of the above keys twice produces its normal value.
Arabic, Hebrew, or Thai - The following properties enable Arabic, Hebrew, or Thai characters to be produced at the U.S. English keyboard:
javaos.im.compose_ar=ISO8859_6
javaos.im.compose_iw=ISO8859_8
javaos.im.compose_th=TIS620
These properties also enable a status window on the JavaStation screen that shows the current direction of text input (right-to-left or left- to-right).
You can use one of these properties and also use the javaos.kbd property to set up a native keyboard. For example, you can set -djavaos.kbd=ArabicPS2 to enable the Arabic keyboard and also set the -djavaos.im.compose_ar property to enable Arabic characters to be typed at a U.S. keyboard. If the javaos.kbd property is set, the Alt-Graph key sequence is used to toggle the input direction. If the compose property is set, the Ctrl-t key sequence is used to toggle the input direction. If both properties are set, both key sequences are enabled.
The Arabic, Hebrew, and Thai locales also require font support. See "Overview and Examples" and "Adding Fonts" for more information.
-djavaos.im.compose.deadkeys=true
-djavaos.im.compose_ar=ISO8859_6
ISO8859_6 is the code for the Arabic character set. Once this property is set, the Ctrl-t key sequences toggles the JavaStation keyboard between U.S. and Arabic modes.
-djavaos.im.compose_iw=ISO8859_8
ISO8859_8 is the code for the Hebrew character set. Once this property is set, the Ctrl-t key sequences toggles the JavaStation keyboard between U.S. and Hebrew modes.
-djavaos.im.compose_th=TIS620
TIS620 is the code for the Thai character set. Once this property is set, the Ctrl-t key sequences toggles the JavaStation keyboard between U.S. and Thai modes.