aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-02-08 18:27:34 +0000
committerTiago Cunha <tcunha@gmx.com>2010-02-08 18:27:34 +0000
commitc6ba78137977bd7a447fd5f97b205544c2b41505 (patch)
treeec4d93053a821886b0a651d9d88d277d1e92966b /tmux.1
parent9b57743cca71a7b2313a8d4f41558e8ec0404d9b (diff)
downloadrtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.tar.gz
rtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.tar.bz2
rtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.zip
Sync OpenBSD patchset 639:
Support attaching a client read-only with a new -r flag to the attach-session command.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.18
1 files changed, 6 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 02f89b5e..7e5270e7 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.229 2010-02-08 18:13:17 tcunha Exp $
+.\" $Id: tmux.1,v 1.230 2010-02-08 18:27:34 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -364,7 +364,7 @@ new-window ; split-window -d
The following commands are available:
.Bl -tag -width Ds
.It Xo Ic attach-session
-.Op Fl d
+.Op Fl dr
.Op Fl t Ar target-session
.Xc
.D1 (alias: Ic attach )
@@ -376,6 +376,10 @@ If used from inside, switch the current client.
If
.Fl d
is specified, any other clients attached to the session are detached.
+.Fl r
+signifies the client is read-only (only keys bound to the
+.Ic detach-client
+command have any effect)
.Pp
If no server is started,
.Ic attach-session