glfs/basicnet/textweb/links.xml
Ag Hatzimanikas b3061d36f4 Added a configuration item in links
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7217 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-03-08 09:35:23 +00:00

235 lines
8.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY links-download-http "http://links.twibright.com/download/links-&Links-version;.tar.bz2">
<!ENTITY links-download-ftp " ">
<!ENTITY links-md5sum "8c4bc1ebbf4962d290df8218bfc21413">
<!ENTITY links-size "4.1 MB">
<!ENTITY links-buildsize "25 MB">
<!ENTITY links-time "0.3 SBU">
]>
<sect1 id="Links" xreflabel="Links-&Links-version;">
<?dbhtml filename="links.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Links-&Links-version;</title>
<indexterm zone="Links">
<primary sortas="a-Links">Links</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Links</title>
<para><application>Links</application> is a text and graphics mode
WWW browser. It includes support for rendering
tables and frames, features background downloads, can display colors
and has many other features.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&links-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&links-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &links-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &links-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &links-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &links-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Recommended patch: <ulink
url="&gentoo-ftp-repo;/links-&Links-version;-utf8.diff.bz2"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Do I Need the Patch and Do I Have to Enable
Graphics Support?</bridgehead>
<para>In text mode, <application>Links</application> cannot be
configured to use UTF-8 encoding for the terminal input/output. This
limitation renders <application>Links</application> useless as a
text-based browser in UTF-8 locales. See general discussion of this
type of issue in the <xref linkend="locale-not-valid-option"/> section
on the <xref linkend="locale-issues"/> page. The patch fixes all these
issues with an exception of Chinese locale, when there isn't an available
character set.</para>
<para>In graphical mode, <application>Links</application> displays text
correctly even in UTF-8 locales, if all characters exist in the built-in
font used by <application>Links</application>. Form submission in UTF-8
locales is handled correctly when running in X11-based (but not
framebuffer-based) graphical mode.</para>
<bridgehead renderas="sect3">Links Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="gpm"/>,
<xref linkend="openssl"/>,
<xref linkend="libpng"/>,
<xref linkend="libjpeg"/>,
<xref linkend="libtiff"/>,
<xref linkend="pcre"/>,
<!-- SDL support is removed upstream until someone fixes it
<xref linkend="sdl"/>,
-->
<ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
<ulink url="http://www.directfb.org/">DirectFB</ulink>, and
<xref linkend="x-window-system"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/LinksBrowser"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Links</title>
<para>If desired, apply the patch:</para>
<screen><userinput>bzcat ../links-&Links-version;-utf8.diff.bz2 | patch -p1 &amp;&amp;
cd intl &amp;&amp;
./gen-intl &amp;&amp; ./synclang &amp;&amp;
cd ..
</userinput></screen>
<para>Install <application>Links</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>make install &amp;&amp;
install -v -d -m755 /usr/share/doc/links-&Links-version; &amp;&amp;
install -v -m644 doc/links_cal/* KEYS BRAILLE_HOWTO \
/usr/share/doc/links-&Links-version;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>./gen-intl &amp;&amp; ./synclang</command>: These commands
regenerate the language table.</para>
<para><option>--enable-graphics</option>: This switch enables support
for graphics mode. You will either need to install the
<application>X</application> Window System or enable frame buffer support in
your kernel and install <xref linkend="gpm"/>.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Links</title>
<sect3 id="links-config">
<title>Config Files</title>
<para><filename>~/.links/*</filename></para>
<indexterm zone="Links links-config">
<primary sortas="e-AA.links/*">~/.links/*</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para><application>Links</application> stores its configuration in per-user
files in the <filename class="directory">~/.links</filename> directory. These
files are created automatically when <command>links</command> is run for the
first time.</para>
<para>For the correct display of non-ASCII characters,
<application>Links</application> has to be configured through the menu
(accessible by pressing the ESC key), as follows:</para>
<itemizedlist>
<listitem>
<para>If running <application>Links</application> in the text mode in a
UTF-8 based locale, go to the <quote>Setup &gt; Terminal options</quote>
menu item and check the <quote>UTF-8 I/O</quote> box.</para>
</listitem>
<listitem>
<para>If running <application>Links</application> in the text mode,
go to the <quote>Setup &gt; Character set</quote> menu item and select
the character set that matches your locale or, if you use UTF-8 based
locale, the character set that contains all characters that you want
<application>Links</application> to be able to display.</para>
</listitem>
<listitem>
<para>Optionally, go to the <quote>Setup &gt; Language</quote> menu
and select the user interface language.</para>
</listitem>
<listitem>
<para>Finally, select the <quote>Setup &gt; Save options</quote>
menu item.</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>links</seg>
<seg>None</seg>
<seg>/usr/share/doc/links-&Links-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="links">
<term><command>links</command></term>
<listitem>
<para>is a text and graphics mode WWW browser.</para>
<indexterm zone="Links links">
<primary sortas="b-links">links</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>