精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● FreeBSD>>系统管理>>系统设置与技巧>>X相关之howto>>X相关的 : 如何安装 Netscape

主题:X相关的 : 如何安装 Netscape
发信人: neal()
整理人: hahalee(1999-04-22 02:59:28), 站内信件
 
        * 安装 Netscape 
 
        首先,请到下列地点取得 
netscape-v30-export.x86-unknown-bsd.tar.gz 
        ftp://ftp.edu.tw/WWW/Netscape/navigator/3.0/unix/ 
        ftp://ftp.edu.tw/WWW/Netscape/navigator/gold/3.0/unix/ 
        ftp://ftp.netscape.com//pub/navigator/gold/3.0/unix/ 
 
        抓到後请依照以下步骤安装: 
        $ cd /tmp 
        $ mkdir foo 
        $ cd foo 
        $ ftp ftp.edu.tw (取得 
netscape-v30-export.x86-unknown-bsd.tar.gz) 
        $ tar zxvf netscape-v30-export.x86-unknown-bsd.tar.gz 
        $ install -c -m 555 netscape /usr/X11R6/bin/ 
        $ cp Netscape.ad 
/usr/X11R6/lib/X11/app-defaults/Netscape 
        $ cp -R nls /usr/X11R6/lib/X11/ 
        $ mkdir /usr/local/lib/netscape 
        $ install -c -m 644 java_30 /usr/local/lib/netscape/ 
        $ install -c -m 755 movemail /usr/local/lib/netscape/ 
        $ cd .. 
        $ rm -rf foo 
 
        * 设定中文字形 
        请在 /usr/X11R6/lib/X11/fonts/chinese/fonts.alias 中加入: 
 
        -*-fixed-medium-r-normal-*-16-*-*-*-*-*-big5.et-0
 taiepi16 
        -*-fixed-medium-r-normal-*-20-*-*-*-*-*-big5.et-0
 taipeik20 
        -*-fixed-medium-r-normal-*-24-*-*-*-*-*-big5.et-0
 taipeik24 
        -*-fixed-medium-r-normal-*-16-*-*-*-*-*-BIG5-0 
taipei16 
        -*-fixed-medium-r-normal-*-20-*-*-*-*-*-BIG5-0 
taipeik20 
        -*-fixed-medium-r-normal-*-24-*-*-*-*-*-BIG5-0 
taipeik24 
 
        请把 taipei* 改成你拥有的中文字形 (分别为 16/20/24 点) 
 
        * 请在 Netscape 的 Options 中的 General Preference 中的 Fonts
 选 
        Traditional Chinese (BIG5),再到 Document Encoding 中选 
BIG5。 
 
        * 装好之後有两个环境变数要设 
          如果是tcsh的话:  
            setenv XNLSPATH /usr/X11R6/lib/X11/nls  
            setenv XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB 
          如果是bash的话:  
            XNLSPATH=/usr/X11R6/lib/X11/nls  
            XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB 
            export XNLSPATH XKEYSYMDB 
 
        * 没有装 nls --> 选 Document Encoding 就会 Segmentation 
Fault  
          没有装 XKeysymDB --> 启动时会出现一大票 warning, 一些按键无法
作用 
 
        * 要是你无法自行安装的话,你可以试试看 
          $ pkg_add ftp://freebsd.csie.nctu.edu.tw/pub/jdli/binary/pkg_add/
 \ 
            netscape-3.01g.tgz 
          $ pkg_add ftp://freebsd.csie.nctu.edu.tw/pub/jdli/binary/pkg_add/
 \ 
            TPfonts.tgz 
 

--
※ 来源:.网易 BBS bbs.netease.com.[FROM: dmx320.resnet.ust.hk]

[关闭][返回]