下列指令的序列顯示如何在執行繁體中文 Solaris 1.x (包括繁體中文 OpenWindows 2.x)的遠端機器上啟動 Shell 工具。 在此範例中,本機機器正在執行 Solaris 2.x,包括繁體中文 OpenWindows 3.x,而用來執行 Shell 工具的遠端機器具有繁體中文 Solaris 1.x,包括繁體中文 OpenWindows 2.x:
輸入下列指令。
local_machine% xhost +remote_machine |
登入遠端機器。
local_machine% rlogin remote_machine |
或
local_machine% telnet remote_machine |
在遠端機器設定語言環境。
remote_machine% setenv LANG tchinese |
將遠端機器設定可顯示在您的本機機器。
remote_machine% setenv DISPLAY local_machine:0.0 |
設定 OpenWindows 環境主目錄。
remote_machine% setenv OPENWINHOME /usr/openwin |
設定 OpenWindows LD 程式庫的路徑。
remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib |
啟動 OpenWindows 應用程式,例如 Shell 工具:
remote_machine% $OPENWINHOME/bin/xview/shelltool -lc_basiclocale \oldlocale -lc_inputlang oldlocale -lc_displaylang oldlocale |
狀態區域不會顯示使用的是哪一種中文輸入法。
要執行不同的應用程式,請使用該應用程式的指令,而不是 shelltool。