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