HP 3000 Manuals

REDO [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

REDO 

Reexecutes a command from the history command stack after optionally
editing the command.

Syntax 

     REDO [cmd_string   ]
     REDO [history_index]

System Debug uses the same REDO editing commands as the REDO command
supported by the MPE XL Command Interpreter.  Please refer to the MPE XL 
Commands Reference Manual (32650-90003) for specific details about
editing commands.

Parameters 

 cmd_string      Redo the most recent command in the history stack that
                 commences with cmd_string.  For example, redo wh can be
                 used to match the most recent while statement.

 history_index   The history stack index of the command that is to be
                 redone.

                 A negative index can be used to specify a command
                 relative to the current command.  For example, -2
                 implies the command used two commands ago.

                 REDO, entered alone, redoes the most recent command.

Examples 

     %cmdebug > redo dq 
     dq-176,20
         r4
     dq-146,20

Redo the most recent command that started with "dq".

Limitations, Restrictions 

Upon initial entry into System Debug, the command stack is empty, since
no prior command has been executed.  If the REDO command is entered as
the command, a blank command is provided for editing.

The MPE XL Command Interpreter allows an edit string to be specified on
the REDO command line.  This feature is not supported in System Debug.


CAUTION The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.


MPE/iX 5.0 Documentation