[773c358] | 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" [
|
---|
[773c358] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a45ebfa4] | 7 | <!-- <!ENTITY lynx-download-http "http://lynx.isc.org/lynx&lynx-version;/lynx&lynx-version;.tar.bz2">
|
---|
| 8 | <!ENTITY lynx-download-ftp " ">-->
|
---|
[783108e] | 9 | <!ENTITY lynx-download-http "http://invisible-mirror.net/archives/lynx/tarballs/lynx&lynx-version;.tar.bz2">
|
---|
| 10 | <!ENTITY lynx-download-ftp " ">
|
---|
[a45ebfa4] | 11 | <!ENTITY lynx-md5sum "b231c2aa34dfe7ca25681ef4e55ee7e8">
|
---|
[087af8c0] | 12 | <!ENTITY lynx-size "2.5 MB">
|
---|
| 13 | <!ENTITY lynx-buildsize "31 MB">
|
---|
| 14 | <!ENTITY lynx-time "0.3 SBU">
|
---|
[773c358] | 15 | ]>
|
---|
| 16 |
|
---|
[377584f] | 17 | <sect1 id="lynx" xreflabel="Lynx-&lynx-version;">
|
---|
[f9a9bb3e] | 18 | <?dbhtml filename="lynx.html"?>
|
---|
[50b8d8b] | 19 |
|
---|
[f9a9bb3e] | 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
[50b8d8b] | 24 |
|
---|
[f9a9bb3e] | 25 | <title>Lynx-&lynx-version;</title>
|
---|
[50b8d8b] | 26 |
|
---|
[f9a9bb3e] | 27 | <indexterm zone="lynx">
|
---|
| 28 | <primary sortas="a-Lynx">Lynx</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Lynx</title>
|
---|
[50b8d8b] | 33 |
|
---|
[f9a9bb3e] | 34 | <para><application>Lynx</application> is a text based web browser.</para>
|
---|
[50b8d8b] | 35 |
|
---|
[44a4e0a] | 36 | &lfs80_checked;
|
---|
[bc40324] | 37 |
|
---|
[f9a9bb3e] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
[740ef14] | 40 | <listitem>
|
---|
[f9a9bb3e] | 41 | <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
|
---|
[740ef14] | 42 | </listitem>
|
---|
[f9a9bb3e] | 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&lynx-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &lynx-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &lynx-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &lynx-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &lynx-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[50b8d8b] | 59 |
|
---|
[a96719e] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
[f22fa770] | 64 | Patch to build with openssl-1.1:
|
---|
[a96719e] | 65 | <ulink url="&patch-root;/lynx-&lynx-version;-openssl_1.1.0-1.patch"/>
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[f9a9bb3e] | 70 | <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
|
---|
[50b8d8b] | 71 |
|
---|
[f22fa770] | 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 73 | <para role="recommended">
|
---|
| 74 | <xref linkend="openssl"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
[f9a9bb3e] | 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f42801c] | 78 | <para role="optional">
|
---|
[f22fa770] | 79 | <xref linkend="gnutls"/> (experimental, to replace openssl),
|
---|
[f42801c] | 80 | <xref linkend="zip"/>,
|
---|
| 81 | <xref linkend="unzip"/>,
|
---|
| 82 | an <xref linkend="server-mail"/> (that provides a <command>sendmail</command> command), and
|
---|
| 83 | <xref linkend='sharutils'/> (for a <command>uudecode</command> program)
|
---|
| 84 | </para>
|
---|
[50b8d8b] | 85 |
|
---|
[c22b9f4] | 86 | <!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure -->
|
---|
| 87 |
|
---|
[061ec9d] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 89 | <ulink url="&blfs-wiki;/Lynx"/></para>
|
---|
[061ec9d] | 90 |
|
---|
[f9a9bb3e] | 91 | </sect2>
|
---|
[50b8d8b] | 92 |
|
---|
[f9a9bb3e] | 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Lynx</title>
|
---|
[a96719e] | 95 | <para>
|
---|
[f22fa770] | 96 | Apply a patch to build <application>Lynx</application> with openssl-1.1:
|
---|
[a96719e] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput>patch -p1 -i lynx-&lynx-version;-openssl_1.1.0-1.patch</userinput></screen>
|
---|
[f9a9bb3e] | 100 |
|
---|
[1065a91] | 101 | <para>Install <application>Lynx</application> by running the following
|
---|
[f9a9bb3e] | 102 | commands:</para>
|
---|
| 103 |
|
---|
[ab2d4d1e] | 104 | <screen><userinput>./configure --prefix=/usr \
|
---|
[597caf43] | 105 | --sysconfdir=/etc/lynx \
|
---|
| 106 | --datadir=/usr/share/doc/lynx-&lynx-version; \
|
---|
[f42801c] | 107 | --with-zlib \
|
---|
| 108 | --with-bzlib \
|
---|
[f22fa770] | 109 | --with-ssl \
|
---|
[c22b9f4] | 110 | --with-screen=ncursesw \
|
---|
| 111 | --enable-locale-charset &&
|
---|
[f9a9bb3e] | 112 | make</userinput></screen>
|
---|
[50b8d8b] | 113 |
|
---|
[d6f100c] | 114 | <para>This package does not come with a test suite.</para>
|
---|
| 115 |
|
---|
[f9a9bb3e] | 116 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[520d0fe] | 117 |
|
---|
[597caf43] | 118 | <screen role='root'><userinput>make install-full &&
|
---|
| 119 | chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
|
---|
[50b8d8b] | 120 |
|
---|
[f9a9bb3e] | 121 | </sect2>
|
---|
[50b8d8b] | 122 |
|
---|
[f9a9bb3e] | 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 125 |
|
---|
[597caf43] | 126 | <para><parameter>--sysconfdir=/etc/lynx</parameter>: This parameter is
|
---|
| 127 | used so that the configuration files are located in
|
---|
| 128 | <filename class="directory">/etc/lynx</filename> instead of
|
---|
| 129 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 130 |
|
---|
| 131 | <para><parameter>--datadir=/usr/share/doc/lynx-&lynx-version;</parameter>:
|
---|
| 132 | This parameter is used so that the documentation files are installed into
|
---|
| 133 | <filename class="directory">/usr/share/doc/lynx-&lynx-version;</filename>
|
---|
| 134 | instead of
|
---|
| 135 | <filename class="directory">/usr/share/lynx_{doc,help}</filename>.</para>
|
---|
[50b8d8b] | 136 |
|
---|
[f9a9bb3e] | 137 | <para><parameter>--with-zlib</parameter>: This enables support for
|
---|
[1065a91] | 138 | linking <filename class="libraryfile">libz</filename> into
|
---|
[f9a9bb3e] | 139 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 140 |
|
---|
[f9a9bb3e] | 141 | <para><parameter>--with-bzlib</parameter>: This enables support for
|
---|
[1065a91] | 142 | linking <filename class="libraryfile">libbz2</filename> into
|
---|
[f9a9bb3e] | 143 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 144 |
|
---|
[f22fa770] | 145 | <para><parameter>--with-ssl</parameter>: This enables support for
|
---|
| 146 | linking SSL into <application>Lynx</application>.</para>
|
---|
| 147 |
|
---|
[c22b9f4] | 148 | <para><parameter>--with-screen=ncursesw</parameter>: This switch enables
|
---|
| 149 | the use of advanced wide-character support present in the system
|
---|
| 150 | <application>NCurses</application> library. This is needed for
|
---|
| 151 | proper display of characters and line wrapping in multibyte locales.</para>
|
---|
[29f80ebc] | 152 |
|
---|
[c22b9f4] | 153 | <para><parameter>--enable-locale-charset</parameter>: This switch allows
|
---|
| 154 | <application>Lynx</application> to deduce the proper character encoding
|
---|
| 155 | for terminal output from the current locale.
|
---|
[32d0e29] | 156 | A configuration step is still needed (see below), but
|
---|
[c22b9f4] | 157 | unlike the situation without this switch, the configuration step becomes
|
---|
[32d0e29] | 158 | the same for all users (without the switch one must specify the
|
---|
| 159 | display character set explicitly). This is important for environments such
|
---|
[c22b9f4] | 160 | as a LiveCD, where the amount of system-specific configuration steps has
|
---|
| 161 | to be reduced to the minimum.</para>
|
---|
| 162 |
|
---|
[6e2e278d] | 163 | <para><option>--enable-nls</option>: This switch allows
|
---|
[c22b9f4] | 164 | <application>Lynx</application> to print translated messages (such as
|
---|
| 165 | questions about cookies and SSL certificates).</para>
|
---|
| 166 |
|
---|
[597caf43] | 167 | <para><option>--with-gnutls</option>: This enables experimental support
|
---|
| 168 | for linking <application>GnuTLS</application> into
|
---|
[f22fa770] | 169 | <application>Lynx</application>. Remove the
|
---|
| 170 | <parameter>--with-ssl</parameter> switch if you want to use gnutls.</para>
|
---|
[50b8d8b] | 171 |
|
---|
[597caf43] | 172 | <para><command>make install-full</command>: In addition to the standard
|
---|
| 173 | installation, this target installs the documentation and help files.</para>
|
---|
| 174 |
|
---|
[823b1a3] | 175 | <para><command>chgrp -v -R root
|
---|
[597caf43] | 176 | /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
|
---|
[67ca8f6] | 177 | This command corrects the improper group ownership of installed
|
---|
[32d0e29] | 178 | documentation files.</para>
|
---|
[67ca8f6] | 179 |
|
---|
[597caf43] | 180 | <!-- This was fixed in the 2.8.6 release, though it still could
|
---|
| 181 | be considered an issue by some
|
---|
[67ca8f6] | 182 | <note>
|
---|
| 183 | <para>There has been a security vulnerability identified if you enable
|
---|
[597caf43] | 184 | support for CGI links by passing the <option>-enable-cgi-links</option>
|
---|
[67ca8f6] | 185 | parameter to <command>configure</command>. See <ulink
|
---|
| 186 | url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
|
---|
| 187 | details.</para>
|
---|
| 188 | </note>
|
---|
[597caf43] | 189 | -->
|
---|
[bccbdaea] | 190 |
|
---|
[f9a9bb3e] | 191 | </sect2>
|
---|
[50b8d8b] | 192 |
|
---|
[f9a9bb3e] | 193 | <sect2 role="configuration">
|
---|
| 194 | <title>Configuring Lynx</title>
|
---|
| 195 |
|
---|
| 196 | <sect3 id="lynx-config">
|
---|
| 197 | <title>Config Files</title>
|
---|
[50b8d8b] | 198 |
|
---|
[597caf43] | 199 | <para><filename>/etc/lynx/lynx.cfg</filename></para>
|
---|
[50b8d8b] | 200 |
|
---|
[f9a9bb3e] | 201 | <indexterm zone="lynx lynx-config">
|
---|
[597caf43] | 202 | <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
|
---|
[f9a9bb3e] | 203 | </indexterm>
|
---|
[50b8d8b] | 204 |
|
---|
[f9a9bb3e] | 205 | </sect3>
|
---|
[50b8d8b] | 206 |
|
---|
[f9a9bb3e] | 207 | <sect3>
|
---|
| 208 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 209 |
|
---|
[c22b9f4] | 210 | <para>The proper way to get the display character set is to examine the
|
---|
| 211 | current locale. However, <application>Lynx</application> does not do
|
---|
[ddc9b83] | 212 | this by default. As the <systemitem class="username">root</systemitem>
|
---|
| 213 | user, change this setting:</para>
|
---|
[c22b9f4] | 214 |
|
---|
[0fe2f5b] | 215 | <screen role="root"><userinput>sed -e '/#LOCALE/ a LOCALE_CHARSET:TRUE' \
|
---|
| 216 | -i /etc/lynx/lynx.cfg</userinput></screen>
|
---|
[c22b9f4] | 217 |
|
---|
[d37f788] | 218 | <para>The built-in editor in <application>Lynx</application>
|
---|
| 219 | <xref linkend="locale-wrong-multibyte-characters"/>. This issue manifests
|
---|
| 220 | itself in multibyte locales, e.g., as the Backspace key not erasing
|
---|
| 221 | non-ASCII characters properly, and as incorrect data being sent to the
|
---|
| 222 | network when one edits the contents of text areas. The only solution
|
---|
| 223 | to this problem is to configure <application>Lynx</application> to
|
---|
| 224 | use an external editor (bound to the <quote>Ctrl+X e</quote> key
|
---|
[ddc9b83] | 225 | combination by default). Still as the
|
---|
| 226 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[0fe2f5b] | 227 | <screen role="root"><userinput>sed -e '/#DEFAULT_ED/ a DEFAULT_EDITOR:vi' \
|
---|
| 228 | -i /etc/lynx/lynx.cfg</userinput></screen>
|
---|
[d37f788] | 229 |
|
---|
| 230 | <para><application>Lynx</application> handles the following values of
|
---|
| 231 | the DEFAULT_EDITOR option specially by adding cursor-positioning
|
---|
| 232 | arguments: <quote>emacs</quote>, <quote>jed</quote>,
|
---|
| 233 | <quote>jmacs</quote>, <quote>joe</quote>, <quote>jove</quote>,
|
---|
[bc40324] | 234 | <quote>jpico</quote>, <quote>jstar</quote>, <quote>nano</quote>,
|
---|
| 235 | <quote>pico</quote>, <quote>rjoe</quote>, <quote>vi</quote> (but not
|
---|
[a41f643] | 236 | <quote>vim</quote>: in order to position the cursor in
|
---|
[bc40324] | 237 | <xref linkend="vim"/>, set this option to <quote>vi</quote>).</para>
|
---|
[d37f788] | 238 |
|
---|
| 239 | <para>By default, <application>Lynx</application> doesn't save cookies
|
---|
[ddc9b83] | 240 | between sessions. Again as the
|
---|
| 241 | <systemitem class="username">root</systemitem> user, change this
|
---|
| 242 | setting:</para>
|
---|
[0fe2f5b] | 243 | <screen role="root"><userinput>sed -e '/#PERSIST/ a PERSISTENT_COOKIES:TRUE' \
|
---|
| 244 | -i /etc/lynx/lynx.cfg</userinput></screen>
|
---|
[d37f788] | 245 |
|
---|
[c22b9f4] | 246 | <para>Many other system-wide settings such as proxies can also be set
|
---|
| 247 | in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>
|
---|
[50b8d8b] | 248 |
|
---|
[f9a9bb3e] | 249 | </sect3>
|
---|
[50b8d8b] | 250 |
|
---|
[f9a9bb3e] | 251 | </sect2>
|
---|
[50b8d8b] | 252 |
|
---|
[f9a9bb3e] | 253 | <sect2 role="content">
|
---|
| 254 | <title>Contents</title>
|
---|
| 255 |
|
---|
| 256 | <segmentedlist>
|
---|
| 257 | <segtitle>Installed Program</segtitle>
|
---|
| 258 | <segtitle>Installed Libraries</segtitle>
|
---|
[597caf43] | 259 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 260 |
|
---|
[f9a9bb3e] | 261 | <seglistitem>
|
---|
| 262 | <seg>lynx</seg>
|
---|
| 263 | <seg>None</seg>
|
---|
[597caf43] | 264 | <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
|
---|
[f9a9bb3e] | 265 | </seglistitem>
|
---|
| 266 | </segmentedlist>
|
---|
[50b8d8b] | 267 |
|
---|
[f9a9bb3e] | 268 | <variablelist>
|
---|
| 269 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 270 | <?dbfo list-presentation="list"?>
|
---|
| 271 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 272 |
|
---|
[f9a9bb3e] | 273 | <varlistentry id="lynx-prog">
|
---|
| 274 | <term><command>lynx</command></term>
|
---|
| 275 | <listitem>
|
---|
[1065a91] | 276 | <para>is a general purpose, text-based, distributed information
|
---|
[f9a9bb3e] | 277 | browser for the World Wide Web.</para>
|
---|
| 278 | <indexterm zone="lynx lynx-prog">
|
---|
| 279 | <primary sortas="b-lynx">lynx</primary>
|
---|
| 280 | </indexterm>
|
---|
| 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
[50b8d8b] | 283 |
|
---|
[f9a9bb3e] | 284 | </variablelist>
|
---|
| 285 |
|
---|
| 286 | </sect2>
|
---|
[f45b1953] | 287 |
|
---|
| 288 | </sect1>
|
---|