source: networking/textweb/lynx.xml@ 6ca17c82

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 6ca17c82 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 11.7 KB
RevLine 
[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
[ac1de6f]7 <!ENTITY lynx-download-http "https://invisible-mirror.net/archives/lynx/tarballs/lynx&lynx-version;.tar.bz2">
[783108e]8 <!ENTITY lynx-download-ftp " ">
[ac1de6f]9 <!ENTITY lynx-md5sum "44316f1b8a857b59099927edc26bef79">
[087af8c0]10 <!ENTITY lynx-size "2.5 MB">
11 <!ENTITY lynx-buildsize "31 MB">
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
[f9a9bb3e]18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
[50b8d8b]21
[f9a9bb3e]22 <title>Lynx-&lynx-version;</title>
[50b8d8b]23
[f9a9bb3e]24 <indexterm zone="lynx">
25 <primary sortas="a-Lynx">Lynx</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Lynx</title>
[50b8d8b]30
[7c56ece]31 <para>
32 <application>Lynx</application> is a text based web browser.
33 </para>
[50b8d8b]34
[66d551c]35 &lfs101_checked;
[bc40324]36
[f9a9bb3e]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
[740ef14]39 <listitem>
[7c56ece]40 <para>
41 Download (HTTP): <ulink url="&lynx-download-http;"/>
42 </para>
[740ef14]43 </listitem>
[f9a9bb3e]44 <listitem>
[7c56ece]45 <para>
46 Download (FTP): <ulink url="&lynx-download-ftp;"/>
47 </para>
[f9a9bb3e]48 </listitem>
49 <listitem>
[7c56ece]50 <para>
51 Download MD5 sum: &lynx-md5sum;
52 </para>
[f9a9bb3e]53 </listitem>
54 <listitem>
[7c56ece]55 <para>
56 Download size: &lynx-size;
57 </para>
[f9a9bb3e]58 </listitem>
59 <listitem>
[7c56ece]60 <para>
61 Estimated disk space required: &lynx-buildsize;
62 </para>
[f9a9bb3e]63 </listitem>
64 <listitem>
[7c56ece]65 <para>
66 Estimated build time: &lynx-time;
67 </para>
[f9a9bb3e]68 </listitem>
69 </itemizedlist>
[ac1de6f]70<!--
[a96719e]71 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>
[f22fa770]75 Patch to build with openssl-1.1:
[a96719e]76 <ulink url="&patch-root;/lynx-&lynx-version;-openssl_1.1.0-1.patch"/>
77 </para>
78 </listitem>
[5cd05010]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>
[a96719e]85 </itemizedlist>
[ac1de6f]86-->
[f9a9bb3e]87 <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
[94b42903]88<!--
[f22fa770]89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="openssl"/>
92 </para>
[94b42903]93-->
[f9a9bb3e]94 <bridgehead renderas="sect4">Optional</bridgehead>
[f42801c]95 <para role="optional">
[f22fa770]96 <xref linkend="gnutls"/> (experimental, to replace openssl),
[f42801c]97 <xref linkend="zip"/>,
98 <xref linkend="unzip"/>,
[7c56ece]99 an <xref linkend="server-mail"/> (that provides a
100 <command>sendmail</command> command), and
[3ec1600]101 <xref linkend='sharutils'/> (for the <command>uudecode</command> program)
[f42801c]102 </para>
[50b8d8b]103
[c22b9f4]104<!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure -->
105
[061ec9d]106 <para condition="html" role="usernotes">User Notes:
[6c42d4e]107 <ulink url="&blfs-wiki;/Lynx"/></para>
[061ec9d]108
[f9a9bb3e]109 </sect2>
[50b8d8b]110
[f9a9bb3e]111 <sect2 role="installation">
112 <title>Installation of Lynx</title>
[ac1de6f]113<!--
[a96719e]114 <para>
[f22fa770]115 Apply a patch to build <application>Lynx</application> with openssl-1.1:
[a96719e]116 </para>
117
[a4a3fc9]118<screen><userinput>patch -p1 -i ../lynx-&lynx-version;-openssl_1.1.0-1.patch</userinput></screen>
[f9a9bb3e]119
[5cd05010]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>
[ac1de6f]125-->
[7c56ece]126 <para>
127 Install <application>Lynx</application> by running the following
128 commands:
129 </para>
[f9a9bb3e]130
[ab2d4d1e]131<screen><userinput>./configure --prefix=/usr \
[597caf43]132 --sysconfdir=/etc/lynx \
133 --datadir=/usr/share/doc/lynx-&lynx-version; \
[f42801c]134 --with-zlib \
135 --with-bzlib \
[f22fa770]136 --with-ssl \
[c22b9f4]137 --with-screen=ncursesw \
138 --enable-locale-charset &amp;&amp;
[f9a9bb3e]139make</userinput></screen>
[50b8d8b]140
[7c56ece]141 <para>
142 This package does not come with a test suite.
143 </para>
[d6f100c]144
[7c56ece]145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
[520d0fe]148
[597caf43]149<screen role='root'><userinput>make install-full &amp;&amp;
150chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
[50b8d8b]151
[f9a9bb3e]152 </sect2>
[50b8d8b]153
[f9a9bb3e]154 <sect2 role="commands">
155 <title>Command Explanations</title>
[50b8d8b]156
[7c56ece]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
[abde9c1c]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
[7c56ece]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>
[67ca8f6]238
[597caf43]239 <!-- This was fixed in the 2.8.6 release, though it still could
240 be considered an issue by some
[67ca8f6]241 <note>
[7c56ece]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>
[67ca8f6]249 </note>
[597caf43]250 -->
[bccbdaea]251
[f9a9bb3e]252 </sect2>
[50b8d8b]253
[f9a9bb3e]254 <sect2 role="configuration">
255 <title>Configuring Lynx</title>
256
257 <sect3 id="lynx-config">
258 <title>Config Files</title>
[50b8d8b]259
[7c56ece]260 <para>
261 <filename>/etc/lynx/lynx.cfg</filename>
262 </para>
[50b8d8b]263
[f9a9bb3e]264 <indexterm zone="lynx lynx-config">
[597caf43]265 <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
[f9a9bb3e]266 </indexterm>
[50b8d8b]267
[f9a9bb3e]268 </sect3>
[50b8d8b]269
[f9a9bb3e]270 <sect3>
271 <title>Configuration Information</title>
[50b8d8b]272
[7c56ece]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>
[c22b9f4]279
[0fe2f5b]280<screen role="root"><userinput>sed -e '/#LOCALE/ a LOCALE_CHARSET:TRUE' \
281 -i /etc/lynx/lynx.cfg</userinput></screen>
[c22b9f4]282
[7c56ece]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
[0fe2f5b]295<screen role="root"><userinput>sed -e '/#DEFAULT_ED/ a DEFAULT_EDITOR:vi' \
296 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]297
[7c56ece]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>
[0fe2f5b]315<screen role="root"><userinput>sed -e '/#PERSIST/ a PERSISTENT_COOKIES:TRUE' \
316 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]317
[7c56ece]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>
[50b8d8b]322
[f9a9bb3e]323 </sect3>
[50b8d8b]324
[f9a9bb3e]325 </sect2>
[50b8d8b]326
[f9a9bb3e]327 <sect2 role="content">
328 <title>Contents</title>
329
330 <segmentedlist>
331 <segtitle>Installed Program</segtitle>
332 <segtitle>Installed Libraries</segtitle>
[597caf43]333 <segtitle>Installed Directories</segtitle>
[50b8d8b]334
[f9a9bb3e]335 <seglistitem>
336 <seg>lynx</seg>
337 <seg>None</seg>
[597caf43]338 <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
[f9a9bb3e]339 </seglistitem>
340 </segmentedlist>
[50b8d8b]341
[f9a9bb3e]342 <variablelist>
343 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
344 <?dbfo list-presentation="list"?>
345 <?dbhtml list-presentation="table"?>
[50b8d8b]346
[f9a9bb3e]347 <varlistentry id="lynx-prog">
348 <term><command>lynx</command></term>
349 <listitem>
[7c56ece]350 <para>
351 is a general purpose, text-based, distributed information
[4c24eb0a]352 browser for the World Wide Web
[7c56ece]353 </para>
[f9a9bb3e]354 <indexterm zone="lynx lynx-prog">
355 <primary sortas="b-lynx">lynx</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
[50b8d8b]359
[f9a9bb3e]360 </variablelist>
361
362 </sect2>
[f45b1953]363
364</sect1>
Note: See TracBrowser for help on using the repository browser.