< Home

Editing

The system provides the editing function of basic commands. Therefore, users can edit the commands through the editing function keys.

The CLI of the system provides the basic command editing function and supports multi-line edition. The maximum length of each command is 255 characters.

Table 1 shows command editing functions.

In the CLI that supports Chinese, you must enter Chinese in a complete manner. Otherwise, the display of the web UI may be abnormal.

Table 1 Table of editing functions

Key

Function

Common key

Inserts a character in the current position of the cursor if the editing buffer is not full and the cursor moves to the right. Otherwise, an alarm is generated.

Backspace

Deletes the character on the left of the cursor that moves to the left. When the cursor reaches the head of the command, an alarm is generated.

Left cursor key or Ctrl +B

Moves the cursor to the left by the space of a character. When the cursor reaches the head of the command, an alarm is generated.

Right cursor key or Ctrl+F

Moves the cursor to the right by the space of a character. When the cursor reaches the end of the command, an alarm is generated.

Tab

Press Tab after typing the incomplete key word and the system runs the partial help:
  • If the matching key word is unique, the system replaces the typed one with the complete key word and displays it in a new line with the cursor a space behind.

  • If there are several matches or no match at all, the system displays the prefix first. Then you can press Tab to view the matching key word one by one. In this case, the cursor closely follows the end of the word and you can type a space to enter the next word.

  • If a wrong key word is entered, press Tab and the system makes no modifications but displays the incomplete keyword in a new line.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >