[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">
|
---|
[868c7c2] | 9 | <!ENTITY xterm-md5sum "c75cdbf9395bbc2cd69863fbe7c2e019">
|
---|
| 10 | <!ENTITY xterm-size "745 KB">
|
---|
| 11 | <!ENTITY xterm-buildsize "7.1 MB">
|
---|
[e2b0dfc0] | 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 | <keywordset>
|
---|
| 22 | <keyword role="package">xterm-&xterm-version;.tar</keyword>
|
---|
| 23 | <keyword role="ftpdir">xterm</keyword>
|
---|
| 24 | </keywordset>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>xterm-&xterm-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="xterm2">
|
---|
| 30 | <primary sortas="a-xterm2">xterm</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to xterm</title>
|
---|
| 35 |
|
---|
[e2b0dfc0] | 36 | <para><application>xterm</application> is a terminal emulator for
|
---|
| 37 | the X Window System.</para>
|
---|
[868c7c2] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &xterm-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &xterm-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &xterm-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &xterm-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3f72a148] | 64 | <para><xref linkend="x-window-system"/> and
|
---|
| 65 | <xref linkend="pkgconfig"/></para>
|
---|
[868c7c2] | 66 |
|
---|
[3f72a148] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para><xref linkend="luit"/></para>
|
---|
[371ff30] | 69 |
|
---|
[1663c2b5] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url='&blfs-wiki;/Xterm'/></para>
|
---|
[6e43b142] | 72 |
|
---|
[868c7c2] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of xterm</title>
|
---|
| 77 |
|
---|
[2128523] | 78 | <para>Correct the PROJECTROOT variable with the following command:</para>
|
---|
[868c7c2] | 79 |
|
---|
[6291d0e] | 80 | <screen><userinput>sed -i "s@/usr/X11R6@$XORG_PREFIX@" main.h</userinput></screen>
|
---|
[868c7c2] | 81 |
|
---|
| 82 | <para>Install <application>xterm</application> by running the
|
---|
| 83 | following commands:</para>
|
---|
| 84 |
|
---|
[6291d0e] | 85 | <screen><userinput>./configure $XORG_CONFIG \
|
---|
| 86 | --enable-luit --with-wide-chars &&
|
---|
[868c7c2] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>This package does not come with a test suite.</para>
|
---|
| 90 |
|
---|
[6291d0e] | 91 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 92 | user:</para>
|
---|
[868c7c2] | 93 |
|
---|
[371ff30] | 94 | <screen role="root"><userinput>make install &&
|
---|
| 95 | make install-ti</userinput></screen>
|
---|
[868c7c2] | 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
[e4a21ed] | 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
[6e43b142] | 102 | <para><parameter>--enable-luit</parameter>: enables the luit filter for
|
---|
[3735050] | 103 | unicode translation.</para>
|
---|
| 104 |
|
---|
| 105 | <para><parameter>--with-wide-chars</parameter>: adds support for wide
|
---|
| 106 | characters.</para>
|
---|
| 107 |
|
---|
[6291d0e] | 108 | <para><command>sed -i "s@/usr/X11R6@$XORG_PREFIX@" main.h</command>: This
|
---|
| 109 | command corrects the PROJECTROOT definition to match that of the installed
|
---|
| 110 | X Window System.</para>
|
---|
[371ff30] | 111 |
|
---|
| 112 | <para><command>make install-ti</command>: This command installs corrected
|
---|
[6473e74] | 113 | terminfo description files for use with
|
---|
[371ff30] | 114 | <application>xterm</application>.</para>
|
---|
| 115 |
|
---|
[e4a21ed] | 116 | </sect2>
|
---|
| 117 |
|
---|
[6e43b142] | 118 | <sect2 role="configuration">
|
---|
| 119 | <title>Configuring xterm</title>
|
---|
| 120 |
|
---|
| 121 | <para>There are two ways to configure xterm. You can add X resource
|
---|
| 122 | definitions to the user's <filename>~/.Xresources</filename> file, or
|
---|
| 123 | add them to the system-wide
|
---|
[6291d0e] | 124 | <filename>$XORG_PREFIX/lib/X11/app-defaults/Xterm</filename> file.</para>
|
---|
[6e43b142] | 125 |
|
---|
| 126 | <para>In order for xterm to follow the locale settings in the environment
|
---|
| 127 | and use TrueType fonts, add the following definitions as the
|
---|
| 128 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 129 |
|
---|
[6291d0e] | 130 | <screen role="root"><userinput>cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
|
---|
[6e43b142] | 131 | *VT100*locale: true
|
---|
| 132 | *VT100*faceName: Monospace
|
---|
[b79c3d81] | 133 | *VT100*faceSize: 10
|
---|
[6e43b142] | 134 | EOF</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[868c7c2] | 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>resize, uxterm, and xterm</seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
[e4a21ed] | 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="resize">
|
---|
| 155 | <term><filename>resize</filename></term>
|
---|
| 156 | <listitem>
|
---|
[6473e74] | 157 | <para>prints a shell command for setting the TERM and TERMCAP
|
---|
| 158 | environment variables to indicate the current size of xterm
|
---|
[e4a21ed] | 159 | window.</para>
|
---|
| 160 | <indexterm zone="xterm2 resize">
|
---|
| 161 | <primary sortas="b-resize">resize</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="uxterm">
|
---|
| 167 | <term><filename>uxterm</filename></term>
|
---|
| 168 | <listitem>
|
---|
[6473e74] | 169 | <para>is a wrapper script to start xterm with the proper settings in
|
---|
[e4a21ed] | 170 | UTF-8 locales.</para>
|
---|
| 171 | <indexterm zone="xterm2 uxterm">
|
---|
| 172 | <primary sortas="b-uxterm">uxterm</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="xterm-bin">
|
---|
| 178 | <term><filename>xterm</filename></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 181 | <indexterm zone="xterm2 xterm2">
|
---|
| 182 | <primary sortas="b-xterm2">xterm</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
[868c7c2] | 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|