These command-line editor keys allow editing of the command-line text.
backward-char
Moves the cursor one character to the left. You cannot move past the first character on the line. If so, gsh will output an error beep.
forward-char
Moves the cursor one character to the right. You cannot move past the last character on the line. If so, gsh will output an error beep.
backward-delete-char
Deletes the character to the left of the cursor. You can delete up to the first character on the command-line.
kill-whole-line
Deletes all characters on the command line and positions the cursor after the prompt.
kill-end-of-line
Deletes all characters from the cursor to the end of the command-line.
delete-char
Deletes the character under the cursor.
beginning-of-line
Moves the cursor to the beginning of the line.
end-of-line
Moves the cursor to the first position past the last character on the line.
forward-word
Moves the cursor right to the last character of the current word.
backward-word
Moves the cursor left to the beginning of the current word.
toggle-cursor
Toggles input mode between insert and overstrike. Overstrike mode is distinguished by a solid inverse cursor and insert mode by a blinking '_' (underscore) cursor. In overstrike mode, any characters that are typed directly over-write those characters below the cursor. In insert mode, the characters typed are inserted before the character below the cursor.