LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1014|回复: 3

在fvwm下,mlterm终端中文输入的奇怪现象

[复制链接]
发表于 2006-10-5 20:40:37 | 显示全部楼层 |阅读模式
打开mlterm,无法输入中文。
但是在终端中输入mlterm,然后在新打开的mlterm中就可以输入中文了。

我用的是fcitx3.4
发表于 2006-10-5 21:48:50 | 显示全部楼层
check ~/.bashrc and ~/.bash_profile.

it suggest in .bash_profile:
[php]
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi
[/php]

and put all the settings in ~/.bashrc
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-5 22:30:28 | 显示全部楼层
不行,还是老样子
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-6 10:40:14 | 显示全部楼层
搞定了,谢谢。
昨天改了不管用,今天早上开机就OK了。
我把你的那个代码多加了一对中括号,因为我发现其他地方都是2中括号。
if [[ -f ~/.bashrc ]]; then
    . ~/.bashrc
fi
回复 支持 反对

使用道具 举报

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

本版积分规则

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