[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 |
|
---|
[e573e9e] | 7 | <!ENTITY screen-download-http "http://ftp.gnu.org/gnu/screen/screen-&screen-version;.tar.gz">
|
---|
| 8 | <!ENTITY screen-download-ftp "ftp://ftp.gnu.org/gnu/screen/screen-&screen-version;.tar.gz">
|
---|
[7715803] | 9 | <!ENTITY screen-md5sum "419a0594e2b25039239af8b90eda7d92">
|
---|
| 10 | <!ENTITY screen-size "1.1 MB">
|
---|
| 11 | <!ENTITY screen-buildsize "8.2 MB">
|
---|
[5ee44e37] | 12 | <!ENTITY screen-time "0.2 SBU">
|
---|
[b0d6e4b] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="screen" xreflabel="Screen-&screen-version;">
|
---|
[5b6516d] | 16 | <?dbhtml filename="screen.html"?>
|
---|
[fc7afd0c] | 17 |
|
---|
[5b6516d] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[fc7afd0c] | 22 |
|
---|
[5b6516d] | 23 | <title>Screen-&screen-version;</title>
|
---|
[fc7afd0c] | 24 |
|
---|
[5b6516d] | 25 | <indexterm zone="screen">
|
---|
| 26 | <primary sortas="a-Screen">Screen</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Screen</title>
|
---|
[fc7afd0c] | 31 |
|
---|
[5b6516d] | 32 | <para><application>Screen</application> is a terminal multiplexor that
|
---|
[8d77de6] | 33 | runs several separate processes, typically interactive shells, on a single
|
---|
| 34 | physical character-based terminal. Each virtual terminal emulates a DEC
|
---|
[f15cc86] | 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
|
---|
[5b6516d] | 39 | later on a different terminal.</para>
|
---|
[fc7afd0c] | 40 |
|
---|
[da3947ef] | 41 | &lfs77_checked; &gcc5_checked;
|
---|
[a263ccb3] | 42 |
|
---|
[5b6516d] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&screen-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&screen-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &screen-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &screen-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &screen-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &screen-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
[fc7afd0c] | 64 |
|
---|
[5b6516d] | 65 | <bridgehead renderas="sect3">Screen Dependencies</bridgehead>
|
---|
[fc7afd0c] | 66 |
|
---|
[5b6516d] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52d50d5] | 68 | <para role="optional"><xref linkend="linux-pam"/></para>
|
---|
[fc7afd0c] | 69 |
|
---|
[1039de3] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/screen"/></para>
|
---|
| 72 |
|
---|
[5b6516d] | 73 | </sect2>
|
---|
[fc7afd0c] | 74 |
|
---|
[5b6516d] | 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of Screen</title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>Screen</application> by running the
|
---|
| 79 | following commands:</para>
|
---|
| 80 |
|
---|
[f0af58fb] | 81 | <screen><userinput>./configure --prefix=/usr \
|
---|
[066dad5a] | 82 | --infodir=/usr/share/info \
|
---|
| 83 | --mandir=/usr/share/man \
|
---|
[7715803] | 84 | --with-socket-dir=/run/screen \
|
---|
[9506e84] | 85 | --with-pty-group=5 \
|
---|
[8f29aa2] | 86 | --with-sys-screenrc=/etc/screenrc &&
|
---|
| 87 |
|
---|
[b0d6e4b] | 88 | sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &&
|
---|
[5b6516d] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This package does not come with a test suite.</para>
|
---|
[fc7afd0c] | 92 |
|
---|
[5b6516d] | 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 94 |
|
---|
[5b6516d] | 95 | <screen role="root"><userinput>make install &&
|
---|
| 96 | install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
|
---|
[fc7afd0c] | 97 |
|
---|
[5b6516d] | 98 | </sect2>
|
---|
[fc7afd0c] | 99 |
|
---|
[5ee44e37] | 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
| 102 |
|
---|
[7715803] | 103 | <para><parameter>--with-socket-dir=/run/screen</parameter>: This option
|
---|
[5ee44e37] | 104 | places the per-user sockets in a standard location.</para>
|
---|
| 105 |
|
---|
| 106 | <para><parameter>--with-sys-screenrc=/etc/screenrc</parameter>: This option
|
---|
| 107 | places the global screenrc file in <filename
|
---|
[2cc10fd8] | 108 | class='directory'>/etc</filename>. </para>
|
---|
[5ee44e37] | 109 |
|
---|
[9506e84] | 110 | <para><parameter>--with-pty-group=5</parameter>: This option sets the gid
|
---|
[f0af58fb] | 111 | to the value used by LFS.</para>
|
---|
| 112 |
|
---|
[9506e84] | 113 | <note><para>Older versions of LFS use the value 4 for the tty group. If
|
---|
| 114 | you are using LFS version 7.1 or older, change the pty-group option
|
---|
| 115 | to 4.</para></note>
|
---|
[f36bebcd] | 116 |
|
---|
[5ee44e37] | 117 | <para><command>sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%"
|
---|
| 118 | {etc,doc}/*</command>: This command corrects the configuration and
|
---|
[45de7f7] | 119 | documentation files to the location that is used here for the global
|
---|
[5ee44e37] | 120 | screenrc file.</para>
|
---|
[bccbdaea] | 121 |
|
---|
[5ee44e37] | 122 | </sect2>
|
---|
| 123 |
|
---|
[5b6516d] | 124 | <sect2 role="configuration">
|
---|
| 125 | <title>Configuring Screen</title>
|
---|
| 126 |
|
---|
| 127 | <sect3 id ="screen-config">
|
---|
| 128 | <title>Config Files</title>
|
---|
[fc7afd0c] | 129 |
|
---|
[8d77de6] | 130 | <para><filename>/etc/screenrc</filename> and
|
---|
[5b6516d] | 131 | <filename>~/.screenrc</filename></para>
|
---|
[fc7afd0c] | 132 |
|
---|
[5b6516d] | 133 | <indexterm zone="screen screen-config">
|
---|
| 134 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
| 135 | </indexterm>
|
---|
[fc7afd0c] | 136 |
|
---|
[5b6516d] | 137 | <indexterm zone="screen screen-config">
|
---|
| 138 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
| 139 | </indexterm>
|
---|
[fc7afd0c] | 140 |
|
---|
[5b6516d] | 141 | </sect3>
|
---|
| 142 |
|
---|
| 143 | <sect3>
|
---|
| 144 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 145 |
|
---|
[8d77de6] | 146 | <para>You may want to look at the example configuration file that was
|
---|
[5b6516d] | 147 | installed and customize it for your needs.</para>
|
---|
[fc7afd0c] | 148 |
|
---|
[5b6516d] | 149 | </sect3>
|
---|
[fc7afd0c] | 150 |
|
---|
[5b6516d] | 151 | </sect2>
|
---|
[fc7afd0c] | 152 |
|
---|
[5b6516d] | 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
[d9962703] | 157 | <segtitle>Installed Program</segtitle>
|
---|
[5b6516d] | 158 | <segtitle>Installed Libraries</segtitle>
|
---|
[d9962703] | 159 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 160 |
|
---|
[5b6516d] | 161 | <seglistitem>
|
---|
[7715803] | 162 | <seg>screen (symlink) and screen-&screen-version;</seg>
|
---|
[5b6516d] | 163 | <seg>None</seg>
|
---|
[7715803] | 164 | <seg>/usr/share/screen and /run/screen</seg>
|
---|
[5b6516d] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
[fc7afd0c] | 167 |
|
---|
[5b6516d] | 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 172 |
|
---|
[5b6516d] | 173 | <varlistentry id="screen-prog">
|
---|
| 174 | <term><command>screen</command></term>
|
---|
| 175 | <listitem>
|
---|
[8d77de6] | 176 | <para>is a terminal multiplexor with VT100/ANSI
|
---|
[5b6516d] | 177 | terminal emulation.</para>
|
---|
| 178 | <indexterm zone="screen screen-prog">
|
---|
| 179 | <primary sortas="b-screen">screen</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
[fc7afd0c] | 183 |
|
---|
[5b6516d] | 184 | </variablelist>
|
---|
[fc7afd0c] | 185 |
|
---|
[5b6516d] | 186 | </sect2>
|
---|
[b0d6e4b] | 187 |
|
---|
| 188 | </sect1>
|
---|