When using vim in iterm2 and vim with janus parentheses matching => cursor disappears and terminal gets corrupted
By msabr... on May 01, 2014 16:18 (imported from Google Code)
Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
`Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
``
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 22 2013 14:44:13)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 22 2013 14:44:13)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
<b>1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this</b>
<b>issue.</b>
Done. com.googlecode.iterm2.plist is attached.
<b>2) Create a debug log while reproducing the issue. Instructions are here:</b>
<b>https://code.google.com/p/iterm2/wiki/DebugLogging</b>
Done. debuglog.txt.gz is attached.
<b>What steps will reproduce the problem?</b>
1. Launch vim in iterm2
2. Open a Python file in vim
3. Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
<b>What is the expected output?</b>
Go to the shell and have a cursor
<b>What do you see instead?</b>
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
<b>What version of iTerm2 are you using?</b>
iterm2 Build 1.0.0.20140421
<b>What OS version are you using?</b>
OS X 10.8.5
<b>Please provide any additional information below.</b>
I am running vim 7.4 from Homebrew with Janus:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 22 2013 14:44:13)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
`Not sure if this is a bug in vim or a vim plugin or iterm2. I suspect that iterm2 should not allow the terminal to get corrupted, but I'm not an expert on terminal protocol.
Here is a screencast illustrating the issue: http://screencast.com/t/HqPCqOkBg9mN
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
Done. com.googlecode.iterm2.plist is attached.
2) Create a debug log while reproducing the issue. Instructions are here:
https://code.google.com/p/iterm2/wiki/DebugLogging
Done. debuglog.txt.gz is attached.
What steps will reproduce the problem?
- Launch vim in iterm2
- Open a Python file in vim
- Edit the file in such a way as to make vim highlight the matching parentheses. E.g.: type "()". Typing the closing paren causes vim to highlight the opening paren. Then save the file quickly by hitting <ESC>:w and then hit Ctrl-Z to background vim and go to the shell
What is the expected output?
Go to the shell and have a cursor
What do you see instead?
Most of the time the cursor disappears (no cursor in the shell). Furthermore, when I am in this state and type "fg" to go back to vim, vim screen is corrupted/doesn't repaint itself. Hitting Ctrl-L causes vim to repaint itself but this shouldn't be necessary.
What version of iTerm2 are you using?
iterm2 Build 1.0.0.20140421
What OS version are you using?
OS X 10.8.5
Please provide any additional information below.
I am running vim 7.4 from Homebrew with Janus:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 22 2013 14:44:13)
MacOS X (unix) version
Included patches: 1-52
Compiled by Homebrew
``
---
[debuglog.txt.gz](https://storage.googleapis.com/google-code-attachments/iterm2/issue-2996/comment-0/debuglog.txt.gz)
[com.googlecode.iterm2.plist](https://storage.googleapis.com/google-code-attachments/iterm2/issue-2996/comment-0/com.googlecode.iterm2.plist)