HP 3000 Manuals

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


HP EDIT Reference Manual

Show Macros 

Purpose 

Shows all currently defined macros.

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 all currently defined macros and their corresponding
names (key assignments).  When you execute the command, HP EDIT suspends
the current editing session and displays a screen that shows the macros.

This command also shows whether a macro is preemptive or not.  Preemptive
macros preempt the function of the same key assigned to an HP EDIT
command.  Non-preemptive macros show = following the macro name;
preemptive macros show :  following the macro name.

If there are no currently defined macros, HP EDIT displays No macros have 
been defined on the message line.  This message appears if:

   *   The EDCONFIG file does not contain any macros

   *   You have not read in a file containing any macros using the Load
       Config File command

   *   You have not defined any macros during the current session

Procedure 

To show all currently defined macros: 

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

   2.  Type show macros and press Return.  HP EDIT suspends the editing
       session and displays a screen showing the macros and their
       associated names.

   3.  Press any key if there is more than one screenful of information,
       or press Return to return to your editing session.

Example 

To show three currently defined macros: 

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

            Command: _

   2.  Type Show Macros and press Return.  HP EDIT suspends the editing
       session and displays the following screen that shows the macros
       and their associated names:

            Current macro definitions are:

               A= AName:/^m$AAThank you!/^m
               I= AInsert a line/^m$I; new text./^m
               z= 3+1$t2D+$T5+

   3.  Press Return to return to your editing session.

Related Commands 

       Begin Capture
       Capture Macro
       Define Macro
       Define Multiple Macros
       Delete All Macros
       Delete Macro
       Execute Macro
       Go To Macro
       Insert All Macros
       Insert Macro
       Quit Macro
       Use Current Key Assignment



MPE/iX 5.0 Documentation