[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 " ">
|
---|
[bd42330] | 10 | <!ENTITY xterm-md5sum "27a701e73076e42a265e34f8fe558ff6">
|
---|
| 11 | <!ENTITY xterm-size "1.4 MB">
|
---|
[571e7ff9] | 12 | <!ENTITY xterm-buildsize "14 MB">
|
---|
[9595e27] | 13 | <!ENTITY xterm-time "0.1 SBU (with parallelism=4)">
|
---|
[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 |
|
---|
[f84ad2e] | 36 | &lfs120_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 |
|
---|
[6e43b142] | 94 |
|
---|
[868c7c2] | 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of xterm</title>
|
---|
| 99 |
|
---|
[71df408] | 100 | <para>
|
---|
| 101 | Install <application>xterm</application> by running the
|
---|
| 102 | following commands:
|
---|
| 103 | </para>
|
---|
[868c7c2] | 104 |
|
---|
[5597c6eb] | 105 | <screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
|
---|
| 106 | printf '\tkbs=\\177,\n' >> terminfo &&
|
---|
[5f26d66f] | 107 |
|
---|
| 108 | TERMINFO=/usr/share/terminfo \
|
---|
| 109 | ./configure $XORG_CONFIG \
|
---|
[bbe9eba0] | 110 | --with-app-defaults=/etc/X11/app-defaults &&
|
---|
[5f26d66f] | 111 |
|
---|
[868c7c2] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[8ddf6d5] | 114 | <!--
|
---|
| 115 | there is a 'make check' but i havn't found a description
|
---|
| 116 | how the output should look like
|
---|
| 117 | -->
|
---|
[71df408] | 118 | <para>
|
---|
| 119 | This package does not come with a test suite.
|
---|
| 120 | </para>
|
---|
[868c7c2] | 121 |
|
---|
[71df408] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[868c7c2] | 125 |
|
---|
[7788630d] | 126 | <screen role="root"><userinput>make install &&
|
---|
| 127 | make install-ti &&
|
---|
| 128 |
|
---|
[0ecaac7] | 129 | mkdir -pv /usr/share/applications &&
|
---|
[7788630d] | 130 | cp -v *.desktop /usr/share/applications/</userinput></screen>
|
---|
[868c7c2] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
[e4a21ed] | 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
[fd7e0ed6] | 136 |
|
---|
[71df408] | 137 | <para>
|
---|
| 138 | <command>sed -i ... termcap</command>,
|
---|
| 139 | <command>printf ... >> terminfo</command>:
|
---|
| 140 | These commands modify the terminal description so that the Backspace
|
---|
| 141 | key is expected to send the character with ASCII code 127. This is done
|
---|
| 142 | for consistency with the Linux console.
|
---|
| 143 | </para>
|
---|
[e4a21ed] | 144 |
|
---|
[71df408] | 145 | <para>
|
---|
| 146 | <envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
|
---|
| 147 | that the <command>xterm</command> terminfo files are installed to the
|
---|
| 148 | system terminfo database.
|
---|
| 149 | </para>
|
---|
[39fce78] | 150 |
|
---|
[71df408] | 151 | <para>
|
---|
| 152 | <parameter>--with-app-defaults=...</parameter>: Sets the location
|
---|
| 153 | for the <filename class="directory">app-defaults</filename>
|
---|
| 154 | directory.
|
---|
| 155 | </para>
|
---|
[1c22b4e] | 156 |
|
---|
[71df408] | 157 | <para>
|
---|
| 158 | <command>make install-ti</command>: This command installs corrected
|
---|
| 159 | terminfo description files for use with
|
---|
| 160 | <application>xterm</application>.
|
---|
| 161 | </para>
|
---|
[371ff30] | 162 |
|
---|
[e4a21ed] | 163 | </sect2>
|
---|
| 164 |
|
---|
[6e43b142] | 165 | <sect2 role="configuration">
|
---|
| 166 | <title>Configuring xterm</title>
|
---|
| 167 |
|
---|
[71df408] | 168 | <para>
|
---|
| 169 | There are two ways to configure xterm. You can add the X resource
|
---|
| 170 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 171 | add them to the system-wide
|
---|
| 172 | <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.
|
---|
| 173 | </para>
|
---|
[6e43b142] | 174 |
|
---|
[71df408] | 175 | <para>
|
---|
| 176 | In order for xterm to follow the locale settings in the environment,
|
---|
| 177 | use TrueType fonts, and follow the Linux convention about the code sent by
|
---|
| 178 | the Backspace key, add the following definitions as the
|
---|
| 179 | <systemitem class="username">root</systemitem> user:
|
---|
| 180 | </para>
|
---|
[6e43b142] | 181 |
|
---|
[88ccfed] | 182 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/XTerm << "EOF"
|
---|
[bb535fde] | 183 | <literal>*VT100*locale: true
|
---|
[6e43b142] | 184 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 185 | *VT100*faceSize: 10
|
---|
[9f0cf8f] | 186 | *backarrowKeyIsErase: true
|
---|
[bb535fde] | 187 | *ptyInitialErase: true</literal>
|
---|
[6e43b142] | 188 | EOF</userinput></screen>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
[868c7c2] | 192 | <sect2 role="content">
|
---|
| 193 | <title>Contents</title>
|
---|
| 194 |
|
---|
| 195 | <segmentedlist>
|
---|
| 196 | <segtitle>Installed Programs</segtitle>
|
---|
[eb50ddde] | 197 | <segtitle>Installed Libraries</segtitle>
|
---|
| 198 | <segtitle>Installed Directories</segtitle>
|
---|
[868c7c2] | 199 |
|
---|
| 200 | <seglistitem>
|
---|
[33cf52e] | 201 | <seg>koi8rxterm, resize, uxterm, and xterm</seg>
|
---|
[eb50ddde] | 202 | <seg>None</seg>
|
---|
| 203 | <seg>None</seg>
|
---|
[868c7c2] | 204 | </seglistitem>
|
---|
| 205 | </segmentedlist>
|
---|
| 206 |
|
---|
[e4a21ed] | 207 | <variablelist>
|
---|
| 208 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 209 | <?dbfo list-presentation="list"?>
|
---|
| 210 | <?dbhtml list-presentation="table"?>
|
---|
| 211 |
|
---|
[33cf52e] | 212 | <varlistentry id="koi8rxterm">
|
---|
[eb50ddde] | 213 | <term><command>koi8rxterm</command></term>
|
---|
[33cf52e] | 214 | <listitem>
|
---|
[71df408] | 215 | <para>
|
---|
[4c24eb0a] | 216 | is a wrapper script to set up xterm with a KOI8-R locale
|
---|
[71df408] | 217 | </para>
|
---|
[33cf52e] | 218 | <indexterm zone="xterm2 koi8rxterm">
|
---|
| 219 | <primary sortas="b-koi8rxterm">koi8rxterm</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
[0d7900a] | 222 | </varlistentry>
|
---|
| 223 |
|
---|
[e4a21ed] | 224 | <varlistentry id="resize">
|
---|
[eb50ddde] | 225 | <term><command>resize</command></term>
|
---|
[e4a21ed] | 226 | <listitem>
|
---|
[71df408] | 227 | <para>
|
---|
| 228 | prints a shell command for setting the TERM and TERMCAP
|
---|
| 229 | environment variables to indicate the current size of xterm
|
---|
[4c24eb0a] | 230 | window
|
---|
[71df408] | 231 | </para>
|
---|
[e4a21ed] | 232 | <indexterm zone="xterm2 resize">
|
---|
| 233 | <primary sortas="b-resize">resize</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="uxterm">
|
---|
[eb50ddde] | 239 | <term><command>uxterm</command></term>
|
---|
[e4a21ed] | 240 | <listitem>
|
---|
[71df408] | 241 | <para>
|
---|
| 242 | is a wrapper script that modifies the current locale to use
|
---|
[4c24eb0a] | 243 | UTF-8 and starts xterm with the proper settings
|
---|
[71df408] | 244 | </para>
|
---|
[e4a21ed] | 245 | <indexterm zone="xterm2 uxterm">
|
---|
| 246 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="xterm-bin">
|
---|
[eb50ddde] | 252 | <term><command>xterm</command></term>
|
---|
[e4a21ed] | 253 | <listitem>
|
---|
[71df408] | 254 | <para>
|
---|
[4c24eb0a] | 255 | is a terminal emulator for the X Window System
|
---|
[71df408] | 256 | </para>
|
---|
[e4a21ed] | 257 | <indexterm zone="xterm2 xterm2">
|
---|
| 258 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | </variablelist>
|
---|
| 264 |
|
---|
[868c7c2] | 265 | </sect2>
|
---|
| 266 |
|
---|
| 267 | </sect1>
|
---|