Download User Manual

Transcript
Directive
Effect
i
INSERT. If text follows the i, this text is inserted in the current line
starting at the i position.
r
REPLACE. If text follows the r, this text replaces the same number of
characters in the current line beginning at the r position.
d
DELETE. Deletes a character from the current line for each d specified
in the edit line. Note that "d d" does not specify a range as it does in
MPE V but simply deletes one character above each d. Multiple d's may
be followed by an INSERT or REPLACE operation.
d>
DELETE. Deletes to the end of the current line from the position
specified by d>. May be followed by an INSERT or REPLACE
operation.
>
APPEND. If text follows the >, this text is appended to the end of the
current line. If a > without text is positioned beyond the end of the
current line, then a simple replacement is performed instead.
>d
DELETE. Deletes from the end of the current line, right-to-left.
Multiple d's and INSERT and REPLACE strings may be specified after
>.
>r
REPLACE. Replaces characters at the end of the command line. The
last (rightmost) character of the replacement string is at the end of the
line.
c
CHANGE. Changes all occurrences of one string to another in the
current line starting at the c. The search string and replace string must
be properly delimited. A proper delimiter is a non-alphabetic character
(such as ' " or /). The substitution is specified as cdelim search-string
delim [replace-string [delim]]. Omitting the replace-string causes
occurrences of search-string to be deleted, with no substitution.
u
UNDO. A single u in column one cancels the most recent edit of the
current line. Using the Undo command twice in a row cancels all edits
for the current line and re-establishes the original, unedited line. If u is
placed anywhere other than column one of the current line, then a
simple replacement is performed. Undo makes sense only if you have a
line on which you have performed some editing that can be "undone."
other
Simple replacement. Any other character (not i, r, d, d>, >, >d, >r, c, or
u) will be put into the current line at the position above where it is
placed, replacing any existing character. Simple replacement also
occurs for the editing characters i, r, c, or > if they are not followed by
text; or if > appears at or beyond the current end of line.
Hpmodify Examples
Here are examples of the MPE-style REDO sub-commands in action:
Edit
196 • Suprtool Commands
Action
u
First occurrence undoes the previous edits. The u must be in column
one.
u
Second occurrence undoes all edits on the current line. The u must be in
column one.
rxyz
Replaces the current text with xyz starting at the position of r.
xyz
Replaces the current text with xyz starting at the position of x.
Suprtool 4.4 for HP e3000: Suprtool