#4967: [with patch] Trouble with .gaprc file when compiling from source
--------------------------+-------------------------------------------------
Reporter: mmeulien | Owner: mabshoff
Type: defect | Status: new
Priority: trivial | Milestone: sage-3.3
Component: distribution | Keywords:
--------------------------+-------------------------------------------------
== How to reproduce the problem ==
* Create a file called `~/.gaprc' containing the following line
{{{
ColorPrompt(true);
}}}
* Compile sage from source
* Start sage and try the following
{{{
sage: gap._eval_line('1+3;')
'4\n\x1b[1m\x1b[34mgap> \x1b[0m'
}}}
== Solution ==
As William Stein suggested on sage-devel (Sat, 11 Oct 2008), changing line
169 of `gap.py' from
{{{
gap_cmd = "gap"
}}}
to
{{{
gap_cmd = "gap -r"
}}}
solve the problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4967>
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
-~----------~----~----~----~------~----~------~--~---