[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">
|
---|
[32d0e29] | 8 | <!ENTITY links-download-ftp "&gentoo-ftp-repo;/links-&Links-version;.tar.bz2">
|
---|
[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>
|
---|
[fd7e0ed6] | 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>
|
---|
[32d0e29] | 105 | <para role="recommended"><xref linkend="gpm"/> (if mouse support is
|
---|
[410e228b] | 106 | desired) and
|
---|
[32d0e29] | 107 | <xref linkend="openssl"/></para>
|
---|
[65b031d] | 108 | <!-- pcre was used in previous versions only, for javascript
|
---|
| 109 | <xref linkend="pcre"/>
|
---|
| 110 | -->
|
---|
[32d0e29] | 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 113 | <para role="optional">Support for graphical mode requires at least one of
|
---|
[65b031d] | 114 | <xref linkend="gpm"/> (to be used with a framebuffer-based console),
|
---|
| 115 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
[3a05e52b] | 116 | <!-- SDL support is removed upstream until someone fixes it
|
---|
[221f76c] | 117 | <xref linkend="sdl"/>,
|
---|
[3a05e52b] | 118 | -->
|
---|
[e77976f] | 119 | <ulink url="http://www.directfb.org/">DirectFB</ulink>, and
|
---|
[32d0e29] | 120 | <xref linkend="x-window-system"/></para>
|
---|
| 121 |
|
---|
| 122 | <para>For decoding various image formats <application>Links</application>
|
---|
| 123 | can utilize
|
---|
[65b031d] | 124 | <xref linkend="libpng"/>,
|
---|
| 125 | <xref linkend="libjpeg"/>, and
|
---|
[32d0e29] | 126 | <xref linkend="libtiff"/></para>
|
---|
[50b8d8b] | 127 |
|
---|
[061ec9d] | 128 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 129 | <ulink url="&blfs-wiki;/LinksBrowser"/></para>
|
---|
[061ec9d] | 130 |
|
---|
[a8e70676] | 131 | </sect2>
|
---|
[50b8d8b] | 132 |
|
---|
[a8e70676] | 133 | <sect2 role="installation">
|
---|
| 134 | <title>Installation of Links</title>
|
---|
[fd7e0ed6] | 135 |
|
---|
[1ad30c22] | 136 | <para>If desired, apply the patch:</para>
|
---|
| 137 |
|
---|
| 138 | <screen><userinput>bzcat ../links-&Links-version;-utf8.diff.bz2 | patch -p1 &&
|
---|
| 139 | cd intl &&
|
---|
| 140 | ./gen-intl && ./synclang &&
|
---|
[32d0e29] | 141 | cd ..</userinput></screen>
|
---|
[fd7e0ed6] | 142 |
|
---|
[1ad30c22] | 143 | <para>Install <application>Links</application> by running the following
|
---|
[a8e70676] | 144 | commands:</para>
|
---|
| 145 |
|
---|
[1ad30c22] | 146 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bfacd622] | 147 | make</userinput></screen>
|
---|
[221f76c] | 148 |
|
---|
[c383721] | 149 | <para>This package does not come with a test suite.</para>
|
---|
| 150 |
|
---|
[221f76c] | 151 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 152 |
|
---|
[fd0a8cd] | 153 | <screen role='root'><userinput>make install &&
|
---|
| 154 | install -v -d -m755 /usr/share/doc/links-&Links-version; &&
|
---|
[3a05e52b] | 155 | install -v -m644 doc/links_cal/* KEYS BRAILLE_HOWTO \
|
---|
| 156 | /usr/share/doc/links-&Links-version;</userinput></screen>
|
---|
[50b8d8b] | 157 |
|
---|
[a8e70676] | 158 | </sect2>
|
---|
[50b8d8b] | 159 |
|
---|
[a8e70676] | 160 | <sect2 role="commands">
|
---|
| 161 | <title>Command Explanations</title>
|
---|
[fd7e0ed6] | 162 |
|
---|
[1ad30c22] | 163 | <para><command>./gen-intl && ./synclang</command>: These commands
|
---|
| 164 | regenerate the language table.</para>
|
---|
[fd7e0ed6] | 165 |
|
---|
[bfacd622] | 166 | <para><option>--enable-graphics</option>: This switch enables support
|
---|
[65b031d] | 167 | for graphics mode.</para>
|
---|
[50b8d8b] | 168 |
|
---|
[a8e70676] | 169 | </sect2>
|
---|
[50b8d8b] | 170 |
|
---|
[a8e70676] | 171 | <sect2 role="configuration">
|
---|
[463bc80c] | 172 | <title>Configuring Links</title>
|
---|
[50b8d8b] | 173 |
|
---|
[a8e70676] | 174 | <sect3 id="links-config">
|
---|
| 175 | <title>Config Files</title>
|
---|
[50b8d8b] | 176 |
|
---|
[a8e70676] | 177 | <para><filename>~/.links/*</filename></para>
|
---|
[50b8d8b] | 178 |
|
---|
[a8e70676] | 179 | <indexterm zone="Links links-config">
|
---|
| 180 | <primary sortas="e-AA.links/*">~/.links/*</primary>
|
---|
| 181 | </indexterm>
|
---|
[50b8d8b] | 182 |
|
---|
[a8e70676] | 183 | </sect3>
|
---|
[50b8d8b] | 184 |
|
---|
[a8e70676] | 185 | <sect3>
|
---|
| 186 | <title>Configuration Information</title>
|
---|
| 187 |
|
---|
[1065a91] | 188 | <para><application>Links</application> stores its configuration in per-user
|
---|
| 189 | files in the <filename class="directory">~/.links</filename> directory. These
|
---|
[a8e70676] | 190 | files are created automatically when <command>links</command> is run for the
|
---|
| 191 | first time.</para>
|
---|
[fd7e0ed6] | 192 |
|
---|
[b3061d36] | 193 | <para>For the correct display of non-ASCII characters,
|
---|
| 194 | <application>Links</application> has to be configured through the menu
|
---|
| 195 | (accessible by pressing the ESC key), as follows:</para>
|
---|
[fd7e0ed6] | 196 |
|
---|
[a4b9cd7] | 197 | <itemizedlist>
|
---|
[b3061d36] | 198 | <listitem>
|
---|
| 199 | <para>If running <application>Links</application> in the text mode in a
|
---|
| 200 | UTF-8 based locale, go to the <quote>Setup > Terminal options</quote>
|
---|
| 201 | menu item and check the <quote>UTF-8 I/O</quote> box.</para>
|
---|
| 202 | </listitem>
|
---|
[a4b9cd7] | 203 | <listitem>
|
---|
| 204 | <para>If running <application>Links</application> in the text mode,
|
---|
[b3061d36] | 205 | go to the <quote>Setup > Character set</quote> menu item and select
|
---|
| 206 | the character set that matches your locale or, if you use UTF-8 based
|
---|
| 207 | locale, the character set that contains all characters that you want
|
---|
| 208 | <application>Links</application> to be able to display.</para>
|
---|
[a4b9cd7] | 209 | </listitem>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>Optionally, go to the <quote>Setup > Language</quote> menu
|
---|
| 212 | and select the user interface language.</para>
|
---|
| 213 | </listitem>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>Finally, select the <quote>Setup > Save options</quote>
|
---|
| 216 | menu item.</para>
|
---|
| 217 | </listitem>
|
---|
| 218 | </itemizedlist>
|
---|
[50b8d8b] | 219 |
|
---|
[a8e70676] | 220 | </sect3>
|
---|
[50b8d8b] | 221 |
|
---|
[a8e70676] | 222 | </sect2>
|
---|
[50b8d8b] | 223 |
|
---|
[a8e70676] | 224 | <sect2 role="content">
|
---|
| 225 | <title>Contents</title>
|
---|
[50b8d8b] | 226 |
|
---|
[a8e70676] | 227 | <segmentedlist>
|
---|
| 228 | <segtitle>Installed Program</segtitle>
|
---|
| 229 | <segtitle>Installed Libraries</segtitle>
|
---|
| 230 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 231 |
|
---|
[a8e70676] | 232 | <seglistitem>
|
---|
| 233 | <seg>links</seg>
|
---|
| 234 | <seg>None</seg>
|
---|
[3a05e52b] | 235 | <seg>/usr/share/doc/links-&Links-version;</seg>
|
---|
[a8e70676] | 236 | </seglistitem>
|
---|
| 237 | </segmentedlist>
|
---|
[50b8d8b] | 238 |
|
---|
[a8e70676] | 239 | <variablelist>
|
---|
| 240 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 241 | <?dbfo list-presentation="list"?>
|
---|
| 242 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 243 |
|
---|
[a8e70676] | 244 | <varlistentry id="links">
|
---|
[0f0ee329] | 245 | <term><command>links</command></term>
|
---|
[a8e70676] | 246 | <listitem>
|
---|
| 247 | <para>is a text and graphics mode WWW browser.</para>
|
---|
| 248 | <indexterm zone="Links links">
|
---|
| 249 | <primary sortas="b-links">links</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
[50b8d8b] | 253 |
|
---|
[a8e70676] | 254 | </variablelist>
|
---|
[50b8d8b] | 255 |
|
---|
[a8e70676] | 256 | </sect2>
|
---|
[50b8d8b] | 257 |
|
---|
[f45b1953] | 258 | </sect1>
|
---|