Weird sage prompt tab completion behavior

0 views
Skip to first unread message

Dorian Raymer

unread,
Feb 19, 2007, 5:35:26 PM2/19/07
to sage-s...@googlegroups.com
I can't place when this started happening, but here is my problem:
If I do a tab-completion or an introspection in the sage cli, the result does not nicely append new stuff to what I tabbed, but instead the cursor jumps back to the beginning of the line and the new stuff looks like it over-writes the sage prompt and what ever I have already typed after it. If I close my eyes and imagine the tab-completion did what I expected it to and hit enter, or even continue typing in an argument or something, everything works like it should, it just looks completely wrong. The only thing I have found that kind of fixes this ( in ~/.sage/ipython/ipythonrc) is changing the prompt_in1 string from '${sage_prompt()}: ' to '${sage_prompt()} [\#]: ' (\# is the current prompt number in ipython).
I'm not sure why this helps, or why this problem is even happening; hopefuly it is just something really dumb. I found out i'm not the only one experiencing this though. Any ideas?
-Dorian
Reply all
Reply to author
Forward
0 new messages