Emerson PME1 Network Router User Manual


 
Monitor: Command-line History
10002367-02 PmT1 and PmE1 User’s Manual
8-5
You can cancel both the nonvolatile configuration sequence and the autoboot sequence by
pressing the H key on the console keyboard before the boot ends. The monitor is then in a
“manual” mode from which you can execute commands and call functions. The monitor
also enters manual mode if the autoboot fails. Instructions for downloading and executing
remote programs are given in the command reference and function reference.
The monitor provides a command-line interface that includes a command history and a vi-
like line editor. The command-line interface has two modes: insert text mode and com-
mand mode. In insert text mode you can type text on the command line. In command
mode you can move the cursor along the command line and modify commands. Each new
line is brought up in insert text mode.
COMMAND-LINE HISTORY
The monitor maintains a history of up to 50 command lines for reuse. Press the <ESC> key
from the command line to access the history.
k or -: Move backward in the command history to access a previous command.
j or +: Move forward in the command history to access a subsequent command.
COMMAND-LINE EDITOR
The command-line editor uses typical UNIX® vi editing commands.
<help editor>: To access an on-line description of the editor, type help editor or h editor.
<ESC>: To exit Entry mode and start the editor, press <ESC>. You can use most common vi com-
mands, such as x, i, a, A, $, w, cw, dw, r, and e.
<cr>: To execute the current command and exit the editor, press Enter or Return.
<DEL>: To discard an entire line and create a new command line, press <DEL> at any time.
a or A: Append text on the command line.
i or I: Insert text on the command line.
x or X: Delete a single character.
r: Replace a single character.
w: Move the cursor to the next word.
c: Change. Use additional commands with c to change words or groups of words, as shown
below.
cw or cW: Change a word after the cursor (capital W ignores punctuation).