I am using django 1.2.5 and python 2.7. For some reason, the terminal type is wrong in the django shell, and this annoys me. If I push up, down, right, left, I get the following:
>>> ^[[A^[[B^[[C^[[D
This only happens in the ./manage.py shell . This is not a problem in a regular python interpreter, and it happens regardless of whether the screen is on. Any thoughts?
EDIT: This is the result of import code; code.interact() import code; code.interact()
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole)
source share