KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In shells like the interactive python shell, you can usually use the arrow keys to move around in the current line or get previous commands (with arrow-up) etc. But after I ssh into another machine and start python there, I get sessions like: >>> import os >>> ^[[A where the last character comes from arrow-up. Or, using arrow-left: >>> impor^[[D How can I fix this? In the regular bash, arrow keys work fine. The weird behavior is just in the interactive python (or perl etc.) shell.
Tags (comma-separated)
Save Edits
Cancel