=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.555 retrieving revision 1.556 diff -u -r1.555 -r1.556 --- src/usr.bin/tmux/tmux.1 2017/05/30 21:44:59 1.555 +++ src/usr.bin/tmux/tmux.1 2017/06/03 17:43:01 1.556 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.555 2017/05/30 21:44:59 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.556 2017/06/03 17:43:01 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 30 2017 $ +.Dd $Mdocdate: June 3 2017 $ .Dt TMUX 1 .Os .Sh NAME @@ -2398,17 +2398,34 @@ each client. The default is 100. .It Xo Ic set-clipboard -.Op Ic on | off +.Op Ic on | external | 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 +escape sequences, if there is an .Em \&Ms entry in the .Xr terminfo 5 -description for the client terminal. +description. +If set to +.Ic on , +.Nm +will both accept the escape sequence to create a buffer and attempt to set +the terminal clipboard. +If set to +.Ic external , +.Nm +will attempt to set the terminal clipboard but ignore attempts +by applications to set +.Nm +buffers. +If +.Ic off , +.Nm +will neither accept the clipboard escape sequence nor attempt to set the +clipboard. +.Pp Note that this feature needs to be enabled in .Xr xterm 1 by setting the resource: