source: networking/textweb/lynx.xml@ 5d9021ea

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 5d9021ea was 5d9021ea, checked in by Ken Moffat <ken@…>, 11 years ago

more tags

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

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