Controlling the Display Mode of Commands
When the display output is more than one page, you can use <PageUp> and <PageDown> to display information on the previous page and the next page.
When the information cannot be completely displayed on one screen, the system will pause and you can view the information. You can use the function keys listed in Table 1-3 to control the display mode of command lines.
Table 1-3 Display mode of commandsKey
Function
Ctrl+C or Ctrl+Z
Stops displaying information and running commands.
NOTE:You can also press any key (the number key, letter key, and so on) except space and Enter.
Space
Continues to display the next screen of information.
Enter
Continues to display the next line of information.
The screen-length screen-length temporary command sets the lines to be displayed temporarily on the terminal screen. If screen-length is 0, the split screen function is disabled. Therefore, the system will not pause when the information cannot be completely displayed on one screen.
You can not only control the display mode of output information but also control the mode in which a command is displayed on the screen.
The system supports two command output modes: character mode and line mode, which can be configured using the terminal echo-mode { character | line } command. By default, the character mode is used.
- character: The command output mode is the character mode. When you enter a character in the command line, the system displays this character.
- line: The command output mode is the line mode. When you enter a character in the command line, the system displays this character only after you press Enter, Tab or ?.
When you operate a device using the NMS, you can change the command output mode to line to improve operation efficiency. Common users have a habit of using the character mode. Therefore, use the character mode for common users to improve operation efficiency.