[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 |
|
---|
| 7 | <!ENTITY lynx-download-http "http://lynx.isc.org/release/lynx&lynx-version;.tar.bz2">
|
---|
[4a9b381] | 8 | <!ENTITY lynx-download-ftp "ftp://lynx.isc.org/lynx&lynx-version;/lynx&lynx-version;.tar.bz2">
|
---|
[597caf43] | 9 | <!ENTITY lynx-md5sum "dc80497b7dda6a28fd80404684d27548">
|
---|
[c0c53745] | 10 | <!ENTITY lynx-size "2.2 MB">
|
---|
[597caf43] | 11 | <!ENTITY lynx-buildsize "26 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 |
|
---|
[f9a9bb3e] | 34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
|
---|
| 38 | </listitem>
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (FTP): <ulink url="&lynx-download-ftp;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download MD5 sum: &lynx-md5sum;</para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download size: &lynx-size;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Estimated disk space required: &lynx-buildsize;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated build time: &lynx-time;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | </itemizedlist>
|
---|
[50b8d8b] | 55 |
|
---|
[f9a9bb3e] | 56 | <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
|
---|
[50b8d8b] | 57 |
|
---|
[f9a9bb3e] | 58 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[597caf43] | 59 | <para role="optional"><xref linkend="openssl"/> or experimentaly,
|
---|
[f9a9bb3e] | 60 | <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
|
---|
| 61 | needs <ulink
|
---|
[50b8d8b] | 62 | url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>
|
---|
[1065a91] | 63 | then <ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink>),
|
---|
[597caf43] | 64 | <xref linkend="zip"/>,
|
---|
| 65 | <xref linkend="unzip"/>,
|
---|
| 66 | an <xref linkend="server-mail"/> (that provides a
|
---|
[c22b9f4] | 67 | <command>sendmail</command> command), and
|
---|
[67ca8f6] | 68 | <!-- <ulink
|
---|
[f9a9bb3e] | 69 | url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
|
---|
[67ca8f6] | 70 | ncompress</ulink> and -->
|
---|
[597caf43] | 71 | <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink>
|
---|
| 72 | (for a <command>uudecode</command> program)</para>
|
---|
[50b8d8b] | 73 |
|
---|
[c22b9f4] | 74 | <!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure -->
|
---|
| 75 |
|
---|
[061ec9d] | 76 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 77 | <ulink url="&blfs-wiki;/Lynx"/></para>
|
---|
[061ec9d] | 78 |
|
---|
[f9a9bb3e] | 79 | </sect2>
|
---|
[50b8d8b] | 80 |
|
---|
[f9a9bb3e] | 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of Lynx</title>
|
---|
| 83 |
|
---|
[1065a91] | 84 | <para>Install <application>Lynx</application> by running the following
|
---|
[f9a9bb3e] | 85 | commands:</para>
|
---|
| 86 |
|
---|
[597caf43] | 87 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 88 | --sysconfdir=/etc/lynx \
|
---|
| 89 | --datadir=/usr/share/doc/lynx-&lynx-version; \
|
---|
| 90 | --with-zlib \
|
---|
[c22b9f4] | 91 | --with-bzlib \
|
---|
| 92 | --with-screen=ncursesw \
|
---|
| 93 | --enable-locale-charset &&
|
---|
[f9a9bb3e] | 94 | make</userinput></screen>
|
---|
[50b8d8b] | 95 |
|
---|
[d6f100c] | 96 | <para>This package does not come with a test suite.</para>
|
---|
| 97 |
|
---|
[f9a9bb3e] | 98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[520d0fe] | 99 |
|
---|
[597caf43] | 100 | <screen role='root'><userinput>make install-full &&
|
---|
| 101 | chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
|
---|
[50b8d8b] | 102 |
|
---|
[f9a9bb3e] | 103 | </sect2>
|
---|
[50b8d8b] | 104 |
|
---|
[f9a9bb3e] | 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
[50b8d8b] | 107 |
|
---|
[597caf43] | 108 | <para><parameter>--sysconfdir=/etc/lynx</parameter>: This parameter is
|
---|
| 109 | used so that the configuration files are located in
|
---|
| 110 | <filename class="directory">/etc/lynx</filename> instead of
|
---|
| 111 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 112 |
|
---|
| 113 | <para><parameter>--datadir=/usr/share/doc/lynx-&lynx-version;</parameter>:
|
---|
| 114 | This parameter is used so that the documentation files are installed into
|
---|
| 115 | <filename class="directory">/usr/share/doc/lynx-&lynx-version;</filename>
|
---|
| 116 | instead of
|
---|
| 117 | <filename class="directory">/usr/share/lynx_{doc,help}</filename>.</para>
|
---|
[50b8d8b] | 118 |
|
---|
[f9a9bb3e] | 119 | <para><parameter>--with-zlib</parameter>: This enables support for
|
---|
[1065a91] | 120 | linking <filename class="libraryfile">libz</filename> into
|
---|
[f9a9bb3e] | 121 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 122 |
|
---|
[f9a9bb3e] | 123 | <para><parameter>--with-bzlib</parameter>: This enables support for
|
---|
[1065a91] | 124 | linking <filename class="libraryfile">libbz2</filename> into
|
---|
[f9a9bb3e] | 125 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 126 |
|
---|
[c22b9f4] | 127 | <para><parameter>--with-screen=ncursesw</parameter>: This switch enables
|
---|
| 128 | the use of advanced wide-character support present in the system
|
---|
| 129 | <application>NCurses</application> library. This is needed for
|
---|
| 130 | proper display of characters and line wrapping in multibyte locales.</para>
|
---|
[29f80ebc] | 131 |
|
---|
[c22b9f4] | 132 | <para><parameter>--enable-locale-charset</parameter>: This switch allows
|
---|
| 133 | <application>Lynx</application> to deduce the proper character encoding
|
---|
| 134 | for terminal output from the current locale.
|
---|
| 135 | A configuration step is still needed (see below), but,
|
---|
| 136 | unlike the situation without this switch, the configuration step becomes
|
---|
| 137 | the same for all users (without the switch, one would have to specify the
|
---|
| 138 | display charcter set explicitly). This is important for environments such
|
---|
| 139 | as a LiveCD, where the amount of system-specific configuration steps has
|
---|
| 140 | to be reduced to the minimum.</para>
|
---|
| 141 |
|
---|
| 142 | <para><parameter>--enable-nls</parameter>: This switch allows
|
---|
| 143 | <application>Lynx</application> to print translated messages (such as
|
---|
| 144 | questions about cookies and SSL certificates).</para>
|
---|
| 145 |
|
---|
[f9a9bb3e] | 146 | <para><option>--with-ssl</option>: This enables support for
|
---|
[4edfbea9] | 147 | linking SSL into <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 148 |
|
---|
[597caf43] | 149 | <para><option>--with-gnutls</option>: This enables experimental support
|
---|
| 150 | for linking <application>GnuTLS</application> into
|
---|
[f9a9bb3e] | 151 | <application>Lynx</application>.</para>
|
---|
[50b8d8b] | 152 |
|
---|
[597caf43] | 153 | <para><command>make install-full</command>: In addition to the standard
|
---|
| 154 | installation, this target installs the documentation and help files.</para>
|
---|
| 155 |
|
---|
[823b1a3] | 156 | <para><command>chgrp -v -R root
|
---|
[597caf43] | 157 | /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
|
---|
[67ca8f6] | 158 | This command corrects the improper group ownership of installed
|
---|
| 159 | documentation files caused if <application>Lynx</application> is built
|
---|
| 160 | by any user other than
|
---|
| 161 | <systemitem class="username">root</systemitem>.</para>
|
---|
| 162 |
|
---|
[597caf43] | 163 | <!-- This was fixed in the 2.8.6 release, though it still could
|
---|
| 164 | be considered an issue by some
|
---|
[67ca8f6] | 165 | <note>
|
---|
| 166 | <para>There has been a security vulnerability identified if you enable
|
---|
[597caf43] | 167 | support for CGI links by passing the <option>-enable-cgi-links</option>
|
---|
[67ca8f6] | 168 | parameter to <command>configure</command>. See <ulink
|
---|
| 169 | url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
|
---|
| 170 | details.</para>
|
---|
| 171 | </note>
|
---|
[597caf43] | 172 | -->
|
---|
[bccbdaea] | 173 |
|
---|
[f9a9bb3e] | 174 | </sect2>
|
---|
[50b8d8b] | 175 |
|
---|
[f9a9bb3e] | 176 | <sect2 role="configuration">
|
---|
| 177 | <title>Configuring Lynx</title>
|
---|
| 178 |
|
---|
| 179 | <sect3 id="lynx-config">
|
---|
| 180 | <title>Config Files</title>
|
---|
[50b8d8b] | 181 |
|
---|
[597caf43] | 182 | <para><filename>/etc/lynx/lynx.cfg</filename></para>
|
---|
[50b8d8b] | 183 |
|
---|
[f9a9bb3e] | 184 | <indexterm zone="lynx lynx-config">
|
---|
[597caf43] | 185 | <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
|
---|
[f9a9bb3e] | 186 | </indexterm>
|
---|
[50b8d8b] | 187 |
|
---|
[f9a9bb3e] | 188 | </sect3>
|
---|
[50b8d8b] | 189 |
|
---|
[f9a9bb3e] | 190 | <sect3>
|
---|
| 191 | <title>Configuration Information</title>
|
---|
[50b8d8b] | 192 |
|
---|
[c22b9f4] | 193 | <para>The proper way to get the display character set is to examine the
|
---|
| 194 | current locale. However, <application>Lynx</application> does not do
|
---|
| 195 | this by default. Change this setting:</para>
|
---|
| 196 |
|
---|
| 197 | <screen><userinput>sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
|
---|
| 198 |
|
---|
| 199 | <para>Many other system-wide settings such as proxies can also be set
|
---|
| 200 | in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>
|
---|
[50b8d8b] | 201 |
|
---|
[f9a9bb3e] | 202 | </sect3>
|
---|
[50b8d8b] | 203 |
|
---|
[f9a9bb3e] | 204 | </sect2>
|
---|
[50b8d8b] | 205 |
|
---|
[f9a9bb3e] | 206 | <sect2 role="content">
|
---|
| 207 | <title>Contents</title>
|
---|
| 208 |
|
---|
| 209 | <segmentedlist>
|
---|
| 210 | <segtitle>Installed Program</segtitle>
|
---|
| 211 | <segtitle>Installed Libraries</segtitle>
|
---|
[597caf43] | 212 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 213 |
|
---|
[f9a9bb3e] | 214 | <seglistitem>
|
---|
| 215 | <seg>lynx</seg>
|
---|
| 216 | <seg>None</seg>
|
---|
[597caf43] | 217 | <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
|
---|
[f9a9bb3e] | 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
[50b8d8b] | 220 |
|
---|
[f9a9bb3e] | 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 225 |
|
---|
[f9a9bb3e] | 226 | <varlistentry id="lynx-prog">
|
---|
| 227 | <term><command>lynx</command></term>
|
---|
| 228 | <listitem>
|
---|
[1065a91] | 229 | <para>is a general purpose, text-based, distributed information
|
---|
[f9a9bb3e] | 230 | browser for the World Wide Web.</para>
|
---|
| 231 | <indexterm zone="lynx lynx-prog">
|
---|
| 232 | <primary sortas="b-lynx">lynx</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
[50b8d8b] | 236 |
|
---|
[f9a9bb3e] | 237 | </variablelist>
|
---|
| 238 |
|
---|
| 239 | </sect2>
|
---|
[f45b1953] | 240 |
|
---|
| 241 | </sect1>
|
---|