[868c7c2] | 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" [
|
---|
[868c7c2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2245ae0] | 7 | <!ENTITY xterm-download-http "http://invisible-mirror.net/archives/xterm/xterm-&xterm-version;.tgz">
|
---|
[5ed4f0d] | 8 | <!--<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">-->
|
---|
| 9 | <!ENTITY xterm-download-ftp " ">
|
---|
[b65f260d] | 10 | <!ENTITY xterm-md5sum "4bbc75ecc68d100547662958cda346ae">
|
---|
[7715803] | 11 | <!ENTITY xterm-size "1.2 MB">
|
---|
[a01c60a] | 12 | <!ENTITY xterm-buildsize "12 MB">
|
---|
[25f7cea] | 13 | <!ENTITY xterm-time "0.1 SBU">
|
---|
[868c7c2] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="xterm2" xreflabel="xterm-&xterm-version;">
|
---|
| 17 | <?dbhtml filename="xterm.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>xterm-&xterm-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="xterm2">
|
---|
| 27 | <primary sortas="a-xterm2">xterm</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to xterm</title>
|
---|
| 32 |
|
---|
[e2b0dfc0] | 33 | <para><application>xterm</application> is a terminal emulator for
|
---|
| 34 | the X Window System.</para>
|
---|
[868c7c2] | 35 |
|
---|
[e03aea8] | 36 | ¬-katamari;
|
---|
| 37 |
|
---|
[2f3cfb22] | 38 | &lfs82_checked;
|
---|
[1ed7820] | 39 |
|
---|
[868c7c2] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &xterm-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &xterm-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &xterm-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &xterm-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[1a1fc45] | 65 | <para role="required"><xref linkend="xorg7-app"/></para>
|
---|
[868c7c2] | 66 |
|
---|
[124f752c] | 67 | <bridgehead renderas="sect4">Required (at runtime)</bridgehead>
|
---|
| 68 | <para role="required">
|
---|
[e180a646] | 69 | A monospace TTF or OTF font such as
|
---|
[e71a98d9] | 70 | <xref role="runtime" linkend="dejavu-fonts"/>
|
---|
[124f752c] | 71 | </para>
|
---|
| 72 |
|
---|
| 73 |
|
---|
[38b3eab] | 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 75 | <para role="optional">
|
---|
| 76 | <xref linkend="valgrind"/> and
|
---|
| 77 | <ulink url="http://www.nongnu.org/man2html/">man2html</ulink>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[1663c2b5] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url='&blfs-wiki;/Xterm'/></para>
|
---|
[6e43b142] | 82 |
|
---|
[868c7c2] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of xterm</title>
|
---|
| 87 |
|
---|
| 88 | <para>Install <application>xterm</application> by running the
|
---|
| 89 | following commands:</para>
|
---|
| 90 |
|
---|
[5597c6eb] | 91 | <screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
|
---|
| 92 | printf '\tkbs=\\177,\n' >> terminfo &&
|
---|
[5f26d66f] | 93 |
|
---|
| 94 | TERMINFO=/usr/share/terminfo \
|
---|
| 95 | ./configure $XORG_CONFIG \
|
---|
[bbe9eba0] | 96 | --with-app-defaults=/etc/X11/app-defaults &&
|
---|
[5f26d66f] | 97 |
|
---|
[868c7c2] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>This package does not come with a test suite.</para>
|
---|
| 101 |
|
---|
[c23b62b] | 102 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 103 | user:</para>
|
---|
[868c7c2] | 104 |
|
---|
[371ff30] | 105 | <screen role="root"><userinput>make install &&
|
---|
| 106 | make install-ti</userinput></screen>
|
---|
[868c7c2] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
[e4a21ed] | 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
[fd7e0ed6] | 112 |
|
---|
[9f0cf8f] | 113 | <para><command>sed -i ... termcap</command>,
|
---|
[5597c6eb] | 114 | <command>printf ... >> terminfo</command>: These commands modify the terminal
|
---|
[e7847a9] | 115 | description so that the Backspace key is expected to send the character
|
---|
| 116 | with ASCII code 127. This is done for consistency with the Linux console.</para>
|
---|
[e4a21ed] | 117 |
|
---|
[1a518e97] | 118 | <para><envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
|
---|
[33cf52e] | 119 | that the <command>xterm</command> terminfo files are installed to the
|
---|
[b44efd17] | 120 | system terminfo database.</para>
|
---|
[39fce78] | 121 |
|
---|
[1c22b4e] | 122 | <para><parameter>--with-app-defaults=...</parameter>: Sets the location
|
---|
| 123 | for the <filename class="directory">app-defaults</filename>
|
---|
| 124 | directory.</para>
|
---|
| 125 |
|
---|
[371ff30] | 126 | <para><command>make install-ti</command>: This command installs corrected
|
---|
[6473e74] | 127 | terminfo description files for use with
|
---|
[371ff30] | 128 | <application>xterm</application>.</para>
|
---|
| 129 |
|
---|
[e4a21ed] | 130 | </sect2>
|
---|
| 131 |
|
---|
[6e43b142] | 132 | <sect2 role="configuration">
|
---|
| 133 | <title>Configuring xterm</title>
|
---|
| 134 |
|
---|
[e7847a9] | 135 | <para>There are two ways to configure xterm. You can add the X resource
|
---|
[6e43b142] | 136 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 137 | add them to the system-wide
|
---|
[2932ef8] | 138 | <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
---|
[6e43b142] | 139 |
|
---|
[9f0cf8f] | 140 | <para>In order for xterm to follow the locale settings in the environment,
|
---|
| 141 | use TrueType fonts, and follow the Linux convention about the code sent by
|
---|
| 142 | the Backspace key, add the following definitions as the
|
---|
[6e43b142] | 143 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 144 |
|
---|
[88ccfed] | 145 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/XTerm << "EOF"
|
---|
[bb535fde] | 146 | <literal>*VT100*locale: true
|
---|
[6e43b142] | 147 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 148 | *VT100*faceSize: 10
|
---|
[9f0cf8f] | 149 | *backarrowKeyIsErase: true
|
---|
[bb535fde] | 150 | *ptyInitialErase: true</literal>
|
---|
[6e43b142] | 151 | EOF</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
[868c7c2] | 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
[eb50ddde] | 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 162 |
|
---|
| 163 | <seglistitem>
|
---|
[33cf52e] | 164 | <seg>koi8rxterm, resize, uxterm, and xterm</seg>
|
---|
[eb50ddde] | 165 | <seg>None</seg>
|
---|
| 166 | <seg>None</seg>
|
---|
[868c7c2] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
[e4a21ed] | 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
[33cf52e] | 175 | <varlistentry id="koi8rxterm">
|
---|
[eb50ddde] | 176 | <term><command>koi8rxterm</command></term>
|
---|
[33cf52e] | 177 | <listitem>
|
---|
| 178 | <para>is a wrapper script to set up xterm with a KOI8-R locale.</para>
|
---|
| 179 | <indexterm zone="xterm2 koi8rxterm">
|
---|
| 180 | <primary sortas="b-koi8rxterm">koi8rxterm</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
[0d7900a] | 183 | </varlistentry>
|
---|
| 184 |
|
---|
[e4a21ed] | 185 | <varlistentry id="resize">
|
---|
[eb50ddde] | 186 | <term><command>resize</command></term>
|
---|
[e4a21ed] | 187 | <listitem>
|
---|
[6473e74] | 188 | <para>prints a shell command for setting the TERM and TERMCAP
|
---|
| 189 | environment variables to indicate the current size of xterm
|
---|
[e4a21ed] | 190 | window.</para>
|
---|
| 191 | <indexterm zone="xterm2 resize">
|
---|
| 192 | <primary sortas="b-resize">resize</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="uxterm">
|
---|
[eb50ddde] | 198 | <term><command>uxterm</command></term>
|
---|
[e4a21ed] | 199 | <listitem>
|
---|
[39dd48b] | 200 | <para>is a wrapper script that modifies the current locale to use
|
---|
| 201 | UTF-8 and starts xterm with the proper settings.</para>
|
---|
[e4a21ed] | 202 | <indexterm zone="xterm2 uxterm">
|
---|
| 203 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="xterm-bin">
|
---|
[eb50ddde] | 209 | <term><command>xterm</command></term>
|
---|
[e4a21ed] | 210 | <listitem>
|
---|
| 211 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 212 | <indexterm zone="xterm2 xterm2">
|
---|
| 213 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | </variablelist>
|
---|
| 219 |
|
---|
[868c7c2] | 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | </sect1>
|
---|