Discussion:
Random characters appear after copying
Paolo Bolzoni
2015-02-26 15:14:17 UTC
Permalink
Dear list,

I have a strange problem, I am using tmux started inside a xfce4
terminal[1]. tmux usually works fine, but when I am using more than
one pane and I copy something oftern random characters appear.

There are two links to a picture of the fact, in [2] I am selecting
and in [3] I just copied. As you can see in the right pane some random
characters appear.

Usually it is not a problem has they disappear on a refresh, but still
it is annoying overall with multiple panes.

Any idea of what the problem is and how I can solve it?

Cheers,
Paolo


[1] xfce4-terminal -e 'tmux -2u new-session'

[2] Loading Image...

[3] Loading Image...
Nicholas Marriott
2015-02-27 08:08:05 UTC
Permalink
Fix TERM or turn off set-clipboard.
Post by Paolo Bolzoni
Dear list,
I have a strange problem, I am using tmux started inside a xfce4
terminal[1]. tmux usually works fine, but when I am using more than
one pane and I copy something oftern random characters appear.
There are two links to a picture of the fact, in [2] I am selecting
and in [3] I just copied. As you can see in the right pane some random
characters appear.
Usually it is not a problem has they disappear on a refresh, but still
it is annoying overall with multiple panes.
Any idea of what the problem is and how I can solve it?
Cheers,
Paolo
[1] xfce4-terminal -e 'tmux -2u new-session'
[2] http://imgbay.mobi/di/201502261605321920x1200scrot-6q0ll.png
[3] http://imgbay.mobi/di/201502261605401920x1200scrot-1tb11.png
------------------------------------------------------------------------------
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
Thomas Adam
2015-02-27 08:09:01 UTC
Permalink
Post by Paolo Bolzoni
Dear list,
I have a strange problem, I am using tmux started inside a xfce4
terminal[1]. tmux usually works fine, but when I am using more than
one pane and I copy something oftern random characters appear.
There are two links to a picture of the fact, in [2] I am selecting
and in [3] I just copied. As you can see in the right pane some random
characters appear.
Usually it is not a problem has they disappear on a refresh, but still
it is annoying overall with multiple panes.
Any idea of what the problem is and how I can solve it?
Unset the set-clipboard option.

-- Thomas Adam
Paolo Bolzoni
2015-02-27 09:35:24 UTC
Permalink
The env variable TERM value is "screen," so I think is setup by tmux.
Is it wise to change it?

However, I added
set -g set-clipboard off
to the configuration file and now it seems working. Thanks.
Post by Thomas Adam
Post by Paolo Bolzoni
Dear list,
I have a strange problem, I am using tmux started inside a xfce4
terminal[1]. tmux usually works fine, but when I am using more than
one pane and I copy something oftern random characters appear.
There are two links to a picture of the fact, in [2] I am selecting
and in [3] I just copied. As you can see in the right pane some random
characters appear.
Usually it is not a problem has they disappear on a refresh, but still
it is annoying overall with multiple panes.
Any idea of what the problem is and how I can solve it?
Unset the set-clipboard option.
-- Thomas Adam
Nicholas Marriott
2015-02-27 09:48:11 UTC
Permalink
No, it should be screen inside tmux. You could change the one outside
which is probably set to xterm, but you aren't using xterm. Probably try
TERM=xfce.

Or just leave set-clipboard off instead.
Post by Paolo Bolzoni
The env variable TERM value is "screen," so I think is setup by tmux.
Is it wise to change it?
However, I added
set -g set-clipboard off
to the configuration file and now it seems working. Thanks.
Post by Thomas Adam
Post by Paolo Bolzoni
Dear list,
I have a strange problem, I am using tmux started inside a xfce4
terminal[1]. tmux usually works fine, but when I am using more than
one pane and I copy something oftern random characters appear.
There are two links to a picture of the fact, in [2] I am selecting
and in [3] I just copied. As you can see in the right pane some random
characters appear.
Usually it is not a problem has they disappear on a refresh, but still
it is annoying overall with multiple panes.
Any idea of what the problem is and how I can solve it?
Unset the set-clipboard option.
-- Thomas Adam
------------------------------------------------------------------------------
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
Loading...