version 1.435, 2015/06/05 08:14:16 |
version 1.436, 2015/06/07 21:39:39 |
|
|
The following commands are available to manage clients and sessions: |
The following commands are available to manage clients and sessions: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Xo Ic attach-session |
.It Xo Ic attach-session |
.Op Fl dr |
.Op Fl dEr |
.Op Fl c Ar working-directory |
.Op Fl c Ar working-directory |
.Op Fl t Ar target-session |
.Op Fl t Ar target-session |
.Xc |
.Xc |
|
|
.Fl c |
.Fl c |
will set the session working directory (used for new windows) to |
will set the session working directory (used for new windows) to |
.Ar working-directory . |
.Ar working-directory . |
|
.Pp |
|
If |
|
.Fl E |
|
is used, |
|
.Ic update-environment |
|
option will not be applied. |
.It Xo Ic detach-client |
.It Xo Ic detach-client |
.Op Fl P |
.Op Fl P |
.Op Fl a |
.Op Fl a |
|
|
Lock all clients attached to |
Lock all clients attached to |
.Ar target-session . |
.Ar target-session . |
.It Xo Ic new-session |
.It Xo Ic new-session |
.Op Fl AdDP |
.Op Fl AdDEP |
.Op Fl c Ar start-directory |
.Op Fl c Ar start-directory |
.Op Fl F Ar format |
.Op Fl F Ar format |
.Op Fl n Ar window-name |
.Op Fl n Ar window-name |
|
|
.Ql #{session_name}: |
.Ql #{session_name}: |
but a different format may be specified with |
but a different format may be specified with |
.Fl F . |
.Fl F . |
|
.Pp |
|
If |
|
.Fl E |
|
is used, |
|
.Ic update-environment |
|
option will not be applied. |
|
.Ic update-environment . |
.It Xo Ic refresh-client |
.It Xo Ic refresh-client |
.Op Fl S |
.Op Fl S |
.Op Fl t Ar target-client |
.Op Fl t Ar target-client |
|
|
.Dv SIGTSTP |
.Dv SIGTSTP |
(tty stop). |
(tty stop). |
.It Xo Ic switch-client |
.It Xo Ic switch-client |
.Op Fl lnpr |
.Op Fl Elnpr |
.Op Fl c Ar target-client |
.Op Fl c Ar target-client |
.Op Fl t Ar target-session |
.Op Fl t Ar target-session |
.Op Fl T Ar key-table |
.Op Fl T Ar key-table |
|
|
toggles whether a client is read-only (see the |
toggles whether a client is read-only (see the |
.Ic attach-session |
.Ic attach-session |
command). |
command). |
|
.Pp |
|
If |
|
.Fl E |
|
is used, |
|
.Ic update-environment |
|
option will not be applied. |
.Pp |
.Pp |
.Fl T |
.Fl T |
sets the client's key table; the next key from the client will be interpreted from |
sets the client's key table; the next key from the client will be interpreted from |