On May 1, 2009, at 17:53 , Alasdair wrote:
>
> I generally use my CAS's (Maple, Maxima, Sage at the moment) in an
> xterm, unless I have some application which requires graphics. But
> there are one or two interface issues which would make xterm/console
> mode much more pleasant to use. In no particular order:
>
> * Different colours (user specified) for prompt, input and output
There is some [limited] capability to control the colors via Ipython,
the component that handles terminal interaction. Look at the file
~/.sage/ipython/ipythonrc (search for "color").
> * Output automatically "pretty-printed" and centered
Ewww :-} If `twere to be done, I'd prefer the default to be off.
This isn't automatic, but some pretty-printing can occur:
sage: f=x^2
sage: f
x^2
sage: print f
2
x
But note this:
sage: Zx.=PolynomialRing(ZZ);
sage: f=x^2
sage: f
x^2
sage: print f
x^2
The former behavior comes from the "symbolic ring" support, which is
currently handled by maxima (and is therefore subject to change).
> * (This is a more general Sage issue): when a variable is defined, as
> in "x=sqrt(y^2+1)" it is automatically printed to the screen, unless
> the user requests otherwise (say, with a semi-colon)
Like Alex, I prefer the current behavior, so again, if done, I'd
prefer it default to "off".
> Is there any easy way of coercing Sage to act like this?
I don't think so, beyond what's mentioned in this thread; someone who
really knows may be able to be more specific.
HTH
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---