能让Shell支持中文显示和输入吗?
Tofloor
poster avatar
wenjie198881
deepin
2013-12-15 23:54
Author
不是在GUI中的深度终端,是在按Ctrl+Alt+F1键切换到tty1这种CLI,在Bash下输入ls能显示home目录的中文文件夹,并且能输入中文进入这个目录,类似小学时候学过的UCDOS。
Reply Favorite View the author
All Replies
cxbii
deepin
2013-12-16 00:16
#1
Reply View the author
wenjie198881
deepin
2015-09-30 00:23
#2
https://bbs.deepin.org/post/16959
http://wiki.linuxdeepin.com/index.php?t ... %81#Fbterm

tty可以叫控制台

分享2篇文章
内核补丁:字符终端下显示UTF-8字符 http://blog.chinaunix.net/uid-436750-id-2123586.html
如何改造 Linux 虚拟终端显示文字 http://www.ibm.com/developerworks/cn/linux/l-cn-termi-hanzi/
Reply View the author
ddb_01
deepin
2015-09-30 00:58
#3
简单点的话就用fbterm。
安装:
        通过官方软件仓库安装fbterm
若想使用非根用户运行fbterm,需要把用户加入video组:
        sudo gpasswd -a YOUR_USERNAME video
若想非根用户可使用键盘快捷方式,需要:
        sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
        或者:sudo chmod u+s /usr/bin/fbterm
fcitx输入法框架:
        安装fcitx-frontend-fbterm
        修改~/.fbtermrc;input-method=fcitx-fbterm

吐槽一下楼主居然挖了自己的坟
Reply View the author