version 1.89, 2009/09/22 12:38:10 |
version 1.90, 2009/09/23 06:18:48 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm tmux |
.Nm tmux |
.Bk -words |
.Bk -words |
.Op Fl 28dlqUuv |
.Op Fl 28dlquv |
.Op Fl f Ar file |
.Op Fl f Ar file |
.Op Fl L Ar socket-name |
.Op Fl L Ar socket-name |
.Op Fl S Ar socket-path |
.Op Fl S Ar socket-path |
|
|
is specified, the default socket directory is not used and any |
is specified, the default socket directory is not used and any |
.Fl L |
.Fl L |
flag is ignored. |
flag is ignored. |
.It Fl U |
|
Unlock the server. |
|
.It Fl u |
.It Fl u |
.Nm |
.Nm |
attempts to guess if the terminal is likely to support UTF-8 by checking the |
attempts to guess if the terminal is likely to support UTF-8 by checking the |
|
|
set-window-option -t:0 monitor-activity on |
set-window-option -t:0 monitor-activity on |
|
|
new-window ; split-window -d |
new-window ; split-window -d |
|
|
bind-key D detach-client \e\; lock-server |
|
.Ed |
.Ed |
.Sh CLIENTS AND SESSIONS |
.Sh CLIENTS AND SESSIONS |
The following commands are available: |
The following commands are available: |
|
|
This setting applies only to new windows - existing window histories are not |
This setting applies only to new windows - existing window histories are not |
resized and retain the limit at the point they were created. |
resized and retain the limit at the point they were created. |
.It Ic lock-after-time Ar number |
.It Ic lock-after-time Ar number |
Lock the server after |
Lock the server (like the |
|
.Ic lock-server |
|
command) after |
.Ar number |
.Ar number |
seconds of inactivity. |
seconds of inactivity. |
The default is off (set to 0). |
The default is off (set to 0). |
This has no effect as a session option; it must be set as a global option using |
This has no effect as a session option; it must be set as a global option using |
.Fl g . |
.Fl g . |
When passwords are entered incorrectly, |
.It Ic lock-command Ar command |
.Nm |
Command to run when locking each client. |
follows the behaviour of |
The default is to run |
.Xr login 1 |
.Xr lock 1 |
and ignores further password attempts for an increasing timeout. |
with |
|
.Fl np . |
.It Ic message-attr Ar attributes |
.It Ic message-attr Ar attributes |
Set status line message attributes, where |
Set status line message attributes, where |
.Ar attributes |
.Ar attributes |
|
|
returns success. |
returns success. |
.It Ic lock-server |
.It Ic lock-server |
.D1 (alias: Ic lock ) |
.D1 (alias: Ic lock ) |
Lock the server until a password is entered. |
Lock each client individually by running the command specified by the |
|
.Ic lock-command |
|
option. |
.It Ic run-shell Ar command |
.It Ic run-shell Ar command |
.D1 (alias: Ic run ) |
.D1 (alias: Ic run ) |
Execute |
Execute |
|
|
.It Ic server-info |
.It Ic server-info |
.D1 (alias: Ic info ) |
.D1 (alias: Ic info ) |
Show server information and terminal details. |
Show server information and terminal details. |
.It Xo Ic set-password |
|
.Op Fl c |
|
.Ar password |
|
.Xc |
|
.D1 (alias: Ic pass ) |
|
Set the server password. |
|
If the |
|
.Fl c |
|
option is given, a pre-encrypted password may be specified. |
|
By default, the password is blank, thus any entered password will be accepted |
|
when unlocking the server (see the |
|
.Ic lock-server |
|
command). |
|
To prevent variable expansion when an encrypted password is read from a |
|
configuration file, enclose it in single quotes ('). |
|
.El |
.El |
.Sh FILES |
.Sh FILES |
.Bl -tag -width "/etc/tmux.confXXX" -compact |
.Bl -tag -width "/etc/tmux.confXXX" -compact |