wscons(4) hardware-independent console driver lets you configure your boring, black-and-white, nongraphical console in many ways.
Start by viewing the current console settings using
wsconsctl(8). Run the following on a text console, not in an X session (changes made in
wscons can carry over to an X session, but once you start X, you’re mostly stuck with X’s configuration system).
$ wsconsctl keyboard.type=pc-xt keyboard.bell.pitch=400 keyboard.bell.period=100 keyboard.bell.volume=50 …
Each line contains a system variable and a setting, many of which you can change. The
keyboard.type variable represents the type of keyboard on the system. Because this is an amd64 system, it uses the
pc-xt keyboard common ...