mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
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.
This commit is contained in:
4
tmux.1
4
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"
|
||||
|
Reference in New Issue
Block a user