:Redo Command [REDO]

Enables you to modify and repeat any of the previous 1,000 command lines.

REDO[ start [ / stop ] ]

[ string ]

[ ALL | @ ]

(Default: redo the previous command)

The :Redo command allows you to modify the commands before it executes them. If you don’t need to change them, use the Qedit icon biggrin :Redo Command [REDO] o command. Commands are numbered sequentially from 1 as entered and the last 1,000 are retained. Use the :Listredo command to display the previous commands. You can redo a single command, a range of commands, or the most recent command whose name matches a string.

The :Redo command uses MPE-style commands (D, I, R, U and >) to modify a line. The following are some common commands. A complete list of commands appears at the end of this section. The default mode is to replace characters. To delete, type DDDD under the characters to be removed. To insert, type I under the insertion spot, then the new characters. To undo your changes, type U. To append to the end of the line, use >xxx. To delete from the end of the line, use >DD. To replace at the end of the line, use >Rxxx. And to erase the rest of the line, use D>. See below for a complete list of edits.

Examples

  /listf @.soruce      {"source" is not spelled right}  NON-EXISTENT GROUP.  (CIERR 908)  /redo                {redo most recent command}  listf @.soruce       {last command is printed}           our         {you enter changes to it}  listf @.source       {edited command is shown}                       {you press Return}  /listredo all  /redo 5             {redo 5th command in stack}  /redo               {redo previous command}  /redo -2            {redo command before previous}  /redo 8/10          {redo 8th through 10th}  /redo -10/          {redo -10 through last}  /redo purge         {redo last Purge command}  /redo purge temp    {redo last "purge temp"}  /redo @temp         {redo last containing "temp"}  

Notes

The :Redo command can be abbreviated to “,” as in MPEX, but you cannot use “;” to combine commands on the same line. You can, however, stop a Redo ALL using the Control-Y key. To save more commands, use a :File command on the file Qedredo before running Qedit:

  :file qedredo;disc=5000  :run qedit.pub.robelle  

Editing in :Redo

:Redo uses the same edits as the MPE/iX :Redo command, except that control characters in lines are printed as dots “.” so that you can see them. Use Set Modify Hpmodify to select these MPE-style edits for all commands. If you prefer the Qedit-style edits, use Set Modify Robelle to select Qedit editing for all commands, including :Redo. If you prefer Qzmodify, use Set Modify Qzmodify to select Qzmodify editing for all commands.

Persistent Redo

Redo commands can be saved in a permanent file and can therefore be used from another session. You can use the Set Redo command to specify a file name to save your redo commands. Please see the Set Redo command for details.

:Redo Command [REDO]