10.2;kbm (keyboard_mode), revision 2.0 89/02/22
kbm (keyboard_mode) - set/display keyboard characteristics.
usage: kbm [-c args ] [-d ] [-l args ] [-n ] [-r ] [-s args ]
[-A autorepeat ] [-C control ] [-S shift ] [-L lock ]
[-R repeat ] [-F fast_delay ] [-T toggle ]
DESCRIPTION
kbm allows the user to set characteristics for the keyboard. The
characteristics which can be set are the shift key(s), control key(s),
caps lock key(s), repeat key(s), compose key(s), and the long and short
shift key(s) on the Domain multinational keyboard. In addition,
autorepeat can be enable on individual keys or on sets of individual
keys. Toggling (push-on, push-off) may also be set for individual keys.
The compose key is used to compose characters of the latin-1 character
set which have no corresponding keys on the keyboard. Long and short
shift are used to toggle the alternate key legends on the multinational
keyboards.
p_args and args represent key lists. A key list is a group of function
key names separated by commas. The following keys may be included in a
key list:
Key Name Positions
l1-lf Left Function Keys
r1-r6 Right Function Keys
f0-f9 Center Function Keys
np0-np9 Numeric Pad Keys (0-9)
npa-npd Numeric Pad Keys(/ * - + ) (Multinational keyboard only)
npe Numeric Pad Enter
npp Numeric Pad Period
npf Numeric Pad Plus (North American keyboard) or Numeric Pad
Right (Multi-national keyboard)
npg Numeric Pad Minus (North American keyboard) or Numeric Pad
Left (Multi-national keyboard)
tab TAB Key
bs BACKSPACE Key
esc ESCAPE Key
del DELETE Key
ret,cr RETURN Key
shl Left Shift Key
shr Right Shift Key
lock,caps CAPS LOCK Key
ctrl CONTROL Key (CTRL)
rept REPEAT Key
ar,al ALT Keys (Multinational keyboard only)
The following key sets are also defined:
Set Name Set Contents
alpha All alphahumeric keys on the keyboard. Does not include any keys
listed above.
default Default keys relating to given option.
To disable a function, specify a key name of "none".
In the use of compose, long shift, and short shift only, shifted keys are
specified by appending the letter "s" to the key name. Control keys are
appended with the letter "c" or prefixed with a caret (^), while the up
transition is marked by appending the letter "u". (For example: ar, ars,
arc, ^ar, aru)
OPTIONS
If no options are specified, kbm displays the current keyboard type and
characteristics.
-C p_args Sets control keys to those specified by the listp_args.
-L p_args Sets caps lock keys to those specified by the list p_args.
-M p_args Sets mod1 keys to those specified by the list p_args. The
default is Mod1: al,ar.
-S p_args Sets shift keys to those specified by the list p_args.
-R p_args Sets repeat keys to those specified by the list p_args.
-A p_args Enables auto-repeat for those keys specified by the list
p_args. Keys with default auto-repeat are: arrow keys (l8,
la, lc, le), backspace (bs), delete (del), space( ), period
(.), and equal sign (=).
-F p_args Enables fast delay for those keys specified by the list
p_args. These keys must allow autorepeat. Keys with default
fast delay are the arrow keys (l8, la, lc, le). The normal
delay for autorepeat is approximately 0.5 seconds, while fast
delay is approximately 0.25 seconds.
-T p_args Enables toggle mode for those keys specified by the list
p_args. When in toggle mode, the first press/release of the
key will set the key as "down". The next press/release of
the key will raise the key. Motor impaired users may find
the toggle mode useful when using modifier keys such as
control and shift. DO NOT set the CAPS LOCK key to toggle as
the keyboard firmware permanently implements toggle mode
thereon, and enabling toggle mode will cause the key to work
incorrectly. The status of the toggling CAPS LOCK key is
shown by the on/off status of it LED.
-c args Sets compose keys to those specified by the list args.
-l args Sets long shift keys to those specified by the list args.
-s args Sets short shift keys to those specified by the list args.
-r Resets all keyboard settings to the approriate default
values.
compose: none
long_alt: als, ars
Control: ctrl
Shift: shl, shr
Lock: lock
Repeat: rept
Toggle: none
Autorepeat:
l8, la, lc, le, l3, bs, del, space, equal sign, period
Fast: la, lc, le, l3
-d Places Model II keyboard into Model I keyboard mode. When in
Model I mode, all Model II features are disabled. This option
has no effect on the Model I keyboard. This mode may be
useful in low-level operational situations involving the use
of MD boot PROMS.
-n Places Model II keyboard back into Model II keyboard mode.
EXAMPLES
Display current characteristics:
$ kbm
keyboard: 3 North American
compose: none
long_alt: als,ars
short_alt: al,ar
Control: ctrl
Shift: shl,shr
Lock: lock
Mod1: al,ar
Repeat: rept
Toggle: none
Set auto repeat on for all the alphanumeric keys and the default keys
$ kbm -A alpha,default
Set long shift keys to shifted ar and shifted al; short shift keys to al
and ar.
$ kbm -l als,ars -s al,ar
Disable the compose function.
$ kbm -c none