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