[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 " ">
|
---|
[6e8884c] | 9 | <!ENTITY screen-md5sum "9a9bdc956bd93e4f0cb9e48678889e26">
|
---|
| 10 | <!ENTITY screen-size "1020 KB">
|
---|
| 11 | <!ENTITY screen-buildsize "9.5 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 |
|
---|
[42fc81b] | 108 | <screen><userinput>sh autogen.sh &&
|
---|
| 109 | ./configure --prefix=/usr \
|
---|
[066dad5a] | 110 | --infodir=/usr/share/info \
|
---|
| 111 | --mandir=/usr/share/man \
|
---|
[7715803] | 112 | --with-socket-dir=/run/screen \
|
---|
[9506e84] | 113 | --with-pty-group=5 \
|
---|
[8f29aa2] | 114 | --with-sys-screenrc=/etc/screenrc &&
|
---|
| 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 |
|
---|
[b7a85cd9] | 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>
|
---|
[bccbdaea] | 157 |
|
---|
[5ee44e37] | 158 | </sect2>
|
---|
| 159 |
|
---|
[5b6516d] | 160 | <sect2 role="configuration">
|
---|
| 161 | <title>Configuring Screen</title>
|
---|
| 162 |
|
---|
| 163 | <sect3 id ="screen-config">
|
---|
| 164 | <title>Config Files</title>
|
---|
[fc7afd0c] | 165 |
|
---|
[b7a85cd9] | 166 | <para>
|
---|
| 167 | <filename>/etc/screenrc</filename> and
|
---|
| 168 | <filename>~/.screenrc</filename>
|
---|
| 169 | </para>
|
---|
[fc7afd0c] | 170 |
|
---|
[5b6516d] | 171 | <indexterm zone="screen screen-config">
|
---|
| 172 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
| 173 | </indexterm>
|
---|
[fc7afd0c] | 174 |
|
---|
[5b6516d] | 175 | <indexterm zone="screen screen-config">
|
---|
| 176 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
| 177 | </indexterm>
|
---|
[fc7afd0c] | 178 |
|
---|
[5b6516d] | 179 | </sect3>
|
---|
| 180 |
|
---|
| 181 | <sect3>
|
---|
| 182 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 183 |
|
---|
[b7a85cd9] | 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>
|
---|
[fc7afd0c] | 188 |
|
---|
[5b6516d] | 189 | </sect3>
|
---|
[fc7afd0c] | 190 |
|
---|
[5b6516d] | 191 | </sect2>
|
---|
[fc7afd0c] | 192 |
|
---|
[5b6516d] | 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
[d9962703] | 197 | <segtitle>Installed Program</segtitle>
|
---|
[5b6516d] | 198 | <segtitle>Installed Libraries</segtitle>
|
---|
[d9962703] | 199 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 200 |
|
---|
[5b6516d] | 201 | <seglistitem>
|
---|
[7715803] | 202 | <seg>screen (symlink) and screen-&screen-version;</seg>
|
---|
[5b6516d] | 203 | <seg>None</seg>
|
---|
[7715803] | 204 | <seg>/usr/share/screen and /run/screen</seg>
|
---|
[5b6516d] | 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
[fc7afd0c] | 207 |
|
---|
[5b6516d] | 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 212 |
|
---|
[5b6516d] | 213 | <varlistentry id="screen-prog">
|
---|
| 214 | <term><command>screen</command></term>
|
---|
| 215 | <listitem>
|
---|
[b7a85cd9] | 216 | <para>
|
---|
[4c24eb0a] | 217 | is a terminal multiplexor with VT100/ANSI terminal emulation
|
---|
[b7a85cd9] | 218 | </para>
|
---|
[5b6516d] | 219 | <indexterm zone="screen screen-prog">
|
---|
| 220 | <primary sortas="b-screen">screen</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
[fc7afd0c] | 224 |
|
---|
[5b6516d] | 225 | </variablelist>
|
---|
[fc7afd0c] | 226 |
|
---|
[5b6516d] | 227 | </sect2>
|
---|
[b0d6e4b] | 228 |
|
---|
| 229 | </sect1>
|
---|