aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.127
1 files changed, 16 insertions, 11 deletions
diff --git a/tmux.1 b/tmux.1
index 43dce715..43c20103 100644
--- a/tmux.1
+++ b/tmux.1
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate$
+.Dd $Mdocdate: March 25 2013 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 2Cluv
+.Op Fl 2CluvV
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -61,7 +61,7 @@ A window occupies the entire screen
and may be split into rectangular panes,
each of which is a separate pseudo terminal
(the
-.Xr pty 4
+.Xr pty 7
manual page documents the technical details of pseudo terminals).
Any number of
.Nm
@@ -124,7 +124,7 @@ Specify an alternative configuration file.
By default,
.Nm
loads the system configuration file from
-.Pa /etc/tmux.conf ,
+.Pa @SYSCONFDIR@/tmux.conf ,
if present, then looks for a user configuration file at
.Pa ~/.tmux.conf .
.Pp
@@ -208,6 +208,10 @@ and
files in the current directory, where
.Em PID
is the PID of the server or client process.
+.It Fl V
+Report the
+.Nm
+version.
.It Ar command Op Ar flags
This specifies one of a set of commands used to control
.Nm ,
@@ -368,8 +372,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
-.Xr pty 4
+is the name of the
+.Xr pty 7
file to which the client is connected, for example either of
.Pa /dev/ttyp1
or
@@ -820,7 +824,7 @@ and
specify the size of the initial window (80 by 24 if not given).
.Pp
If run from a terminal, any
-.Xr termios 4
+.Xr termios 3
special characters are saved and used for new windows in the new session.
.Pp
The
@@ -1317,7 +1321,7 @@ interactively from a list.
After a client is chosen,
.Ql %%
is replaced by the client
-.Xr pty 4
+.Xr pty 7
path in
.Ar template
and the result executed as a command.
@@ -3385,6 +3389,7 @@ The following variables are available, where appropriate:
.It Li "pane_active" Ta "" Ta "1 if active pane"
.It Li "pane_bottom" Ta "" Ta "Bottom of pane"
.It Li "pane_current_command" Ta "" Ta "Current command if available"
+.It Li "pane_current_path" Ta "" Ta "Current path if available"
.It Li "pane_dead" Ta "" Ta "1 if pane is dead"
.It Li "pane_dead_status" Ta "" Ta "Exit status of process in dead pane"
.It Li "pane_height" Ta "" Ta "Height of pane"
@@ -4066,12 +4071,12 @@ was renamed to
.Ar name .
.El
.Sh FILES
-.Bl -tag -width "/etc/tmux.confXXX" -compact
+.Bl -tag -width "@SYSCONFDIR@/tmux.confXXX" -compact
.It Pa ~/.tmux.conf
Default
.Nm
configuration file.
-.It Pa /etc/tmux.conf
+.It Pa @SYSCONFDIR@/tmux.conf
System-wide configuration file.
.El
.Sh EXAMPLES
@@ -4164,6 +4169,6 @@ bind-key / command-prompt "split-window 'exec man %%'"
bind-key S command-prompt "new-window -n %1 'ssh %1'"
.Ed
.Sh SEE ALSO
-.Xr pty 4
+.Xr pty 7
.Sh AUTHORS
.An Nicholas Marriott Aq Mt nicm@users.sourceforge.net