Scroll to navigation

KBD_MODE(1) General Commands Manual KBD_MODE(1)

NIMI

kbd_mode - tulosta tai aseta näppäimistön tila

YLEISKATSAUS

kbd_mode [ -a | -u | -k | -s ] [ -f ] [ -C CONSOLE ]

KUVAUS

Ilman argumentteja kbd_mode tulostaa näppäimistön tilan (RAW, MEDIUMRAW, XLATE tai XLATE). Muutoin se asettaa näppäimistötilan argumentin mukaan:

-s: scancode-tila (RAW),

-k: keycode-tila (MEDIUMRAW),

-a: ASCII-tila (XLATE),

-u: UTF-8 -tila (UNICODE).

Näistä vain ASCII-tila on käytössä tavallisesti, ja se voi käyttää kaikkia 8-bittisiä merkistöjä. Unicode-tilassa tarvitaan 16-bittinen merkistö ja nämä merkit toimitetaan kernelille 1-3 tavun kokoisina UTF-8 -koodin perässä. Näissä tiloissa käytetään loadkeys(1) -ohjelmalla määritettyä näppäimistökarttaa.

kbd_mode operates on the console specified by the "-C" option; if there is none, the console associated with stdin is used.

Warning: changing the keyboard mode, other than between ASCII and Unicode, will probably make your keyboard unusable. Set the "-f" option to force such changes. This command is only meant for use (say via remote login) when some program left your keyboard in the wrong state. Note that in some obsolete versions of this program the "-u" option was a synonym for "-s" and older versions of this program may not recognize the "-f" option.

KATSO MYÖS

loadkeys(1)

KÄÄNNÖS

Tämän käsikirjan suomenkielisen käännöksen tekivät Jussi Larjo <larjo@cc.tut.fi>

Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot GNU General Public License -versiosta 3 tai uudemmasta. Emme ota vastuuta.

6. huhtikuuta 1994 kbd