[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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 press RET. You do not have to be at the end of the line to press RET; the entire line is accepted regardless of the location of the cursor within the line.
8.2.1 Readline Bare Essentials The least you need to know about Readline. 8.2.2 Readline Movement Commands Moving about the input line. 8.2.3 Readline Killing Commands How to delete text, and how to get it back! 8.2.4 Readline Arguments Giving numeric arguments to commands. 8.2.5 Searching for Commands in the History Searching through previous lines.