source: networking/textweb/lynx.xml@ 6fa66087

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 gimp3 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 6fa66087 was f42801c, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Uppdate to lynx-2.8.8dev.10

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

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