glfs/general/genutils/xterm.xml
Dan Nichilson 2932ef8db3 Fixed xterm app-defaults references. Closes #2362.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6809 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-06-20 13:12:13 +00:00

193 lines
6.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xterm-download-http " ">
<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
<!ENTITY xterm-md5sum "dbd31341a9ccb982647416e8d27b0f00">
<!ENTITY xterm-size "803 KB">
<!ENTITY xterm-buildsize "7.0 MB">
<!ENTITY xterm-time "0.1 SBU">
]>
<sect1 id="xterm2" xreflabel="xterm-&xterm-version;">
<?dbhtml filename="xterm.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>xterm-&xterm-version;</title>
<indexterm zone="xterm2">
<primary sortas="a-xterm2">xterm</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xterm</title>
<para><application>xterm</application> is a terminal emulator for
the X Window System.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &xterm-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &xterm-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &xterm-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &xterm-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">xterm Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="xorg7-lib"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="luit"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url='&blfs-wiki;/Xterm'/></para>
</sect2>
<sect2 role="installation">
<title>Installation of xterm</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../xincludes/xorg7-only.xml"/>
<para>Install <application>xterm</application> by running the
following commands:</para>
<screen><userinput>TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
--enable-luit --enable-wide-chars \
--with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install &amp;&amp;
make install-ti</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
that the <command>xterm</command> terminfo file is installed to the
system terminfo database when the installation prefix is not
<filename class="directory">/usr</filename>.</para>
<para><parameter>--with-app-defaults=...</parameter>: Sets the location
for the <filename class="directory">app-defaults</filename>
directory.</para>
<para><parameter>--enable-luit</parameter>: Enables the luit filter for
Unicode translation. If <command>luit</command> is not found in the PATH,
the default of <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
<para><parameter>--enable-wide-chars</parameter>: Adds support for wide
characters.</para>
<para><command>make install-ti</command>: This command installs corrected
terminfo description files for use with
<application>xterm</application>.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring xterm</title>
<para>There are two ways to configure xterm. You can add X resource
definitions to the user's <filename>~/.Xresources</filename> file, or
add them to the system-wide
<filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
<para>In order for xterm to follow the locale settings in the environment
and use TrueType fonts, add the following definitions as the
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt;&gt; $XORG_PREFIX/share/X11/app-defaults/XTerm &lt;&lt; "EOF"
*VT100*locale: true
*VT100*faceName: Monospace
*VT100*faceSize: 10
EOF</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<seglistitem>
<seg>resize, uxterm, and xterm</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="resize">
<term><filename>resize</filename></term>
<listitem>
<para>prints a shell command for setting the TERM and TERMCAP
environment variables to indicate the current size of xterm
window.</para>
<indexterm zone="xterm2 resize">
<primary sortas="b-resize">resize</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="uxterm">
<term><filename>uxterm</filename></term>
<listitem>
<para>is a wrapper script to start xterm with the proper settings in
UTF-8 locales.</para>
<indexterm zone="xterm2 uxterm">
<primary sortas="b-uxterm">uxterm</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xterm-bin">
<term><filename>xterm</filename></term>
<listitem>
<para>is a terminal emulator for the X Window System.</para>
<indexterm zone="xterm2 xterm2">
<primary sortas="b-xterm2">xterm</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>