defkey
PURPOSE
Defines keyboard key assignments.
SYNOPSIS
defkey [ -? ] [ file ]
DESCRIPTION
The defkey command lets you redefine the keyboard keys on
the active virtual terminal. Input to defkey comes
either interactively from the keyboard or from a redi-
rected file. Key assignments can be a single character,
non-spacing characters, or strings.
If you specify a file that does not exist, defkey creates
and opens the file; if file exists, defkey opens the
file. It then displays a menu that prompts you for
input. This file can then be used as redirected input to
defkey.
FLAGS
-? Provides help information.
EXAMPLES
1. To redefine a key or keys and create or add to a key-
board definition file:
defkey mykeys
This creates the file "mykeys" and prompts for input.
When defkey ends, the keys that you specified will be
redefined on the active virtual terminal. You can
also use the file "mykeys" to redefine the keyboard
on another virtual terminal with the command:
defkey < mykeys
2. To interactively redefine one or more keyboard keys
for the active virtual terminal:
defkey
RELATED INFORMATION
hft and dispsym in AIX Operating System Technical Refer-
ence.
The Keyboard Description and Character Reference.