source: basicnet/textweb/lynx.xml@ 199c618

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 199c618 was c22b9f4, checked in by Alexander E. Patrakov <alexander@…>, 17 years ago

Added some options to Lynx

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

  • Property mode set to 100644
File size: 8.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY lynx-download-http "http://lynx.isc.org/release/lynx&lynx-version;.tar.bz2">
8 <!ENTITY lynx-download-ftp "ftp://lynx.isc.org/lynx&lynx-version;/lynx&lynx-version;.tar.bz2">
9 <!ENTITY lynx-md5sum "dc80497b7dda6a28fd80404684d27548">
10 <!ENTITY lynx-size "2.2 MB">
11 <!ENTITY lynx-buildsize "26 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 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>Download (HTTP): <ulink url="&lynx-download-http;"/></para>
38 </listitem>
39 <listitem>
40 <para>Download (FTP): <ulink url="&lynx-download-ftp;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download MD5 sum: &lynx-md5sum;</para>
44 </listitem>
45 <listitem>
46 <para>Download size: &lynx-size;</para>
47 </listitem>
48 <listitem>
49 <para>Estimated disk space required: &lynx-buildsize;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated build time: &lynx-time;</para>
53 </listitem>
54 </itemizedlist>
55
56 <bridgehead renderas="sect3">Lynx Dependencies</bridgehead>
57
58 <bridgehead renderas="sect4">Optional</bridgehead>
59 <para role="optional"><xref linkend="openssl"/> or experimentaly,
60 <ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
61 needs <ulink
62 url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>
63 then <ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink>),
64 <xref linkend="zip"/>,
65 <xref linkend="unzip"/>,
66 an <xref linkend="server-mail"/> (that provides a
67 <command>sendmail</command> command), and
68 <!-- <ulink
69 url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
70 ncompress</ulink> and -->
71 <ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink>
72 (for a <command>uudecode</command> program)</para>
73
74<!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure -->
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/Lynx"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of Lynx</title>
83
84 <para>Install <application>Lynx</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --sysconfdir=/etc/lynx \
89 --datadir=/usr/share/doc/lynx-&lynx-version; \
90 --with-zlib \
91 --with-bzlib \
92 --with-screen=ncursesw \
93 --enable-locale-charset &amp;&amp;
94make</userinput></screen>
95
96 <para>This package does not come with a test suite.</para>
97
98 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
99
100<screen role='root'><userinput>make install-full &amp;&amp;
101chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <para><parameter>--sysconfdir=/etc/lynx</parameter>: This parameter is
109 used so that the configuration files are located in
110 <filename class="directory">/etc/lynx</filename> instead of
111 <filename class="directory">/usr/etc</filename>.</para>
112
113 <para><parameter>--datadir=/usr/share/doc/lynx-&lynx-version;</parameter>:
114 This parameter is used so that the documentation files are installed into
115 <filename class="directory">/usr/share/doc/lynx-&lynx-version;</filename>
116 instead of
117 <filename class="directory">/usr/share/lynx_{doc,help}</filename>.</para>
118
119 <para><parameter>--with-zlib</parameter>: This enables support for
120 linking <filename class="libraryfile">libz</filename> into
121 <application>Lynx</application>.</para>
122
123 <para><parameter>--with-bzlib</parameter>: This enables support for
124 linking <filename class="libraryfile">libbz2</filename> into
125 <application>Lynx</application>.</para>
126
127 <para><parameter>--with-screen=ncursesw</parameter>: This switch enables
128 the use of advanced wide-character support present in the system
129 <application>NCurses</application> library. This is needed for
130 proper display of characters and line wrapping in multibyte locales.</para>
131
132 <para><parameter>--enable-locale-charset</parameter>: This switch allows
133 <application>Lynx</application> to deduce the proper character encoding
134 for terminal output from the current locale.
135 A configuration step is still needed (see below), but,
136 unlike the situation without this switch, the configuration step becomes
137 the same for all users (without the switch, one would have to specify the
138 display charcter set explicitly). This is important for environments such
139 as a LiveCD, where the amount of system-specific configuration steps has
140 to be reduced to the minimum.</para>
141
142 <para><parameter>--enable-nls</parameter>: This switch allows
143 <application>Lynx</application> to print translated messages (such as
144 questions about cookies and SSL certificates).</para>
145
146 <para><option>--with-ssl</option>: This enables support for
147 linking SSL into <application>Lynx</application>.</para>
148
149 <para><option>--with-gnutls</option>: This enables experimental support
150 for linking <application>GnuTLS</application> into
151 <application>Lynx</application>.</para>
152
153 <para><command>make install-full</command>: In addition to the standard
154 installation, this target installs the documentation and help files.</para>
155
156 <para><command>chgrp -v -R root
157 /usr/share/doc/lynx-&lynx-version;/lynx_doc</command>:
158 This command corrects the improper group ownership of installed
159 documentation files caused if <application>Lynx</application> is built
160 by any user other than
161 <systemitem class="username">root</systemitem>.</para>
162
163 <!-- This was fixed in the 2.8.6 release, though it still could
164 be considered an issue by some
165 <note>
166 <para>There has been a security vulnerability identified if you enable
167 support for CGI links by passing the <option>-enable-cgi-links</option>
168 parameter to <command>configure</command>. See <ulink
169 url="http://seclists.org/lists/vulnwatch/2005/Oct-Dec/0041.html"/> for
170 details.</para>
171 </note>
172 -->
173
174 </sect2>
175
176 <sect2 role="configuration">
177 <title>Configuring Lynx</title>
178
179 <sect3 id="lynx-config">
180 <title>Config Files</title>
181
182 <para><filename>/etc/lynx/lynx.cfg</filename></para>
183
184 <indexterm zone="lynx lynx-config">
185 <primary sortas="e-etc-lynx-lynx.cfg">/etc/lynx/lynx.cfg</primary>
186 </indexterm>
187
188 </sect3>
189
190 <sect3>
191 <title>Configuration Information</title>
192
193 <para>The proper way to get the display character set is to examine the
194 current locale. However, <application>Lynx</application> does not do
195 this by default. Change this setting:</para>
196
197<screen><userinput>sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
198
199 <para>Many other system-wide settings such as proxies can also be set
200 in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>
201
202 </sect3>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Program</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>lynx</seg>
216 <seg>None</seg>
217 <seg>/etc/lynx and /usr/share/doc/lynx-&lynx-version;</seg>
218 </seglistitem>
219 </segmentedlist>
220
221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
225
226 <varlistentry id="lynx-prog">
227 <term><command>lynx</command></term>
228 <listitem>
229 <para>is a general purpose, text-based, distributed information
230 browser for the World Wide Web.</para>
231 <indexterm zone="lynx lynx-prog">
232 <primary sortas="b-lynx">lynx</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect2>
240
241</sect1>
Note: See TracBrowser for help on using the repository browser.