[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 |
|
---|
[ce6a89f] | 35 | &lfs70_built;
|
---|
[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 |
|
---|
[768d4b6] | 59 | <bridgehead renderas="sect3">W3m Dependencies</bridgehead>
|
---|
[50b8d8b] | 60 |
|
---|
[768d4b6] | 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4dbbf634] | 62 | <para role="required"><xref linkend="gc"/></para>
|
---|
[50b8d8b] | 63 |
|
---|
[768d4b6] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ce6a89f] | 65 | <para role="optional"><xref linkend="gpm"/>,
|
---|
[1065a91] | 66 | <xref linkend="openssl"/>,
|
---|
| 67 | <xref linkend="imlib2"/>,
|
---|
[f5da8e9] | 68 | <xref linkend="gtk2"/>,
|
---|
[d472f41a] | 69 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/">Imlib</ulink>
|
---|
| 70 | (not recommended: obsolete, abandoned upstream,
|
---|
| 71 | <ulink url="http://bugs.debian.org/448360">buggy</ulink>, and gives no
|
---|
| 72 | additional functionality as compared to other image loading libraries),
|
---|
[ce6a89f] | 73 | <xref linkend="gdk-pixbuf"/>,
|
---|
[1065a91] | 74 | <xref linkend="compface"/>,
|
---|
| 75 | <ulink url="http://packages.debian.org/unstable/text/nkf">nkf</ulink>,
|
---|
[768d4b6] | 76 | a Mail User Agent and an External Browser</para>
|
---|
[50b8d8b] | 77 |
|
---|
[061ec9d] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 79 | <ulink url="&blfs-wiki;/W3M"/></para>
|
---|
[768d4b6] | 80 | </sect2>
|
---|
[50b8d8b] | 81 |
|
---|
[768d4b6] | 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of W3m</title>
|
---|
| 84 |
|
---|
[1065a91] | 85 | <para>Install <application>w3m</application> by running the following
|
---|
[768d4b6] | 86 | commands:</para>
|
---|
| 87 |
|
---|
[ce6a89f] | 88 | <screen><userinput>sed -i 's/file_handle/file_foo/' istream.{c,h} &&
|
---|
[bd5c017] | 89 | sed -i 's#gdk-pixbuf-xlib-2.0#& x11#' configure &&
|
---|
| 90 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[e8d51d03] | 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[4edfbea9] | 93 | <para>This package does not come with a test suite.</para>
|
---|
[e8d51d03] | 94 |
|
---|
| 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 96 |
|
---|
| 97 | <screen role="root"><userinput>make install &&
|
---|
[f5da8e9] | 98 | install -v -m644 -D doc/keymap.default /etc/w3m/keymap &&
|
---|
| 99 | install -v -m644 doc/menu.default /etc/w3m/menu &&
|
---|
| 100 | install -v -m755 -d /usr/share/doc/w3m-&w3m-version; &&
|
---|
| 101 | install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \
|
---|
| 102 | /usr/share/doc/w3m-&w3m-version;</userinput></screen>
|
---|
[ce6a89f] | 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
| 107 |
|
---|
| 108 | <para><command>sed -i 's/file_handle/file_foo/' istream.{c,h}</command>:
|
---|
| 109 | This sed renames the file_handle function to avoid a clash with a glibc
|
---|
| 110 | function that has the same name, defined in
|
---|
| 111 | /usr/include/bits/fcntl.h.</para>
|
---|
| 112 |
|
---|
[bd5c017] | 113 | <para><command>sed -i 's#gdk-pixbuf-xlib-2.0#& x11#'
|
---|
| 114 | configure</command>: This sed fixes compiling <application>w3m</application>
|
---|
| 115 | using <xref linkend="gtk2"/> as its image library. It has no impact if
|
---|
| 116 | <xref linkend="gtk2"/> is not installed.</para>
|
---|
| 117 |
|
---|
[ce6a89f] | 118 | <para><option>--sysconfdir=/etc</option>: This option puts the configuration
|
---|
| 119 | files in /etc.</para>
|
---|
[768d4b6] | 120 | </sect2>
|
---|
[50b8d8b] | 121 |
|
---|
[768d4b6] | 122 | <sect2 role="configuration">
|
---|
| 123 | <title>Configuring W3m</title>
|
---|
[50b8d8b] | 124 |
|
---|
[768d4b6] | 125 | <sect3 id="w3m-config">
|
---|
| 126 | <title>Config Files</title>
|
---|
[50b8d8b] | 127 |
|
---|
[768d4b6] | 128 | <para><filename>/etc/w3m/*</filename> and
|
---|
| 129 | <filename>~/.w3m/*</filename></para>
|
---|
[50b8d8b] | 130 |
|
---|
[768d4b6] | 131 | <indexterm zone="w3m w3m-config">
|
---|
| 132 | <primary sortas="e-etc-w3m/*">/etc/w3m/*</primary>
|
---|
| 133 | </indexterm>
|
---|
[50b8d8b] | 134 |
|
---|
[768d4b6] | 135 | <indexterm zone="w3m w3m-config">
|
---|
| 136 | <primary sortas="e-AA.w3m/*">~/.w3m/*</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </sect3>
|
---|
| 139 | </sect2>
|
---|
[50b8d8b] | 140 |
|
---|
[768d4b6] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
[50b8d8b] | 143 |
|
---|
[768d4b6] | 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 147 |
|
---|
[768d4b6] | 148 | <seglistitem>
|
---|
| 149 | <seg>w3m and w3mman</seg>
|
---|
[ce6a89f] | 150 | <seg>/usr/libexec/w3m, /usr/share/w3m and
|
---|
[e8d51d03] | 151 | usr/share/doc/w3m-&w3m-version;</seg>
|
---|
[768d4b6] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
[50b8d8b] | 154 |
|
---|
[768d4b6] | 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 159 |
|
---|
[768d4b6] | 160 | <varlistentry id="w3m-prog">
|
---|
| 161 | <term><command>w3m</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>is a text based web browser and pager.</para>
|
---|
| 164 | <indexterm zone="w3m w3m-prog">
|
---|
| 165 | <primary sortas="b-w3m">w3m</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
[50b8d8b] | 169 |
|
---|
[768d4b6] | 170 | <varlistentry id="w3mman">
|
---|
[9a003fe1] | 171 | <!-- Don't remove the extra space, it prevent a FOP warning. -->
|
---|
| 172 | <term><command>w3mman</command> </term>
|
---|
[768d4b6] | 173 | <listitem>
|
---|
[1065a91] | 174 | <para>is an interface to the on-line reference manuals in
|
---|
[768d4b6] | 175 | <command>w3m</command>.</para>
|
---|
| 176 | <indexterm zone="w3m w3mman">
|
---|
| 177 | <primary sortas="b-w3mman">w3mman</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 | </variablelist>
|
---|
| 182 | </sect2>
|
---|
[f45b1953] | 183 | </sect1>
|
---|