This chapter describes features specific to the Korean locale in Tru64 UNIX that are not described elsewhere.
Hangul DECterm is a VT382-K terminal emulator. This section describes the Korean features that are specific to Hangul DECterm. For details about the common internationalized features provided by DECterm, see Writing Software for the International Market.
The terminal type that DECterm emulates is sensitive to the session language.
To create a Hangul DECterm window using the Session Manager:
Alternatively, you can use the -xnllanguage qualifier to specify the terminal type of the DECterm window to create. For example, you can use ko_KR.deckorean as the value for -xnllanguage to create a Hangul DECterm window:
% /usr/bin/X11/dxterm -xnllanguage \
ko_KR.deckorean
If you specify an unknown value for -xnllanguage, then ISO Latin-1 DECterm (Western European) is assumed. If no Korean font exists, the value defaults back to ISO Latin-1 DECterm.
The user interface language of Hangul DECterm always follows the terminal type. The language is independent of the language selection.
You can apply to your Hangul DECterm windows any customization features currently applicable to the ISO Latin-1 DECterm window except for the customization of the NRCS character sets.
You can save and restore customized features in the same way as in ISO Latin-1 DECterm.
You can choose the 24x24, or 16x18 Korean fonts by selecting Big Font or Little Font from the Window... item of the Options menu selection box.
Choosing the General... item from the Options menu allows you to change the general features, such as the terminal type, of the Hangul DECterm from the dialog box that is displayed. You can also choose VT382 ID from the dialog box.
Choosing the Input Method... item from the Options menu allows you to select the interaction style for Hangul DECterm. For example, to select the root window interaction style, click on the Root Window button and then apply the change. If click on the ISO Latin-1 Input button, Hangul DECterm disables the input of Korean data until another style is selected.
Choosing the Input Method... item from the Options menu allows you to switch to use another input server for Hangul DECterm. By default, the Korean input server is used. To select another input server, click on the Other button and enter the input server name on the input field.
You can use the Edit menu option to copy information within or between DECterm windows. The cut-and-paste operation is enhanced to handle mixed ASCII and Korean characters.
Korean DECterm supports KSC5601-1992 and all characters that the ISO Latin-1 DECterm supports.
The ISO Latin-1 DECterm uses the ISO8859-1 Character Set as the default character set. You can change the default by choosing other options from the General... pull down menu on the Options menu. For Hangul DECterm, the default character set for 8-bit is KSC5601-1992.
In general, Hangul DECterm cannot display mixed MCS (or ISO Latin-1 Supplemental Graphic Characters) and Hangul characters. To achieve this function, you can output the data together with the designated character set escape sequences.
You can enter Korean characters in Hangul DECterm by invoking any of the Korean input modes as described in Chapter 7. Mixed ASCII and Korean characters can be displayed properly in Hangul DECterm without any special settings.
The Hangul input server provides the Hangul character input capability. If this process does not exist or terminates for some reason, the following message is displayed:
The Hangul input method does not exist
You can restart the input server again and use the Reset Terminal option from the Commands menu to reconnect the Hangul DECterm to the input server.
The following VT382-K functionality is implemented in the Hangul DECterm terminal emulator:
- Compatibility with 3 terminals:
* VT300 mode
* VT100 mode
* VT52 mode
- ANSI-compatible control functions
- DEC Special Graphics Character Set (line drawing)
- DEC Supplemental Character Set
- DEC Technical Character Set
- ISO Latin-1 Supplemental Character Set
- KS Roman
- KSC5601-1992 Korean Character Set
For details about the VT382-K functions, see the VT382-K Programming Reference Manual and VT382-K User's Manual.
The nroff utility has been internationalized to format text in various languages. When a Korean document is formatted using nroff, the following typical Korean formatting rules are used:
Korean text, like English text, uses space characters to separate words or as break points to wrap lines of text. A Korean line of text can be broken between any two consecutive Korean characters, with the following exceptions:
- The following Korean characters cannot be placed at the beginning of a text line. They are called no-first characters.
、。‥〃―∥\∼〕〉》」』】
!"'),-.:;>?]^_`}
- The following Korean characters cannot be placed at the end of a text line. They are called no-last characters.
∼〔〈《「『【(<[{