On Tuesday, February 26, 2013 8:52:39 AM UTC-8, Luis Finotti wrote:
>
>
>
> On Monday, February 25, 2013 2:09:48 PM UTC-5, John H Palmieri wrote:
>>
>>
>> Sage 5.7 included an upgrade to IPython, and the old IPython files were 
>> no longer compatible with the new version. So now Sage looks in 
>> ~/.sage/ipython-0.12/ for configuration.
>>
>> -- 
>> John
>>
>>
> Thanks for the reply.  I am still struggling with it.  I've created a 
> configuration file with " ipython profile create".  I've noticed it was in 
> the wrong place (it was not read at start up), so I've moved 
> "ipython_config.py" from "~/.sage/ipython-0.12/profile_default/" to 
> "~/.sage/ipython-0.12/profile_sage/".  The file is read on start up, as I 
> had some syntax errors and had some tests.
>
> From a newly generated config file,  "uncommenting" the line 
> "c.PromptManager.out_template = 'Out[\\#]: '" has no effect.  Same for the 
> line "c.TerminalInteractiveShell.colors = 'Linux'".  The file is read, as 
> if I remove a single quote, I get an error message.
>
> Any ideas?
>

My guess is that Sage is overriding these settings, and I don't know how to 
fix that with config files. If you edit the file 
SAGE_ROOT/devel/sage/sage/misc/interpreter.py, in particular 
DEFAULT_SAGE_CONFIG, you can change the behavior, but this it not the ideal 
solution.

-- 
John

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to