REDO [ HP System Dictionary XL Gen. Ref. Vol. 2-Part 4 SDUTIL ] MPE/iX 5.0 Documentation
HP System Dictionary XL Gen. Ref. Vol. 2-Part 4 SDUTIL
REDO
Allows you to make corrections to commands before reentering them.
The REDO command allows you to reenter the last command entered after
correcting it or making modifications to it. The REDO command only
applies to the last command you issued. When you issue the REDO command,
you will enter an editing mode and the first line of the command will be
displayed for modification.
To modify the command, position the cursor using the space bar, under the
character to be modified and enter one of the subcommands listed below.
SDUTIL interprets any character other than the ones listed below as a
replacement character. For example, if you type TIME below a character,
since T is not a valid edit command, TIME will replace the characters on
the line above.
SUBCOMMAND DESCRIPTION
--------------------------------------------------------------------------------------
A Append one or more characters to the end of the current line.
B Break the line into two lines moving the character that is above the
cursor and all following characters to the next line. The second line
becomes the current edit line.
D Delete the character above the D. If you repeat D, each character
above each D is deleted. You may also use a D below the first and
last character to be deleted and spaces in between.
E Exit the redo editing mode without executing the edited command. The
command that you were editing when you entered E is still considered
to be the last one.
H List all available editing subcommands in redo mode. Your current
editing line is then redisplayed.
I Inserts one or more characters immediately preceding the character
that is above the cursor. You can combine a delete and insert edit by
using D's followed by an I and the characters to be inserted.
L List the complete command as it is currently edited and then redisplay
the line you are currently editing.
R Replaces the characters above the cursor with the new characters you
enter. The first character to be replaced is the one above the R.
X Execute the current command as it has been edited.
+n Move forward the number of lines specified by the number n in the
command you are editing. If no number is entered, the default is move
forward one line.
-n Move backward the number of lines specified by the number n in the
command you are editing. If no number is entered, the default is move
backward one line.
[[ Return ]] If the command line displayed is not the last line, forward to the
next line of the command you are editing. If the command line is the
last line, execute the command line as it has been edited.
Example
>FROM DICT=sysdic;
>>SCOPPE=manager;
>>PASSWORD=mgr*;
>>OPEN-MODE=exclusive-update.
FROM DICT=sysdict;
SCOPPE=manager;
^
Invalid keyword (SDERR 5645)
>REDO
FROM DICTsysdict;
+
SCOPPE=manager;
d
SCOPE=manager;
x
MPE/iX 5.0 Documentation