source: networking/textweb/lynx.xml

trunk
Last change on this file was 3bcdc06, checked in by Bruce Dubbs <bdubbs@…>, 10 hours ago

Update to lynx2.9.1.

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