summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-16 21:12:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-16 21:12:31 +0000
commitb359f9b594ccd945a245e429469d3c53fb6bf859 (patch)
tree56ea1db5c03062736f52775f4c45e16f51339eb0 /tmux.1
parent86b73cec72fc178cc612a60af2ac1d0aff3c10c5 (diff)
Add -c option to specify client, and move detach/refresh to client rather than session.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.129
1 files changed, 16 insertions, 13 deletions
diff --git a/tmux.1 b/tmux.1
index f6cfb7cf..af08ef1a 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.13 2007-11-12 20:46:46 nicm Exp $
+.\" $Id: tmux.1,v 1.14 2007-11-16 21:12:31 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -24,6 +24,7 @@
.Nm tmux
.Bk -words
.Op Fl vV
+.Op Fl c Ar client-tty
.Op Fl S Ar socket-path
.Op Fl s Ar session-name
.Ar command
@@ -50,8 +51,14 @@ Communication takes place through a socket, by default placed in
.Pp
The options are as follows:
.Bl -tag -width "XXXXXXXXXXXX"
+.It Fl c Ar client-tty
+Apply command to the client on the given tty.
+Clients may be listed with the
+.Ic list-clients
+command (see below).
+This option does not apply to all commands.
.It Fl S Ar socket-path
-This specifies an alternative path to the server socket.
+Specify an alternative path to the server socket.
The default is
.Pa /tmp/tmux-UID ,
where
@@ -138,13 +145,11 @@ Bind key
.Ar key
to
.Ar command .
-.It Xo Ic detach-session
-.Op Fl a
+.It Xo Ic detach-client
.Xc
.D1 (alias: Ic detach )
-Detach the current client if bound to a key; otherwise, if
-.Fl a
-is given, detach all clients attached to the session.
+Detach the current client if bound to a key, or the specified client with
+.Fl c .
.It Xo Ic has-session
.Xc
.D1 (alias: Ic has )
@@ -255,14 +260,12 @@ Move to the next window in the session.
.Xc
.D1 (alias: Ic prev )
Move to the previous window in the session.
-.It Xo Ic refresh-session
-.Op Fl a
+.It Xo Ic refresh-client
.Xc
.D1 (alias: Ic refresh )
-Refresh the display of clients attached to a session.
-If bound to a key, only the current client is refreshed; otherwise if
-.Fl a
-is given, all clients attached to the session is refreshed.
+Refresh the current client if bound to a key, or a single client if one given
+with
+.Fl c .
.It Xo Ic rename-session
.Ar new-name
.Xc