Keyboard shortcuts for the command line

The following shortcuts can be used to edit the commands on the command line. The “ESC key sequences” show (for comparison) the shortcuts used on typical VT100/ANSI terminals:

Table 1. Overview of CLI keyboard shortcuts
Shortcut Esc key sequences Description
Up arrow ESC [A In the list of commands last run, jumps one position up (in the direction of older commands).
Down arrow ESC [B In the list of commands last run, jumps one position down (in the direction of newer commands).
Right arrow Ctrl-F ESC [C Moves the insert cursor one position to the right.
Left arrow Ctrl-B ESC [D Moves the insert cursor one position to the left.
Home or Pos1 Ctrl-A ESC [A ESC [1˜ ( Moves the insert cursor to the first character in the line.
Close Ctrl-E ESC [F ESC OF ESC [4˜ Moves the insert cursor to the last character in the line.
Ins ESC [ ESC [2˜ Switches between input and overwrite modes.
Del Ctrl-D ESC <BS> ESC [3˜ Deletes the character at the current position of the insert cursor or ends the Telnet session if the line is blank.
erase <BS><DEL> Deletes the next character to the left of the insert cursor.
erase-bol Ctrl-U Deletes all characters to the left of the insert cursor.
erase-eol Ctrl-K Deletes all characters to the right of the insert cursor.
Tabulator   Completes the input from the current position of the insert cursor for a command or path of the LCOS menu structure:
  1. If there is only one possibility of completing the command/path, this is accepted by the line.
  2. If there is more than one possibility of completing the command/path, this is indicated by an audible sound when pressing the Tab key. Pressing the Tab key again displays a list of all possibilities to complete the entry. Then enter e.g. another letter, to allow unambiguous completion of the input.
  3. If there is no possibility of completing the command/path, this is indicated by an audible sound when pressing the Tab key. No further actions are run.
Further information on the special features of the Tab key for scripts can be found separately in the section Tab command when scripting,

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo