source: general/genutils/xterm.xml@ d0151ee

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d0151ee was fd7e0ed6, checked in by Randy McMurchy <randy@…>, 16 years ago

Changed all lines with nothing but whitespace to blank lines

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7429 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[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">
[9f0cf8f]9 <!ENTITY xterm-md5sum "b767d702e1464e16802b90c2187252c6">
10 <!ENTITY xterm-size "830 KB">
11 <!ENTITY xterm-buildsize "8.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
[275005c]76 <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../xincludes/xorg7-only.xml"/> -->
[38476a9]78
[868c7c2]79 <para>Install <application>xterm</application> by running the
80 following commands:</para>
81
[9f0cf8f]82<screen><userinput>sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &amp;&amp;
83echo -e '\tkbs=\\177,' &gt;&gt;terminfo &amp;&amp;
84TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
[a449b33]85 --enable-luit --enable-wide-chars \
86 --with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &amp;&amp;
[868c7c2]87make</userinput></screen>
88
89 <para>This package does not come with a test suite.</para>
90
[c23b62b]91 <para>Now, as the <systemitem class="username">root</systemitem>
[6291d0e]92 user:</para>
[868c7c2]93
[371ff30]94<screen role="root"><userinput>make install &amp;&amp;
95make install-ti</userinput></screen>
[868c7c2]96
97 </sect2>
98
[e4a21ed]99 <sect2 role="commands">
100 <title>Command Explanations</title>
[fd7e0ed6]101
[9f0cf8f]102 <para><command>sed -i ... termcap</command>,
103 <command>echo ... >>terminfo</command>: these commands modify the terminal
104 description, so that the Backspace key is expected to send the character
105 with ASCII code 127, for consistency with the Linux console.</para>
[e4a21ed]106
[39fce78]107 <para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
108 that the <command>xterm</command> terminfo file is installed to the
109 system terminfo database when the installation prefix is not
110 <filename class="directory">/usr</filename>.</para>
111
[7be99f2c]112 <para><parameter>--with-app-defaults=...</parameter>: Sets the location
[c23b62b]113 for the <filename class="directory">app-defaults</filename>
[7be99f2c]114 directory.</para>
115
116 <para><parameter>--enable-luit</parameter>: Enables the luit filter for
[9f0cf8f]117 translation between Unicode (used by xterm internally in the configuration
118 below) and the locale encoding. If <command>luit</command> is not found
119 in the PATH, the default of
120 <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
[3735050]121
[a449b33]122 <para><parameter>--enable-wide-chars</parameter>: Adds support for wide
[3735050]123 characters.</para>
124
[371ff30]125 <para><command>make install-ti</command>: This command installs corrected
[6473e74]126 terminfo description files for use with
[371ff30]127 <application>xterm</application>.</para>
128
[e4a21ed]129 </sect2>
130
[6e43b142]131 <sect2 role="configuration">
132 <title>Configuring xterm</title>
133
134 <para>There are two ways to configure xterm. You can add X resource
135 definitions to the user's <filename>~/.Xresources</filename> file, or
136 add them to the system-wide
[2932ef8]137 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
[6e43b142]138
[9f0cf8f]139 <para>In order for xterm to follow the locale settings in the environment,
140 use TrueType fonts, and follow the Linux convention about the code sent by
141 the Backspace key, add the following definitions as the
[6e43b142]142 <systemitem class="username">root</systemitem> user:</para>
143
[2932ef8]144<screen role="root"><userinput>cat &gt;&gt; $XORG_PREFIX/share/X11/app-defaults/XTerm &lt;&lt; "EOF"
[6e43b142]145*VT100*locale: true
146*VT100*faceName: Monospace
[b79c3d81]147*VT100*faceSize: 10
[9f0cf8f]148*backarrowKeyIsErase: true
149*ptyInitialErase: true
[6e43b142]150EOF</userinput></screen>
151
152 </sect2>
153
[868c7c2]154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159
160 <seglistitem>
161 <seg>resize, uxterm, and xterm</seg>
162 </seglistitem>
163 </segmentedlist>
164
[e4a21ed]165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="resize">
171 <term><filename>resize</filename></term>
172 <listitem>
[6473e74]173 <para>prints a shell command for setting the TERM and TERMCAP
174 environment variables to indicate the current size of xterm
[e4a21ed]175 window.</para>
176 <indexterm zone="xterm2 resize">
177 <primary sortas="b-resize">resize</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="uxterm">
183 <term><filename>uxterm</filename></term>
184 <listitem>
[9f0cf8f]185 <para>is a wrapper script that modifies the current locale to use UTF-8
186 and starts xterm with the proper settings.</para>
[e4a21ed]187 <indexterm zone="xterm2 uxterm">
188 <primary sortas="b-uxterm">uxterm</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="xterm-bin">
194 <term><filename>xterm</filename></term>
195 <listitem>
196 <para>is a terminal emulator for the X Window System.</para>
197 <indexterm zone="xterm2 xterm2">
198 <primary sortas="b-xterm2">xterm</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 </variablelist>
204
[868c7c2]205 </sect2>
206
207</sect1>
Note: See TracBrowser for help on using the repository browser.