-REDO [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation
MPE Segmenter Reference Manual
-REDO
Allows you to edit a command entry.
SYNTAX
-REDO [edit request]
PARAMETERS
edit request Any valid edit request string as described under
operation of the -REDO command. The edit request is
applied to the last command that was entered and the
resultant command is then executed. If an edit request
is entered as a parameter to the -REDO command, the user
is not prompted for any more changes.
OPERATION
The -REDO command allows you to correct certain kinds of errors in an
incorrect command entry or to change a correct command entry. The -REDO
command only applies to the last command entered. When the -REDO command
is entered, Segmenter enters a mode similar to the Editor and displays
the command to be modified.
To modify the command output by SEGMENTER, position the cursor (using the
space bar on the terminal) under the character(s) to be modified, then
enter one of the following sub-commands:
D Delete. Deletes the character above the cursor. If D
is repeated, each character above each D is deleted.
I Insert. Inserts one or more characters immediately
preceding the character above the cursor. The D and I
sub-commands can be used in conjunction to delete
characters, then insert new characters.
R Replace. Replaces the characters above the cursor with
new characters. If one character is entered, the
character above the cursor is replaced; if two
characters are entered, two characters, (the character
above the cursor and the character to the right) are
replaced; and so forth for additional characters. R is
the default sub-command.
U Undo. Cancels the effect of the previous D, I, or R
sub-command. Entering a U, carriage-return, then
another U cancels all previous sub-commands for this
-REDO command and restores the line being corrected to
its original form.
EXAMPLE
-BUILDS MYSL,2000,1
*** ERROR ***
ILLEGAL COMMAND NAME
REDO (Request to enter command string)
BUILDS MYSL,2000,1 (SEGMENTER displays command)
IL (Insert L)
BUILDSL MYSL,2000,1 (Corrected command displayed)
Note that the letter S can be entered without the sub-command R, because
R is the default sub-command. For example,
-BUILDXL MYSL,2000,1
S (Replace X with S)
-BUILDSL MYSL,2000,1 (Corrected command displayed)
MPE/iX 5.0 Documentation