Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)
Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual—429311-002
7-25
FC Command
Consideration
The end-of-file character (CTRL/Y) and the SF16 function key have the same effect as
the EXIT command.
FC Command
The FC (fix) command enables you to edit and repeat a command line. FC displays the
specified command line, up to 240 characters, and prompts for editing input with two
periods. Continued command lines (commands entered with the ampersand (&)
continuation character) display fully assembled without the ampersand.
number
if positive, is the line number of the command line to be fixed. If negative, the
current command line number minus number is the line number of the command
line to be fixed.
character-string
is the first few characters of the command line to be fixed. The most recent
command line whose first characters match the string are fixed.
Considerations
•
If you use FC alone, the previous command is fixed (FC alone is the same as FC
1).
•
If you specify a negative number and the associated command line is no longer in
the history buffer, you will get an error message. The history buffer of command
lines is 1024 bytes in length.
•
The FC command does not increment the command line number in VHSCI prompt.
The display of command line numbers in the prompt is controlled by the
SETPROMPT command.
•
FC cannot be issued by a noninteractive user and is ignored if encountered.
•
Another command cannot follow the FC command on the same line.
•
For more information on the FC command, see the NonStop Operating System
User’s Guide.
FC [ [ - ] number ] [ character-string ]