[868c7c2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 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">
|
---|
[475c092] | 9 | <!ENTITY xterm-md5sum "bf5bb77496ddf95df32b8e752a6cabb0">
|
---|
| 10 | <!ENTITY xterm-size "786 KB">
|
---|
[193f4fa] | 11 | <!ENTITY xterm-buildsize "5.1 MB">
|
---|
| 12 | <!ENTITY xterm-time "0.2 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>
|
---|
[c23b62b] | 63 | <para role="optional"><xref linkend="luit"/></para>
|
---|
[371ff30] | 64 |
|
---|
[1663c2b5] | 65 | <para condition="html" role="usernotes">User Notes:
|
---|
| 66 | <ulink url='&blfs-wiki;/Xterm'/></para>
|
---|
[6e43b142] | 67 |
|
---|
[868c7c2] | 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="installation">
|
---|
| 71 | <title>Installation of xterm</title>
|
---|
| 72 |
|
---|
[38476a9] | 73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 74 | href="../../xincludes/xorg7-only.xml"/>
|
---|
| 75 |
|
---|
[868c7c2] | 76 | <para>Install <application>xterm</application> by running the
|
---|
| 77 | following commands:</para>
|
---|
| 78 |
|
---|
[39fce78] | 79 | <screen><userinput>TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
|
---|
[e85fe6ab] | 80 | --enable-luit --with-wide-chars \
|
---|
[e83c2d1] | 81 | --with-app-default=$XORG_PREFIX/share/X11/app-defaults &&
|
---|
[868c7c2] | 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>This package does not come with a test suite.</para>
|
---|
| 85 |
|
---|
[c23b62b] | 86 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 87 | user:</para>
|
---|
[868c7c2] | 88 |
|
---|
[371ff30] | 89 | <screen role="root"><userinput>make install &&
|
---|
| 90 | make install-ti</userinput></screen>
|
---|
[868c7c2] | 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
[e4a21ed] | 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
[39fce78] | 97 | <para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
|
---|
| 98 | that the <command>xterm</command> terminfo file is installed to the
|
---|
| 99 | system terminfo database when the installation prefix is not
|
---|
| 100 | <filename class="directory">/usr</filename>.</para>
|
---|
| 101 |
|
---|
[7be99f2c] | 102 | <para><parameter>--with-app-defaults=...</parameter>: Sets the location
|
---|
[c23b62b] | 103 | for the <filename class="directory">app-defaults</filename>
|
---|
[7be99f2c] | 104 | directory.</para>
|
---|
| 105 |
|
---|
| 106 | <para><parameter>--enable-luit</parameter>: Enables the luit filter for
|
---|
[79d9d474] | 107 | Unicode translation. If <command>luit</command> is not found in the
|
---|
| 108 | <envar>PATH</envar>, it will be disabled.</para>
|
---|
[3735050] | 109 |
|
---|
[7be99f2c] | 110 | <para><parameter>--with-wide-chars</parameter>: Adds support for wide
|
---|
[3735050] | 111 | characters.</para>
|
---|
| 112 |
|
---|
[371ff30] | 113 | <para><command>make install-ti</command>: This command installs corrected
|
---|
[6473e74] | 114 | terminfo description files for use with
|
---|
[371ff30] | 115 | <application>xterm</application>.</para>
|
---|
| 116 |
|
---|
[e4a21ed] | 117 | </sect2>
|
---|
| 118 |
|
---|
[6e43b142] | 119 | <sect2 role="configuration">
|
---|
| 120 | <title>Configuring xterm</title>
|
---|
| 121 |
|
---|
| 122 | <para>There are two ways to configure xterm. You can add X resource
|
---|
| 123 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 124 | add them to the system-wide
|
---|
[6291d0e] | 125 | <filename>$XORG_PREFIX/lib/X11/app-defaults/Xterm</filename> file.</para>
|
---|
[6e43b142] | 126 |
|
---|
| 127 | <para>In order for xterm to follow the locale settings in the environment
|
---|
| 128 | and use TrueType fonts, add the following definitions as the
|
---|
| 129 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 130 |
|
---|
[6291d0e] | 131 | <screen role="root"><userinput>cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
|
---|
[6e43b142] | 132 | *VT100*locale: true
|
---|
| 133 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 134 | *VT100*faceSize: 10
|
---|
[6e43b142] | 135 | EOF</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
[868c7c2] | 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>resize, uxterm, and xterm</seg>
|
---|
| 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
[e4a21ed] | 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="resize">
|
---|
| 156 | <term><filename>resize</filename></term>
|
---|
| 157 | <listitem>
|
---|
[6473e74] | 158 | <para>prints a shell command for setting the TERM and TERMCAP
|
---|
| 159 | environment variables to indicate the current size of xterm
|
---|
[e4a21ed] | 160 | window.</para>
|
---|
| 161 | <indexterm zone="xterm2 resize">
|
---|
| 162 | <primary sortas="b-resize">resize</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="uxterm">
|
---|
| 168 | <term><filename>uxterm</filename></term>
|
---|
| 169 | <listitem>
|
---|
[6473e74] | 170 | <para>is a wrapper script to start xterm with the proper settings in
|
---|
[e4a21ed] | 171 | UTF-8 locales.</para>
|
---|
| 172 | <indexterm zone="xterm2 uxterm">
|
---|
| 173 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="xterm-bin">
|
---|
| 179 | <term><filename>xterm</filename></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 182 | <indexterm zone="xterm2 xterm2">
|
---|
| 183 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
[868c7c2] | 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|