Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
KCON(1)                 FreeBSD General Commands Manual                KCON(1)

     kcon -- pcvt keyboard control and remapping

     kcon [-d delay] [-l] [-m map] [-o] [-p] [-R] [-r rate] [-s] [-t+/-] [-x]

     The kcon utility is used for controlling all aspects of keyboard configu-
     ration for the 'pcvt' video driver.

     The available options are:

     -d delay
           Specifies the delay after which the last key entered will be
           repeated by the Keyboard.  Valid values are 0..3 corresponding to
           delays of 250, 500, 750 and 1000 milliseconds.

     -l    Displays the current keyboard map in use by the driver.

     -m map
           Specifies the map entry to be searched in the keyboard capabilities
           database keycap.  The database is searched for the entry and if
           found, the mapping is loaded and is used in the driver from then

     -o    Switches display of control codes to octal in the listing of the
           current map.  To be used in conjunction with the -l option.

     -p    Uses 'pure' output when listing - the Escape character is displayed
           in either octal or hexadecimal and not as 'ESC'.  To be used in
           conjunction with the -l option.

     -r rate
           Specifies the character repetition rate.  Valid argument values are
           0...31 corresponding to rates of 30 characters/second ... 2 charac-

     -R    Reset the Keyboard.

     -s    Displays the current settings of the rate and delay values.

     -t +/-
           Specify this option to enable (+) or disable (-) the repetition of

     -x    Switches display of control codes to hexadecimal in the listing of
           the current map.  To be used in conjunction with the -l option.
           This is the default behaviour.

     /usr/share/misc/keycap.pcvt  Keyboard capabilities data base file if
                                  nothing else was chosen during installation.
     /dev/console                 Keyboard raw device.

     The command ``kcon -m gb'' loads the entry 'gb' from the keycap file into
     the keyboard to switch to a british keyboard behaviour.

     The command ``kcon -r 0 -d 0'' switches the keyboard to emit characters
     at a rate of 30 characters per second after a key has been held down for
     250 milliseconds.

     keycap(3), keycap(5)

     The kcon utility detects several inconsistencies in the keycap database.
     In case of errors kcon exits with an error message.  If this happens, the
     keyboard may remain in an undefined state.  To recover from such situa-
     tion, execute ``kcon -m default''.

FreeBSD 6.2                     March 27, 2000                     FreeBSD 6.2


Want to link to this manual page? Use this URL:

home | help