source: networking/textweb/lynx.xml@ 7927c67d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 7927c67d was 89d6c9a, checked in by Pierre Labastie <pieere@…>, 6 years ago

Tags (LXQt and deps)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19832 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
[783108e]7 <!ENTITY lynx-download-http "http://invisible-mirror.net/archives/lynx/tarballs/lynx&lynx-version;.tar.bz2">
8 <!ENTITY lynx-download-ftp " ">
[a45ebfa4]9 <!ENTITY lynx-md5sum "b231c2aa34dfe7ca25681ef4e55ee7e8">
[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
[89d6c9a]34 &lfs82_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>
[50b8d8b]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>
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>
[a96719e]99 <para>
[f22fa770]100 Apply a patch to build <application>Lynx</application> with openssl-1.1:
[a96719e]101 </para>
102
[a4a3fc9]103<screen><userinput>patch -p1 -i ../lynx-&lynx-version;-openssl_1.1.0-1.patch</userinput></screen>
[f9a9bb3e]104
[5cd05010]105 <para>
106 Apply a patch to build <application>Lynx</application> with ncurses-6.1:
107 </para>
108
109<screen><userinput>patch -p1 -i ../lynx-&lynx-version;-ncurses_6.1-1.patch</userinput></screen>
110
[1065a91]111 <para>Install <application>Lynx</application> by running the following
[f9a9bb3e]112 commands:</para>
113
[ab2d4d1e]114<screen><userinput>./configure --prefix=/usr \
[597caf43]115 --sysconfdir=/etc/lynx \
116 --datadir=/usr/share/doc/lynx-&lynx-version; \
[f42801c]117 --with-zlib \
118 --with-bzlib \
[f22fa770]119 --with-ssl \
[c22b9f4]120 --with-screen=ncursesw \
121 --enable-locale-charset &amp;&amp;
[f9a9bb3e]122make</userinput></screen>
[50b8d8b]123
[d6f100c]124 <para>This package does not come with a test suite.</para>
125
[f9a9bb3e]126 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[520d0fe]127
[597caf43]128<screen role='root'><userinput>make install-full &amp;&amp;
129chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
[50b8d8b]130
[f9a9bb3e]131 </sect2>
[50b8d8b]132
[f9a9bb3e]133 <sect2 role="commands">
134 <title>Command Explanations</title>
[50b8d8b]135
[597caf43]136 <para><parameter>--sysconfdir=/etc/lynx</parameter>: This parameter is
137 used so that the configuration files are located in
138 <filename class="directory">/etc/lynx</filename> instead of
139 <filename class="directory">/usr/etc</filename>.</para>
140
141 <para><parameter>--datadir=/usr/share/doc/lynx-&lynx-version;</parameter>:
142 This parameter is used so that the documentation files are installed into
143 <filename class="directory">/usr/share/doc/lynx-&lynx-version;</filename>
144 instead of
145 <filename class="directory">/usr/share/lynx_{doc,help}</filename>.</para>
[50b8d8b]146
[f9a9bb3e]147 <para><parameter>--with-zlib</parameter>: This enables support for
[1065a91]148 linking <filename class="libraryfile">libz</filename> into
[f9a9bb3e]149 <application>Lynx</application>.</para>
[50b8d8b]150
[f9a9bb3e]151 <para><parameter>--with-bzlib</parameter>: This enables support for
[1065a91]152 linking <filename class="libraryfile">libbz2</filename> into
[f9a9bb3e]153 <application>Lynx</application>.</para>
[50b8d8b]154
[f22fa770]155 <para><parameter>--with-ssl</parameter>: This enables support for
156 linking SSL into <application>Lynx</application>.</para>
157
[c22b9f4]158 <para><parameter>--with-screen=ncursesw</parameter>: This switch enables
159 the use of advanced wide-character support present in the system
160 <application>NCurses</application> library. This is needed for
161 proper display of characters and line wrapping in multibyte locales.</para>
[29f80ebc]162
[c22b9f4]163 <para><parameter>--enable-locale-charset</parameter>: This switch allows
164 <application>Lynx</application> to deduce the proper character encoding
165 for terminal output from the current locale.
[32d0e29]166 A configuration step is still needed (see below), but
[c22b9f4]167 unlike the situation without this switch, the configuration step becomes
[32d0e29]168 the same for all users (without the switch one must specify the
169 display character set explicitly). This is important for environments such
[c22b9f4]170 as a LiveCD, where the amount of system-specific configuration steps has
171 to be reduced to the minimum.</para>
172
[6e2e278d]173 <para><option>--enable-nls</option>: This switch allows
[c22b9f4]174 <application>Lynx</application> to print translated messages (such as
175 questions about cookies and SSL certificates).</para>
176
[597caf43]177 <para><option>--with-gnutls</option>: This enables experimental support
178 for linking <application>GnuTLS</application> into
[f22fa770]179 <application>Lynx</application>. Remove the
180 <parameter>--with-ssl</parameter> switch if you want to use gnutls.</para>
[50b8d8b]181
[597caf43]182 <para><command>make install-full</command>: In addition to the standard
183 installation, this target installs the documentation and help files.</para>
184
[823b1a3]185 <para><command>chgrp -v -R root
[597caf43]186 /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
[67ca8f6]187 This command corrects the improper group ownership of installed
[32d0e29]188 documentation files.</para>
[67ca8f6]189
[597caf43]190 <!-- This was fixed in the 2.8.6 release, though it still could
191 be considered an issue by some
[67ca8f6]192 <note>
193 <para>There has been a security vulnerability identified if you enable
[597caf43]194 support for CGI links by passing the <option>-enable-cgi-links</option>
[67ca8f6]195 parameter to <command>configure</command>. See <ulink
196 url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
197 details.</para>
198 </note>
[597caf43]199 -->
[bccbdaea]200
[f9a9bb3e]201 </sect2>
[50b8d8b]202
[f9a9bb3e]203 <sect2 role="configuration">
204 <title>Configuring Lynx</title>
205
206 <sect3 id="lynx-config">
207 <title>Config Files</title>
[50b8d8b]208
[597caf43]209 <para><filename>/etc/lynx/lynx.cfg</filename></para>
[50b8d8b]210
[f9a9bb3e]211 <indexterm zone="lynx lynx-config">
[597caf43]212 <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
[f9a9bb3e]213 </indexterm>
[50b8d8b]214
[f9a9bb3e]215 </sect3>
[50b8d8b]216
[f9a9bb3e]217 <sect3>
218 <title>Configuration Information</title>
[50b8d8b]219
[c22b9f4]220 <para>The proper way to get the display character set is to examine the
221 current locale. However, <application>Lynx</application> does not do
[ddc9b83]222 this by default. As the <systemitem class="username">root</systemitem>
223 user, change this setting:</para>
[c22b9f4]224
[0fe2f5b]225<screen role="root"><userinput>sed -e '/#LOCALE/ a LOCALE_CHARSET:TRUE' \
226 -i /etc/lynx/lynx.cfg</userinput></screen>
[c22b9f4]227
[d37f788]228 <para>The built-in editor in <application>Lynx</application>
229 <xref linkend="locale-wrong-multibyte-characters"/>. This issue manifests
230 itself in multibyte locales, e.g., as the Backspace key not erasing
231 non-ASCII characters properly, and as incorrect data being sent to the
232 network when one edits the contents of text areas. The only solution
233 to this problem is to configure <application>Lynx</application> to
234 use an external editor (bound to the <quote>Ctrl+X e</quote> key
[ddc9b83]235 combination by default). Still as the
236 <systemitem class="username">root</systemitem> user:</para>
[0fe2f5b]237<screen role="root"><userinput>sed -e '/#DEFAULT_ED/ a DEFAULT_EDITOR:vi' \
238 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]239
240 <para><application>Lynx</application> handles the following values of
241 the DEFAULT_EDITOR option specially by adding cursor-positioning
242 arguments: <quote>emacs</quote>, <quote>jed</quote>,
243 <quote>jmacs</quote>, <quote>joe</quote>, <quote>jove</quote>,
[bc40324]244 <quote>jpico</quote>, <quote>jstar</quote>, <quote>nano</quote>,
245 <quote>pico</quote>, <quote>rjoe</quote>, <quote>vi</quote> (but not
[a41f643]246 <quote>vim</quote>: in order to position the cursor in
[bc40324]247 <xref linkend="vim"/>, set this option to <quote>vi</quote>).</para>
[d37f788]248
249 <para>By default, <application>Lynx</application> doesn't save cookies
[ddc9b83]250 between sessions. Again as the
251 <systemitem class="username">root</systemitem> user, change this
252 setting:</para>
[0fe2f5b]253<screen role="root"><userinput>sed -e '/#PERSIST/ a PERSISTENT_COOKIES:TRUE' \
254 -i /etc/lynx/lynx.cfg</userinput></screen>
[d37f788]255
[c22b9f4]256 <para>Many other system-wide settings such as proxies can also be set
257 in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>
[50b8d8b]258
[f9a9bb3e]259 </sect3>
[50b8d8b]260
[f9a9bb3e]261 </sect2>
[50b8d8b]262
[f9a9bb3e]263 <sect2 role="content">
264 <title>Contents</title>
265
266 <segmentedlist>
267 <segtitle>Installed Program</segtitle>
268 <segtitle>Installed Libraries</segtitle>
[597caf43]269 <segtitle>Installed Directories</segtitle>
[50b8d8b]270
[f9a9bb3e]271 <seglistitem>
272 <seg>lynx</seg>
273 <seg>None</seg>
[597caf43]274 <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
[f9a9bb3e]275 </seglistitem>
276 </segmentedlist>
[50b8d8b]277
[f9a9bb3e]278 <variablelist>
279 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
280 <?dbfo list-presentation="list"?>
281 <?dbhtml list-presentation="table"?>
[50b8d8b]282
[f9a9bb3e]283 <varlistentry id="lynx-prog">
284 <term><command>lynx</command></term>
285 <listitem>
[1065a91]286 <para>is a general purpose, text-based, distributed information
[f9a9bb3e]287 browser for the World Wide Web.</para>
288 <indexterm zone="lynx lynx-prog">
289 <primary sortas="b-lynx">lynx</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
[50b8d8b]293
[f9a9bb3e]294 </variablelist>
295
296 </sect2>
[f45b1953]297
298</sect1>
Note: See TracBrowser for help on using the repository browser.