"tac-tics" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] |> Have you changed your terminal (either the program itself or its config) | udlr yields ^[[A^[[B^[[C^[[D in the interactive python interpreter, but | like I said, works like it should outside the Python interpreter.
If I remember correctly, '^[' represents the escape character and '^[[A', etc represent the standard ANSI terminal escape sequences for the up, etc, key. So you are missing the interpretive layer that should intercept and act on those sequences and Python is getting them raw (literally). tjr -- http://mail.python.org/mailman/listinfo/python-list