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