How do I repeat the last command? The usual keys: Up, Ctrl+Up, Alt-p don\'t work. They produce nonsensical characters.
(ve)[kakarukeys@localhost ve]$ python
Ctrl+p is the normal alternative to the up arrow. Make sure you have gnu readline enabled in your Python build.