Thanks, Nils.  That worked.

Use "sage -ipython profile list" to find out where your profile is (it 
wasn't using ~/.ipython/, it was using ~/.sage/ipython-0.12/), then put the 
following lines into ~/.sage/ipython-0.12/profile_default/ipython_config.py:

c = get_config()


try:
    import curses
    curses.initscr()
except:
    pass
else:
    if not curses.has_colors():
        c.InteractiveShell.colors = "NoColor"
finally:
    curses.endwin()



One of the most irritating side-effects of pervasive readlinery is the need 
to do this over and over everywhere.

Bill


On Friday, September 20, 2013 11:22:57 AM UTC-7, Nils Bruin wrote:
>
> On Friday, September 20, 2013 11:12:37 AM UTC-7, William wrote:
>
>>
>> If the problem is the same, you could ask on the ipython list... 
>> (since sage's command line is ipython). 
>>
>> William 
>>
>> It is. I don't think IPython's prompt configuration looks at the 
>> environment TERM at all. It's fully configurable, though, so you can make 
>> it do that. Perhaps start with "%config PromptManager" and take it from 
>> there.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to