控制檯工具
09 Oct 1997
manpages-zh
Chinese manual pages
man-pages-zh_tw
Traditional Chinese Linux man pages
kbd
Tools for configuring the console (keyboard, virtual terminals, etc.)
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
for tty in $INITTY; do
setmetamode escprefix < $tty
done另見
跋
本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh