TS/MP System Management Manual (H06.05+, J06.03+)

PATHCOM Operation Commands
HP NonStop TS/MP System Management Manual541819-007
10-7
FC Command
R (replacement-string) Replaces one or more characters.
I (insertion-string) Inserts one or more characters.
D (deletion-character) Deletes one character.
Considerations
You enter subcommands and their associated strings beneath the display
command-line and terminate these commands with a carriage return. Begin
replacement, insertion, and deletion commands with the character positioned
directly above the subcommand (R,I,D).
Subcommand R replaces characters in the command-line with replacement-
string on a one-for-one basis. Subcommand I inserts insertion-string in
the command-line before the character that is above insertion-string.
Subcommand D deletes the character that is above it in the command-line; you
can repeat the subcommand for each character to be deleted. If you enter a string
of characters but no command, replacement R occurs.
After you edit the command-line, entering FC displays the command-line and
prompts for another subcommand. FC terminates when it receives only a carriage
return; the corrected command-line is then run. You can terminate the FC
command without execution by pressing BREAK, pressing CTRL/Y, or entering a
double slash (//) in columns 1 and 2, immediately followed by a carriage return.
You can separate FC subcommands by entering the double slash. For example:
SET PATHWAY MAXXTERMS 45
d// r50
The corrected command is:
SET PATHWAY MAXTERMS 50
You can specify a string after the FC command. If the string matches the starting
letters of any of the prior ten commands, the corresponding command is displayed.
It also allows you to edit and execute the command.
The FC command is displayed only if the command length is greater than 2.
Example
In this example, entering each subcommand followed by a carriage return causes
the indicated changes to the command-line:
SET MAXXTERMS 45
d <---- deletes the extra letter X
iPATHWAY <---- inserts the word PATHWAY
r50 <---- replaces the number 45 with 50
and displays the corrected command:
SET PATHWAY MAXTERMS 50