Public bug reported:

Binary package hint: ipython

As IPython is most likely to be used by ubuntu users in gnome-terminal,
which uses a white background by default, the IPython color scheme
should also default to a light background color, otherwise syntax
highlighted python code becomes mostly invisible as the main portion of
the code is colored foreground white.

Currently the relevant portion of the ~/.ipython/ipythonrc file looks
like this:

...
# colors - Coloring option for prompts and traceback printouts.

# Currently available schemes: NoColor, Linux, LightBG.

# This option allows coloring the prompts and traceback printouts. This
# requires a terminal which can properly handle color escape sequences. If you
# are having problems with this, use the NoColor scheme (uses no color escapes
# at all).

# The Linux option works well in linux console type environments: dark
# background with light fonts.

# LightBG is similar to Linux but swaps dark/light colors to be more readable
# in light background terminals.

# keep uncommented only the one you want:
colors Linux
#colors LightBG
#colors NoColor
...

To work best in gnome-terminal on ubuntu, the LightBG option should be
uncommented, and Linux commented:

...
# keep uncommented only the one you want:
#colors Linux
colors LightBG
#colors NoColor
...

ipython:
  Installed: 0.8.1-2
  Candidate: 0.8.1-2
  Version table:
 *** 0.8.1-2 0
        500 http://au.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

** Affects: ipython (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- ipytonrc should be setup for LightBG color scheme by default
+ ipythonrc should be setup for LightBG color scheme by default

-- 
ipythonrc should be setup for LightBG color scheme by default
https://bugs.launchpad.net/bugs/241535
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to