[a8e70676] | 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 |
|
---|
[062c85f8] | 7 | <!ENTITY links-download-http "http://links.twibright.com/download/links-&Links-version;.tar.bz2">
|
---|
| 8 | <!ENTITY links-download-ftp " ">
|
---|
[bfacd622] | 9 | <!ENTITY links-md5sum "8c4bc1ebbf4962d290df8218bfc21413">
|
---|
| 10 | <!ENTITY links-size "4.1 MB">
|
---|
| 11 | <!ENTITY links-buildsize "25 MB">
|
---|
[062c85f8] | 12 | <!ENTITY links-time "0.3 SBU">
|
---|
[773c358] | 13 | ]>
|
---|
| 14 |
|
---|
[67b459c] | 15 | <sect1 id="Links" xreflabel="Links-&Links-version;">
|
---|
[a8e70676] | 16 | <?dbhtml filename="links.html"?>
|
---|
[50b8d8b] | 17 |
|
---|
[a8e70676] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[50b8d8b] | 22 |
|
---|
[a8e70676] | 23 | <title>Links-&Links-version;</title>
|
---|
[50b8d8b] | 24 |
|
---|
[a8e70676] | 25 | <indexterm zone="Links">
|
---|
| 26 | <primary sortas="a-Links">Links</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Links</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>Links</application> is a text and graphics mode
|
---|
[1065a91] | 33 | WWW browser. It includes support for rendering
|
---|
| 34 | tables and frames, features background downloads, can display colors
|
---|
[a8e70676] | 35 | and has many other features.</para>
|
---|
[a4b9cd7] | 36 |
|
---|
[a8e70676] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&links-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&links-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &links-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &links-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &links-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &links-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
[50b8d8b] | 58 |
|
---|
[1ad30c22] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing='compact'>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Recommended patch: <ulink
|
---|
| 63 | url="&gentoo-ftp-repo;/links-&Links-version;-utf8.diff.bz2"/></para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[65b031d] | 67 | <bridgehead renderas="sect3">Do I Need the Patch?</bridgehead>
|
---|
| 68 |
|
---|
| 69 | <para>In text mode, unpatched <application>Links</application> cannot be
|
---|
| 70 | configured to use UTF-8 or other multibyte encodings for the terminal
|
---|
| 71 | input/output. This limitation renders <application>Links</application>
|
---|
| 72 | useless as a text-based browser in multibyte locales. See general
|
---|
| 73 | discussion of this type of issue in the
|
---|
| 74 | <xref linkend="locale-not-valid-option"/> section
|
---|
| 75 | on the <xref linkend="locale-issues"/> page.</para>
|
---|
| 76 |
|
---|
| 77 | <para>The patch adds the <quote>UTF-8 I/O</quote> configuration option.
|
---|
| 78 | With this option enabled, <application>Links</application> first renders
|
---|
| 79 | the page using an 8-bit character set configured by the user, and then
|
---|
| 80 | converts from this character set to UTF-8. The opposite conversion is
|
---|
| 81 | applied to user input. This approach works if there is an 8-bit character
|
---|
| 82 | set that contains all the characters that the user considers to be
|
---|
| 83 | important. Such character set does not exist, e.g., for Chinese
|
---|
| 84 | hieroglyphs, or when it is required to display both Cyrillic and Greek
|
---|
| 85 | characters.</para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect3">Do I Have to Enable Graphics Support?</bridgehead>
|
---|
[b3061d36] | 88 | <para>In graphical mode, <application>Links</application> displays text
|
---|
| 89 | correctly even in UTF-8 locales, if all characters exist in the built-in
|
---|
[65b031d] | 90 | font used by <application>Links</application>. This font contains
|
---|
| 91 | Basic Latin, Latin-1 Supplement (without superscripts and vulgar
|
---|
| 92 | fractions), Latin Extended-A, Latin Extended-B (partially), Greek,
|
---|
| 93 | Cyrillic and Hebrew characters. Form submission in non-ISO-8859-1
|
---|
| 94 | locales is handled correctly when running in X11-based graphical mode.
|
---|
| 95 | Input handlers for other graphics drivers (fb, directfb, svgalib) either
|
---|
[5b05b18f] | 96 | misinterpret non-ASCII characters, or don't allow them
|
---|
[65b031d] | 97 | at all.</para>
|
---|
| 98 |
|
---|
| 99 | <para>The patch has no effect on <application>Links</application>
|
---|
| 100 | behavior in graphical mode.</para>
|
---|
[1ad30c22] | 101 |
|
---|
[a8e70676] | 102 | <bridgehead renderas="sect3">Links Dependencies</bridgehead>
|
---|
[50b8d8b] | 103 |
|
---|
[65b031d] | 104 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 105 | <para role="recommended"><xref linkend="gpm"/>, and
|
---|
| 106 | <xref linkend="openssl"/>.</para>
|
---|
| 107 | <!-- pcre was used in previous versions only, for javascript
|
---|
| 108 | <xref linkend="pcre"/>
|
---|
| 109 | -->
|
---|
| 110 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 111 | <para role="optional">Support of graphical mode requires at least one of
|
---|
| 112 | <xref linkend="gpm"/> (to be used with a framebuffer-based console),
|
---|
| 113 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
[3a05e52b] | 114 | <!-- SDL support is removed upstream until someone fixes it
|
---|
[221f76c] | 115 | <xref linkend="sdl"/>,
|
---|
[3a05e52b] | 116 | -->
|
---|
[e77976f] | 117 | <ulink url="http://www.directfb.org/">DirectFB</ulink>, and
|
---|
[65b031d] | 118 | <xref linkend="x-window-system"/>. For decoding various image formats,
|
---|
| 119 | <application>Links</application> can utilize
|
---|
| 120 | <xref linkend="libpng"/>,
|
---|
| 121 | <xref linkend="libjpeg"/>, and
|
---|
| 122 | <xref linkend="libtiff"/>.</para>
|
---|
[50b8d8b] | 123 |
|
---|
[061ec9d] | 124 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 125 | <ulink url="&blfs-wiki;/LinksBrowser"/></para>
|
---|
[061ec9d] | 126 |
|
---|
[a8e70676] | 127 | </sect2>
|
---|
[50b8d8b] | 128 |
|
---|
[a8e70676] | 129 | <sect2 role="installation">
|
---|
| 130 | <title>Installation of Links</title>
|
---|
[1ad30c22] | 131 |
|
---|
| 132 | <para>If desired, apply the patch:</para>
|
---|
| 133 |
|
---|
| 134 | <screen><userinput>bzcat ../links-&Links-version;-utf8.diff.bz2 | patch -p1 &&
|
---|
| 135 | cd intl &&
|
---|
| 136 | ./gen-intl && ./synclang &&
|
---|
| 137 | cd ..
|
---|
| 138 | </userinput></screen>
|
---|
| 139 |
|
---|
| 140 | <para>Install <application>Links</application> by running the following
|
---|
[a8e70676] | 141 | commands:</para>
|
---|
| 142 |
|
---|
[1ad30c22] | 143 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bfacd622] | 144 | make</userinput></screen>
|
---|
[221f76c] | 145 |
|
---|
[c383721] | 146 | <para>This package does not come with a test suite.</para>
|
---|
| 147 |
|
---|
[221f76c] | 148 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 149 |
|
---|
[fd0a8cd] | 150 | <screen role='root'><userinput>make install &&
|
---|
| 151 | install -v -d -m755 /usr/share/doc/links-&Links-version; &&
|
---|
[3a05e52b] | 152 | install -v -m644 doc/links_cal/* KEYS BRAILLE_HOWTO \
|
---|
| 153 | /usr/share/doc/links-&Links-version;</userinput></screen>
|
---|
[50b8d8b] | 154 |
|
---|
[a8e70676] | 155 | </sect2>
|
---|
[50b8d8b] | 156 |
|
---|
[a8e70676] | 157 | <sect2 role="commands">
|
---|
| 158 | <title>Command Explanations</title>
|
---|
[1ad30c22] | 159 |
|
---|
| 160 | <para><command>./gen-intl && ./synclang</command>: These commands
|
---|
| 161 | regenerate the language table.</para>
|
---|
| 162 |
|
---|
[bfacd622] | 163 | <para><option>--enable-graphics</option>: This switch enables support
|
---|
[65b031d] | 164 | for graphics mode.</para>
|
---|
[50b8d8b] | 165 |
|
---|
[a8e70676] | 166 | </sect2>
|
---|
[50b8d8b] | 167 |
|
---|
[a8e70676] | 168 | <sect2 role="configuration">
|
---|
[463bc80c] | 169 | <title>Configuring Links</title>
|
---|
[50b8d8b] | 170 |
|
---|
[a8e70676] | 171 | <sect3 id="links-config">
|
---|
| 172 | <title>Config Files</title>
|
---|
[50b8d8b] | 173 |
|
---|
[a8e70676] | 174 | <para><filename>~/.links/*</filename></para>
|
---|
[50b8d8b] | 175 |
|
---|
[a8e70676] | 176 | <indexterm zone="Links links-config">
|
---|
| 177 | <primary sortas="e-AA.links/*">~/.links/*</primary>
|
---|
| 178 | </indexterm>
|
---|
[50b8d8b] | 179 |
|
---|
[a8e70676] | 180 | </sect3>
|
---|
[50b8d8b] | 181 |
|
---|
[a8e70676] | 182 | <sect3>
|
---|
| 183 | <title>Configuration Information</title>
|
---|
| 184 |
|
---|
[1065a91] | 185 | <para><application>Links</application> stores its configuration in per-user
|
---|
| 186 | files in the <filename class="directory">~/.links</filename> directory. These
|
---|
[a8e70676] | 187 | files are created automatically when <command>links</command> is run for the
|
---|
| 188 | first time.</para>
|
---|
[a4b9cd7] | 189 |
|
---|
[b3061d36] | 190 | <para>For the correct display of non-ASCII characters,
|
---|
| 191 | <application>Links</application> has to be configured through the menu
|
---|
| 192 | (accessible by pressing the ESC key), as follows:</para>
|
---|
[a4b9cd7] | 193 |
|
---|
| 194 | <itemizedlist>
|
---|
[b3061d36] | 195 | <listitem>
|
---|
| 196 | <para>If running <application>Links</application> in the text mode in a
|
---|
| 197 | UTF-8 based locale, go to the <quote>Setup > Terminal options</quote>
|
---|
| 198 | menu item and check the <quote>UTF-8 I/O</quote> box.</para>
|
---|
| 199 | </listitem>
|
---|
[a4b9cd7] | 200 | <listitem>
|
---|
| 201 | <para>If running <application>Links</application> in the text mode,
|
---|
[b3061d36] | 202 | go to the <quote>Setup > Character set</quote> menu item and select
|
---|
| 203 | the character set that matches your locale or, if you use UTF-8 based
|
---|
| 204 | locale, the character set that contains all characters that you want
|
---|
| 205 | <application>Links</application> to be able to display.</para>
|
---|
[a4b9cd7] | 206 | </listitem>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>Optionally, go to the <quote>Setup > Language</quote> menu
|
---|
| 209 | and select the user interface language.</para>
|
---|
| 210 | </listitem>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>Finally, select the <quote>Setup > Save options</quote>
|
---|
| 213 | menu item.</para>
|
---|
| 214 | </listitem>
|
---|
| 215 | </itemizedlist>
|
---|
[50b8d8b] | 216 |
|
---|
[a8e70676] | 217 | </sect3>
|
---|
[50b8d8b] | 218 |
|
---|
[a8e70676] | 219 | </sect2>
|
---|
[50b8d8b] | 220 |
|
---|
[a8e70676] | 221 | <sect2 role="content">
|
---|
| 222 | <title>Contents</title>
|
---|
[50b8d8b] | 223 |
|
---|
[a8e70676] | 224 | <segmentedlist>
|
---|
| 225 | <segtitle>Installed Program</segtitle>
|
---|
| 226 | <segtitle>Installed Libraries</segtitle>
|
---|
| 227 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 228 |
|
---|
[a8e70676] | 229 | <seglistitem>
|
---|
| 230 | <seg>links</seg>
|
---|
| 231 | <seg>None</seg>
|
---|
[3a05e52b] | 232 | <seg>/usr/share/doc/links-&Links-version;</seg>
|
---|
[a8e70676] | 233 | </seglistitem>
|
---|
| 234 | </segmentedlist>
|
---|
[50b8d8b] | 235 |
|
---|
[a8e70676] | 236 | <variablelist>
|
---|
| 237 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 238 | <?dbfo list-presentation="list"?>
|
---|
| 239 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 240 |
|
---|
[a8e70676] | 241 | <varlistentry id="links">
|
---|
[0f0ee329] | 242 | <term><command>links</command></term>
|
---|
[a8e70676] | 243 | <listitem>
|
---|
| 244 | <para>is a text and graphics mode WWW browser.</para>
|
---|
| 245 | <indexterm zone="Links links">
|
---|
| 246 | <primary sortas="b-links">links</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
[50b8d8b] | 250 |
|
---|
[a8e70676] | 251 | </variablelist>
|
---|
[50b8d8b] | 252 |
|
---|
[a8e70676] | 253 | </sect2>
|
---|
[50b8d8b] | 254 |
|
---|
[f45b1953] | 255 | </sect1>
|
---|