HP 3000 Manuals

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


HP EDIT Reference Manual

Reset Key Assignment 

Purpose 

Resets a single or Meta key to its original default assignment.

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 resets a single or Meta key reassigned with the Assign Key
command to its default command assignment.  For instance, if you had
reassigned the e key to another command, you could use the Reset Key
Assignment command to reset the key to the default Exit command.

Refer to the Assign Key command for complete information about assigning
keys to unassigned commands or reassigning keys to other commands.

Procedure 

To reset a key: 

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

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

   3.  Press the key you want to reset.  HP EDIT displays the prompt Is 
       key prefixed by Meta?  on the message line.

   4.  Press either the y key (yes) or the n key (no).  If you press the
       y key, HP EDIT displays Meta-X:Command Name on the message line,
       where X represents the key you entered in step 3, and Command Name
       is the default assignment for Meta-X. If you press the n key, HP
       EDIT displays X:Command Name on the message line, where X
       represents the key you entered in step 3, and Command Name is the
       default assignment for X.

       If you pressed a key that does not have a default assignment, HP
       EDIT displays X:unassigned key on the message line, where X
       represents the unassigned key you pressed.

Example 

To reset the e key to the Exit command: 

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

            Command: _

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

            Reset which key? _

   3.  Press the e 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:

            e:Exit

Related Commands 

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



MPE/iX 5.0 Documentation