Re: IPython colors in windows

2005-02-06 Thread Fernando Perez
Claudio Grondi wrote: > Hi, > > I have just updated previously announced > and uploaded to > http://people.freenet.de/AiTI-IT/Python/Console.py > version > of Console.py because I was not satisfied with > it (it didn't support arbitrary ANSI escape > sequences for setting text colors ...) I'd s

Re: IPython colors in windows

2005-02-06 Thread Claudio Grondi
Hi, I have just updated previously announced and uploaded to http://people.freenet.de/AiTI-IT/Python/Console.py version of Console.py because I was not satisfied with it (it didn't support arbitrary ANSI escape sequences for setting text colors ...) Now the Console() class supports ANSI escape s

Re: IPython colors in windows

2005-02-06 Thread Fernando Perez
Claudio Grondi wrote: > It works for me as it is now, so probably it is better to wait for the > next release of IPython with a cleaner implementation of color > schemes before further efforts towards support for choosing > of background colors for each colorized text output in IPython > via exten

Re: IPython colors in windows

2005-02-06 Thread Claudio Grondi
Hi, I have done some more work on Console.py from the readline package version 1.12, adding support for background colors and testing of proper function of them (run the Console.py script to see coloured output). Added was also the possibility to set the default text/background colors for colored

Re: IPython colors in windows

2005-02-05 Thread Gary Bishop
On SourceForge you will find release 1.12 of my Python readline module. If you don't want to hack the colors, there is no reason to upgrade from 1.11 to 1.12. They *should* work the same. But if you'd like to hack the iPython colors this new version makes it possible. In your ipythonrc file add a

Re: IPython colors in windows

2005-02-05 Thread Gary Bishop
Claudio Grondi <[EMAIL PROTECTED]> wrote: > "Ashot" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > whoa, that was quick, looks like it works for me. Thanks a lot! > > It would be nice to be able to set the colors in the prefs file, although > > its possible to edit the pyC

Re: IPython colors in windows

2005-02-05 Thread Claudio Grondi
"Ashot" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > whoa, that was quick, looks like it works for me. Thanks a lot! > It would be nice to be able to set the colors in the prefs file, although > its possible to edit the pyColorize file as Claudio mentioned. To get the colour

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > whoa, that was quick, looks like it works for me. Thanks a lot! > It would be nice to be able to set the colors in the prefs file, although > its possible to edit the pyColorize file as Claudio mentioned. Yes, I haven't implemented user-definable color schemes. Not impossible, bu

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > One more thing I was wondering about: why not highlight the source code in > the errors since you already have this functionality (with '??' command). > It would be nice to have it highlighed on the prompt as well, but I > imagine this may be more difficult.. I've been using IPython

Re: IPython colors in windows

2005-02-04 Thread Ashot
One more thing I was wondering about: why not highlight the source code in the errors since you already have this functionality (with '??' command). It would be nice to have it highlighed on the prompt as well, but I imagine this may be more difficult.. I've been using IPython for about a

Re: IPython colors in windows

2005-02-04 Thread Ashot
whoa, that was quick, looks like it works for me. Thanks a lot! It would be nice to be able to set the colors in the prefs file, although its possible to edit the pyColorize file as Claudio mentioned. .a On Fri, 04 Feb 2005 16:51:26 -0700, Fernando Perez <[EMAIL PROTECTED]> wrote: Fernando P

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Fernando Perez wrote: > Ashot wrote: > >> this is what it looks like: >> >> http://www.freshraisins.com/sand/ipythonscreen.PNG >> >> does cygwin have a readline utility in it? Perhaps this is overriding the >> correct one? Thats the only thing I can think of. > > Hi folks, > > could you ple

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Fernando Perez wrote: > Hi folks, > > could you please test under windows the 1.9 version of readline? > > http://sourceforge.net/project/showfiles.php?group_id=82407&package_id=84552&release_id=302513 > > This was just put up a moment ago by the developer, let me know if it fixes > these probl

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > this is what it looks like: > > http://www.freshraisins.com/sand/ipythonscreen.PNG > > does cygwin have a readline utility in it? Perhaps this is overriding the > correct one? Thats the only thing I can think of. Hi folks, could you please test under windows the 1.9 version of

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > this is what it looks like: > > http://www.freshraisins.com/sand/ipythonscreen.PNG > > does cygwin have a readline utility in it? Perhaps this is overriding the > correct one? Thats the only thing I can think of. Thanks for the screenshot. I've contacted the readline author, I

