繁體中文 Solaris 使用者指南

執行網路應用程式的指示

如果要執行網路應用程式,您必須遵循 Solaris 進階使用者指南中的資訊和指導。您必須另外作下列的調整,才能啟用中文 OpenWindows 環境繁體中文功能的作業。

設定必需的環境變數

如下所示,要在遠端機器上執行網路應用程式,您必須正確設定環境變數:

遠端作業的範例指令序列

將遠端 OpenWindows 2.x 顯示在本機 OpenWindows 3.x 系統之上

下列指令的序列顯示如何在執行繁體中文 Solaris 1.x (包括繁體中文 OpenWindows 2.x)的遠端機器上啟動 Shell 工具。 在此範例中,本機機器正在執行 Solaris 2.x,包括繁體中文 OpenWindows 3.x,而用來執行 Shell 工具的遠端機器具有繁體中文 Solaris 1.x,包括繁體中文 OpenWindows 2.x

  1. 輸入下列指令。


    local_machine% xhost +remote_machine 
    
  2. 登入遠端機器。


    local_machine% rlogin remote_machine 
    


    local_machine% telnet remote_machine 
    
  3. 在遠端機器設定語言環境。


    remote_machine% setenv LANG tchinese 
    
  4. 將遠端機器設定可顯示在您的本機機器。


    remote_machine% setenv DISPLAY local_machine:0.0 
    
  5. 設定 OpenWindows 環境主目錄。


    remote_machine% setenv OPENWINHOME /usr/openwin 
    
  6. 設定 OpenWindows LD 程式庫的路徑。


    remote_machine% setenv LD_LIBRARY_PATH $OPENWINHOME/lib 
    
  7. 啟動 OpenWindows 應用程式,例如 Shell 工具:


    remote_machine% $OPENWINHOME/bin/xview/shelltool -lc_basiclocale \oldlocale -lc_inputlang oldlocale -lc_displaylang oldlocale 
    

    註解 -

    狀態區域不會顯示使用的是哪一種中文輸入法。


    要執行不同的應用程式,請使用該應用程式的指令,而不是 shelltool