After detaching a session running vim, and running another copy of vim
elsewhere, and then reattaching to the dtach session, the arrow keys no
longer work in the vim session running in dtach.
Reproduction steps:
dtach -c /tmp/dtach-bug vim
<detach>
vim
<exit vim>
dtach -a /tmp/dtach-bug
<try moving around with the arrow keys>
Movement with the arrow keys will no longer work.
If you run vim within another dtach session (such as a bash session) it
exhibits the same behavior, unless you exit vim either before detaching, or
after reattaching. As soon as vim is exited and restarted, it works fine.
Running dvtm inside a dtach session exhibits similar issues, once you run
vim inside it. However, in this case, exiting and restarting vim has no
effect; it has the arrow key bug until dvtm itself is restarted.
Ned T. Crigler
dtach
0.7
Public
|
Date: 2009-04-14 01:23 If a minimal stateful parser was added to dtach, it could probably detect |
|
Date: 2009-03-30 13:41 Yes, that fixed the issue. Would there be any way to store that terminal |
|
Date: 2009-03-29 00:32 This is probably because vim is fiddling with the terminal settings when it |
|
Date: 2009-03-26 17:32 Another situation where the arrow keys die is when the dtach session is |
|
Date: 2009-03-23 21:11 Verified that this bug exists in 0.8 as well as 0.7. |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use