[IPython-dev] [Fwd: color modification of ipython]
Jörgen Stenarson
jorgen.stenarson at bostream.nu
Sun Oct 22 06:45:38 EDT 2006
Hi Alec,
I do not see this problem when running ipython-pyreadline under python
2.5 on windows XP. So my question is what versions of ipython and
pyreadline are you using? Perhaps it is only a question of upgrading one
or the other.
Regards,
Jörgen
Fernando Perez skrev:
> Hi Alec,
>
> thanks for the report; I'm forwarding this to the dev list, where our WinXP
> developers (in particular the pyreadline gang) can confirm this and apply the fix.
>
> Note to devs: if these changes are applied, they should be windows-only, since
> the reported problem does NOT happen under *nix.
>
> Regards,
>
> f
>
> -------- Original Message --------
> Subject: color modification of ipython
> Date: Sun, 22 Oct 2006 02:33:54 +0800
> From: Alec Jang <alec_jang at 126.com>
> To: Fernando.Perez at colorado.edu
>
> Dear Fernando,
>
> I have used ipython for a long time. It works fine along with python
> 2.4. But when upgrading to python 2.5, a strange thing happened. The
> text I typed is in blue, which I never experienced. I think it is a
> uncomfortable color, because it cannot be well recognized against black
> background.
>
> I looked into ipython source, and made a little fix.
>
> 1 In coloransi.py, set Normol = '', which original value is '\033[0m'
> 2 In the same file, Normal comes twice, the second one also need
> modification
>
> After above modification, everything goes well.
>
> I am using Windows Xp, and color theme is Linux.
>
> I suppose it is not a bug, but only a little platform-related thing.
>
> Thank you.
>
More information about the IPython-dev
mailing list