[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 |
|
---|
[e6c872e] | 7 | <!ENTITY lynx-download-http "http://lynx.isc.org/current/lynx&lynx-version;.tar.bz2">
|
---|
| 8 | <!ENTITY lynx-download-ftp "ftp://lynx.isc.org/current/lynx&lynx-version;.tar.bz2">
|
---|
[6257285c] | 9 | <!ENTITY lynx-md5sum "cb936aef812e4e463ab86cbbe14d4db9">
|
---|
[bc40324] | 10 | <!ENTITY lynx-size "2.3 MB">
|
---|
| 11 | <!ENTITY lynx-buildsize "24 MB">
|
---|
[d6f100c] | 12 | <!ENTITY lynx-time "0.5 SBU">
|
---|
[773c358] | 13 | ]>
|
---|
| 14 |
|
---|
[377584f] | 15 | <sect1 id="lynx" xreflabel="Lynx-&lynx-version;">
|
---|
[f9a9bb3e] | 16 | <?dbhtml filename="lynx.html"?>
|
---|
[50b8d8b] | 17 |
|
---|
[f9a9bb3e] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[50b8d8b] | 22 |
|
---|
[f9a9bb3e] | 23 | <title>Lynx-&lynx-version;</title>
|
---|
[50b8d8b] | 24 |
|
---|
[f9a9bb3e] | 25 | <indexterm zone="lynx">
|
---|
| 26 | <primary sortas="a-Lynx">Lynx</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Lynx</title>
|
---|
[50b8d8b] | 31 |
|
---|
[f9a9bb3e] | 32 | <para><application>Lynx</application> is a text based web browser.</para>
|
---|
[50b8d8b] | 33 |
|
---|
[bc40324] | 34 | &lfs65_checked;
|
---|
| 35 |
|
---|
[f9a9bb3e] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&lynx-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &lynx-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &lynx-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &lynx-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &lynx-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[50b8d8b] | 57 |
|
---|
[f9a9bb3e] | 58 | <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
|
---|
[50b8d8b] | 59 |
|
---|
[f9a9bb3e] | 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d5404360] | 61 | <para role="optional"><xref linkend="openssl"/> or
|
---|
| 62 | <xref linkend="gnutls"/> (experimental),
|
---|
[597caf43] | 63 | <xref linkend="zip"/>,
|
---|
| 64 | <xref linkend="unzip"/>,
|
---|
[8250d8e] | 65 | an <xref linkend="server-mail"/> (that provides a <command>sendmail</command> command), and
|
---|
[67ca8f6] | 66 | <!-- <ulink
|
---|
[f9a9bb3e] | 67 | url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
|
---|
[67ca8f6] | 68 | ncompress</ulink> and -->
|
---|
[d8069d7] | 69 | <xref linkend='sharutils'/>
|
---|
[597caf43] | 70 | (for a <command>uudecode</command> program)</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 |
|
---|
[597caf43] | 85 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 86 | --sysconfdir=/etc/lynx \
|
---|
| 87 | --datadir=/usr/share/doc/lynx-&lynx-version; \
|
---|
| 88 | --with-zlib \
|
---|
[c22b9f4] | 89 | --with-bzlib \
|
---|
| 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 |
|
---|
| 140 | <para><parameter>--enable-nls</parameter>: This switch allows
|
---|
| 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>
|
---|
[50b8d8b] | 146 |
|
---|
[597caf43] | 147 | <para><option>--with-gnutls</option>: This enables experimental support
|
---|
| 148 | for linking <application>GnuTLS</application> into
|
---|
[f9a9bb3e] | 149 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 150 |
|
---|
[597caf43] | 151 | <para><command>make install-full</command>: In addition to the standard
|
---|
| 152 | installation, this target installs the documentation and help files.</para>
|
---|
| 153 |
|
---|
[823b1a3] | 154 | <para><command>chgrp -v -R root
|
---|
[597caf43] | 155 | /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
|
---|
[67ca8f6] | 156 | This command corrects the improper group ownership of installed
|
---|
[32d0e29] | 157 | documentation files.</para>
|
---|
[67ca8f6] | 158 |
|
---|
[597caf43] | 159 | <!-- This was fixed in the 2.8.6 release, though it still could
|
---|
| 160 | be considered an issue by some
|
---|
[67ca8f6] | 161 | <note>
|
---|
| 162 | <para>There has been a security vulnerability identified if you enable
|
---|
[597caf43] | 163 | support for CGI links by passing the <option>-enable-cgi-links</option>
|
---|
[67ca8f6] | 164 | parameter to <command>configure</command>. See <ulink
|
---|
| 165 | url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
|
---|
| 166 | details.</para>
|
---|
| 167 | </note>
|
---|
[597caf43] | 168 | -->
|
---|
[bccbdaea] | 169 |
|
---|
[f9a9bb3e] | 170 | </sect2>
|
---|
[50b8d8b] | 171 |
|
---|
[f9a9bb3e] | 172 | <sect2 role="configuration">
|
---|
| 173 | <title>Configuring Lynx</title>
|
---|
| 174 |
|
---|
| 175 | <sect3 id="lynx-config">
|
---|
| 176 | <title>Config Files</title>
|
---|
[50b8d8b] | 177 |
|
---|
[597caf43] | 178 | <para><filename>/etc/lynx/lynx.cfg</filename></para>
|
---|
[50b8d8b] | 179 |
|
---|
[f9a9bb3e] | 180 | <indexterm zone="lynx lynx-config">
|
---|
[597caf43] | 181 | <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
|
---|
[f9a9bb3e] | 182 | </indexterm>
|
---|
[50b8d8b] | 183 |
|
---|
[f9a9bb3e] | 184 | </sect3>
|
---|
[50b8d8b] | 185 |
|
---|
[f9a9bb3e] | 186 | <sect3>
|
---|
| 187 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 188 |
|
---|
[c22b9f4] | 189 | <para>The proper way to get the display character set is to examine the
|
---|
| 190 | current locale. However, <application>Lynx</application> does not do
|
---|
| 191 | this by default. Change this setting:</para>
|
---|
| 192 |
|
---|
| 193 | <screen><userinput>sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
|
---|
| 194 |
|
---|
[d37f788] | 195 | <para>The built-in editor in <application>Lynx</application>
|
---|
| 196 | <xref linkend="locale-wrong-multibyte-characters"/>. This issue manifests
|
---|
| 197 | itself in multibyte locales, e.g., as the Backspace key not erasing
|
---|
| 198 | non-ASCII characters properly, and as incorrect data being sent to the
|
---|
| 199 | network when one edits the contents of text areas. The only solution
|
---|
| 200 | to this problem is to configure <application>Lynx</application> to
|
---|
| 201 | use an external editor (bound to the <quote>Ctrl+X e</quote> key
|
---|
| 202 | combination by default):</para>
|
---|
| 203 | <screen><userinput>sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' /etc/lynx/lynx.cfg</userinput></screen>
|
---|
| 204 |
|
---|
| 205 | <para><application>Lynx</application> handles the following values of
|
---|
| 206 | the DEFAULT_EDITOR option specially by adding cursor-positioning
|
---|
| 207 | arguments: <quote>emacs</quote>, <quote>jed</quote>,
|
---|
| 208 | <quote>jmacs</quote>, <quote>joe</quote>, <quote>jove</quote>,
|
---|
[bc40324] | 209 | <quote>jpico</quote>, <quote>jstar</quote>, <quote>nano</quote>,
|
---|
| 210 | <quote>pico</quote>, <quote>rjoe</quote>, <quote>vi</quote> (but not
|
---|
[a41f643] | 211 | <quote>vim</quote>: in order to position the cursor in
|
---|
[bc40324] | 212 | <xref linkend="vim"/>, set this option to <quote>vi</quote>).</para>
|
---|
[d37f788] | 213 |
|
---|
| 214 | <!-- For editors:
|
---|
| 215 | The list should be updated from src/LYEdit.c when a new version of Lynx
|
---|
| 216 | comes out. Anyway, upstream promises (in
|
---|
| 217 | ftp://lynx.isc.org/current/CHANGES ) to fix the multibyte issue for 2.8.7
|
---|
[bc40324] | 218 |
|
---|
| 219 | 2.8.7rel.1: This needs to be checked.
|
---|
[d37f788] | 220 | -->
|
---|
| 221 |
|
---|
| 222 | <para>By default, <application>Lynx</application> doesn't save cookies
|
---|
| 223 | between sessions. Change this setting:</para>
|
---|
| 224 | <screen><userinput>sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
|
---|
| 225 |
|
---|
[c22b9f4] | 226 | <para>Many other system-wide settings such as proxies can also be set
|
---|
| 227 | in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>
|
---|
[50b8d8b] | 228 |
|
---|
[f9a9bb3e] | 229 | </sect3>
|
---|
[50b8d8b] | 230 |
|
---|
[f9a9bb3e] | 231 | </sect2>
|
---|
[50b8d8b] | 232 |
|
---|
[f9a9bb3e] | 233 | <sect2 role="content">
|
---|
| 234 | <title>Contents</title>
|
---|
| 235 |
|
---|
| 236 | <segmentedlist>
|
---|
| 237 | <segtitle>Installed Program</segtitle>
|
---|
| 238 | <segtitle>Installed Libraries</segtitle>
|
---|
[597caf43] | 239 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 240 |
|
---|
[f9a9bb3e] | 241 | <seglistitem>
|
---|
| 242 | <seg>lynx</seg>
|
---|
| 243 | <seg>None</seg>
|
---|
[597caf43] | 244 | <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
|
---|
[f9a9bb3e] | 245 | </seglistitem>
|
---|
| 246 | </segmentedlist>
|
---|
[50b8d8b] | 247 |
|
---|
[f9a9bb3e] | 248 | <variablelist>
|
---|
| 249 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 250 | <?dbfo list-presentation="list"?>
|
---|
| 251 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 252 |
|
---|
[f9a9bb3e] | 253 | <varlistentry id="lynx-prog">
|
---|
| 254 | <term><command>lynx</command></term>
|
---|
| 255 | <listitem>
|
---|
[1065a91] | 256 | <para>is a general purpose, text-based, distributed information
|
---|
[f9a9bb3e] | 257 | browser for the World Wide Web.</para>
|
---|
| 258 | <indexterm zone="lynx lynx-prog">
|
---|
| 259 | <primary sortas="b-lynx">lynx</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
[50b8d8b] | 263 |
|
---|
[f9a9bb3e] | 264 | </variablelist>
|
---|
| 265 |
|
---|
| 266 | </sect2>
|
---|
[f45b1953] | 267 |
|
---|
| 268 | </sect1>
|
---|