Scroll to navigation

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).

本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
09 Oct 1997 控制檯工具