HP 3000 Manuals

Show Key Assignment [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Show Key Assignment 

Purpose 

Shows the command to which a single key or prefixed key is assigned.

Default Syntax 

None

This command does not have a default key assignment.  You can either
assign a key to the command using the Assign Key command or issue the
command using Execute Editor Command.

Description 

This command shows the command to which a single key or a prefixed key is
currently assigned.  The specified key can be either a default key or a
key that has been reassigned with the Assign Key command.

When you execute the command, HP EDIT prompts you for the key that you
want to display and asks you whether the Meta key prefixes the key.  HP
EDIT responds by displaying the assigned key and its current command on
the message line.

Procedure 

To show an assigned key and its associated command: 

   1.  Issue Execute Editor Command (E). HP EDIT displays the prompt
       Command:  on the message line.

   2.  Type show key assignment and press Return.  HP EDIT displays the
       prompt Show which key?  on the message line.

   3.  Press the key for which you want to show the associated command.
       HP EDIT displays the prompt Is key prefixed by Meta?  on the
       message line.

   4.  Press either the y key (yes for prefixed) or the n key (no for
       non-prefixed).  If you press the y key, HP EDIT displays
       Meta-X:Command Name on the message line, where X represents the
       prefixed assigned key specified in Step 3.  If you press the n 
       key, HP EDIT displays the message X:Command Name, where X
       represents the assigned key specified in Step 3.

Example 

To show the command to which the b key is assigned: 

   1.  Issue Execute Editor Command (E). HP EDIT displays the following
       prompt on the message line:

            Command: _

   2.  Type show key assignment and press Return.  HP EDIT displays the
       following prompt on the message line:

            Show which key? _

   3.  Press the b key.  HP EDIT displays the following prompt on the
       message line:

            Is key prefixed by Meta? _

   4.  Press the n key.  HP EDIT returns the cursor to its previous
       position in the file and displays the following message on the
       message line:

            b:Back Word

Related Commands 

       Assign Key
       Insert All Key Assignments
       Reset All Key Assignments
       Reset Key Assignment
       Show All Key Assignments
       Show Reassigned Keys



MPE/iX 5.0 Documentation