Console line editor works either in multiline mode or in single line mode. In multiline mode line editor displays complete input line, even if it is longer than single terminal line. It also uses full screen editor for editing large text values, such as scripts. In single line mode only one terminal line is used for line editing, and long lines are shown truncated around the cursor. Full screen editor is not used in this mode.
List of keys
Control-C – keyboard interrupt.
Control-D – log out (if input line is empty)
Control-K – clear from cursor to the end of line
Control-X – toggle safe mode
Control-V – toggle hotlock mode mode
F6 – toggle cellar
F1 or ? – show context sensitive help. If the previous character is \, then inserts literal ?.
Tab – perform line completion. When pressed second time, show possible completions.
Delete – remove character at cursor
Control-H – remove character before cursor and move cursor back one position.
Control-\ – split line at cursor. Insert newline at cursor position. Display second of the two resulting lines.
Control-B – move cursor backwards one character
Control-F – move cursor forward one character
Control-P – go to previous line. If this is the first line of input then recall previous input from history.
Control-N – go to next line. If this is the last line of input then recall next input from history.
Control-A – move cursor to the beginning of the line. If cursor is already at the beginning of the line, then go to the beginning of the first line of current input.
Control-E – move cursor to the end of line. If cursor is already at the end of line, then move it to the end of the last line of current input.
Control-L – reset terminal and repaint screen.