I have a problem with Sage and maybe readline on an ubuntu box.  If I
type

  sage: squ<TAB>

then it partially completes to

  sage: squarefree_

Then it lists the options ("squarefree_divisors  squarefree_part") and
puts the cursor in the wrong place: the cursor ends up on the "s" in
"squarefree_".  If I then type "d" then TAB, it completes "divisors"
and leaves the cursor at the end of that word.  This seems to only
happen when there are several possible completions: if I type
"squarefree_d<TAB>", it completes and leaves the cursor in the right
place.

Has anyone seen this before?  Is some terminal setting messed up?  The
same thing happens whether I run xterm or the default gnome-terminal.
On the other hand, if I remote log in to the machine, then I don't see
this: the cursor ends up where it is supposed to when I TAB complete
things.  (For example, I'm sitting at this ubuntu box right now.  I
can ssh to another machine, and then from there ssh back to this one,
and I don't see the tab problem.  This doesn't seem like the ideal
solution, however.)

  John

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to