aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-04-05 10:49:46 +0000
committernicm <nicm>2017-04-05 10:49:46 +0000
commit9b28200578670183a0dc70f1d16d5642101a6982 (patch)
tree745e1455c441ab36e2b39ec9398bfb40c14c9a56 /tmux.1
parentab4a4b2ad0ce2c8fdb485bc0fe871571181eace8 (diff)
downloadrtmux-9b28200578670183a0dc70f1d16d5642101a6982.tar.gz
rtmux-9b28200578670183a0dc70f1d16d5642101a6982.tar.bz2
rtmux-9b28200578670183a0dc70f1d16d5642101a6982.zip
Give each client a name. This defaults to the tty name as before but
falls back to an alternative if the tty name is not available. This is clearer than overloading the client ttyname member and allows us to remove the path stored in the tty struct, it should always be the same as the client.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 6d035573..07a31d7d 100644
--- a/tmux.1
+++ b/tmux.1
@@ -367,7 +367,8 @@ or
These specify the client, session, window or pane which a command should affect.
.Pp
.Ar target-client
-should be the name of the
+should be the name of the client,
+typically the
.Xr pty 4
file to which the client is connected, for example either of
.Pa /dev/ttyp1
@@ -3510,6 +3511,7 @@ The following variables are available, where appropriate:
.It Li "client_height" Ta "" Ta "Height of client"
.It Li "client_key_table" Ta "" Ta "Current key table"
.It Li "client_last_session" Ta "" Ta "Name of the client's last session"
+.It Li "client_name" Ta "" Ta "Name of client"
.It Li "client_pid" Ta "" Ta "PID of client process"
.It Li "client_prefix" Ta "" Ta "1 if prefix key has been pressed"
.It Li "client_readonly" Ta "" Ta "1 if client is readonly"