source: general/genutils/screen.xml@ dd58e7d4

trunk
Last change on this file since dd58e7d4 was a0ad432, checked in by Douglas R. Reno <renodr@…>, 2 weeks ago

Screen: change some of the configure switches to use their new names

  • 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 "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 --enable-socket-dir=/run/screen \
112 --with-pty-group=5 \
113 --with-system_screenrc=/etc/screenrc &amp;&amp;
114
115sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 This package does not come with a test suite.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install &amp;&amp;
127install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
128
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <para>
135 <parameter>--enable-socket-dir=/run/screen</parameter>: This option
136 places the per-user sockets in a standard location.
137 </para>
138
139 <para>
140 <parameter>--with-system_screenrc=/etc/screenrc</parameter>: This option
141 places the global screenrc file in
142 <filename class='directory'>/etc</filename>.
143 </para>
144
145 <para>
146 <parameter>--with-pty-group=5</parameter>: This option sets the gid
147 to the value used by LFS.
148 </para>
149
150 <para>
151 <command>sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%"
152 {etc,doc}/*</command>: This command corrects the configuration and
153 documentation files to the location that is used here for the global
154 screenrc file.
155 </para>
156
157 </sect2>
158
159 <sect2 role="configuration">
160 <title>Configuring Screen</title>
161
162 <sect3 id ="screen-config">
163 <title>Config Files</title>
164
165 <para>
166 <filename>/etc/screenrc</filename> and
167 <filename>~/.screenrc</filename>
168 </para>
169
170 <indexterm zone="screen screen-config">
171 <primary sortas="e-AA.screenrc">~/.screenrc</primary>
172 </indexterm>
173
174 <indexterm zone="screen screen-config">
175 <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
176 </indexterm>
177
178 </sect3>
179
180 <sect3>
181 <title>Configuration Information</title>
182
183 <para>
184 You may want to look at the example configuration file that was
185 installed and customize it for your needs.
186 </para>
187
188 </sect3>
189
190 </sect2>
191
192 <sect2 role="content">
193 <title>Contents</title>
194
195 <segmentedlist>
196 <segtitle>Installed Program</segtitle>
197 <segtitle>Installed Libraries</segtitle>
198 <segtitle>Installed Directory</segtitle>
199
200 <seglistitem>
201 <seg>screen (symlink) and screen-&screen-version;</seg>
202 <seg>None</seg>
203 <seg>/usr/share/screen and /run/screen</seg>
204 </seglistitem>
205 </segmentedlist>
206
207 <variablelist>
208 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
209 <?dbfo list-presentation="list"?>
210 <?dbhtml list-presentation="table"?>
211
212 <varlistentry id="screen-prog">
213 <term><command>screen</command></term>
214 <listitem>
215 <para>
216 is a terminal multiplexor with VT100/ANSI terminal emulation
217 </para>
218 <indexterm zone="screen screen-prog">
219 <primary sortas="b-screen">screen</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.