Contents|Index|Previous|Next
Readline
interaction
Often
during an interactive session you type in a long line of text, only to
notice that the first word on the line is misspelled. The Readline library
gives you a set of commands for manipulating the text as you type it in,
allowing you to just fix your typo, and not forcing you to retype the majority
of the line. Using these editing commands, you move the cursor to the place
that needs correction, and delete or insert the text of the corrections.
Then, when you are satisfied with the line, you simply use Return.
You do not have to be at the end of the line to use Return;
the entire line is accepted regardless of the location of the cursor within
the line.
Top|Contents|Index|Previous|Next