1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY screen-download-http "&gnu-http;/screen/screen-&screen-version;.tar.gz">
|
---|
8 | <!ENTITY screen-download-ftp " ">
|
---|
9 | <!ENTITY screen-md5sum "befc115989242ed4bceeff8d8bfeb4e6">
|
---|
10 | <!ENTITY screen-size "876 KB">
|
---|
11 | <!ENTITY screen-buildsize "7.7 MB">
|
---|
12 | <!ENTITY screen-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="screen" xreflabel="Screen-&screen-version;">
|
---|
16 | <?dbhtml filename="screen.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Screen-&screen-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="screen">
|
---|
22 | <primary sortas="a-Screen">Screen</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Screen</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>Screen</application> is a terminal multiplexor that runs
|
---|
30 | several separate processes, typically interactive shells, on a single
|
---|
31 | physical character-based terminal. Each virtual terminal emulates a DEC
|
---|
32 | VT100 plus several ANSI X3.64 and ISO 2022 functions and also provides
|
---|
33 | configurable input and output translation, serial port support,
|
---|
34 | configurable logging, multi-user support, and many character encodings,
|
---|
35 | including UTF-8. Screen sessions can be detached and resumed
|
---|
36 | later on a different terminal.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs122_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&screen-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&screen-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &screen-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &screen-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &screen-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &screen-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 | <!--
|
---|
75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Required patch:
|
---|
80 | <ulink url="&patch-root;/screen-&screen-version;-upstream_fixes-1.patch"/>
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 | -->
|
---|
85 | <bridgehead renderas="sect3">Screen Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="linux-pam"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of Screen</title>
|
---|
96 | <!--
|
---|
97 | <para>
|
---|
98 | First, apply a patch from upstream that fixes a security vulnerability:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput remap="pre">patch -Np1 -i ../screen-&screen-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
102 | -->
|
---|
103 | <para>
|
---|
104 | Install <application>Screen</application> by running the
|
---|
105 | following commands:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen><userinput>./configure --prefix=/usr \
|
---|
109 | --infodir=/usr/share/info \
|
---|
110 | --mandir=/usr/share/man \
|
---|
111 | --disable-pam \
|
---|
112 | --enable-socket-dir=/run/screen \
|
---|
113 | --with-pty-group=5 \
|
---|
114 | --with-system_screenrc=/etc/screenrc &&
|
---|
115 |
|
---|
116 | sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &&
|
---|
117 | make</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | This package does not come with a test suite.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make install &&
|
---|
128 | install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="commands">
|
---|
133 | <title>Command Explanations</title>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <parameter>--disable-pam</parameter>: This option removes a build
|
---|
137 | dependency on Linux-PAM. Remove this option if you want PAM support.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | <parameter>--enable-socket-dir=/run/screen</parameter>: This option
|
---|
142 | places the per-user sockets in a standard location.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | <parameter>--with-system_screenrc=/etc/screenrc</parameter>: This option
|
---|
147 | places the global screenrc file in
|
---|
148 | <filename class='directory'>/etc</filename>.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <parameter>--with-pty-group=5</parameter>: This option sets the gid
|
---|
153 | to the value used by LFS.
|
---|
154 | </para>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | <command>sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%"
|
---|
158 | {etc,doc}/*</command>: This command corrects the configuration and
|
---|
159 | documentation files to the location that is used here for the global
|
---|
160 | screenrc file.
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="configuration">
|
---|
166 | <title>Configuring Screen</title>
|
---|
167 |
|
---|
168 | <sect3 id ="screen-config">
|
---|
169 | <title>Config Files</title>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | <filename>/etc/screenrc</filename> and
|
---|
173 | <filename>~/.screenrc</filename>
|
---|
174 | </para>
|
---|
175 |
|
---|
176 | <indexterm zone="screen screen-config">
|
---|
177 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
178 | </indexterm>
|
---|
179 |
|
---|
180 | <indexterm zone="screen screen-config">
|
---|
181 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
182 | </indexterm>
|
---|
183 |
|
---|
184 | </sect3>
|
---|
185 |
|
---|
186 | <sect3>
|
---|
187 | <title>Configuration Information</title>
|
---|
188 |
|
---|
189 | <para>
|
---|
190 | You may want to look at the example configuration file that was
|
---|
191 | installed and customize it for your needs.
|
---|
192 | </para>
|
---|
193 |
|
---|
194 | </sect3>
|
---|
195 |
|
---|
196 | </sect2>
|
---|
197 |
|
---|
198 | <sect2 role="content">
|
---|
199 | <title>Contents</title>
|
---|
200 |
|
---|
201 | <segmentedlist>
|
---|
202 | <segtitle>Installed Program</segtitle>
|
---|
203 | <segtitle>Installed Libraries</segtitle>
|
---|
204 | <segtitle>Installed Directory</segtitle>
|
---|
205 |
|
---|
206 | <seglistitem>
|
---|
207 | <seg>screen (symlink) and screen-&screen-version;</seg>
|
---|
208 | <seg>None</seg>
|
---|
209 | <seg>/usr/share/screen and /run/screen</seg>
|
---|
210 | </seglistitem>
|
---|
211 | </segmentedlist>
|
---|
212 |
|
---|
213 | <variablelist>
|
---|
214 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
215 | <?dbfo list-presentation="list"?>
|
---|
216 | <?dbhtml list-presentation="table"?>
|
---|
217 |
|
---|
218 | <varlistentry id="screen-prog">
|
---|
219 | <term><command>screen</command></term>
|
---|
220 | <listitem>
|
---|
221 | <para>
|
---|
222 | is a terminal multiplexor with VT100/ANSI terminal emulation
|
---|
223 | </para>
|
---|
224 | <indexterm zone="screen screen-prog">
|
---|
225 | <primary sortas="b-screen">screen</primary>
|
---|
226 | </indexterm>
|
---|
227 | </listitem>
|
---|
228 | </varlistentry>
|
---|
229 |
|
---|
230 | </variablelist>
|
---|
231 |
|
---|
232 | </sect2>
|
---|
233 |
|
---|
234 | </sect1>
|
---|