Thank you very much for the assistance! 

I'd like to try to add the ability to toggle colors in sage itself. As a 
new user (and developer), I'd appreciate you input. Would a good way to go 
about this be to add a target to the Makefile that creates a file like you 
described, and then create a function in sage that will modify this upon 
request? Also, when you mentioned 

"It might not be a bad idea to have several of our own pre-defined color 
schemes"

I noticed that the preset values of Linux and LightBG basically correspond 
to dark and light background respectively, so making our own color seems 
would be a bit redundant. Did you have any other color schemes in mind? 

Thanks, 

Nitin Prasad

On Sunday, March 9, 2014 1:46:59 PM UTC-5, John H Palmieri wrote:
>
> 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]> 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].
>>> 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.
>>>
>>
>>
>>
>> -- 
>>   .~. 
>>   /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.

Reply via email to