[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    kbd(1) manual page Table of Contents

Name

kbd - manipulate the state of keyboard or display the type of keyboard

Synopsis

kbd [ -r ] [ -t ] [ -c on|off ] [ -d keyboard device ]

Availability

SPARC

SUNWcsu

Description

kbd manipulates the state of the keyboard, or displays the keyboard type. The default keyboard device being set is /dev/kbd.

Only keyboards that support a clicker respond to the -c option. If you want to turn clicking on by default, this can be set in the /etc/rcS file.

Options

-r
Reset the keyboard as if power-up.
-t
Return the type of the keyboard being used.
-c on/off state
Turn the clicking of the keyboard on or off.
on
Enable clicking.
off
Disable clicking.
-d keyboard device
Specify the keyboard device being set. The default is /dev/kbd.

Examples

The following example displays the keyboard type.


example% kbd -t
type 4 Sun keyboard
example%

To enable clicking by default, add the following line to your /etc/rcS file.

kbd -c on

Files

/etc/rcS
shell script containing commands necessary to get the system to single-user mode
/dev/kbd
keyboard device file

See Also

loadkeys(1) , keytables(4) , kb(7M)

Bugs

There is no way to determine the state of the keyboard click setting.


Table of Contents