source: networking/textweb/lynx.xml@ a9d7abf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a9d7abf was a9d7abf, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to lynx2.8.8=lynx2.8.8rel.1. Fix some statistics: Git-1.8.5.5, xulrunner/firefox-27.0.1, and ImageMagick-6.8.8-6.

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

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