- control cursor left: [5D
- control cursor right: [5C
Key mapping is quite useful for utilizing various bash convenience features. For example, to be able to move the cursor in bash one word at a time, first make the changes described above (re-typing exactly what was already there), then add these two lines to your ~/.inputrc file:
"[5D": backward-word
"[5C": forward-word
Since I patched Panther over Jaguar and Jaguar over Puma, this problem could be non-existent on other systems, of course.
[robg adds: I had the exact same issue on my machine, though I had to add the lines to the .inputrc file first -- but even after doing that, the control-left and control-right arrows didn't move a word at a time until I re-typed the key definitions. Odd!]

