Menu

#6 error when more than one session is open

open
nobody
None
5
2007-08-20
2007-08-20
GI
No

1. Open mrvxt (or xterm) and run a shell dtach
2. Connect to this dtach process from a different terminal.
3. Run "vim"

If you use mrxvt you get an annoying beep, and a pending "c" keystroke on startup. If you use xterm, you get your screen filled with garbage.

The cause of the bug is the following: Vim sends an escape sequence ("\e[>c") to the terminal emulator to ask for key codes / etc. If dtach is running in two different terminals, then each of them respond with the required key codes. Vim gets two responses and gets confused.

I don't see how to resolve this ... :(

Discussion


Log in to post a comment.

MongoDB Logo MongoDB