setmetamode(1)

setmetamode1

Define the keyboard meta key handling

Usage

setmetamode [options] [argument]

Overview

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

INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setmetamode escprefix < $tty
done

Arguments

esc, prefix, escprefix

The Meta key sends an Escape prefix.

meta, bit, metabit

The Meta key sets the high order bit of the character.

Options

-C, --console=DEV

the console device to be used.

-V, --version

print version number.

-h, --help

print this usage message.

Releases

19 releases since Debian 1.1 (Buzz); the text changed 6 times.

  1. 1.1–1.3
  2. 2.0–5.0
  3. 6.0–7
  4. 8–10
  5. 11–12
  6. 13
  7. Arch

--console since Debian 11 (Bullseye); --help since Debian 11 (Bullseye); --version since Debian 11 (Bullseye); -C since Debian 11 (Bullseye); -V since Debian 11 (Bullseye); -h since Debian 11 (Bullseye).

Authors

Andries Brouwer <[email protected]>

From kbd 2.10.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.