No I haven't. I'll look for that plugin and try it. Thanks.
I'm wondering, however, whether my issue has something to do with SSH
(remote access). I just tried an experiment:
From xterm on my Ubuntu 22.04 LTS system, I proved to myself that X
windows copy/paste worked fine. Then I started up tmux, and tried
selecting with mouse and pasting in the tmux window. That worked fine
too. Then I exited tmux, and SSH'ed to my VPS. I tried X windows style
copy/paste, and this worked fine (not running tmux remotely yet). Then
I started up tmux (the use case that I need to get working) from my SSH
session on the VPS. Now, copy/paste dosn't work any more. tmux enters
copy mode when I use the mouse, highlights the text when I select it
with the mouse, gives me a popup menu that offers to copy the line, and
when I select that menu item and release the mouse, and try to paste the
result, I get nothing.
So it is the combination of SSH and tmux that prevents tmux from letting
me copy/paste. Does that suggest anything?
-- Eric
On 6/6/23 14:09, cheyrn wrote:
Have you tried setting up the tmux-yank plugin? That is what I am
using to copy to the clipboard, together with xsel.
On 6/6/2023 2:03 PM, Eric Swenson wrote:
I'm trying to simply highlight the text with the mouse -- which does
highlight, and then use the "Copy ..." contexts menu that comes up to
copy to the system clipboard. This works fine on my Mac -- just not
on Linux.
I've also tried entering copy mode, selecting the start and end via
keyboard -- and that also doesn't work.
-- Eric
On 6/6/23 13:56, Nicholas Marriott wrote:
How are you copying from tmux?
On Tue, 6 Jun 2023, 21:56 Eric Swenson, <e...@swenson.org> wrote:
I did. That was where I found all the references to binding
keys for xsel.
However, I looked at it again, and found the section where it
said that xterm supported OSC 52. So I configured the required:
|XTerm*disallowedWindowOps: 20,21,SetXprop|||
in my ~/.Xresources, and fired up xterm. It has the same
problem. Nothing I copy out of my tmux session makes it to the
system clipboard.
-- Eric
On 6/6/23 13:50, Nicholas Marriott wrote:
Read the clipboard page on the tmux wiki.
On Tue, 6 Jun 2023, 21:49 Eric Swenson, <e...@swenson.org> wrote:
Thanks. Google searches for "OSC 52" AND terminal AND
"Ubuntu 22.04 LTS"
don't turn up anything. Do you know that such a terminal
program exists
for Ubuntu 22.04 LTS?
-- Eric
On 6/6/23 13:46, Nicholas Marriott wrote:
> terminal which supports OSC 52
--
You received this message because you are subscribed to the Google
Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/a762d782-bc3b-71f8-e721-c1f41167694d%40swenson.org
<https://groups.google.com/d/msgid/tmux-users/a762d782-bc3b-71f8-e721-c1f41167694d%40swenson.org?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/758f6195-9faf-e618-b9bc-aa319354cf9e%40gmail.com
<https://groups.google.com/d/msgid/tmux-users/758f6195-9faf-e618-b9bc-aa319354cf9e%40gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/a6433d85-220e-4ef7-cdd1-1acd65b4db34%40swenson.org.