下列指令顯示的是如何在執行繁體中文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 LANGtchinese |
設定讓遠程機器顯示在您的區域機器上。
remote_machine% setenv DISPLAYlocal_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_displaylangoldlocale |
狀態區沒有顯示使用的中文輸入法。
如果要執行別的應用程式,請用那個應用程式的指令取代shelltool。