OpenBSD manual page server

Manual Page Search Parameters

KBD(8) System Manager's Manual KBD(8)

kbdset national keyboard translation

kbd -l

kbd [-q] name

kbd is used to change the keyboard encoding. The encoding is set to national keyboard layout name, and a short message is printed to stdout.

The execution of kbd normally occurs in the system multi-user initialization file /etc/rc using the encoding defined in /etc/kbdtype.

The options are as follows:

List all available keyboard encodings.
Quiet mode. No message is printed unless an error occurs.

The “.metaesc” option can be applied to any layout. If set, keys pressed together with the ALT modifier are prefixed by an ESC character. (Standard behaviour is to add 128 to the ASCII value.)

/etc/kbdtype
Default national encoding.

wskbd(4), wsconsctl(8)

January 3, 2026 OpenBSD-current