Chinaunix

标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文) [打印本页]

作者: pucat    时间: 2004-12-22 14:02
标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文)
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=$PATHHOME/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
作者: sdccf    时间: 2004-12-22 14:09
标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文)
你就是不安装CCEV,netterm也可以显示中文的.
作者: day_dream    时间: 2004-12-23 08:54
标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文)
[quote]原帖由 "sdccf"]你就是不安装CCEV,netterm也可以显示中文的.[/quote 发表:


是的,不过console上就是乱码了,有时候麻烦的
作者: pucat    时间: 2004-12-23 13:46
标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文)
但你用vi不可能让你显示中文的,如果你不装CCEV的话.
作者: sdccf    时间: 2004-12-23 14:06
标题: 在sco507中安装CCEV心得(在NETTERM中亦成显示中文)
netterm下vi编辑可以显示中文,与是否安装汉字系统没有直接的关系.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2