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 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). > > Regards, > > Fuzzy > http://www.voidspace.org.uk/python/index.shtml > > Claudio Grondi wrote: > > 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 see it (I can read it after selection, which > > inverts the colors). > > I have tried to play with PyColorize.py, > > LightBGColors = ColorScheme( > > 'LightBG',{ > > token.NUMBER : Colors.Cyan, > > token.OP : Colors.Blue, > > token.STRING : Colors.Blue, > > tokenize.COMMENT : Colors.Red, > > token.NAME : Colors.White, # Colors.Black, > > token.ERRORTOKEN : Colors.Red, > > > > _KEYWORD : Colors.Green, > > _TEXT : Colors.Blue, > > > > 'normal' : Colors.White # Colors.Normal # color off > (usu. > > Colors.Normal) > > } > > but without success. > > How can I get rid of the black background > > > "--------------------------------------------------------------------------- > > " > > "exceptions.NameError" Traceback > (most > > recent call last) > > in with quotation marks marked areas? > > Where is the color of the background of this > > areas defined? > > The color scheme seems to handle only the > > text colors, not the background. > > > > Claudio > > > > "Ashot" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > news:[EMAIL PROTECTED] > > > 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 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 > > > >>>> (views expressed are solely my own) > > > >>>> ============================== > > > >>> > > > >>> Did you try installing readline for windows? > > > >>> http://newcenturycomputers.net/projects/readline.html > > > >>> > > > >> > > > >> yea I've installed that and ctypes. The color and tab > completion work, > > > >> its just that colored get displayed with black background, it > almost > > > >> works > > > >> so its very frustrating.. > > > >> > > > > > > > > Did you try the following (from the manual)?: > > > > > > > > Input/Output prompts and exception tracebacks > > > > > > > > > > > > You can test whether the colored prompts and tracebacks work on > your > > > > system interactively by typing '%colors Linux' at the prompt (use > > > > '%colors LightBG' if your terminal has a light background). If > the input > > > > prompt shows garbage like: > > > > [0;32mIn [[1;32m1[0;32m]: [0;00m > > > > instead of (in color) something like: > > > > In [1]: > > > > this means that your terminal doesn't properly handle color > escape > > > > sequences. You can go to a 'no color' mode by typing '%colors > NoColor'. > > > > > > > > > > > > You can try using a different terminal emulator program. To > > > > permanently set your color preferences, edit the file > > > > $HOME/.ipython/ipythonrc and set the colors option to the desired > value. > > > > > > > > > > > > -- > > > ============================== > > > Ashot Petrosian > > > University of Texas at Austin, Computer Sciences > > > (views expressed are solely my own) > > > ============================== > > -- > http://mail.python.org/mailman/listinfo/python-list -- -- http://mail.python.org/mailman/listinfo/python-list