[IPython-dev] [Fwd: color modification of ipython]

Fernando Perez Fernando.Perez at colorado.edu
Sat Oct 21 14:40:32 CDT 2006


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.

-- 
Best regards,
Alec Jang
   _____                  _____
  (, /  |   /)           (, /
    /---|  //  _  _        /  _  __   _
 ) /    |_(/__(/_(__   ___/__(_(_/ (_(_/_
(_/                  /   /          .-/
                    (__ /          (_/



More information about the IPython-dev mailing list