[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">
|
---|
[21b528b] | 9 | <!ENTITY xterm-md5sum "598d1122f501116fbfed8a642d8ea6c1">
|
---|
[7715803] | 10 | <!ENTITY xterm-size "1.2 MB">
|
---|
[39dd48b] | 11 | <!ENTITY xterm-buildsize "14 MB">
|
---|
[e7847a9] | 12 | <!ENTITY xterm-time "0.1 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 |
|
---|
[d7f908d5] | 37 | &lfs77_checked; &gcc5_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 |
|
---|
[38b3eab] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 67 | <para role="optional">
|
---|
| 68 | <xref linkend="valgrind"/> and
|
---|
| 69 | <ulink url="http://www.nongnu.org/man2html/">man2html</ulink>
|
---|
| 70 | </para>
|
---|
| 71 |
|
---|
[1663c2b5] | 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url='&blfs-wiki;/Xterm'/></para>
|
---|
[6e43b142] | 74 |
|
---|
[868c7c2] | 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
| 78 | <title>Installation of xterm</title>
|
---|
| 79 |
|
---|
| 80 | <para>Install <application>xterm</application> by running the
|
---|
| 81 | following commands:</para>
|
---|
| 82 |
|
---|
[5597c6eb] | 83 | <screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
|
---|
| 84 | printf '\tkbs=\\177,\n' >> terminfo &&
|
---|
[5f26d66f] | 85 |
|
---|
| 86 | TERMINFO=/usr/share/terminfo \
|
---|
| 87 | ./configure $XORG_CONFIG \
|
---|
[bbe9eba0] | 88 | --with-app-defaults=/etc/X11/app-defaults &&
|
---|
[5f26d66f] | 89 |
|
---|
[868c7c2] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>This package does not come with a test suite.</para>
|
---|
| 93 |
|
---|
[c23b62b] | 94 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 95 | user:</para>
|
---|
[868c7c2] | 96 |
|
---|
[371ff30] | 97 | <screen role="root"><userinput>make install &&
|
---|
| 98 | make install-ti</userinput></screen>
|
---|
[868c7c2] | 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
[e4a21ed] | 102 | <sect2 role="commands">
|
---|
| 103 | <title>Command Explanations</title>
|
---|
[fd7e0ed6] | 104 |
|
---|
[9f0cf8f] | 105 | <para><command>sed -i ... termcap</command>,
|
---|
[5597c6eb] | 106 | <command>printf ... >> terminfo</command>: These commands modify the terminal
|
---|
[e7847a9] | 107 | description so that the Backspace key is expected to send the character
|
---|
| 108 | with ASCII code 127. This is done for consistency with the Linux console.</para>
|
---|
[e4a21ed] | 109 |
|
---|
[33cf52e] | 110 | <para><parameter>TERMINFO=/usr/share/terminfo</parameter>: This ensures
|
---|
| 111 | that the <command>xterm</command> terminfo files are installed to the
|
---|
[b44efd17] | 112 | system terminfo database.</para>
|
---|
[39fce78] | 113 |
|
---|
[1c22b4e] | 114 | <para><parameter>--with-app-defaults=...</parameter>: Sets the location
|
---|
| 115 | for the <filename class="directory">app-defaults</filename>
|
---|
| 116 | directory.</para>
|
---|
| 117 |
|
---|
[371ff30] | 118 | <para><command>make install-ti</command>: This command installs corrected
|
---|
[6473e74] | 119 | terminfo description files for use with
|
---|
[371ff30] | 120 | <application>xterm</application>.</para>
|
---|
| 121 |
|
---|
[e4a21ed] | 122 | </sect2>
|
---|
| 123 |
|
---|
[6e43b142] | 124 | <sect2 role="configuration">
|
---|
| 125 | <title>Configuring xterm</title>
|
---|
| 126 |
|
---|
[e7847a9] | 127 | <para>There are two ways to configure xterm. You can add the X resource
|
---|
[6e43b142] | 128 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 129 | add them to the system-wide
|
---|
[2932ef8] | 130 | <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
---|
[6e43b142] | 131 |
|
---|
[9f0cf8f] | 132 | <para>In order for xterm to follow the locale settings in the environment,
|
---|
| 133 | use TrueType fonts, and follow the Linux convention about the code sent by
|
---|
| 134 | the Backspace key, add the following definitions as the
|
---|
[6e43b142] | 135 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 136 |
|
---|
[88ccfed] | 137 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/XTerm << "EOF"
|
---|
[bb535fde] | 138 | <literal>*VT100*locale: true
|
---|
[6e43b142] | 139 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 140 | *VT100*faceSize: 10
|
---|
[9f0cf8f] | 141 | *backarrowKeyIsErase: true
|
---|
[bb535fde] | 142 | *ptyInitialErase: true</literal>
|
---|
[6e43b142] | 143 | EOF</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
[868c7c2] | 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
| 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Programs</segtitle>
|
---|
[eb50ddde] | 152 | <segtitle>Installed Libraries</segtitle>
|
---|
| 153 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 154 |
|
---|
| 155 | <seglistitem>
|
---|
[33cf52e] | 156 | <seg>koi8rxterm, resize, uxterm, and xterm</seg>
|
---|
[eb50ddde] | 157 | <seg>None</seg>
|
---|
| 158 | <seg>None</seg>
|
---|
[868c7c2] | 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
[e4a21ed] | 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
[33cf52e] | 167 | <varlistentry id="koi8rxterm">
|
---|
[eb50ddde] | 168 | <term><command>koi8rxterm</command></term>
|
---|
[33cf52e] | 169 | <listitem>
|
---|
| 170 | <para>is a wrapper script to set up xterm with a KOI8-R locale.</para>
|
---|
| 171 | <indexterm zone="xterm2 koi8rxterm">
|
---|
| 172 | <primary sortas="b-koi8rxterm">koi8rxterm</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
[0d7900a] | 175 | </varlistentry>
|
---|
| 176 |
|
---|
[e4a21ed] | 177 | <varlistentry id="resize">
|
---|
[eb50ddde] | 178 | <term><command>resize</command></term>
|
---|
[e4a21ed] | 179 | <listitem>
|
---|
[6473e74] | 180 | <para>prints a shell command for setting the TERM and TERMCAP
|
---|
| 181 | environment variables to indicate the current size of xterm
|
---|
[e4a21ed] | 182 | window.</para>
|
---|
| 183 | <indexterm zone="xterm2 resize">
|
---|
| 184 | <primary sortas="b-resize">resize</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="uxterm">
|
---|
[eb50ddde] | 190 | <term><command>uxterm</command></term>
|
---|
[e4a21ed] | 191 | <listitem>
|
---|
[39dd48b] | 192 | <para>is a wrapper script that modifies the current locale to use
|
---|
| 193 | UTF-8 and starts xterm with the proper settings.</para>
|
---|
[e4a21ed] | 194 | <indexterm zone="xterm2 uxterm">
|
---|
| 195 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="xterm-bin">
|
---|
[eb50ddde] | 201 | <term><command>xterm</command></term>
|
---|
[e4a21ed] | 202 | <listitem>
|
---|
| 203 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 204 | <indexterm zone="xterm2 xterm2">
|
---|
| 205 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | </variablelist>
|
---|
| 211 |
|
---|
[868c7c2] | 212 | </sect2>
|
---|
| 213 |
|
---|
| 214 | </sect1>
|
---|