Before Command [B]

Repeat any combination of the previous 1,000 command lines, with or without editing.

BEFORE[ start [ / stop ] ]

[ string ]

[ ALL | @ ]

(Default: redo previous line)

(BQ=redo without change)

(BJ=listredo)

The Before command allows you to modify the commands before it executes them. If you don’t need to change them, use BQ or Qedit icon biggrin Before Command [B] o. Commands are numbered sequentially, starting with 1 for the first command entered and, by default, the last 1,000 commands are accessible. This numbering sequence applies only to the temporary redo stack, because this stack is discarded when you exit Qedit. The numbering sequence in a persistent redo stack, which is accessible across Qedit invocations, continues between invocations. Use the :Listredo or BJ 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 Before command uses Qedit-style Control characters for modifying the commands. The default mode is to replace characters. To delete use Control-D, and to insert use Control-B. If you prefer HP-style modify (D, R, I, and U), use the :Redo command instead of Before, or do Set Modify HP.

Examples

  /listf @.soruce               {"source" is not spelled right}  NON-EXISTENT GROUP.  (CIERR 908)  /Before                       {redo most recent command}  listf @.soruce                {last command is printed}           our                  {you enter changes to it}  listf @.source                {the edited command is shown}  you press Return}  /listredo -10/                {show last 10 commands}  /before 5                     {redo 5th command in stack}  /bef 8/10                     {redo 8th through 10th}  /b listf                      {redo last Listf command}  /b listftemp                  {redo "listftemp" command}  /b @temp                      {redo last containing "temp"}  /before �2                    {redo command before previous}  /before -5/-2                 {redo by relative lines}  

Notes

If you wish to change any characters within the line, the modify operators are the regular Control Codes used in Qedit:

Any printing characters replace the ones above.

Control-D plus spaces deletes columns above.

Control-B puts you into “insert before” mode.

Control-A starts appending characters at the end of line.

Control-A, Control-D, plus spaces, deletes from the end.

Control-T ends Insert Mode, allowing movement to a new column.

Control-G recovers the original line.

Control-O specifies “overwrite” mode (needed for spaces).

To save more commands, use a :File command on the file Qedredo before running Qedit:

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

Before Command [B]