On Nov 18, 7:31 pm, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi Alasdair,
>
> On Wed, Nov 18, 2009 at 10:18 PM, Alasdair <amc...@gmail.com> wrote:
> > I'm using, as far as I know, the newest sage on the newest Ubuntu.
> > However, tab completion of a command moves the cursor back towards the
> > beginning of the line (in fact,over the "a" of the "Sage: " prompt).
> > I can keep typing, and the command will be recognized, even though it
> > appears to be overwriting itself.
>
> > How can I fix this little problem?
>
> I'm also on an Ubuntu 9.10 machine. Prior to compiling Sage, I
> installed readline, its development headers, and other necessary
> software as detailed on the source download page [1]. I then proceed
> to compile Sage 4.2. After Sage finished compiling, I load Sage, type
> in Matrix and hit tab. I didn't experience the problem you described.
> I have a feeling it's to do with the readline library, but I may be
> wrong. I have experienced a similar problem on a SPARC machine running
> Solaris. Another thing to try is delete your ~/.sage directory and
> then load Sage again.
>
> [1]http://www.sagemath.org/download-source.html
>
> --
> Regards
> Minh Van Nguyen

I had what sounds like a similar problem, and it was discussed in this
thread:

http://groups.google.com/group/sage-support/browse_frm/thread/dda4b0dc74dc946f/5cd5c47d2f24b766?lnk=gst&q=readline#5cd5c47d2f24b766

In particular, Minh's suggestion of installing libreadline5-dev fixed
it for me.

  John

-- 
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
URL: http://www.sagemath.org

Reply via email to