Discussion:
Extraneous characters appear after copying characters to buffer
Erik Johnson
2015-02-04 17:46:10 UTC
Permalink
I will preface this by saying that I am not 100% convinced that this is
a tmux issue, as I'm only seeing this in termite[1], and not in xterm.

This only appears when I have split panes. When I copy text to the copy
buffer, odd text appears in the other panes. It does not disappear until
I switch panes (i.e. a ^l redraw of the screen doesn't remove them).

Here[2] is a gif showing this behavior. Like I said, I'm not convinced
100% that it is a tmux issue. If it indeed turns out not to be, I was
hoping to get more specific information to pass on to the termite[1]
developers.


[1]: https://github.com/thestinger/termite
[2]: Loading Image...
--
-Erik

"For me, it is far better to grasp the universe as it really is than to
persist in delusion, however satisfying and reassuring." --Carl Sagan
Nicholas Marriott
2015-02-04 17:59:37 UTC
Permalink
This is from the xterm clipboard escape sequence which tmux will use
when the set-clipboard option is on and TERM is xterm (or, more
accurately: when it sees Ms in terminfo, which we add for xterm in
terminal-overrides).

You can either use the correct TERM for your terminal (which I recommend
anyway) or turn off set-clipboard in tmux.
Post by Erik Johnson
I will preface this by saying that I am not 100% convinced that this is
a tmux issue, as I'm only seeing this in termite[1], and not in xterm.
This only appears when I have split panes. When I copy text to the copy
buffer, odd text appears in the other panes. It does not disappear until
I switch panes (i.e. a ^l redraw of the screen doesn't remove them).
Here[2] is a gif showing this behavior. Like I said, I'm not convinced
100% that it is a tmux issue. If it indeed turns out not to be, I was
hoping to get more specific information to pass on to the termite[1]
developers.
[1]: https://github.com/thestinger/termite
[2]: http://i.imgur.com/HydgvSC.gif
--
-Erik
"For me, it is far better to grasp the universe as it really is than to
persist in delusion, however satisfying and reassuring." --Carl Sagan
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Erik Johnson
2015-02-10 06:57:10 UTC
Permalink
Post by Nicholas Marriott
This is from the xterm clipboard escape sequence which tmux will use
when the set-clipboard option is on and TERM is xterm (or, more
accurately: when it sees Ms in terminfo, which we add for xterm in
terminal-overrides).
You can either use the correct TERM for your terminal (which I recommend
anyway) or turn off set-clipboard in tmux.
I set the TERM to screen-256color using the "default-terminal" global
option to get 256-color support. Otherwise I never touch TERM. I only
recently switched to termite as my terminal emulator, before that I used
urxvt and never saw this. I've been using tmux since about 1.1 and
didn't even know about set-clipboard, according to the changelog it
appears to have been added in tmux 1.5. Disabling set-clipboard has
resolved the issue for me.

Thanks!
Post by Nicholas Marriott
Post by Erik Johnson
I will preface this by saying that I am not 100% convinced that this is
a tmux issue, as I'm only seeing this in termite[1], and not in xterm.
This only appears when I have split panes. When I copy text to the copy
buffer, odd text appears in the other panes. It does not disappear until
I switch panes (i.e. a ^l redraw of the screen doesn't remove them).
Here[2] is a gif showing this behavior. Like I said, I'm not convinced
100% that it is a tmux issue. If it indeed turns out not to be, I was
hoping to get more specific information to pass on to the termite[1]
developers.
[1]: https://github.com/thestinger/termite
[2]: http://i.imgur.com/HydgvSC.gif
--
-Erik
"For me, it is far better to grasp the universe as it really is than to
persist in delusion, however satisfying and reassuring." --Carl Sagan
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
--
-Erik

"For me, it is far better to grasp the universe as it really is than to
persist in delusion, however satisfying and reassuring." --Carl Sagan
Loading...