[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b0d6e4b] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY screen-download-http "&gnu-http;/screen/screen-&screen-version;.tar.gz">
|
---|
[e1e58be] | 8 | <!ENTITY screen-download-ftp " ">
|
---|
[446d391] | 9 | <!ENTITY screen-md5sum "befc115989242ed4bceeff8d8bfeb4e6">
|
---|
| 10 | <!ENTITY screen-size "876 KB">
|
---|
| 11 | <!ENTITY screen-buildsize "7.7 MB">
|
---|
[8dfc5c3] | 12 | <!ENTITY screen-time "0.1 SBU">
|
---|
[b0d6e4b] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="screen" xreflabel="Screen-&screen-version;">
|
---|
[5b6516d] | 16 | <?dbhtml filename="screen.html"?>
|
---|
[fc7afd0c] | 17 |
|
---|
| 18 |
|
---|
[5b6516d] | 19 | <title>Screen-&screen-version;</title>
|
---|
[fc7afd0c] | 20 |
|
---|
[5b6516d] | 21 | <indexterm zone="screen">
|
---|
| 22 | <primary sortas="a-Screen">Screen</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Screen</title>
|
---|
[fc7afd0c] | 27 |
|
---|
[b7a85cd9] | 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>
|
---|
[fc7afd0c] | 38 |
|
---|
[09ddf35a] | 39 | &lfs122_checked;
|
---|
[a263ccb3] | 40 |
|
---|
[5b6516d] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[b7a85cd9] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&screen-download-http;"/>
|
---|
| 46 | </para>
|
---|
[5b6516d] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[b7a85cd9] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&screen-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[5b6516d] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[b7a85cd9] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &screen-md5sum;
|
---|
| 56 | </para>
|
---|
[5b6516d] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[b7a85cd9] | 59 | <para>
|
---|
| 60 | Download size: &screen-size;
|
---|
| 61 | </para>
|
---|
[5b6516d] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[b7a85cd9] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &screen-buildsize;
|
---|
| 66 | </para>
|
---|
[5b6516d] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[b7a85cd9] | 69 | <para>
|
---|
| 70 | Estimated build time: &screen-time;
|
---|
| 71 | </para>
|
---|
[5b6516d] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[42fc81b] | 74 | <!--
|
---|
[81f86f9e] | 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>
|
---|
[42fc81b] | 84 | -->
|
---|
[5b6516d] | 85 | <bridgehead renderas="sect3">Screen Dependencies</bridgehead>
|
---|
[fc7afd0c] | 86 |
|
---|
[5b6516d] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[47274444] | 88 | <para role="optional">
|
---|
| 89 | <xref linkend="linux-pam"/>
|
---|
| 90 | </para>
|
---|
[fc7afd0c] | 91 |
|
---|
[5b6516d] | 92 | </sect2>
|
---|
[fc7afd0c] | 93 |
|
---|
[5b6516d] | 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Screen</title>
|
---|
[42fc81b] | 96 | <!--
|
---|
[81f86f9e] | 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>
|
---|
[42fc81b] | 102 | -->
|
---|
[b7a85cd9] | 103 | <para>
|
---|
| 104 | Install <application>Screen</application> by running the
|
---|
| 105 | following commands:
|
---|
| 106 | </para>
|
---|
[5b6516d] | 107 |
|
---|
[a0ad432] | 108 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 109 | --infodir=/usr/share/info \
|
---|
| 110 | --mandir=/usr/share/man \
|
---|
[144cfb1] | 111 | --disable-pam \
|
---|
[a0ad432] | 112 | --enable-socket-dir=/run/screen \
|
---|
| 113 | --with-pty-group=5 \
|
---|
| 114 | --with-system_screenrc=/etc/screenrc &&
|
---|
[8f29aa2] | 115 |
|
---|
[b0d6e4b] | 116 | sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &&
|
---|
[5b6516d] | 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
[b7a85cd9] | 119 | <para>
|
---|
| 120 | This package does not come with a test suite.
|
---|
| 121 | </para>
|
---|
[fc7afd0c] | 122 |
|
---|
[b7a85cd9] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[fc7afd0c] | 126 |
|
---|
[5b6516d] | 127 | <screen role="root"><userinput>make install &&
|
---|
| 128 | install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
|
---|
[fc7afd0c] | 129 |
|
---|
[5b6516d] | 130 | </sect2>
|
---|
[fc7afd0c] | 131 |
|
---|
[5ee44e37] | 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[144cfb1] | 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 |
|
---|
[b7a85cd9] | 140 | <para>
|
---|
[a0ad432] | 141 | <parameter>--enable-socket-dir=/run/screen</parameter>: This option
|
---|
[b7a85cd9] | 142 | places the per-user sockets in a standard location.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <para>
|
---|
[a0ad432] | 146 | <parameter>--with-system_screenrc=/etc/screenrc</parameter>: This option
|
---|
| 147 | places the global screenrc file in
|
---|
| 148 | <filename class='directory'>/etc</filename>.
|
---|
[b7a85cd9] | 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>
|
---|
[bccbdaea] | 162 |
|
---|
[5ee44e37] | 163 | </sect2>
|
---|
| 164 |
|
---|
[5b6516d] | 165 | <sect2 role="configuration">
|
---|
| 166 | <title>Configuring Screen</title>
|
---|
| 167 |
|
---|
| 168 | <sect3 id ="screen-config">
|
---|
| 169 | <title>Config Files</title>
|
---|
[fc7afd0c] | 170 |
|
---|
[b7a85cd9] | 171 | <para>
|
---|
| 172 | <filename>/etc/screenrc</filename> and
|
---|
| 173 | <filename>~/.screenrc</filename>
|
---|
| 174 | </para>
|
---|
[fc7afd0c] | 175 |
|
---|
[5b6516d] | 176 | <indexterm zone="screen screen-config">
|
---|
| 177 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
| 178 | </indexterm>
|
---|
[fc7afd0c] | 179 |
|
---|
[5b6516d] | 180 | <indexterm zone="screen screen-config">
|
---|
| 181 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
| 182 | </indexterm>
|
---|
[fc7afd0c] | 183 |
|
---|
[5b6516d] | 184 | </sect3>
|
---|
| 185 |
|
---|
| 186 | <sect3>
|
---|
| 187 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 188 |
|
---|
[b7a85cd9] | 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>
|
---|
[fc7afd0c] | 193 |
|
---|
[5b6516d] | 194 | </sect3>
|
---|
[fc7afd0c] | 195 |
|
---|
[5b6516d] | 196 | </sect2>
|
---|
[fc7afd0c] | 197 |
|
---|
[5b6516d] | 198 | <sect2 role="content">
|
---|
| 199 | <title>Contents</title>
|
---|
| 200 |
|
---|
| 201 | <segmentedlist>
|
---|
[d9962703] | 202 | <segtitle>Installed Program</segtitle>
|
---|
[5b6516d] | 203 | <segtitle>Installed Libraries</segtitle>
|
---|
[d9962703] | 204 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 205 |
|
---|
[5b6516d] | 206 | <seglistitem>
|
---|
[7715803] | 207 | <seg>screen (symlink) and screen-&screen-version;</seg>
|
---|
[5b6516d] | 208 | <seg>None</seg>
|
---|
[7715803] | 209 | <seg>/usr/share/screen and /run/screen</seg>
|
---|
[5b6516d] | 210 | </seglistitem>
|
---|
| 211 | </segmentedlist>
|
---|
[fc7afd0c] | 212 |
|
---|
[5b6516d] | 213 | <variablelist>
|
---|
| 214 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 215 | <?dbfo list-presentation="list"?>
|
---|
| 216 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 217 |
|
---|
[5b6516d] | 218 | <varlistentry id="screen-prog">
|
---|
| 219 | <term><command>screen</command></term>
|
---|
| 220 | <listitem>
|
---|
[b7a85cd9] | 221 | <para>
|
---|
[4c24eb0a] | 222 | is a terminal multiplexor with VT100/ANSI terminal emulation
|
---|
[b7a85cd9] | 223 | </para>
|
---|
[5b6516d] | 224 | <indexterm zone="screen screen-prog">
|
---|
| 225 | <primary sortas="b-screen">screen</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
[fc7afd0c] | 229 |
|
---|
[5b6516d] | 230 | </variablelist>
|
---|
[fc7afd0c] | 231 |
|
---|
[5b6516d] | 232 | </sect2>
|
---|
[b0d6e4b] | 233 |
|
---|
| 234 | </sect1>
|
---|