1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY links-download-http "http://links.twibright.com/download/links-&Links-version;.tar.bz2">
|
---|
8 | <!ENTITY links-download-ftp "&gentoo-ftp-repo;/links-&Links-version;.tar.bz2">
|
---|
9 | <!ENTITY links-md5sum "aedee41d9ee941378dc0ab114a65f353">
|
---|
10 | <!ENTITY links-size "3.7 MB">
|
---|
11 | <!ENTITY links-buildsize "55 MB">
|
---|
12 | <!ENTITY links-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="Links" xreflabel="Links-&Links-version;">
|
---|
16 | <?dbhtml filename="links.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Links-&Links-version;</title>
|
---|
24 |
|
---|
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
|
---|
33 | WWW browser. It includes support for rendering
|
---|
34 | tables and frames, features background downloads, can display colors
|
---|
35 | and has many other features.</para>
|
---|
36 |
|
---|
37 | &lfs70_checked;
|
---|
38 |
|
---|
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>
|
---|
60 |
|
---|
61 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
62 | <itemizedlist spacing='compact'>
|
---|
63 | <listitem>
|
---|
64 | <para>Recommended patch: <ulink
|
---|
65 | url="&gentoo-ftp-repo;/links-2.1pre33-utf8.diff.bz2"/>
|
---|
66 | (works for 2.2)</para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
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>
|
---|
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
|
---|
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
|
---|
99 | misinterpret non-ASCII characters, or don't allow them
|
---|
100 | at all.</para>
|
---|
101 |
|
---|
102 | <para>The patch has no effect on <application>Links</application>
|
---|
103 | behavior in graphical mode.</para> -->
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect3">Links Dependencies</bridgehead>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
108 | <para role="recommended"><xref linkend="gpm"/> (if mouse support is
|
---|
109 | desired) and
|
---|
110 | <xref linkend="openssl"/></para>
|
---|
111 | <!-- pcre was used in previous versions only, for javascript
|
---|
112 | <xref linkend="pcre"/>
|
---|
113 | -->
|
---|
114 |
|
---|
115 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
116 | <para role="optional">Support for graphical mode requires at least one of
|
---|
117 | <xref linkend="gpm"/> (to be used with a framebuffer-based console),
|
---|
118 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
119 | <!-- SDL support is removed upstream until someone fixes it
|
---|
120 | <xref linkend="sdl"/>,
|
---|
121 | -->
|
---|
122 | <ulink url="http://www.directfb.org/">DirectFB</ulink>, and
|
---|
123 | <xref linkend="x-window-system"/></para>
|
---|
124 |
|
---|
125 | <para>For decoding various image formats <application>Links</application>
|
---|
126 | can utilize
|
---|
127 | <xref linkend="libpng"/>,
|
---|
128 | <xref linkend="libjpeg"/>, and
|
---|
129 | <xref linkend="libtiff"/></para>
|
---|
130 |
|
---|
131 | <para condition="html" role="usernotes">User Notes:
|
---|
132 | <ulink url="&blfs-wiki;/LinksBrowser"/></para>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="installation">
|
---|
137 | <title>Installation of Links</title>
|
---|
138 |
|
---|
139 | <!-- <para>If desired, apply the patch:</para>
|
---|
140 |
|
---|
141 | <screen><userinput>bzcat ../links-2.1pre33-utf8.diff.bz2 | patch -p1 &&
|
---|
142 | cd intl &&
|
---|
143 | ./gen-intl && ./synclang &&
|
---|
144 | cd ..</userinput></screen> -->
|
---|
145 |
|
---|
146 | <para>Install <application>Links</application> by running the following
|
---|
147 | commands:</para>
|
---|
148 |
|
---|
149 | <screen><userinput>./configure --prefix=/usr &&
|
---|
150 | make</userinput></screen>
|
---|
151 |
|
---|
152 | <para>This package does not come with a test suite.</para>
|
---|
153 |
|
---|
154 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
155 |
|
---|
156 | <screen role='root'><userinput>make install &&
|
---|
157 | install -v -d -m755 /usr/share/doc/links-&Links-version; &&
|
---|
158 | install -v -m644 doc/links_cal/* KEYS BRAILLE_HOWTO \
|
---|
159 | /usr/share/doc/links-&Links-version;</userinput></screen>
|
---|
160 |
|
---|
161 | </sect2>
|
---|
162 |
|
---|
163 | <sect2 role="commands">
|
---|
164 | <title>Command Explanations</title>
|
---|
165 |
|
---|
166 | <!-- <para><command>./gen-intl && ./synclang</command>: These commands
|
---|
167 | regenerate the language table.</para> -->
|
---|
168 |
|
---|
169 | <para><option>--enable-graphics</option>: This switch enables support
|
---|
170 | for graphics mode.</para>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | <sect2 role="configuration">
|
---|
175 | <title>Configuring Links</title>
|
---|
176 |
|
---|
177 | <sect3 id="links-config">
|
---|
178 | <title>Config Files</title>
|
---|
179 |
|
---|
180 | <para><filename>~/.links/*</filename></para>
|
---|
181 |
|
---|
182 | <indexterm zone="Links links-config">
|
---|
183 | <primary sortas="e-AA.links/*">~/.links/*</primary>
|
---|
184 | </indexterm>
|
---|
185 |
|
---|
186 | </sect3>
|
---|
187 |
|
---|
188 | <sect3>
|
---|
189 | <title>Configuration Information</title>
|
---|
190 |
|
---|
191 | <para><application>Links</application> stores its configuration in per-user
|
---|
192 | files in the <filename class="directory">~/.links</filename> directory. These
|
---|
193 | files are created automatically when <command>links</command> is run for the
|
---|
194 | first time.</para>
|
---|
195 |
|
---|
196 | <!-- <para>For the correct display of non-ASCII characters,
|
---|
197 | <application>Links</application> has to be configured through the menu
|
---|
198 | (accessible by pressing the ESC key), as follows:</para>
|
---|
199 |
|
---|
200 | <itemizedlist>
|
---|
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>
|
---|
206 | <listitem>
|
---|
207 | <para>If running <application>Links</application> in the text mode,
|
---|
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>
|
---|
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>
|
---|
221 | </itemizedlist> -->
|
---|
222 |
|
---|
223 | </sect3>
|
---|
224 |
|
---|
225 | </sect2>
|
---|
226 |
|
---|
227 | <sect2 role="content">
|
---|
228 | <title>Contents</title>
|
---|
229 |
|
---|
230 | <segmentedlist>
|
---|
231 | <segtitle>Installed Program</segtitle>
|
---|
232 | <segtitle>Installed Libraries</segtitle>
|
---|
233 | <segtitle>Installed Directories</segtitle>
|
---|
234 |
|
---|
235 | <seglistitem>
|
---|
236 | <seg>links</seg>
|
---|
237 | <seg>None</seg>
|
---|
238 | <seg>/usr/share/doc/links-&Links-version;</seg>
|
---|
239 | </seglistitem>
|
---|
240 | </segmentedlist>
|
---|
241 |
|
---|
242 | <variablelist>
|
---|
243 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
244 | <?dbfo list-presentation="list"?>
|
---|
245 | <?dbhtml list-presentation="table"?>
|
---|
246 |
|
---|
247 | <varlistentry id="links">
|
---|
248 | <term><command>links</command></term>
|
---|
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>
|
---|
256 |
|
---|
257 | </variablelist>
|
---|
258 |
|
---|
259 | </sect2>
|
---|
260 |
|
---|
261 | </sect1>
|
---|