免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1960 | 回复: 4
打印 上一主题 下一主题

[SCO UNIX] 在sco507中安装CCEV心得(在NETTERM中亦成显示中文) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-22 14:02 |只看该作者 |倒序浏览
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

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
2 [报告]
发表于 2004-12-22 14:09 |只看该作者

在sco507中安装CCEV心得(在NETTERM中亦成显示中文)

你就是不安装CCEV,netterm也可以显示中文的.

论坛徽章:
0
3 [报告]
发表于 2004-12-23 08:54 |只看该作者

在sco507中安装CCEV心得(在NETTERM中亦成显示中文)

[quote]原帖由 "sdccf"]你就是不安装CCEV,netterm也可以显示中文的.[/quote 发表:


是的,不过console上就是乱码了,有时候麻烦的

论坛徽章:
0
4 [报告]
发表于 2004-12-23 13:46 |只看该作者

在sco507中安装CCEV心得(在NETTERM中亦成显示中文)

但你用vi不可能让你显示中文的,如果你不装CCEV的话.

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
5 [报告]
发表于 2004-12-23 14:06 |只看该作者

在sco507中安装CCEV心得(在NETTERM中亦成显示中文)

netterm下vi编辑可以显示中文,与是否安装汉字系统没有直接的关系.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP