aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-05-22 16:23:07 +0000
committerTiago Cunha <tcunha@gmx.com>2011-05-22 16:23:07 +0000
commit89f35125b4eb5c032f57e8acb70274b77e887f0b (patch)
treec80b93414d1533f98d7345177effa05ec7cfdee9 /tmux.1
parente7f3be9187a30c3a140f608a454b077906fe6f81 (diff)
downloadrtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.tar.gz
rtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.tar.bz2
rtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.zip
Sync OpenBSD patchset 914:
Support setting the xterm clipboard when copying from copy mode using the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.139
1 files changed, 38 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 74b31499..e3fa54f2 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.313 2011-05-18 20:35:36 tcunha Exp $
+.\" $Id: tmux.1,v 1.314 2011-05-22 16:23:07 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -1709,6 +1709,28 @@ Available server options are:
Set the number of buffers; as new buffers are added to the top of the stack,
old ones are removed from the bottom if necessary to maintain this maximum
length.
+.It Xo Ic set-clipboard
+.Op Ic on | off
+.Xc
+Attempt to set the terminal clipboard content using the
+\ee]52;...\e007
+.Xr xterm 1
+escape sequences.
+This option is on by default if there is an
+.Em \&Ms
+entry in the
+.Xr terminfo 5
+description for the client terminal.
+Note that this feature needs to be enabled in
+.Xr xterm 1
+by setting the resource:
+.Bd -literal -offset indent
+disallowedWindowOps: 20,21,SetXprop
+.Ed
+.Pp
+Or changing this property from the
+.Xr xterm 1
+interactive menu when required.
.It Ic escape-time Ar time
Set the time in milliseconds for which
.Nm
@@ -2800,6 +2822,21 @@ If the command doesn't return success, the exit status is also displayed.
.D1 (alias: Ic info )
Show server information and terminal details.
.El
+.Sh TERMINFO EXTENSIONS
+.Nm
+understands some extensions to
+.Xr terminfo 5 :
+.Bl -tag -width Ds
+.It Em \&Ms
+This sequence can be used by
+.Nm
+to store the current buffer in the host terminal's selection (clipboard).
+See the
+.Em set-clipboard
+option above and the
+.Xr xterm 1
+man page.
+.El
.Sh FILES
.Bl -tag -width "/etc/tmux.confXXX" -compact
.It Pa ~/.tmux.conf