mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-17 02:41:07 +01:00
Merge pull request #139 from teancom/update-man
Update MAN page to properly reference tmate where applicable
This commit is contained in:
commit
72ddb7eb08
45
tmux.1
45
tmux.1
@ -15,13 +15,13 @@
|
|||||||
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: March 25 2013 $
|
.Dd $Mdocdate: March 25 2013 $
|
||||||
.Dt TMUX 1
|
.Dt TMATE 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm tmux
|
.Nm tmate
|
||||||
.Nd terminal multiplexer
|
.Nd terminal multiplexer
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm tmux
|
.Nm tmate
|
||||||
.Bk -words
|
.Bk -words
|
||||||
.Op Fl 2CluvV
|
.Op Fl 2CluvV
|
||||||
.Op Fl c Ar shell-command
|
.Op Fl c Ar shell-command
|
||||||
@ -80,7 +80,7 @@ key strokes).
|
|||||||
.Nm
|
.Nm
|
||||||
may be reattached using:
|
may be reattached using:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl $ tmux attach
|
.Dl $ tmate attach
|
||||||
.Pp
|
.Pp
|
||||||
In
|
In
|
||||||
.Nm ,
|
.Nm ,
|
||||||
@ -126,7 +126,9 @@ By default,
|
|||||||
loads the system configuration file from
|
loads the system configuration file from
|
||||||
.Pa @SYSCONFDIR@/tmux.conf ,
|
.Pa @SYSCONFDIR@/tmux.conf ,
|
||||||
if present, then looks for a user configuration file at
|
if present, then looks for a user configuration file at
|
||||||
.Pa ~/.tmux.conf .
|
.Pa ~/.tmux.conf
|
||||||
|
and
|
||||||
|
.Pa ~/.tmate.conf .
|
||||||
.Pp
|
.Pp
|
||||||
The configuration file is a set of
|
The configuration file is a set of
|
||||||
.Nm
|
.Nm
|
||||||
@ -167,7 +169,9 @@ directories are missing).
|
|||||||
.It Fl l
|
.It Fl l
|
||||||
Behave as a login shell.
|
Behave as a login shell.
|
||||||
This flag currently has no effect and is for compatibility with other shells
|
This flag currently has no effect and is for compatibility with other shells
|
||||||
when using tmux as a login shell.
|
when using
|
||||||
|
.Nm
|
||||||
|
as a login shell.
|
||||||
.It Fl S Ar socket-path
|
.It Fl S Ar socket-path
|
||||||
Specify a full alternative path to the server socket.
|
Specify a full alternative path to the server socket.
|
||||||
If
|
If
|
||||||
@ -597,7 +601,7 @@ to be given as multiple arguments and executed directly (without
|
|||||||
This can avoid issues with shell quoting.
|
This can avoid issues with shell quoting.
|
||||||
For example:
|
For example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux new-window vi /etc/passwd
|
$ tmate new-window vi /etc/passwd
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Will run
|
Will run
|
||||||
@ -616,7 +620,7 @@ bind-key F1 set-window-option force-width 81
|
|||||||
Or if using
|
Or if using
|
||||||
.Xr sh 1 :
|
.Xr sh 1 :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux bind-key F1 set-window-option force-width 81
|
$ tmate bind-key F1 set-window-option force-width 81
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Multiple commands may be specified together as part of a
|
Multiple commands may be specified together as part of a
|
||||||
@ -648,11 +652,11 @@ bind-key R source-file ~/.tmux.conf \e; \e
|
|||||||
Or from
|
Or from
|
||||||
.Xr sh 1 :
|
.Xr sh 1 :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux kill-window -t :1
|
$ tmate kill-window -t :1
|
||||||
|
|
||||||
$ tmux new-window \e; split-window -d
|
$ tmate new-window \e; split-window -d
|
||||||
|
|
||||||
$ tmux new-session -d 'vi /etc/passwd' \e; split-window -d \e; attach
|
$ tmate new-session -d 'vi /etc/passwd' \e; split-window -d \e; attach
|
||||||
.Ed
|
.Ed
|
||||||
.Sh CLIENTS AND SESSIONS
|
.Sh CLIENTS AND SESSIONS
|
||||||
The
|
The
|
||||||
@ -1236,10 +1240,10 @@ command displays the layout of each window in a form suitable for use with
|
|||||||
.Ic select-layout .
|
.Ic select-layout .
|
||||||
For example:
|
For example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux list-windows
|
$ tmate list-windows
|
||||||
0: ksh [159x48]
|
0: ksh [159x48]
|
||||||
layout: bb62,159x48,0,0{79x48,0,0,79x48,80,0}
|
layout: bb62,159x48,0,0{79x48,0,0,79x48,80,0}
|
||||||
$ tmux select-layout bb62,159x48,0,0{79x48,0,0,79x48,80,0}
|
$ tmate select-layout bb62,159x48,0,0{79x48,0,0,79x48,80,0}
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
.Nm
|
.Nm
|
||||||
@ -2307,8 +2311,8 @@ User options may have any name, so long as they are prefixed with
|
|||||||
and be set to any string.
|
and be set to any string.
|
||||||
For example:
|
For example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux setw -q @foo "abc123"
|
$ tmate setw -q @foo "abc123"
|
||||||
$ tmux showw -v @foo
|
$ tmate showw -v @foo
|
||||||
abc123
|
abc123
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@ -2394,7 +2398,8 @@ to work correctly, this
|
|||||||
.Em must
|
.Em must
|
||||||
be set to
|
be set to
|
||||||
.Ql screen ,
|
.Ql screen ,
|
||||||
.Ql tmux
|
.Ql tmux ,
|
||||||
|
.Ql tmate
|
||||||
or a derivative of them.
|
or a derivative of them.
|
||||||
.It Ic escape-time Ar time
|
.It Ic escape-time Ar time
|
||||||
Set the time in milliseconds for which
|
Set the time in milliseconds for which
|
||||||
@ -4172,18 +4177,18 @@ To create a new
|
|||||||
session running
|
session running
|
||||||
.Xr vi 1 :
|
.Xr vi 1 :
|
||||||
.Pp
|
.Pp
|
||||||
.Dl $ tmux new-session vi
|
.Dl $ tmate new-session vi
|
||||||
.Pp
|
.Pp
|
||||||
Most commands have a shorter form, known as an alias.
|
Most commands have a shorter form, known as an alias.
|
||||||
For new-session, this is
|
For new-session, this is
|
||||||
.Ic new :
|
.Ic new :
|
||||||
.Pp
|
.Pp
|
||||||
.Dl $ tmux new vi
|
.Dl $ tmate new vi
|
||||||
.Pp
|
.Pp
|
||||||
Alternatively, the shortest unambiguous form of a command is accepted.
|
Alternatively, the shortest unambiguous form of a command is accepted.
|
||||||
If there are several options, they are listed:
|
If there are several options, they are listed:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux n
|
$ tmate n
|
||||||
ambiguous command: n, could be: new-session, new-window, next-window
|
ambiguous command: n, could be: new-session, new-window, next-window
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@ -4213,7 +4218,7 @@ A session may be detached using
|
|||||||
.Xr ssh 1
|
.Xr ssh 1
|
||||||
disconnection) and reattached with:
|
disconnection) and reattached with:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl $ tmux attach-session
|
.Dl $ tmate attach-session
|
||||||
.Pp
|
.Pp
|
||||||
Typing
|
Typing
|
||||||
.Ql C-b \&?
|
.Ql C-b \&?
|
||||||
|
Loading…
Reference in New Issue
Block a user