[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">
|
---|
[10ddba5d] | 9 | <!ENTITY xterm-md5sum "363cc4865b7691bd0ae5eebb42cde9c9">
|
---|
| 10 | <!ENTITY xterm-size "880 KB">
|
---|
| 11 | <!ENTITY xterm-buildsize "7.0 MB">
|
---|
[a449b33] | 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 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &xterm-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &xterm-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &xterm-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &xterm-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a0ba9101] | 60 | <para role="required"><xref linkend="xorg7-lib"/></para>
|
---|
[868c7c2] | 61 |
|
---|
[3f72a148] | 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9f0cf8f] | 63 | <para role="optional"><xref linkend="luit"/> (required in non-UTF-8 locales
|
---|
| 64 | if the user wants TrueType fonts, and always required in Chinese, Japanese,
|
---|
| 65 | and Korean locales). Configuration instructions below assume that Luit
|
---|
| 66 | is installed.</para>
|
---|
[371ff30] | 67 |
|
---|
[1663c2b5] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url='&blfs-wiki;/Xterm'/></para>
|
---|
[6e43b142] | 70 |
|
---|
[868c7c2] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of xterm</title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>xterm</application> by running the
|
---|
| 77 | following commands:</para>
|
---|
| 78 |
|
---|
[9f0cf8f] | 79 | <screen><userinput>sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &&
|
---|
| 80 | echo -e '\tkbs=\\177,' >>terminfo &&
|
---|
| 81 | TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
|
---|
[a449b33] | 82 | --enable-luit --enable-wide-chars \
|
---|
| 83 | --with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &&
|
---|
[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>,
|
---|
| 100 | <command>echo ... >>terminfo</command>: these commands modify the terminal
|
---|
| 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 |
|
---|
[39fce78] | 104 | <para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
|
---|
| 105 | that the <command>xterm</command> terminfo file is installed to the
|
---|
| 106 | system terminfo database when the installation prefix is not
|
---|
| 107 | <filename class="directory">/usr</filename>.</para>
|
---|
| 108 |
|
---|
[7be99f2c] | 109 | <para><parameter>--with-app-defaults=...</parameter>: Sets the location
|
---|
[c23b62b] | 110 | for the <filename class="directory">app-defaults</filename>
|
---|
[7be99f2c] | 111 | directory.</para>
|
---|
| 112 |
|
---|
| 113 | <para><parameter>--enable-luit</parameter>: Enables the luit filter for
|
---|
[9f0cf8f] | 114 | translation between Unicode (used by xterm internally in the configuration
|
---|
| 115 | below) and the locale encoding. If <command>luit</command> is not found
|
---|
| 116 | in the PATH, the default of
|
---|
| 117 | <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
|
---|
[3735050] | 118 |
|
---|
[a449b33] | 119 | <para><parameter>--enable-wide-chars</parameter>: Adds support for wide
|
---|
[3735050] | 120 | characters.</para>
|
---|
| 121 |
|
---|
[371ff30] | 122 | <para><command>make install-ti</command>: This command installs corrected
|
---|
[6473e74] | 123 | terminfo description files for use with
|
---|
[371ff30] | 124 | <application>xterm</application>.</para>
|
---|
| 125 |
|
---|
[e4a21ed] | 126 | </sect2>
|
---|
| 127 |
|
---|
[6e43b142] | 128 | <sect2 role="configuration">
|
---|
| 129 | <title>Configuring xterm</title>
|
---|
| 130 |
|
---|
| 131 | <para>There are two ways to configure xterm. You can add X resource
|
---|
| 132 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 133 | add them to the system-wide
|
---|
[2932ef8] | 134 | <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
---|
[6e43b142] | 135 |
|
---|
[9f0cf8f] | 136 | <para>In order for xterm to follow the locale settings in the environment,
|
---|
| 137 | use TrueType fonts, and follow the Linux convention about the code sent by
|
---|
| 138 | the Backspace key, add the following definitions as the
|
---|
[6e43b142] | 139 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 140 |
|
---|
[2932ef8] | 141 | <screen role="root"><userinput>cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
|
---|
[6e43b142] | 142 | *VT100*locale: true
|
---|
| 143 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 144 | *VT100*faceSize: 10
|
---|
[9f0cf8f] | 145 | *backarrowKeyIsErase: true
|
---|
| 146 | *ptyInitialErase: true
|
---|
[6e43b142] | 147 | EOF</userinput></screen>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
[868c7c2] | 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>resize, uxterm, and xterm</seg>
|
---|
| 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 |
|
---|
| 167 | <varlistentry id="resize">
|
---|
| 168 | <term><filename>resize</filename></term>
|
---|
| 169 | <listitem>
|
---|
[6473e74] | 170 | <para>prints a shell command for setting the TERM and TERMCAP
|
---|
| 171 | environment variables to indicate the current size of xterm
|
---|
[e4a21ed] | 172 | window.</para>
|
---|
| 173 | <indexterm zone="xterm2 resize">
|
---|
| 174 | <primary sortas="b-resize">resize</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="uxterm">
|
---|
| 180 | <term><filename>uxterm</filename></term>
|
---|
| 181 | <listitem>
|
---|
[9f0cf8f] | 182 | <para>is a wrapper script that modifies the current locale to use UTF-8
|
---|
| 183 | and starts xterm with the proper settings.</para>
|
---|
[e4a21ed] | 184 | <indexterm zone="xterm2 uxterm">
|
---|
| 185 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="xterm-bin">
|
---|
| 191 | <term><filename>xterm</filename></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 194 | <indexterm zone="xterm2 xterm2">
|
---|
| 195 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
[868c7c2] | 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | </sect1>
|
---|