On Mon, 15 Dec 2014 09:20:12 +0000, Nicholas Marriott wrote:
> Not sure about this, there are already tools to do this like xsel
> and xclip, what's the use case for tmux doing it too?

xsel and xclip require X11 forwarding to be enabled in SSH to work.
And that's not all: I would have to update the $DISPLAY variable in
remote tmux sessions every time I reattach them for xsel and xclip.

In contrast, the set-clipboard functionality does not require X11
forwarding to be enabled and it also does not require any $DISPLAY
variable synchronization.  It "Just Works", at the terminal level.

Since tmux already provides the set-clipboard functionality in the
`copy-mode` command, extending this functionality to the `setb` and
`loadb` commands would give me an easy and consistent way to copy
text from any shell within tmux to the (remotely) attached terminal.

Thanks for your consideration.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to