- 论坛徽章:
- 0
|
1. 用root登录;
2. 将pkg文件cp到/tmp目录下
3. pkgadd -d /tmp/ccev.pkg
选all
输入ccev安装序列号:
SN: OS7CE02259
KEY: iESRhQd
一路回车
提示chnswt切换汉字信息,安装完毕
4. 在/etc/rc2.d自己编辑个启动文件S10chn, 输入一行内容:
chnswt -a
需要vi汉字的帐户的.profile中加上:
LANG=en_GB.ISO8859-1
export LANG
5. reboot机器 OK
一开始我的NETTERM上操作不能正确显示中文,然后我把自己要VI的用户的.profile文件修改一下就好了。呵呵!
我的bbb用户下的.profile文件为:
"/usr/bbb/.profile" 27 lines, 1001 characters
# @(#) profile 85.1 99/12/09
#
# Copyright (C) 1989-1999 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
# .profile -- Commands executed by a login Bourne shell
#
[ -d /usr/local/bin -a -x /usr/local/bin ] && PATH=$PATH:/usr/local/bin
PATH=$PATH HOME/bin:. # set command search path
MAIL=/usr/spool/mail/`logname` # mailbox location
export PATH MAIL
# use default system file creation mask
eval `tset -m scoansi {TERM:-scoansi} -m :\?${TERM:-scoansi} -r -s -Q`
/usr/bin/prwarn # issue a warning if password due to expire
LANG=en_GB.ISO8859-1
export LANG |
|