User`s guide
XSR User’s Guide 9
Chapter 2 Utilizing the Command Line Interface
Managing the XSR
Command Abbreviation: You can abbreviate commands and keywords
to the minimum number of characters that define a unique
abbreviation. For example, you can abbreviate the
hostname
command to
hostn (but you cannot abbreviate to hos because other
commands also start with the letters
hos).
Output Display: By default, output data are displayed one page at a
time if the data occupies more than one page. In this case, you can use
the spacebar to scroll down to the next page or press
ENTER to scroll
down one line at a time. The default page size is 132 characters wide,
23 rows high and they are configurable in a range from 0 to 512
characters using the
terminal command. Refer to the XSR CLI
Reference Guide for more information about the command.
Command Recall: Non-help commands are stored in the command
history list buffer up to the last 32 commands. You can recall and edit
previous commands using shortcut keys. For example:
Ctrl+p/Ctrl+n will list the previous/next command respectively
and can be applied repeatedly. The up-arrow or down-arrow keys
provide the same feature if your terminal supports these keys.
Tab Completion: Pressing the
TAB key or CTRL+I completes a command.
In case of an ambiguous match, the word is completed up to the
character which leads to ambiguity. For example,
hostname and
hostDos share the letters host, so tab completion completes the
“command”
ho to host.
Carriage Return/Enter: Pressing the carriage return/
ENTER key signals
the end of a CLI command.
Help Symbol: At any point you can enter the
? character to prompt for
a list of possible commands/parameters at a particular mode.
Error: Proper error messages are displayed if the command could not
be issued due to syntax errors or invalid values made by the user.
Typing these characters will produce output as follows:
XSR#showFIioLLJl
XSR#showFIioLLJl
^
% invalid input detected at '^' marker
XSR#