In this article, I fixed my backspace, and it has worked since on every system I’ve logged on to. I had one lingering problem though. When I select text in Vim by highlighting with the first mouse button clicked, when I paste the selection into another terminal, I get extra newlines. This is really nasty, because I’m often cutting and pasting code, URLs, and HTML that I view in different Eterm sessions, often with Vim. Now it works fine with GVim, but there is something about using Vim inside of Eterm that messes up the newlines. It turns out that the trick is to fool Vim into thinking that your terminal is xterm. In your theme.cfg file (for Eterm) add in the misc section term_name xterm:
begin misc term_name xterm end misc |
From then on, Vim will adjust whatever it needs to adjust when running inside a terminal so that the newlines don’t get added. I imagine that this will work for other terminal emulators as well.