[b0d6e4b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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">
|
---|
| 8 | <!ENTITY screen-download-ftp "&gnu-ftp;/screen/screen-&screen-version;.tar.gz">
|
---|
[42fc81b] | 9 | <!ENTITY screen-md5sum "b1ef8ed89134d335e614016634982b6d">
|
---|
| 10 | <!ENTITY screen-size "780 KB">
|
---|
| 11 | <!ENTITY screen-buildsize "7.8 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 |
|
---|
[5b6516d] | 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
[fc7afd0c] | 21 |
|
---|
[5b6516d] | 22 | <title>Screen-&screen-version;</title>
|
---|
[fc7afd0c] | 23 |
|
---|
[5b6516d] | 24 | <indexterm zone="screen">
|
---|
| 25 | <primary sortas="a-Screen">Screen</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Screen</title>
|
---|
[fc7afd0c] | 30 |
|
---|
[b7a85cd9] | 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>
|
---|
[fc7afd0c] | 41 |
|
---|
[cdf6da3] | 42 | &lfs110a_checked;
|
---|
[a263ccb3] | 43 |
|
---|
[5b6516d] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[b7a85cd9] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&screen-download-http;"/>
|
---|
| 49 | </para>
|
---|
[5b6516d] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[b7a85cd9] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&screen-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[5b6516d] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[b7a85cd9] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &screen-md5sum;
|
---|
| 59 | </para>
|
---|
[5b6516d] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[b7a85cd9] | 62 | <para>
|
---|
| 63 | Download size: &screen-size;
|
---|
| 64 | </para>
|
---|
[5b6516d] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[b7a85cd9] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &screen-buildsize;
|
---|
| 69 | </para>
|
---|
[5b6516d] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[b7a85cd9] | 72 | <para>
|
---|
| 73 | Estimated build time: &screen-time;
|
---|
| 74 | </para>
|
---|
[5b6516d] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
[42fc81b] | 77 | <!--
|
---|
[81f86f9e] | 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>
|
---|
[42fc81b] | 87 | -->
|
---|
[5b6516d] | 88 | <bridgehead renderas="sect3">Screen Dependencies</bridgehead>
|
---|
[fc7afd0c] | 89 |
|
---|
[5b6516d] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[47274444] | 91 | <para role="optional">
|
---|
| 92 | <xref linkend="linux-pam"/>
|
---|
| 93 | </para>
|
---|
[fc7afd0c] | 94 |
|
---|
[1039de3] | 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/screen"/></para>
|
---|
| 97 |
|
---|
[5b6516d] | 98 | </sect2>
|
---|
[fc7afd0c] | 99 |
|
---|
[5b6516d] | 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Screen</title>
|
---|
[42fc81b] | 102 | <!--
|
---|
[81f86f9e] | 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>
|
---|
[42fc81b] | 108 | -->
|
---|
[b7a85cd9] | 109 | <para>
|
---|
| 110 | Install <application>Screen</application> by running the
|
---|
| 111 | following commands:
|
---|
| 112 | </para>
|
---|
[5b6516d] | 113 |
|
---|
[42fc81b] | 114 | <screen><userinput>sh autogen.sh &&
|
---|
| 115 | ./configure --prefix=/usr \
|
---|
[066dad5a] | 116 | --infodir=/usr/share/info \
|
---|
| 117 | --mandir=/usr/share/man \
|
---|
[7715803] | 118 | --with-socket-dir=/run/screen \
|
---|
[9506e84] | 119 | --with-pty-group=5 \
|
---|
[8f29aa2] | 120 | --with-sys-screenrc=/etc/screenrc &&
|
---|
| 121 |
|
---|
[b0d6e4b] | 122 | sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &&
|
---|
[5b6516d] | 123 | make</userinput></screen>
|
---|
| 124 |
|
---|
[b7a85cd9] | 125 | <para>
|
---|
| 126 | This package does not come with a test suite.
|
---|
| 127 | </para>
|
---|
[fc7afd0c] | 128 |
|
---|
[b7a85cd9] | 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
[fc7afd0c] | 132 |
|
---|
[5b6516d] | 133 | <screen role="root"><userinput>make install &&
|
---|
| 134 | install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
|
---|
[fc7afd0c] | 135 |
|
---|
[5b6516d] | 136 | </sect2>
|
---|
[fc7afd0c] | 137 |
|
---|
[5ee44e37] | 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[b7a85cd9] | 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>
|
---|
[bccbdaea] | 163 |
|
---|
[5ee44e37] | 164 | </sect2>
|
---|
| 165 |
|
---|
[5b6516d] | 166 | <sect2 role="configuration">
|
---|
| 167 | <title>Configuring Screen</title>
|
---|
| 168 |
|
---|
| 169 | <sect3 id ="screen-config">
|
---|
| 170 | <title>Config Files</title>
|
---|
[fc7afd0c] | 171 |
|
---|
[b7a85cd9] | 172 | <para>
|
---|
| 173 | <filename>/etc/screenrc</filename> and
|
---|
| 174 | <filename>~/.screenrc</filename>
|
---|
| 175 | </para>
|
---|
[fc7afd0c] | 176 |
|
---|
[5b6516d] | 177 | <indexterm zone="screen screen-config">
|
---|
| 178 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
| 179 | </indexterm>
|
---|
[fc7afd0c] | 180 |
|
---|
[5b6516d] | 181 | <indexterm zone="screen screen-config">
|
---|
| 182 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
| 183 | </indexterm>
|
---|
[fc7afd0c] | 184 |
|
---|
[5b6516d] | 185 | </sect3>
|
---|
| 186 |
|
---|
| 187 | <sect3>
|
---|
| 188 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 189 |
|
---|
[b7a85cd9] | 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>
|
---|
[fc7afd0c] | 194 |
|
---|
[5b6516d] | 195 | </sect3>
|
---|
[fc7afd0c] | 196 |
|
---|
[5b6516d] | 197 | </sect2>
|
---|
[fc7afd0c] | 198 |
|
---|
[5b6516d] | 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
[d9962703] | 203 | <segtitle>Installed Program</segtitle>
|
---|
[5b6516d] | 204 | <segtitle>Installed Libraries</segtitle>
|
---|
[d9962703] | 205 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 206 |
|
---|
[5b6516d] | 207 | <seglistitem>
|
---|
[7715803] | 208 | <seg>screen (symlink) and screen-&screen-version;</seg>
|
---|
[5b6516d] | 209 | <seg>None</seg>
|
---|
[7715803] | 210 | <seg>/usr/share/screen and /run/screen</seg>
|
---|
[5b6516d] | 211 | </seglistitem>
|
---|
| 212 | </segmentedlist>
|
---|
[fc7afd0c] | 213 |
|
---|
[5b6516d] | 214 | <variablelist>
|
---|
| 215 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 216 | <?dbfo list-presentation="list"?>
|
---|
| 217 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 218 |
|
---|
[5b6516d] | 219 | <varlistentry id="screen-prog">
|
---|
| 220 | <term><command>screen</command></term>
|
---|
| 221 | <listitem>
|
---|
[b7a85cd9] | 222 | <para>
|
---|
[4c24eb0a] | 223 | is a terminal multiplexor with VT100/ANSI terminal emulation
|
---|
[b7a85cd9] | 224 | </para>
|
---|
[5b6516d] | 225 | <indexterm zone="screen screen-prog">
|
---|
| 226 | <primary sortas="b-screen">screen</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
[fc7afd0c] | 230 |
|
---|
[5b6516d] | 231 | </variablelist>
|
---|
[fc7afd0c] | 232 |
|
---|
[5b6516d] | 233 | </sect2>
|
---|
[b0d6e4b] | 234 |
|
---|
| 235 | </sect1>
|
---|