Merge branch 'master' into fp-merge

This commit is contained in:
Dane Jensen
2026-06-09 13:29:32 -07:00
15 changed files with 567 additions and 227 deletions

76
tmux.1
View File

@@ -1207,6 +1207,7 @@ Kill the
server and clients and destroy all sessions.
.It Xo Ic kill\-session
.Op Fl aCg
.Op Fl f Ar filter
.Op Fl t Ar target\-session
.Xc
Destroy the given session, closing any windows linked to it and no other
@@ -1214,6 +1215,12 @@ sessions, and detaching all clients attached to it.
If
.Fl a
is given, all sessions but the specified one is killed.
When
.Fl a
is given,
.Fl f
specifies a filter.
Only sessions for which the filter is true are killed.
If
.Fl g
is given and the session is in a session group, all sessions in the group are
@@ -1578,35 +1585,57 @@ option.
Rename the session to
.Ar new\-name .
.It Xo Ic server\-access
.Op Fl adlrw
.Op Ar user
.Op Fl adglrw
.Op Ar user | group
.Xc
Change the access or read/write permission of
.Ar user .
.Ar user
or
.Ar group .
The user running the
.Nm
server (its owner) and the root user cannot be changed and are always
permitted access.
.Fl g
changes a group rather than a user.
.Pp
.Fl a
and
.Fl d
are used to give or revoke access for the specified user.
If the user is already attached, the
are used to give or revoke access for the specified user or group.
If a client is already attached, the
.Fl d
flag causes their clients to be detached.
flag causes it to be detached unless it is still permitted by another entry.
.Pp
.Fl r
and
.Fl w
change the permissions for
.Ar user :
.Ar user
or
.Ar group :
.Fl r
makes their clients read-only and
makes matching clients read-only and
.Fl w
writable.
.Fl l
lists current access permissions.
User entries are shown with
.Ql U ,
group entries with
.Ql G ,
and read-only or writable entries with
.Ql R
or
.Ql W ,
for example
.Ql user1 (U,W)
or
.Ql testgroup (G,R) .
If both a user and group entry match a client, the user entry takes
precedence.
Only the effective group ID of the client is used, not its supplementary
groups.
.Pp
By default, the access list is empty and
.Nm
@@ -3132,6 +3161,7 @@ the marked pane is used rather than the current pane.
.Tg killp
.It Xo Ic kill\-pane
.Op Fl a
.Op Fl f Ar filter
.Op Fl t Ar target\-pane
.Xc
.D1 Pq alias: Ic killp
@@ -3139,11 +3169,18 @@ Destroy the given pane.
If no panes remain in the containing window, it is also destroyed.
The
.Fl a
option kills all but the pane given with
option kills all panes in the window except the pane given with
.Fl t .
When
.Fl a
is given,
.Fl f
specifies a filter.
Only panes for which the filter is true are killed.
.Tg killw
.It Xo Ic kill\-window
.Op Fl a
.Op Fl f Ar filter
.Op Fl t Ar target\-window
.Xc
.D1 Pq alias: Ic killw
@@ -3152,8 +3189,14 @@ Kill the current window or the window at
removing it from any sessions to which it is linked.
The
.Fl a
option kills all but the window given with
option kills all windows in the session except the window given with
.Fl t .
When
.Fl a
is given,
.Fl f
specifies a filter.
Only windows for which the filter is true are killed.
.Tg lastp
.It Xo Ic last\-pane
.Op Fl deZ
@@ -3414,7 +3457,7 @@ but a different format may be specified with
.Fl F .
.Tg newp
.It Xo Ic new\-pane
.Op Fl bdefhIkPvZ
.Op Fl bBdefhIkPvZ
.Op Fl c Ar start\-directory
.Op Fl e Ar environment
.Op Fl F Ar format
@@ -3490,6 +3533,17 @@ but also sets the
option for this pane to
.Ar message .
.Pp
.Fl B
blocks until
.Ar shell\-command
exits, then returns its exit status.
For example:
.Bd -literal -offset indent
$ tmux new-pane -B 'vi afile'
$ echo $?
0
.Ed
.Pp
.Fl E ,
or an empty
.Ar shell\-command ,