On May 28, 4:35 pm, William Stein <[email protected]> wrote:
> On Thu, May 28, 2009 at 12:29 AM, Kwankyu <[email protected]> wrote:
>
> > Hi,
>
> > Using Sage, I am missing a feature of Magma command line interface. In
> > Magma, if I enter a line found in history using up arrow key, and then
> > press down arrow key, then the next line in history is fetched. This
> > feature allows me to fetch as many successive lines in history as
> > like. Does Sage(or readline) have a similar feature?
>
> No it doesn't.
>
This is disappointing.
> Since precisely this question gets asked *so* much, I've added a FAQ
> entry for it:
>
> http://wiki.sagemath.org/faq#WhyisSage.27scommandhistorydifferentthan...
>
> William
Thank you anyway. So I was not alone. To be a help, I sent the
following wish letter to the GNU readline maintainer.
---------------
Dear Readline Maintainer,
I am a user of Sage, a computer algebra system relying on GNU readline
library. In Sage FAQ, you can find the following article. (Magma is
another computer algebra system relying on "readline" via IPython)
1. Why is Sage's command history different than Magma's
* QUESTION: Using Sage, I am missing a feature of Magma command
line interface. In Magma, if I enter a line found in history using up
arrow key, and then press down arrow key, then the next line in
history is fetched. This feature allows me to fetch as many successive
lines in history as like. Does Sage(or readline) have a similar
feature?
* ANSWER: No, Sage does not have a similar feature. The IPython
command prompt uses the readline library (via pyreadline), which
evidently doesn't support this feature. Magma has its own custom
"readline-like" library, which does support this feature. (Since so
many people have requested this feature, if anybody can figure out how
to implement it, then such an implementation would certainly be
welcome!)
It seems that the only way Sage can have the convenient feature is
that GNU readline library have such a feature in its history facility.
I wish this happens in the new version of the GNU readline library.
Thank you for your attention. Have a nice day.
----------
Kwankyu
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---