version 1.58, 2009/08/04 18:45:57 |
version 1.59, 2009/08/06 21:06:35 |
|
|
.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" |
|
|
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 |