iterm2+GNU screen+vim+long wrapped lines = massive corruption
By m...@naguib.ca on December 31, 2012 21:18 (imported from Google Code)
What steps will reproduce the problem?
- Create a file with long lines (anything longer than your terminal width will do)
- Start GNU screen (I am using screen 4.00.03 from macports)
- Start vim (I'm using vim 7.3.390 from MacVim)
- Edit the file with long lines
What is the expected output? What do you see instead?
I expect to see what's shown in normal.png (this looks the same in iterm2+vim, terminal.app+vim, terminal.app+screen+vim)
What I see is shown in broken.png (iterm2+screen+vim)
The lines are wrapped, but more importantly, using the down arrow shows massive corruption, as data gets intermingled, lines get mirrorred, and the state of what's on the screen is generally unusable (see broken2.png). The effect is more pronounced if you have short lines and 1 long line in the middle - as soon as you press down past it you get corruption in the rest of the area (until you hit CTRL+L to redraw)
What version of the product are you using? On what operating system?
Using OS X 10.8.2. This problem appeared after I upgraded from iTerm 2012-02-something to the latest 1.0.0.20121224
The stack (iterm+screen+vim) is fairly convoluted, so I can't say for certain the bug is in iTerm - however I did not notice it in older iTerm versions, and I was not able to replicate it using Terminal.app(+screen+vim)