Lcrash provides a command line interface. This comes with basic command line editing and history mechanism, which will be described here.
The default history size is 100 command lines and the maximum history size is 1000. Command line length is restricted to 1024 characters. To view history list or to change number of lines in history use the lcrash command \htmlref{'history'}{cmd:history}. An explanation of the history mechanism is given in Table 3-2.
Supported keys for line editing are given in Table 3-3
Table 3-3. Command Line Keys
Ctrl-W | delete to previous word |
Ctrl-D | delete current character |
Ctrl-A | goto start of line |
Ctrl-E | goto end of line |
Ctrl-F | forward one character |
Ctrl-B | backward one character |
Ctrl-H | delete previous character |
Ctrl-N | down history |
Ctrl-K | erase to end of line (from cursor) |
Ctrl-L | clear screen and redisplay prompt |
Ctrl-P | up history |
Ctrl-U | erase to beginning of line (from cursor) |
Ctrl-R | redraw input line |
Esc-F | forward one word |
Esc-B | backward one word |
Esc-D | delete next work |
Esc-Del | delete previous word |