SETMETAMODE(1) General Commands Manual SETMETAMODE(1)

setmetamode - define the keyboard meta key handling

setmetamode [ options ] [ argument ]

Without argument, setmetamode prints the current Meta key mode. With argument, it sets the Meta key mode as indicated. The setting before and after the change are reported.

The Meta key mode is specific for each VT (and the VT corresponding to stdin is used). One might use setmetamode in /etc/rc to define the initial state of the Meta key mode, e.g. by

for tty in $INITTY; do

setmetamode escprefix < $tty


The Meta key sends an Escape prefix.
The Meta key sets the high order bit of the character.

the console device to be used;
print version number;
print this usage message.

loadkeys(1), kbdinfo(1)

30 Jan 1994 kbd