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