SETMETAMODE
Section: Linux 用户手册 (1)Updated: 09 Oct 1997
Index Return to Main Contents
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
另见
loadkeys(1).
Index
This document was created by man2html, using the manual pages.
Time: 13:12:04 GMT, December 24, 2015