source: networking/textweb/lynx.xml@ d42fa7ee

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 d42fa7ee 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
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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[50b8d8b]22
[f9a9bb3e]23 <title>Lynx-&lynx-version;</title>
[50b8d8b]24
[f9a9bb3e]25 <indexterm zone="lynx">
26 <primary sortas="a-Lynx">Lynx</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Lynx</title>
[50b8d8b]31
[f9a9bb3e]32 <para><application>Lynx</application> is a text based web browser.</para>
[50b8d8b]33
[1119387]34 &lfs91_checked;
[bc40324]35
[f9a9bb3e]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
[740ef14]38 <listitem>
[f9a9bb3e]39 <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
[740ef14]40 </listitem>
[f9a9bb3e]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>
[ac1de6f]57<!--
[a96719e]58 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
59 <itemizedlist spacing="compact">
60 <listitem>
61 <para>
[f22fa770]62 Patch to build with openssl-1.1:
[a96719e]63 <ulink url="&patch-root;/lynx-&lynx-version;-openssl_1.1.0-1.patch"/>
64 </para>
65 </listitem>
[5cd05010]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>
[a96719e]72 </itemizedlist>
[ac1de6f]73-->
[f9a9bb3e]74 <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
[94b42903]75<!--
[f22fa770]76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="openssl"/>
79 </para>
[94b42903]80-->
[f9a9bb3e]81 <bridgehead renderas="sect4">Optional</bridgehead>
[f42801c]82 <para role="optional">
[f22fa770]83 <xref linkend="gnutls"/> (experimental, to replace openssl),
[f42801c]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>
[50b8d8b]89
[c22b9f4]90<!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure -->
91
[061ec9d]92 <para condition="html" role="usernotes">User Notes:
[6c42d4e]93 <ulink url="&blfs-wiki;/Lynx"/></para>
[061ec9d]94
[f9a9bb3e]95 </sect2>
[50b8d8b]96
[f9a9bb3e]97 <sect2 role="installation">
98 <title>Installation of Lynx</title>
[ac1de6f]99<!--
[a96719e]100 <para>
[f22fa770]101 Apply a patch to build <application>Lynx</application> with openssl-1.1:
[a96719e]102 </para>
103
[a4a3fc9]104<screen><userinput>patch -p1 -i ../lynx-&lynx-version;-openssl_1.1.0-1.patch</userinput></screen>
[f9a9bb3e]105
[5cd05010]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>
[ac1de6f]111-->
[1065a91]112 <para>Install <application>Lynx</application> by running the following
[f9a9bb3e]113 commands:</para>
114
[ab2d4d1e]115<screen><userinput>./configure --prefix=/usr \
[597caf43]116 --sysconfdir=/etc/lynx \
117 --datadir=/usr/share/doc/lynx-&lynx-version; \
[f42801c]118 --with-zlib \
119 --with-bzlib \
[f22fa770]120 --with-ssl \
[c22b9f4]121 --with-screen=ncursesw \
122 --enable-locale-charset &amp;&amp;
[f9a9bb3e]123make</userinput></screen>
[50b8d8b]124
[d6f100c]125 <para>This package does not come with a test suite.</para>
126
[f9a9bb3e]127 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[520d0fe]128
[597caf43]129<screen role='root'><userinput>make install-full &amp;&amp;
130chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
[50b8d8b]131
[f9a9bb3e]132 </sect2>
[50b8d8b]133
[f9a9bb3e]134 <sect2 role="commands">
135 <title>Command Explanations</title>
[50b8d8b]136
[597caf43]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>
[50b8d8b]147
[f9a9bb3e]148 <para><parameter>--with-zlib</parameter>: This enables support for
[1065a91]149 linking <filename class="libraryfile">libz</filename> into
[f9a9bb3e]150 <application>Lynx</application>.</para>
[50b8d8b]151
[f9a9bb3e]152 <para><parameter>--with-bzlib</parameter>: This enables support for
[1065a91]153 linking <filename class="libraryfile">libbz2</filename> into
[f9a9bb3e]154 <application>Lynx</application>.</para>
[50b8d8b]155
[f22fa770]156 <para><parameter>--with-ssl</parameter>: This enables support for
157 linking SSL into <application>Lynx</application>.</para>
158
[c22b9f4]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>
[29f80ebc]163
[c22b9f4]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.
[32d0e29]167 A configuration step is still needed (see below), but
[c22b9f4]168 unlike the situation without this switch, the configuration step becomes
[32d0e29]169 the same for all users (without the switch one must specify the
170 display character set explicitly). This is important for environments such
[c22b9f4]171 as a LiveCD, where the amount of system-specific configuration steps has
172 to be reduced to the minimum.</para>
173
[6e2e278d]174 <para><option>--enable-nls</option>: This switch allows
[c22b9f4]175 <application>Lynx</application> to print translated messages (such as
176 questions about cookies and SSL certificates).</para>
177
[597caf43]178 <para><option>--with-gnutls</option>: This enables experimental support
179 for linking <application>GnuTLS</application> into
[f22fa770]180 <application>Lynx</application>. Remove the
181 <parameter>--with-ssl</parameter> switch if you want to use gnutls.</para>
[50b8d8b]182
[597caf43]183 <para><command>make install-full</command>: In addition to the standard
184 installation, this target installs the documentation and help files.</para>
185
[823b1a3]186 <para><command>chgrp -v -R root
[597caf43]187 /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
[67ca8f6]188 This command corrects the improper group ownership of installed
[32d0e29]189 documentation files.</para>
[67ca8f6]190
[597caf43]191 <!-- This was fixed in the 2.8.6 release, though it still could
192 be considered an issue by some
[67ca8f6]193 <note>
194 <para>There has been a security vulnerability identified if you enable
[597caf43]195 support for CGI links by passing the <option>-enable-cgi-links</option>
[67ca8f6]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>
[597caf43]200 -->
[bccbdaea]201
[f9a9bb3e]202 </sect2>
[50b8d8b]203
[f9a9bb3e]204 <sect2 role="configuration">
205 <title>Configuring Lynx</title>
206
207 <sect3 id="lynx-config">
208 <title>Config Files</title>
[50b8d8b]209
[597caf43]210 <para><filename>/etc/lynx/lynx.cfg</filename></para>
[50b8d8b]211
[f9a9bb3e]212 <indexterm zone="lynx lynx-config">
[597caf43]213 <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
[f9a9bb3e]214 </indexterm>
[50b8d8b]215
[f9a9bb3e]216 </sect3>
[50b8d8b]217
[f9a9bb3e]218 <sect3>
219 <title>Configuration Information</title>
[50b8d8b]220
[c22b9f4]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
[ddc9b83]223 this by default. As the <systemitem class="username">root</systemitem>
224 user, change this setting:</para>
[c22b9f4]225
[0fe2f5b]226<screen role="root"><userinput>sed -e '/#LOCALE/ a LOCALE_CHARSET:TRUE' \
227 -i /etc/lynx/lynx.cfg</userinput></screen>
[c22b9f4]228
[d37f788]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
[ddc9b83]236 combination by default). Still as the
237 <systemitem class="username">root</systemitem> user:</para>
[0fe2f5b]238<screen role="root"><userinput>sed -e '/#DEFAULT_ED/ a DEFAULT_EDITOR:vi' \
239 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]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>,
[bc40324]245 <quote>jpico</quote>, <quote>jstar</quote>, <quote>nano</quote>,
246 <quote>pico</quote>, <quote>rjoe</quote>, <quote>vi</quote> (but not
[a41f643]247 <quote>vim</quote>: in order to position the cursor in
[bc40324]248 <xref linkend="vim"/>, set this option to <quote>vi</quote>).</para>
[d37f788]249
250 <para>By default, <application>Lynx</application> doesn't save cookies
[ddc9b83]251 between sessions. Again as the
252 <systemitem class="username">root</systemitem> user, change this
253 setting:</para>
[0fe2f5b]254<screen role="root"><userinput>sed -e '/#PERSIST/ a PERSISTENT_COOKIES:TRUE' \
255 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]256
[c22b9f4]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>
[50b8d8b]259
[f9a9bb3e]260 </sect3>
[50b8d8b]261
[f9a9bb3e]262 </sect2>
[50b8d8b]263
[f9a9bb3e]264 <sect2 role="content">
265 <title>Contents</title>
266
267 <segmentedlist>
268 <segtitle>Installed Program</segtitle>
269 <segtitle>Installed Libraries</segtitle>
[597caf43]270 <segtitle>Installed Directories</segtitle>
[50b8d8b]271
[f9a9bb3e]272 <seglistitem>
273 <seg>lynx</seg>
274 <seg>None</seg>
[597caf43]275 <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
[f9a9bb3e]276 </seglistitem>
277 </segmentedlist>
[50b8d8b]278
[f9a9bb3e]279 <variablelist>
280 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
281 <?dbfo list-presentation="list"?>
282 <?dbhtml list-presentation="table"?>
[50b8d8b]283
[f9a9bb3e]284 <varlistentry id="lynx-prog">
285 <term><command>lynx</command></term>
286 <listitem>
[1065a91]287 <para>is a general purpose, text-based, distributed information
[f9a9bb3e]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>
[50b8d8b]294
[f9a9bb3e]295 </variablelist>
296
297 </sect2>
[f45b1953]298
299</sect1>
Note: See TracBrowser for help on using the repository browser.