source: networking/textweb/lynx.xml@ 1119387

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 1119387 was 1119387, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to ssh-askpass-8.2p1.
Update to bluez-5.53.
Update to IO-Socket-SSL-2.067 (Perl module).
Update to Net-DNS-1.22 (Perl module).
Tag python modules and other misc files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22706 af4574ff-66df-0310-9fd7-8a98e5e911e0

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