Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-86
Default Value
When you use one of the Fix commands—FA, FB, FC, or FK—Inspect retrieves a
command line and presents it in an editing template. You can then alter and reissue
the command or command line. A editing template has the form:
The first line is the contents line; it displays the text that you are editing. The second
line is the editing line; here, you enter replacement text and editing commands.
Note that the contents line in the preceding example begins with a dash, which is the
command-mode indicator. A dash indicates high-level Inspect and an underscore
indicates low-level Inspect. When you reissue the command or command line that you
are editing, Inspect uses the current command mode to interpret it.
On the editing line, use the space bar and the backspace key to position the cursor
under the text in the contents line that you want to change. Do not use the arrow keys
to move the cursor.
After you make changes, press the RETURN key. Inspect then redisplays the editing
template; the contents line reflects the changes you have made. You can add more
changes at this point. However, if the command is correct, press the RETURN key
again, and Inspect executes the command. If you want to terminate editing without
reissuing the edited command, enter two slashes at the start of the editing line and
then press RETURN. Alternatively, you can press CTRL/Y or BREAK at any time to
terminate editing.
Using the Editing Characters D, I, and R
On the editing line you can use three editing commands:
You must begin your correction with these editing characters if the first character of the
change is I, D, or R. Type the D or R under the character to be deleted or replaced.
Type the I under the character that follows the insert position.
Spaces typed after the I or R command are part of the text to insert or replace. If you
want to make more than one change on a line, end the text string with two slashes (//)
and space over to make additional changes; for example:
-current template contents
.
D or d Deletes the character above the D
I or i Inserts the text following the I into the command line; text is inserted in front
of the character above the I.
R or r Replaces characters in the command line (beginning with the character
above the R) with the text following the R.
-PRG-FA ShowVars
-ADD ALIAS SHOWVARS = "DISPLAY height, width, depth"
. ddddiWatch// i; RESUME
-ADD ALIAS WatchVARS = "DISPLAY height, width, depth; RESUME"
.