-
Notifications
You must be signed in to change notification settings - Fork 2
/
tmux-screen.html
172 lines (104 loc) · 4.45 KB
/
tmux-screen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tmux + Screen — slides</title>
<link rel="stylesheet" href="static/basic.css" type="text/css" />
<link rel="stylesheet" href="static/styles.css" type="text/css" />
<link rel="stylesheet" href="static/single.css" type="text/css" />
<link rel="stylesheet" href="static/custom.css" type="text/css" />
<link rel="stylesheet" href="static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2015.07.01',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="static/jquery.js"></script>
<script type="text/javascript" src="static/underscore.js"></script>
<script type="text/javascript" src="static/doctools.js"></script>
<script type="text/javascript" src="static/common.js"></script>
<script type="text/javascript" src="static/slides.js"></script>
<script type="text/javascript" src="static/sync.js"></script>
<script type="text/javascript" src="static/controller.js"></script>
<script type="text/javascript" src="static/init.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="top" title="slides" href="index.html" />
<link rel="next" title="From the Ground Up:" href="web-intro.html" />
<link rel="prev" title="Intoduction to the Standard Model" href="standard-model.html" />
</head>
<body>
<section
id="slide_container"
class='slides layout-regular'>
<article class="slide level-1" id="tmux-screen">
<h1>Tmux + Screen</h1>
<p>Multiplexing and You</p>
</article>
<article class="slide level-2" id="first-history">
<h2>First, History</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="images/televideo_terminal.jpg"><img alt="images/televideo_terminal.jpg" src="images/televideo_terminal.jpg" style="width: 400px;" /></a>
</div>
</article>
<article class="slide level-2" id="the-problems">
<h2>The Problems</h2>
<ul class="simple">
<li>Limited to one window (multiple connections for multiple windows)</li>
<li>Foreground processes stop when ssh connection terminates</li>
<li>Only one machine can "partake" in a session</li>
</ul>
</article>
<article class="slide level-2" id="the-solution">
<h2>The Solution</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="images/multiplex.jpg"><img alt="images/multiplex.jpg" src="images/multiplex.jpg" style="width: 400px;" /></a>
</div>
</article>
<article class="slide level-2" id="tmux-and-screen">
<h2>Tmux and Screen</h2>
<ul class="simple">
<li>Both are widely used, well documented, and actively maintained</li>
<li>Both allow you to open multiple "windows" in a single ssh session, and multiple tiled "panes" within those windows</li>
<li>Both allow you to detach and reattach sessions</li>
<li>Both allow more than one user to connect to a particular session at a time</li>
<li>Both are generally not installed by default but available in most distribution repositories</li>
</ul>
</article>
<article class="slide level-2" id="screen">
<h2>Screen</h2>
<p>Keeping it simple since 1987.</p>
<ul class="simple">
<li>Logging output if screen is detached</li>
<li>Can't split windows into panes vertically</li>
<li>Can't maintain screen split through detach</li>
<li>Better line wrapping</li>
<li>Can connect to serial devices</li>
</ul>
</article>
<article class="slide level-2" id="tmux">
<h2>Tmux</h2>
<p>The Shiny New.</p>
<ul class="simple">
<li>Better tiling + window management</li>
<li>Unicode support</li>
<li>Easy status bar configuration</li>
<li>Scriptable with <code class="code docutils literal"><span class="pre">tmux</span> <span class="pre">command</span> <span class="pre">[args]</span></code></li>
<li>Pre-installed on BSD distros</li>
</ul>
</article>
<article class="slide level-2" id="demo-time">
<h2>Demo Time!</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="images/demo-day.gif"><img alt="images/demo-day.gif" src="images/demo-day.gif" style="width: 800px;" /></a>
</div>
</article>
</section>
<section id="slide_notes">
</section>
</body>
</html>