Chinaunix首页 | 论坛 | 博客
  • 博客访问: 413867
  • 博文数量: 77
  • 博客积分: 2303
  • 博客等级: 大尉
  • 技术积分: 808
  • 用 户 组: 普通用户
  • 注册时间: 2004-11-30 09:15
文章存档

2015年(1)

2013年(3)

2012年(2)

2011年(46)

2009年(4)

2008年(2)

2005年(12)

2004年(7)

我的朋友

分类:

2011-01-07 21:37:18

在securecrt等终端中输入中文
LANG=zh;export LANG

在$HOME/.profile中或/etc/profile中加入
stty cs8 -istrip

到这里,如果shell是sh的话就可以输入中文了,如果shell是bash还要做如下:

在$HOME/.inputrc中
set meta-flag on
set output-meta on
set convert-meta off
阅读(1489) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-09 13:56:58

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com