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

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3d8d0049 was 3d8d0049, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Tags

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