Text display bug on longer lines in OS X Terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Invalid
|
Low
|
Brian Granger |
Bug Description
Using IPython 0.9.1 on OS X 10.5.5 (installed using easy_install readline; easy_install ipython), The display of any line beyond a certain length seems to be messed up.
For example (using an 80x50 Terminal window), if I type:
In [22]: one two three four five six sevel eight
and then press control-A to jump to the beginning of the line, the curser jumps up to the end of the previous line. If I then press control-F repeatedly to move forward through the text, the text I wrote overwrites the above (basically everything is transposed backwards that many characters (8-10ish) as such:
partway through, with the curser at the end of two:
ne two]: one two three four five six sevel eight
all the way through:
ne two three four five six seven eighseven eight
at which point it even wraps again ending in this:
ht two three four five six sevel eighsevel eight
With no In[#] prompt whatsoever.
This also occurs when using the history to pull back a long enough line, e.g. (Using the previous line):
ht [23]: one two three four five six sevel eig
I completely wiped my hard drive and reinstalled everything from scratch (for other reasons) and this bug is still entirely present. It is not present when using bash or anything along those lines, I've never seen it except in IPython.
I'll attach a zipped folder with a sequence of screen shots recreating this same sequence as well.
When I enquired on the mailing list several other people had encountered this same behavior as well.
Let me know if you need any additional information.
This is the type of thing that I used to see if I didn't have readline installed and was instead using Apple's libedit. Are you sure you are using readline? I have your same setup, but I don't see this. Can you provide more info on exactly how I might reproduce it.