mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Add new-session -X and attach-session -x to send SIGHUP to parent when
detaching (like detach-client -P). From Colin Watson in GitHub issue 1773.
This commit is contained in:
14
tmux.1
14
tmux.1
@ -918,7 +918,7 @@ section.
|
||||
The following commands are available to manage clients and sessions:
|
||||
.Bl -tag -width Ds
|
||||
.It Xo Ic attach-session
|
||||
.Op Fl dEr
|
||||
.Op Fl dErx
|
||||
.Op Fl c Ar working-directory
|
||||
.Op Fl t Ar target-session
|
||||
.Xc
|
||||
@ -931,6 +931,10 @@ If used from inside, switch the current client.
|
||||
If
|
||||
.Fl d
|
||||
is specified, any other clients attached to the session are detached.
|
||||
If
|
||||
.Fl x
|
||||
is given, send SIGHUP to the parent process of the client as well as
|
||||
detaching the client, typically causing it to exit.
|
||||
.Fl r
|
||||
signifies the client is read-only (only keys bound to the
|
||||
.Ic detach-client
|
||||
@ -1048,7 +1052,7 @@ command.
|
||||
Lock all clients attached to
|
||||
.Ar target-session .
|
||||
.It Xo Ic new-session
|
||||
.Op Fl AdDEP
|
||||
.Op Fl AdDEPX
|
||||
.Op Fl c Ar start-directory
|
||||
.Op Fl F Ar format
|
||||
.Op Fl n Ar window-name
|
||||
@ -1105,6 +1109,12 @@ already exists; in this case,
|
||||
behaves like
|
||||
.Fl d
|
||||
to
|
||||
.Ic attach-session ,
|
||||
and
|
||||
.Fl X
|
||||
behaves like
|
||||
.Fl x
|
||||
to
|
||||
.Ic attach-session .
|
||||
.Pp
|
||||
If
|
||||
|
Reference in New Issue
Block a user