Re: IPython colors in windows

2005-02-04 Thread Ashot
this is what it looks like: http://www.freshraisins.com/sand/ipythonscreen.PNG does cygwin have a readline utility in it? Perhaps this is overriding the correct one? Thats the only thing I can think of. .a On Fri, 4 Feb 2005 22:35:45 -, Claudio Grondi <[EMAIL PROTECTED]> wrote: I have i

Re: IPython colors in windows

2005-02-04 Thread Claudio Grondi
I have installed version 1.8. It makes is even worse, because now also "In [1]:" gets black background and is unreadable (it had a grey background before). Re-installing 1.7 makes the background again gray. I use German Windows 2000 SP 4 as OS. Claudio P.S. In quote marks the parts with black back

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Claudio Grondi wrote: > I use this one, > http://heanet.dl.sourceforge.net/sourceforge/uncpythontools/readline-1.7.win > 32.exe > which I assume is the right one. Try version 1.8, some coloring problems have been recently fixed. If that doesn't do it, let me know and I'll try to get in touch wit

Re: IPython colors in windows

2005-02-04 Thread Claudio Grondi
I use this one, http://heanet.dl.sourceforge.net/sourceforge/uncpythontools/readline-1.7.win 32.exe which I assume is the right one. Any other ideas? Claudio "Fuzzyman" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Are you really using the readline module from newcenturycom

Re: IPython colors in windows

2005-02-04 Thread km
Hi all, Have u tried Colors0.1 module from python.org ? KM On Fri, Feb 04, 2005 at 07:21:29AM -0800, Fuzzyman wrote: > Are you really using the readline module from newcenturycomputers ? > I've got a feeling that's broken and y

Re: IPython colors in windows

2005-02-04 Thread Fuzzyman
Are you really using the readline module from newcenturycomputers ? I've got a feeling that's broken and you need to use the Gary Bishop one with IPython Sorry if this is spurious... (restricted internet access, so I can't check for you... but the correct one is linked to from the IPython site

Re: IPython colors in windows

2005-02-04 Thread Claudio Grondi
Hi, I have watched this thread hoping to get an hint on my problem, but it seems I didn't. My problem is, that the background of part of the error messages is always black (e.g. after typing In [1]: sdfsdf) and my monitor failes to show the red, green texts on black background clearly enough to s

Re: IPython colors in windows

2005-02-04 Thread Ashot
yea, I've done that. It must be something subtle, as the colors and tab completion works. On Thu, 03 Feb 2005 20:31:37 -0800, DogWalker <[EMAIL PROTECTED]> wrote: "Ashot" <[EMAIL PROTECTED]> said: On 3 Feb 2005 19:18:33 -0800, James <[EMAIL PROTECTED]> wrote: Ashot wrote: I am using IPython in w

Re: IPython colors in windows

2005-02-03 Thread Fernando Perez
Ashot wrote: > I am using IPython in windows and the LightBG setting doesn't correctly > because the background of the text is black even if the console background > is white. Anyone know whats going on? Thanks. It's quite possible that it's a bug in the UNC readline implementation proper. How

Re: IPython colors in windows

2005-02-03 Thread DogWalker
"Ashot" <[EMAIL PROTECTED]> said: >On 3 Feb 2005 19:18:33 -0800, James <[EMAIL PROTECTED]> wrote: > >> >> Ashot wrote: >>> I am using IPython in windows and the LightBG setting doesn't >> correctly >>> because the background of the text is black even if the console >> background >>> is white. Any

Re: IPython colors in windows

2005-02-03 Thread Ashot
On 3 Feb 2005 19:18:33 -0800, James <[EMAIL PROTECTED]> wrote: Ashot wrote: I am using IPython in windows and the LightBG setting doesn't correctly because the background of the text is black even if the console background is white. Anyone know whats going on? Thanks. -- =

Re: IPython colors in windows

2005-02-03 Thread James
Ashot wrote: > I am using IPython in windows and the LightBG setting doesn't correctly > because the background of the text is black even if the console background > is white. Anyone know whats going on? Thanks. > > -- > == > Ashot Petrosian > University of Texas at A

IPython colors in windows

2005-02-03 Thread Ashot
I am using IPython in windows and the LightBG setting doesn't correctly because the background of the text is black even if the console background is white. Anyone know whats going on? Thanks. -- == Ashot Petrosian University of Texas at Austin, Computer Sciences