Viewing history commands
You can use arrow keys to access history commands in Windows 200x and Windows XP Terminal or Telnet. In Windows 9x HyperTerminal, the arrow keys are invalid, and you must use Ctrl+P and Ctrl+N instead.
To view command history, use one of the following methods:
TaskCommand
Display all commands in the command history display
buffer. |
|
|
|
Display the previous history command. | Up arrow key or Ctrl+P |
|
|
Display the next history command. | Down arrow key or Ctrl+N |
|
|
Setting the command history buffer size for user interfaces
Step |
| Command | Remarks |
1. | Enter system view. | N/A | |
|
|
|
|
2. | Enter user interface view. |
| |
[ | N/A |
3. Set the maximum number of |
|
commands that can be saved | |
in the command history | |
buffer. |
|
Optional.
By default, the command history buffer can save up to 10 commands.
Controlling the CLI output
This section describes the CLI output control features that help you quickly identify the desired output.
Pausing between screens of output
If the output being displayed is more than will fit on one screen, the system automatically pauses after displaying a screen. By default, up to 24 lines can be displayed on a screen. To change the screen length, use the
Table 26 Keys for controlling output
Keys | Function |
Space | Displays the next screen. |
|
|
Enter | Displays the next line. |
|
|
Ctrl+C | Stops the display and cancels the command execution. |
|
|
<PageUp> | Displays the previous page. |
|
|
<PageDown> | Displays the next page. |
|
|
| 129 |