Next: , Up: Interface

12.1 The flexible command-line interface

The command-line interface provides a prompt and after it an editable text area much like a command-line in Unix or DOS. Each command is immediately executed after it is entered1. The commands (see Command-line and menu entry commands) are a subset of those available in the configuration file, used with exactly the same syntax.

Cursor movement and editing of the text on the line can be done via a subset of the functions available in the Bash shell:

<PC right key>
Move forward one character.
<PC left key>
Move back one character.
Move to the start of the line.
Move the the end of the line.
Delete the character underneath the cursor.
Delete the character to the left of the cursor.
Kill the text from the current cursor position to the end of the line.
Kill backward from the cursor to the beginning of the line.
Yank the killed text back into the buffer at the cursor.
<PC up key>
Move up through the history list.
<PC down key>
Move down through the history list.

When typing commands interactively, if the cursor is within or before the first word in the command-line, pressing the <TAB> key (or <C-i>) will display a listing of the available commands, and if the cursor is after the first word, the <TAB> will provide a completion listing of disks, partitions, and file names depending on the context. Note that to obtain a list of drives, one must open a parenthesis, as root (.

Note that you cannot use the completion functionality in the TFTP filesystem. This is because TFTP doesn't support file name listing for the security.


[1] However, this behavior will be changed in the future version, in a user-invisible way.