source: networking/textweb/lynx.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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