@@ -48,13 +48,42 @@ Window Virtual Desktop or A desktop that stores it own
4848Pane Application Performs operations
4949=================== ====================== ===============================
5050
51- Multiple terminals in one screen
52- --------------------------------
51+ .. aafig ::
52+ :textual:
53+
54+ +----------------------------------------------------------------+
55+ | +--------+--------+ +-----------------+ +-----------------+ |
56+ | | pane | pane | | pane | | pane | |
57+ | | | | | | | | |
58+ | | | | | | | | |
59+ | +--------+--------+ | | +-----------------+ |
60+ | | pane | pane | | | | pane | |
61+ | | | | | | | | |
62+ | | | | | | | | |
63+ | +--------+--------+ +-----------------+ +-----------------+ |
64+ | | window | | window | | window | |
65+ | \- -------+--------/ \- ----------------/ \- ----------------/ |
66+ +----------------------------------------------------------------+
67+ | session |
68+ \----------------------------------------------------------------/
69+
70+ - 1 :term: `Server `.
71+
72+ - has 1 or more :term: `Session `.
73+
74+ - has 1 or more :term: `Window `.
75+
76+ - has 1 or more :term: `Pane `.
77+
78+ .. seealso :: :ref:`glossary` has a dictionary of tmux words.
79+
80+ CLI Power Tool
81+ --------------
82+
5383Multiple applications or terminals to run on the same screen by splitting
5484up 1 terminal into multiple.
5585
56- Being able to run 2 or more terminals on one screen is convenient. This
57- way one screen can be used to edit a file, and another may be used to
86+ One screen can be used to edit a file, and another may be used to
5887``$ tail -F `` a logfile.
5988
6089.. aafig ::
@@ -83,41 +112,22 @@ way one screen can be used to edit a file, and another may be used to
83112
84113tmux supports as manys terminals as you want.
85114
86- It allows multiple layouts to view the apps
87- -------------------------------------------
88-
89- Different applications are viewable better in different layouts.
90-
91- It allows switching between layouts such as...
92-
93- Organize apps based on your needs
94- ---------------------------------
95-
96- You can categorize and keep many terminals / applications separated into
97- multiple windows.
98-
99- In addition to being able to split the terminal into multiple panes, you
100- can create new windows as much as you want.
101115
102116.. aafig ::
103117 :textual:
104118
105119 +---------+---------+
106120 | $ bash | $ bash |
107121 | | |
108- | | |
109- +---------+---------+
110- | $ vim | $ bash |
111- | | |
112- | | |
113- +---------+---------+
114- | '1:sys* 2:vim' |
115- +-------------------+
116- |
117- v
118- /-----------------\
119- | 'switch-window 2'|
120- \-----------------/
122+ | | | /-----------------\
123+ +---------+---------+ --> |'switch-window 2'|
124+ | $ vim | $ bash | \-----------------/
125+ | | | |
126+ | | | |
127+ +---------+---------+ |
128+ | '1:sys* 2:vim' | |
129+ +-------------------+ |
130+ /------------------------/
121131 |
122132 v
123133 +---------+---------+
@@ -204,93 +214,24 @@ Multitasking. Preserving the thinking you have.
204214
205215.. _"train of thought" : http://en.wikipedia.org/wiki/Train_of_thought
206216
207- Core Concepts
208- =============
209-
210- .. seealso :: :ref:`glossary` has a dictionary of tmux words.
217+ First steps with tmux
218+ =====================
211219
212- .. _server :
220+ Start a new session
221+ -------------------
213222
214- Server
215- ------
223+ .. tip :: Common pitfall
216224
217- A server contains :ref: `session `'s.
218-
219- tmux starts the server automatically if it's not running.
220-
221- In advanced cases, multiple can be run by specifying ``[-L socket-name] ``
222- and ``[-S socket-path] ``.
223-
224- .. _client :
225-
226- Client
227- ------
228-
229- Attaches to a tmux :ref: `server `.
230-
231- .. _session :
232-
233- Session
234- -------
235-
236- Inside a tmux :ref: `server `.
225+ Running ``$ tmux list-sessions `` or any other command for listing tmux
226+ entities (such as ``$ tmux list-windows `` or ``$ tmux list-panes ``).
227+ This can generate the error "failed to connect to server".
237228
238- The session has 1 or more :ref: `window `. The bottom bar in tmux show a
239- list of windows. Normally they can be navigated with ``Ctrl-a [0-9] ``,
240- ``Ctrl-a n `` and ``Ctrl-a p ``.
241-
242- Sessions can have a ``session_name ``.
243-
244- Uniquely identified by ``session_id ``.
245-
246- .. aafig ::
247- :textual:
248-
249- +----------------------------------------------------------------+
250- | +--------+--------+ +-----------------+ +-----------------+ |
251- | | pane | pane | | pane | | pane | |
252- | | | | | | | | |
253- | | | | | | | | |
254- | +--------+--------+ | | +-----------------+ |
255- | | pane | pane | | | | pane | |
256- | | | | | | | | |
257- | | | | | | | | |
258- | +--------+--------+ +-----------------+ +-----------------+ |
259- | | window | | window | | window | |
260- | \- -------+--------/ \- ----------------/ \- ----------------/ |
261- +----------------------------------------------------------------+
262- | session |
263- \----------------------------------------------------------------/
264-
265- .. _window :
266-
267- Window
268- ------
269-
270- Entity of a :ref: `session `.
271-
272- Can have 1 or more :ref: `pane `.
273-
274- panes can be organized with a layouts.
275-
276- windows can have names.
277-
278- .. _pane :
279-
280- Pane
281- ----
282-
283- Linked to a :ref: `window `.
284-
285- a pseudoterminal.
286-
287- .. _target :
288-
289- Target
290- ------
229+ This could be because:
291230
292- A target, cited in the manual as ``[-t target] `` can be a session, window
293- or pane.
231+ - tmux server has killed its' last session, killing the server.
232+ - tmux server has encountered a crash. (tmux is highly stable,
233+ this will rarely happen)
234+ - tmux has not be launched yet at all.
294235
295236License
296237-------
0 commit comments