The colors are controlled by IPython. You should be able to create a file
$HOME/.sage/ipython-0.12/profile_sage/ipython_config.py with the lines
c = get_config()
# Set the color scheme (NoColor, Linux, or LightBG).
c.TerminalInteractiveShell.colors = 'Linux'
for example, to change the color scheme. See
http://ipython.org/ipython-doc/rel-1.0.0/config/old.html#color for some
more information. You can also run "sage --ipython config -h" for a help
message about configuring IPython.
It might not be a bad idea to have several of our own pre-defined color
schemes, with switches for the as Jan suggests...
John
On Sunday, March 9, 2014 8:13:02 AM UTC-7, Jan Groenewald wrote:
>
> Would be nice to have a general theme toggle. background=dark or
> background=light, like vim. Also, on systems with default black background
> terminals, background=dark default would be nice.
>
> Regards,
> Jan
>
>
>
> On 9 March 2014 01:05, Nitin Prasad <[email protected] <javascript:>> wrote:
>
>> Hi all,
>>
>> I've started using Sage (mostly from the command line) and I've noticed
>> by default a lot of the output text is colored blue. This is very difficult
>> to see on the background of the terminal, so I was wondering if there was
>> any way to change this easily? There was one topic posted here a while ago
>> but that was about changing the color of the text on the notebook; I want
>> this for the command line.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> .~.
> /V\ Jan Groenewald
> /( )\ www.aims.ac.za
> ^^-^^
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.