繁體中文 Solaris 使用者指南

第 2章 啟動繁體中文版 Solaris 軟體

必須特別安裝繁體中文版 Solaris 作業環境才能夠使用繁體中文文字設備。本章說明安裝繁體中文環境以及啟動繁體中文版 Solaris 作業的必要步驟。

繁體中文版 Solaris 產品包含下列語言環境:

設定預設語言環境

您可以使用下列程序來變更預設語言環境。

Graphic
  1. 選擇 dtlogin 視窗中的語言按鈕。

  1. 選取 Czh_TW zh_TW.BIG5 zh_TW.UTF-8zh_HK.BIG5HK zh_HK.UTF-8語言環境。

    新的語言環境立即開始生效。

使用別名設定語言環境

您可以使用別名隨時在繁體中文語言環境與 ASCII/英文語言環境之間變更終端機模擬器視窗,不必每次輸入冗長的指令行或編輯 .dtlogin 檔並執行 source

設定 Korn Shell 的語言環境別名


alias twn_EUC "export LANG=zh_TW; /bin/stty cs8 -istrip defeucw"

alias twn_BIG5 "export LANG=zh_TW.BIG5; /bin/stty cs8 -istrip defeucw"

alias asc "export LANG=C; /bin/stty cs7 istrip defeucw" 

alias twn_UTF-8 "export LANG=zh_TW.UTF-8; /bin/stty cs8 -istrip defeucw"

設定 C Shell 的語言環境別名


alias twn_EUC "setenv LANG zh_TW; /bin/stty cs8 -istrip defeucw"

alias twn_BIG5 "setenv LANG zh_TW.BIG5; /bin/stty cs8 -istrip defeucw"

alias asc "setenv LANG C; /bin/stty cs7 istrip defeucw" 

alias twn_UTF-8 "setenv LANG=zh_TW.UTF-8; /bin/stty cs8 -istrip defeucw"

增加字型目錄

隨附於繁體中文版 Solaris 作業環境的 Xsession 程序檔 (位於 /usr/dt/bin) 含有下列字型路徑:/usr/openwin/lib/locale/ 語言環境/X11/fonts,其中語言環境 zh_TWzh_TW.BIG5zh_HK.BIG5HK。 要動態地增加不同字型的目錄路徑,請輸入:


system% xset +fp font_directory-path 

system% xset fp rehash