LinuxSir.cn,穿越时空的Linuxsir!

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

请教,关于keymap。。。

[复制链接]
发表于 2007-10-17 12:25:49 | 显示全部楼层 |阅读模式
我最近在升级时,发现init过程中,先前的"setting  terminal encoding UTF-8" 变成了"setting  terminal encoding ASCII" ,结果执行“make menuconfig”时菜单乱七八糟的,什么也看不清,还有个细节原来控制台的中文字显示为黑块,现在是乱码(很乱的那种),我知道跟$LANG有关系,但是怎样才能恢复先前的状态?总不能每次都unset LANG吧?
longzz@Gentoo ~ $ cat /etc/conf.d/keymaps
# /etc/conf.d/keymaps

# Use KEYMAP to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.

KEYMAP="us"
#KEYMAP="la-latin1"

# Should we first load the 'windowkeys' console keymap?  Most x86 users will
# say "yes" here.  Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="no"


# The maps to load for extended keyboards.  Most users will leave this as is.

EXTENDED_KEYMAPS=""
#EXTENDED_KEYMAPS="backspace keypad euro2"


# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set UNICODE="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`

DUMPKEYS_CHARSET=""


# Some fonts map AltGr-E to the currency symbol ¤ instead of the Euro €
# To fix this, set to "yes"

FIX_EURO="no"
longzz@Gentoo ~ $ cat /etc/env.d/02locale
LANG=zh_CN.UTF-8

[quote][/quote]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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