QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2870|回复: 10

请教如何在控制台(非X中)使用中文输入,和正常显示中文,谢谢

[复制链接]
发表于 2006-6-4 11:14:31 | 显示全部楼层 |阅读模式
如何在控制台(非X中)使用中文输入,和正常显示中文?
这个问题一直没有得到解决,我的系统是Debian
不用Xwindows。只是需要中文能够正常地输入和输出即可,
对花哨的Xwindows以及中文美化毫无兴趣。

关键是使用,可是不知道怎么设置才能正常的输入输出!
郁闷阿
发表于 2006-6-4 11:48:17 | 显示全部楼层
zhcon
cce
unicon
回复

使用道具 举报

WeiMingzhi 该用户已被删除
发表于 2006-6-4 13:10:13 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| 发表于 2006-6-4 15:15:15 | 显示全部楼层
zhcon 不行 尝试过了
yh 不行
cce 推荐source
大家的source.list都怎么写的?我的事stable
回复

使用道具 举报

 楼主| 发表于 2006-6-4 15:31:59 | 显示全部楼层
下载了一个zhcon,出现了下面的问题,怎么办?


debian:/home/haan# dpkg -i zhcon_0.2.3-8.1_i386.deb
(Reading database ... 109818 files and directories currently installed.)
Preparing to replace zhcon 1:0.2.3-8.1 (using zhcon_0.2.3-8.1_i386.deb) ...
Unpacking replacement zhcon ...
Setting up zhcon (0.2.3-8.1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

debian:/home/haan#
回复

使用道具 举报

 楼主| 发表于 2006-6-4 15:44:09 | 显示全部楼层
现在能够安装成功了,可是就是不能在tty下显示中文,郁闷依旧
回复

使用道具 举报

 楼主| 发表于 2006-6-4 15:52:36 | 显示全部楼层
现在的情况是:
   
dpkg-reconfigure locales我选中了常用的中文,zhcon可以安装正常。

但是,dpkg-reconfigure界面出现乱码。而且,tty控制台上的中文显示以及输入问题依旧没有解决/

高手支招,只需要控制台上的中文顺利输入输出就可以了,其他的就算了,不喜欢用x
回复

使用道具 举报

 楼主| 发表于 2006-6-4 16:00:27 | 显示全部楼层
z中文输入也是个问题
回复

使用道具 举报

 楼主| 发表于 2006-6-4 16:18:19 | 显示全部楼层
在putty和xshell下面登陆debian,使用zhcon怎么会有下面的提示?

/dev/pts/1 is not real tty or vc. Please exit current tty and try again.
回复

使用道具 举报

发表于 2006-6-4 20:42:09 | 显示全部楼层
zhcon_0.2.3-8.1 不支持 uft8, 要在配置文件里改成 gbk , 一般是 /etc/zhcon.conf 或 /usr/etc/zhcon.conf .

最新的 zhcon, 0.2.5 以上才能有限支持 utf8 .

zhcon 只能在本地使用, windows 就不要执行了, linux 先 zhcon 再 ssh.
回复

使用道具 举报

 楼主| 发表于 2006-6-4 22:52:56 | 显示全部楼层
成功,谢谢各位了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-7-1 14:58 , Processed in 0.215870 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表