1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Sync OpenBSD patchset 222:

tweak INTRODUCTION; from nicm and myself (jmc)
This commit is contained in:
Tiago Cunha 2009-08-09 16:54:46 +00:00
parent cd5294dfb4
commit 5840c3e13a

56
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.140 2009-08-06 19:25:44 nicm Exp $ .\" $Id: tmux.1,v 1.141 2009-08-09 16:54:46 tcunha Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\" .\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" 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: August 4 2009 $ .Dd $Mdocdate: August 6 2009 $
.Dt TMUX 1 .Dt TMUX 1
.Os .Os
.Sh NAME .Sh NAME
@ -31,8 +31,9 @@
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a terminal multiplexer: it enables a number of terminals to be accessed and is a terminal multiplexer:
controlled from a single terminal. it enables a number of terminals to be created, accessed, and
controlled from a single screen.
.Pp .Pp
The options are as follows: The options are as follows:
.Bl -tag -width "XXXXXXXXXXXX" .Bl -tag -width "XXXXXXXXXXXX"
@ -127,30 +128,41 @@ is the PID of the server or client process.
This specifies one of a set of commands used to control This specifies one of a set of commands used to control
.Nm , .Nm ,
as described in the following sections. as described in the following sections.
If no command and flags are specified, the If no commands are specified, the
.Ic new-session .Ic new-session
command is assumed. command is assumed.
.El .El
.Sh INTRODUCTION .Sh INTRODUCTION
When
.Nm .Nm
runs as a server-client system. is started it creates a new
A server holds a number of .Em session
.Em sessions , with a single
each of which may have a number of .Em window
.Em windows and displays it on screen.
linked to it. A status line at the bottom of the screen
A server is started automatically when the first session is created and exits shows information on the current session
when all the sessions it contains are destroyed. and is used to enter interactive commands.
A window may be split on screen into one or more .Pp
.Em panes , A session is a single collection of
each of which is a separate terminal. .Em pseudo terminals
Any number of under the management of
.Em clients
may connect to a session, or the server
may be controlled by issuing commands with
.Nm . .Nm .
Communication takes place through a socket, by default placed in Each session has one or more
.Pa /tmp . windows linked to it.
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
manual page documents the technical details of pseudo terminals).
Any number of
.Nm
instances may connect to the same session,
and any number of windows may be present in the same session.
Once all sessions are killed,
.Nm
exits.
.Pp .Pp
This is an overview of the sections in this manual page: This is an overview of the sections in this manual page:
.Bl -ohang .Bl -ohang