Hi John,
On 31 Okt., 21:45, John H Palmieri <[email protected]> wrote:
> A quick survey for people who use "sage -sh":
>
> - Do you find the current multiline shell prompt useful?
No.
> - Would you prefer that the prompt is shorter, and in particular, a single
> line?
Yes.
> It seems nice to have a clear reminder that we're using a subshell, but can
> we shorten this to one line? (My votes: no, I don't find it useful, and
> yes, I would prefer that it were shorter.)
Yes, I find a reminder useful, and yes, it should be shorter. And yes,
it could be shorter *and* more useful.
The prompt of my shell names the user name, the machine, and the
current directory. For example:
king@mpc622:~/Projekte/MeatAxe$
The Sage shell (sage-4.7.3.alpha0) shows both more and less:
SAGE_ROOT=/mnt/local/king/SAGE/rebase/sage-4.7.3.alpha0
(sage subshell) mpc622:MeatAxe king$
I find it not needed to be constantly reminded of the exact location
of my Sage installation. On the other hand, I'd appreciate to be
informed about the current directory in more detail. And I do
appreciate that the sage shell is mentioned, but it could be shorter.
Suggestion:
(sage-sh) king@mpc622:~/Projekte/MeatAxe$
As you may notice: This is "(sage-sh) " plus the prompt of the shell
in which `sage -sh` was launched.
Could that perhaps be made a general rule? I.e., does the sage shell
know in which other shell it was started, and can it determine the
prompt of that other shell?
My two paint buckets,
Simon
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org