[773c358] | 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 |
|
---|
[fce275e] | 7 | <!ENTITY w3m-download-http "&sourceforge-repo;/w3m/w3m-&w3m-version;.tar.gz">
|
---|
[773c358] | 8 | <!ENTITY w3m-download-ftp " ">
|
---|
[ce6a89f] | 9 | <!ENTITY w3m-md5sum "1b845a983a50b8dec0169ac48479eacc">
|
---|
| 10 | <!ENTITY w3m-size "2.1 MB">
|
---|
| 11 | <!ENTITY w3m-buildsize "26 MB">
|
---|
[f5da8e9] | 12 | <!ENTITY w3m-time "0.3 SBU">
|
---|
[773c358] | 13 | ]>
|
---|
| 14 |
|
---|
[31784c8] | 15 | <sect1 id="w3m" xreflabel="w3m-&w3m-version;">
|
---|
[768d4b6] | 16 | <?dbhtml filename="w3m.html"?>
|
---|
[50b8d8b] | 17 |
|
---|
[768d4b6] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[50b8d8b] | 22 |
|
---|
[768d4b6] | 23 | <title>W3m-&w3m-version;</title>
|
---|
[50b8d8b] | 24 |
|
---|
[768d4b6] | 25 | <indexterm zone="w3m">
|
---|
| 26 | <primary sortas="a-W3m">W3m</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to W3m</title>
|
---|
[50b8d8b] | 31 |
|
---|
[f5da8e9] | 32 | <para><application>w3m</application> is primarily a pager but it can
|
---|
| 33 | also be used as a text-mode WWW browser.</para>
|
---|
[50b8d8b] | 34 |
|
---|
[a1d3648] | 35 | &lfs73_checked;
|
---|
[d4796f8b] | 36 |
|
---|
[768d4b6] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&w3m-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&w3m-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &w3m-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &w3m-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &w3m-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &w3m-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
[50b8d8b] | 58 |
|
---|
[bccef10] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing="compact">
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Required patch:
|
---|
| 64 | <ulink url="&patch-root;/w3m-&w3m-version;-bdwgc72-1.patch"/>
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[768d4b6] | 69 | <bridgehead renderas="sect3">W3m Dependencies</bridgehead>
|
---|
[50b8d8b] | 70 |
|
---|
[768d4b6] | 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4dbbf634] | 72 | <para role="required"><xref linkend="gc"/></para>
|
---|
[50b8d8b] | 73 |
|
---|
[768d4b6] | 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a1d3648] | 75 | <para role="optional">
|
---|
| 76 | <xref linkend="gpm"/>,
|
---|
| 77 | <xref linkend="openssl"/>,
|
---|
| 78 | <xref linkend="imlib2"/>,
|
---|
| 79 | <xref linkend="gtk2"/>,
|
---|
| 80 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/">Imlib</ulink>
|
---|
| 81 | (not recommended: obsolete, abandoned upstream,
|
---|
| 82 | <ulink url="http://bugs.debian.org/448360">buggy</ulink>, and gives no
|
---|
| 83 | additional functionality as compared to other image loading libraries),
|
---|
| 84 | <xref linkend="gdk-pixbuf"/>,
|
---|
| 85 | <xref linkend="compface"/>, and
|
---|
| 86 | <ulink url="http://packages.debian.org/unstable/text/nkf">nkf</ulink>,
|
---|
| 87 | a Mail User Agent and an External Browser</para>
|
---|
[50b8d8b] | 88 |
|
---|
[061ec9d] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 90 | <ulink url="&blfs-wiki;/W3M"/></para>
|
---|
[768d4b6] | 91 | </sect2>
|
---|
[50b8d8b] | 92 |
|
---|
[768d4b6] | 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of W3m</title>
|
---|
| 95 |
|
---|
[1065a91] | 96 | <para>Install <application>w3m</application> by running the following
|
---|
[768d4b6] | 97 | commands:</para>
|
---|
| 98 |
|
---|
[a1d3648] | 99 | <screen><userinput>patch -Np1 -i ../w3m-&w3m-version;-bdwgc72-1.patch &&
|
---|
[bccef10] | 100 | sed -i 's/file_handle/file_foo/' istream.{c,h} &&
|
---|
[bd5c017] | 101 | sed -i 's#gdk-pixbuf-xlib-2.0#& x11#' configure &&
|
---|
[7a5857c] | 102 | ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib &&
|
---|
[e8d51d03] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[4edfbea9] | 105 | <para>This package does not come with a test suite.</para>
|
---|
[e8d51d03] | 106 |
|
---|
| 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>make install &&
|
---|
[f5da8e9] | 110 | install -v -m644 -D doc/keymap.default /etc/w3m/keymap &&
|
---|
| 111 | install -v -m644 doc/menu.default /etc/w3m/menu &&
|
---|
| 112 | install -v -m755 -d /usr/share/doc/w3m-&w3m-version; &&
|
---|
| 113 | install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \
|
---|
| 114 | /usr/share/doc/w3m-&w3m-version;</userinput></screen>
|
---|
[ce6a89f] | 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[bccef10] | 120 | <para>
|
---|
| 121 | <command>patch -p1 < ../w3m-&w3m-version;-bdwgc72-1.patch</command>:
|
---|
| 122 | This patch fixes compiling w3m with GC-7.2 installed.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[ce6a89f] | 125 | <para><command>sed -i 's/file_handle/file_foo/' istream.{c,h}</command>:
|
---|
| 126 | This sed renames the file_handle function to avoid a clash with a glibc
|
---|
| 127 | function that has the same name, defined in
|
---|
| 128 | /usr/include/bits/fcntl.h.</para>
|
---|
| 129 |
|
---|
[bd5c017] | 130 | <para><command>sed -i 's#gdk-pixbuf-xlib-2.0#& x11#'
|
---|
| 131 | configure</command>: This sed fixes compiling <application>w3m</application>
|
---|
| 132 | using <xref linkend="gtk2"/> as its image library. It has no impact if
|
---|
| 133 | <xref linkend="gtk2"/> is not installed.</para>
|
---|
| 134 |
|
---|
[ce6a89f] | 135 | <para><option>--sysconfdir=/etc</option>: This option puts the configuration
|
---|
| 136 | files in /etc.</para>
|
---|
[768d4b6] | 137 | </sect2>
|
---|
[50b8d8b] | 138 |
|
---|
[768d4b6] | 139 | <sect2 role="configuration">
|
---|
| 140 | <title>Configuring W3m</title>
|
---|
[50b8d8b] | 141 |
|
---|
[768d4b6] | 142 | <sect3 id="w3m-config">
|
---|
| 143 | <title>Config Files</title>
|
---|
[50b8d8b] | 144 |
|
---|
[768d4b6] | 145 | <para><filename>/etc/w3m/*</filename> and
|
---|
| 146 | <filename>~/.w3m/*</filename></para>
|
---|
[50b8d8b] | 147 |
|
---|
[768d4b6] | 148 | <indexterm zone="w3m w3m-config">
|
---|
| 149 | <primary sortas="e-etc-w3m/*">/etc/w3m/*</primary>
|
---|
| 150 | </indexterm>
|
---|
[50b8d8b] | 151 |
|
---|
[768d4b6] | 152 | <indexterm zone="w3m w3m-config">
|
---|
| 153 | <primary sortas="e-AA.w3m/*">~/.w3m/*</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </sect3>
|
---|
| 156 | </sect2>
|
---|
[50b8d8b] | 157 |
|
---|
[768d4b6] | 158 | <sect2 role="content">
|
---|
| 159 | <title>Contents</title>
|
---|
[50b8d8b] | 160 |
|
---|
[768d4b6] | 161 | <segmentedlist>
|
---|
| 162 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 163 | <segtitle>Installed Libraries</segtitle>
|
---|
[768d4b6] | 164 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 165 |
|
---|
[768d4b6] | 166 | <seglistitem>
|
---|
| 167 | <seg>w3m and w3mman</seg>
|
---|
[c3c56b2] | 168 | <seg>None</seg>
|
---|
[ce6a89f] | 169 | <seg>/usr/libexec/w3m, /usr/share/w3m and
|
---|
[e8d51d03] | 170 | usr/share/doc/w3m-&w3m-version;</seg>
|
---|
[768d4b6] | 171 | </seglistitem>
|
---|
| 172 | </segmentedlist>
|
---|
[50b8d8b] | 173 |
|
---|
[768d4b6] | 174 | <variablelist>
|
---|
| 175 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 176 | <?dbfo list-presentation="list"?>
|
---|
| 177 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 178 |
|
---|
[768d4b6] | 179 | <varlistentry id="w3m-prog">
|
---|
| 180 | <term><command>w3m</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>is a text based web browser and pager.</para>
|
---|
| 183 | <indexterm zone="w3m w3m-prog">
|
---|
| 184 | <primary sortas="b-w3m">w3m</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
[50b8d8b] | 188 |
|
---|
[768d4b6] | 189 | <varlistentry id="w3mman">
|
---|
[9a003fe1] | 190 | <!-- Don't remove the extra space, it prevent a FOP warning. -->
|
---|
| 191 | <term><command>w3mman</command> </term>
|
---|
[768d4b6] | 192 | <listitem>
|
---|
[1065a91] | 193 | <para>is an interface to the on-line reference manuals in
|
---|
[768d4b6] | 194 | <command>w3m</command>.</para>
|
---|
| 195 | <indexterm zone="w3m w3mman">
|
---|
| 196 | <primary sortas="b-w3mman">w3mman</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 | </variablelist>
|
---|
| 201 | </sect2>
|
---|
[f45b1953] | 202 | </sect1>
|
---|