[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 |
|
---|
[87448d4] | 7 | <!ENTITY screen-download-http "http://ftp.uni-erlangen.de/pub/utilities/screen/screen-&screen-version;.tar.gz">
|
---|
| 8 | <!ENTITY screen-download-ftp "ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-&screen-version;.tar.gz">
|
---|
| 9 | <!ENTITY screen-md5sum "8506fd205028a96c741e4037de6e3c42">
|
---|
| 10 | <!ENTITY screen-size "821 KB">
|
---|
[5b6516d] | 11 | <!ENTITY screen-buildsize "5.8 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 |
|
---|
[f0af58fb] | 41 | &lfs71_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 \
|
---|
| 82 | --with-socket-dir=/var/run/screen \
|
---|
| 83 | --with-pty-group=4 \
|
---|
| 84 | --with-sys-screenrc=/etc/screenrc &&
|
---|
[b0d6e4b] | 85 | sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &&
|
---|
[5b6516d] | 86 | make</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | <para>This package does not come with a test suite.</para>
|
---|
[fc7afd0c] | 89 |
|
---|
[5b6516d] | 90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 91 |
|
---|
[5b6516d] | 92 | <screen role="root"><userinput>make install &&
|
---|
| 93 | install -m 644 etc/etcscreenrc /etc/screenrc</userinput></screen>
|
---|
[fc7afd0c] | 94 |
|
---|
[5b6516d] | 95 | </sect2>
|
---|
[fc7afd0c] | 96 |
|
---|
[5ee44e37] | 97 | <sect2 role="commands">
|
---|
| 98 | <title>Command Explanations</title>
|
---|
| 99 |
|
---|
| 100 | <para><parameter>--with-socket-dir=/var/run/screen</parameter>: This option
|
---|
| 101 | places the per-user sockets in a standard location.</para>
|
---|
| 102 |
|
---|
| 103 | <para><parameter>--with-sys-screenrc=/etc/screenrc</parameter>: This option
|
---|
| 104 | places the global screenrc file in <filename
|
---|
[2cc10fd8] | 105 | class='directory'>/etc</filename>. </para>
|
---|
[5ee44e37] | 106 |
|
---|
[f0af58fb] | 107 | <para><parameter>--with-pty-group=4 </parameter>: This option sets the gid
|
---|
| 108 | to the value used by LFS.</para>
|
---|
| 109 |
|
---|
[f36bebcd] | 110 | <note><para>Newer versions of LFS use the value 5 for the tty group. If
|
---|
| 111 | you are using the development version of LFS, change the pty-group option
|
---|
| 112 | to 5.</para></note>
|
---|
| 113 |
|
---|
[5ee44e37] | 114 | <para><command>sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%"
|
---|
| 115 | {etc,doc}/*</command>: This command corrects the configuration and
|
---|
[45de7f7] | 116 | documentation files to the location that is used here for the global
|
---|
[5ee44e37] | 117 | screenrc file.</para>
|
---|
[bccbdaea] | 118 |
|
---|
[5ee44e37] | 119 | </sect2>
|
---|
| 120 |
|
---|
[5b6516d] | 121 | <sect2 role="configuration">
|
---|
| 122 | <title>Configuring Screen</title>
|
---|
| 123 |
|
---|
| 124 | <sect3 id ="screen-config">
|
---|
| 125 | <title>Config Files</title>
|
---|
[fc7afd0c] | 126 |
|
---|
[8d77de6] | 127 | <para><filename>/etc/screenrc</filename> and
|
---|
[5b6516d] | 128 | <filename>~/.screenrc</filename></para>
|
---|
[fc7afd0c] | 129 |
|
---|
[5b6516d] | 130 | <indexterm zone="screen screen-config">
|
---|
| 131 | <primary sortas="e-AA.screenrc">~/.screenrc</primary>
|
---|
| 132 | </indexterm>
|
---|
[fc7afd0c] | 133 |
|
---|
[5b6516d] | 134 | <indexterm zone="screen screen-config">
|
---|
| 135 | <primary sortas="e-etc-screenrc">/etc/screenrc</primary>
|
---|
| 136 | </indexterm>
|
---|
[fc7afd0c] | 137 |
|
---|
[5b6516d] | 138 | </sect3>
|
---|
| 139 |
|
---|
| 140 | <sect3>
|
---|
| 141 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 142 |
|
---|
[8d77de6] | 143 | <para>You may want to look at the example configuration file that was
|
---|
[5b6516d] | 144 | installed and customize it for your needs.</para>
|
---|
[fc7afd0c] | 145 |
|
---|
[5b6516d] | 146 | </sect3>
|
---|
[fc7afd0c] | 147 |
|
---|
[5b6516d] | 148 | </sect2>
|
---|
[fc7afd0c] | 149 |
|
---|
[5b6516d] | 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
[d9962703] | 154 | <segtitle>Installed Program</segtitle>
|
---|
[5b6516d] | 155 | <segtitle>Installed Libraries</segtitle>
|
---|
[d9962703] | 156 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 157 |
|
---|
[5b6516d] | 158 | <seglistitem>
|
---|
| 159 | <seg>screen</seg>
|
---|
| 160 | <seg>None</seg>
|
---|
| 161 | <seg>/var/run/screen</seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
[fc7afd0c] | 164 |
|
---|
[5b6516d] | 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 169 |
|
---|
[5b6516d] | 170 | <varlistentry id="screen-prog">
|
---|
| 171 | <term><command>screen</command></term>
|
---|
| 172 | <listitem>
|
---|
[8d77de6] | 173 | <para>is a terminal multiplexor with VT100/ANSI
|
---|
[5b6516d] | 174 | terminal emulation.</para>
|
---|
| 175 | <indexterm zone="screen screen-prog">
|
---|
| 176 | <primary sortas="b-screen">screen</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
[fc7afd0c] | 180 |
|
---|
[5b6516d] | 181 | </variablelist>
|
---|
[fc7afd0c] | 182 |
|
---|
[5b6516d] | 183 | </sect2>
|
---|
[b0d6e4b] | 184 |
|
---|
| 185 | </sect1>
|
---|