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