CTRL+A, for example, is printing "^A" instead of returning my cursor to the start of the line.

This happens via ssh, in a screen session, or on the hard console. $TERM shows either xterm or linux depending on which one I'm on.

How do I get the keymap fixed?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

You have enabled vi mode for bash somewhere like this "set -o vi" (probably in your ~/.bashrc file)

You need to remove that line or change to "set -o emacs"

link|improve this answer
Yes, it went to vi mode. Can't find WHERE it went to vi mode, especially since set alone says nothing about it, but thanks for the fix. – Jeff Ferland Aug 13 '09 at 18:40
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.