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