#4073: disable colors in sage0
------------------------+---------------------------------------------------
 Reporter:  malb        |        Owner:  was       
     Type:  defect      |       Status:  reopened  
 Priority:  major       |    Milestone:  sage-3.1.2
Component:  interfaces  |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by ddrake):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I hate to reopen this, but...the problem has returned in 4.0.alpha0 and
 4.0.rc0 (and possibly earlier; I haven't checked). I have exactly the same
 problem that malb did, but the {{{'%colors NoColor'}}} bit isn't working.
 I had Expect make a logfile, and here's what I get in the logfile when
 colors are enabled:
 {{{
 Loading Sage library.
 sage: import cPickle
 %colors NoColor
 import cPickle
 sage:
 
sage0=cPickle.load(open("/home/drake/.sage//temp/klee/24661//interface//tmp24661"))
 print sage0
 %colors NoColor
 }}}
 Both "{{{sage: }}}" prompts are colored. Without color in my ipythonrc
 file, I get this logfile:
 {{{
 Loading Sage library.
 sage: import cPickle
 import cPickle
 sage: %colors NoColor
 %colors NoColor
 sage:
 
sage0=cPickle.load(open("/home/drake/.sage//temp/klee/25347//interface//tmp25347"))
 <en("/home/drake/.sage//temp/klee/25347//interface//tmp25347"))
 sage: print sage0
 print sage0
 3
 }}}
 In both cases, I did "{{{s = Sage()}}}" and "{{{a = s(3)}}}" in my Sage
 session. It looks like with color, Expect isn't correctly detecting the
 prompt.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4073#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to