Thursday, July 13, 2017

Re: Latest vim breaks gnome terminal paste

Pablo Giménez wrote:

> Hello all.
> I am having a very weird issue with the latest version of vim.
> I think this is happening since a couple of weeks ago when I updated my vim
> git repo.
> The problem is, I open a new gnome terminal, or any derivated, like Guake,
> I can select and paste
> with middle mouse button as usual, then I open vi and close it, just
> opening and closing.
> I try to select and paste again and node the text has some traling
> characters:
> Text before open/close vim in the terminal: pixmaps
> Text after open/close vim in the terminal: 00~pixmaps01~
>
> This is an extract of the text in my terminal:
>
> pgp@ellon|{master}||AC|/<2>vim$ ls
> appveyor.yml CONTRIBUTING.md Filelist nsis READMEdir README.txt
> src uninstal.txt vimtutor.com
> configure farsi Makefile pixmaps README.md runtime
> tools vimtutor.bat
> pgp@ellon|{master}||AC|/<2>vim$ pixmaps
> pixmaps: Command not found.
> pgp@ellon|{master}||AC|/<2>vim$ vi
> pgp@ellon|{master}||AC|/<2>vim$ 00~pixmaps01~
> 00~pixmaps01~: Command not found.
> pgp@ellon|{master}||AC|/<2>vim$
>
>
> I just paste the selected pixmaps text, the first one is pasted correctly,
> the second after vim is wrong with that strange trailing character. I
> always get the same trailing character after using vim.
>
> It only happens in gnome terminals, xterm or mrxvt are ok.
>
> I have compiled vim with minimal features:
> ./configure --with-features=small --disable-gui --prefix=/opt

Do you perhaps have $TERM set to "xterm"? Then you probably get
bracketed paste in a way that it can be enabled but not disabled.
Check out ":help xterm-bracketed-paste".

--
hundred-and-one symptoms of being an internet addict:
146. You experience ACTUAL physical withdrawal symptoms when away
from your 'puter and the net.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: