other languages
- English console-tools
- English kbd
- español
- magyar
- 中文 (zh-CN)
- 繁體中文 (zh-TW)
SETMETAMODE(1) | Linux 使用者手冊 | SETMETAMODE(1) |
NAME¶
setmetamode - define the keyboard meta key handling總覽¶
setmetamode [ meta|bit|metabit | esc|prefix|escprefix ]描述¶
沒有參數時, setmetamode 將列印當前 Meta 鍵模式; 有參數時, 設置所指出的 Meta 鍵模式. The Meta key mode is specific for each VT (and the VT corresponding to stdin is used).選項¶
- esc prefix escprefix
- The Meta key sends an Escape prefix.
- meta bit metabit
- The Meta key sets the high order bit of the character.
範例¶
可以用 setmetamode 在 /etc/rc 稿本中定義 Meta 鍵模式的初始狀態. 例如, 可以如下設置:INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setmetamode escprefix < $tty
done另見¶
loadkeys(1).09 Oct 1997 | 控制台工具 |