Safeguard Reference Manual (G06.24+, H06.03+ )

SAFECOM Session-Control Commands
Safeguard Reference Manual520618-013
4-15
FC Command
Consideration
You can also press Ctrl-Y to exit SAFECOM. Ctrl-Y is equivalent to end-of-file
(EOF). (Ctrl-Y means to hold down the Ctrl key while pressing the Y key.)
FC Command
The FC command lets you retrieve, edit, and execute a command line you have
previously entered during the current session. FC is useful for correcting mistyped
commands and for entering a series of commands that differ by only a few characters.
FC displays the specified command line and prompts you to make your changes on the
next blank line. You can enter FC subcommands (such as R, I, or D) on the new blank
line to delete, insert, or replace characters.
After you enter the FC subcommands, pressing the RETURN key instructs FC to do
three things: make the changes you specified, redisplay the command line as modified,
and prompt for more changes.
FC
entered with no line number or text string, specifies that the last command line in
the command history buffer is displayed.
linenum
is a positive integer that specifies the number of the command line in the history
buffer that you want to retrieve.
-linenum
is a negative integer that specifies the number of the command line to be retrieved
relative to the current line number.
string
is a text string. The FC command finds and displays the most recent command in
the history buffer that begins with the specified text string.
"string"
is a text string enclosed in quotes. The FC command finds and displays the most
recent command in the history buffer that contains the specified text string. The
command need not begin with the specified string.
FC [ linenum ]
[ -linenum ]
[ string ]
[ "string" ]