Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ defkey(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



DEFKEY(1,C)                 AIX Commands Reference                  DEFKEY(1,C)



-------------------------------------------------------------------------------
defkey



PURPOSE

Redefines keyboard keys.

SYNTAX


          +------+   +--------+
defkey ---|      |---|        |---|
          +- -? -+   +- file -+


Note:  This command is for the PS/2 only.

DESCRIPTION

The defkey command lets you redefine the keyboard keys on the active virtual
terminal.  Input to the defkey command comes either interactively from the
keyboard or from a redirected file.  Key assignments can be a single character,
non-spacing characters, or strings.

If you specify a file that does not exist, the defkey command creates and opens
the file; if file exists, the command opens the file.  It then displays a menu
that prompts you for input.  This file can then be used as redirected input to
the defkey command.

FLAGS

-? Provides help information.  Since -? is treated as a wild card character in
   the shells, this argument should be quoted, for example:

     defkey -\?

EXAMPLES

  1. To redefine a key or keys and to create or add to a keyboard definition
    file:

      defkey mykeys

    This command creates the file "mykeys" and prompts for input.  When the
    defkey command ends, the keys that you specify are 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




Processed November 8, 1990        DEFKEY(1,C)                                 1





DEFKEY(1,C)                 AIX Commands Reference                  DEFKEY(1,C)



  2. To interactively redefine one or more keyboard keys for the active virtual
    terminal:

      defkey

RELATED INFORMATION

See the hft and display  symbols sections of AIX Operating System Technical
Reference.














































Processed November 8, 1990        DEFKEY(1,C)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026