source: general/genutils/screen.xml

trunk
Last change on this file was ab0e364, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Pre-reboot tags

  • Property mode set to 100644
File size: 6.4 KB
Line 
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 "9a9bdc956bd93e4f0cb9e48678889e26">
10 <!ENTITY screen-size "1020 KB">
11 <!ENTITY screen-buildsize "9.5 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 &lfs121_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>sh autogen.sh &amp;&amp;
109./configure --prefix=/usr \
110 --infodir=/usr/share/info \
111 --mandir=/usr/share/man \
112 --with-socket-dir=/run/screen \
113 --with-pty-group=5 \
114 --with-sys-screenrc=/etc/screenrc &amp;&amp;
115
116sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &amp;&amp;
117make</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 &amp;&amp;
128install -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>--with-socket-dir=/run/screen</parameter>: This option
137 places the per-user sockets in a standard location.
138 </para>
139
140 <para>
141 <parameter>--with-sys-screenrc=/etc/screenrc</parameter>: This option
142 places the global screenrc file in <filename
143 class='directory'>/etc</filename>.
144 </para>
145
146 <para>
147 <parameter>--with-pty-group=5</parameter>: This option sets the gid
148 to the value used by LFS.
149 </para>
150
151 <para>
152 <command>sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%"
153 {etc,doc}/*</command>: This command corrects the configuration and
154 documentation files to the location that is used here for the global
155 screenrc file.
156 </para>
157
158 </sect2>
159
160 <sect2 role="configuration">
161 <title>Configuring Screen</title>
162
163 <sect3 id ="screen-config">
164 <title>Config Files</title>
165
166 <para>
167 <filename>/etc/screenrc</filename> and
168 <filename>~/.screenrc</filename>
169 </para>
170
171 <indexterm zone="screen screen-config">
172 <primary sortas="e-AA.screenrc">~/.screenrc</primary>
173 </indexterm>
174
175 <indexterm zone="screen screen-config">
176 <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
177 </indexterm>
178
179 </sect3>
180
181 <sect3>
182 <title>Configuration Information</title>
183
184 <para>
185 You may want to look at the example configuration file that was
186 installed and customize it for your needs.
187 </para>
188
189 </sect3>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Program</segtitle>
198 <segtitle>Installed Libraries</segtitle>
199 <segtitle>Installed Directory</segtitle>
200
201 <seglistitem>
202 <seg>screen (symlink) and screen-&screen-version;</seg>
203 <seg>None</seg>
204 <seg>/usr/share/screen and /run/screen</seg>
205 </seglistitem>
206 </segmentedlist>
207
208 <variablelist>
209 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
210 <?dbfo list-presentation="list"?>
211 <?dbhtml list-presentation="table"?>
212
213 <varlistentry id="screen-prog">
214 <term><command>screen</command></term>
215 <listitem>
216 <para>
217 is a terminal multiplexor with VT100/ANSI terminal emulation
218 </para>
219 <indexterm zone="screen screen-prog">
220 <primary sortas="b-screen">screen</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.