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