Command History; Command Editing Shortcuts; Command Edit Shortcuts - Patton electronics SmartWare R.3.20 Software Configuration Manual

Software for smartnode series
Table of Contents

Advertisement

SmartWare Software Configuration Guide
CLI to complete the command at the prompt. If the number of characters is not sufficient to uniquely identify
the command, the CLI will provide a list with all commands starting with the typed characters. For example, if
you enter the string co in the configure mode and press <tab>, the selections
displayed.

Command history

SmartWare maintains a list of previously entered commands that you can go through by pressing the <up-
arrow> and <down-arrow> keys, and then pressing <enter> to enter the command.
The show history command displays a list of the commands you can go through by using the arrow keys.

Command Editing Shortcuts

SmartWare CLI provides a number of command shortcuts that facilitate editing of the command line. Com-
mand editing shortcuts are summarized in
while holding down the keyboard's control key (sometimes labeled Control, Ctl, or Ctrl, depending on the key-
board and operating system of your computer).
<Esc>-<f> is handled differently; press and release the escape key (often labeled Esc on many keyboards) and
then press the <f> key.
Keyboard
<Ctrl>-<p> or <up-arrow> Recall previous command in the command history.
<Ctrl>-<p> or <up-arrow> Recall next command in the command history.
<Ctrl>-<p> or <up-arrow> Move cursor forward one character.
<Ctrl>-<p> or <up-arrow> Move cursor backward one character.
<Esc>-<f>
<Esc>-<b>
<Ctrl>-<a>
<Ctrl>-<e>
<Ctrl>-<k>
<Ctrl>-<u>
<Ctrl>-<d>
<Esc>-<d>
<Ctrl>-<c>
<Ctrl>-<l>
<Ctrl>-<t>
<Ctrl>-<v>
Command editing
table 3
on page 47. The syntax <Ctrl>-<p> means press the <p> key
Table 3. Command edit shortcuts
Move cursor forward one word.
Move cursor backward one word.
Move cursor to beginning of line.
Move cursor to end of line.
Delete to end of line.
Delete to beginning of line.
Delete character.
Delete word.
Quit editing the current line.
Refresh (redraw) the display.
Transpose characters.
Insert a code to indicate to the system that the keystroke immediately fol-
lowing should be treated as normal text, not a CLI command.
For example, pressing the question mark <?> character in the CLI prints a
list of possible tokens. If you want to use the ? in a configuration com-
mand, e.g. to enter a regular expression, press Ctrl-v immediately fol-
lowed by the question mark <?>.
3 • Command line interface (CLI)
,
configure
copy
Description
, and
are
context
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 3.20

Table of Contents