Follow-up to prompt bug

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Follow-up to prompt bug

Thorsten Kampe
Hi, this is a follow-up to the yet unsolved "prompt bug"[1].

A short summary: a coloured prompt (like [2]) shows strange characters
in the output prompt when Cygwin Ipython is run in a Windows console.
It doesn't show with Windows IPython/pyreadline and with Cygwin
IPython/readline and rxvt.

I found today another issue that might solve this problem, too: I
installed[3] - Alex Martelli's favourite web framework.

When I run "import web" on a Windows console the input and
continuation prompt get severely mangled:

Cygwin Ipython:  ????[2]??>>> ??
Windows Ipython: ??[0;32m???[1;37m?[4]??[1;36m?>>> ??[0m?

As always Cygwin Ipython/rxvt are unaffected. I don't know whether
Ipython has a bug in this regard or /but/ I think that if the
cause of this error is found then we also have the root cause why
Cygwin Ipython's output prompt is mangled and solved bug #145.

prompt_in1 '\C_White[\N]\C_LightCyan>>> '
prompt_in2 '\C_LightCyan\D..... '
prompt_out '\C_White[\N]    '

IPython-dev mailing list
[hidden email]