source: x/installing/xterm.xml@ c5c81b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 c5c81b2 was c5c81b2, checked in by DJ Lucas <dj@…>, 13 years ago

Moved xcb.freedesktop.org projects, Mesa, and xterm into the Xorg section.

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

  • Property mode set to 100644
File size: 6.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xterm-download-http " ">
8 <!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
9 <!ENTITY xterm-md5sum "3945ab70cfa2a9e95804157ee1b0f8e8">
10 <!ENTITY xterm-size "932 KB">
11 <!ENTITY xterm-buildsize "10.6 MB">
12 <!ENTITY xterm-time "0.2 SBU">
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
32 <para><application>xterm</application> is a terminal emulator for
33 the X Window System.</para>
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>
60 <para role="required"><xref linkend="xorg7-app"/></para>
61
62 <para condition="html" role="usernotes">User Notes:
63 <ulink url='&blfs-wiki;/Xterm'/></para>
64
65 </sect2>
66
67 <sect2 role="installation">
68 <title>Installation of xterm</title>
69
70 <para>Install <application>xterm</application> by running the
71 following commands:</para>
72
73<screen><userinput>sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &amp;&amp;
74echo -e '\tkbs=\\177,' &gt;&gt;terminfo &amp;&amp;
75TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
76 --enable-luit --enable-wide-chars \
77 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
78make</userinput></screen>
79
80 <para>This package does not come with a test suite.</para>
81
82 <para>Now, as the <systemitem class="username">root</systemitem>
83 user:</para>
84
85<screen role="root"><userinput>make install &amp;&amp;
86make install-ti</userinput></screen>
87
88 </sect2>
89
90 <sect2 role="commands">
91 <title>Command Explanations</title>
92
93 <para><command>sed -i ... termcap</command>,
94 <command>echo ... >>terminfo</command>: these commands modify the terminal
95 description, so that the Backspace key is expected to send the character
96 with ASCII code 127, for consistency with the Linux console.</para>
97
98 <para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
99 that the <command>xterm</command> terminfo file is installed to the
100 system terminfo database when the installation prefix is not
101 <filename class="directory">/usr</filename>.</para>
102
103 <para><parameter>--with-app-defaults=...</parameter>: Sets the location
104 for the <filename class="directory">app-defaults</filename>
105 directory.</para>
106
107 <para><parameter>--enable-luit</parameter>: Enables the luit filter for
108 translation between Unicode (used by xterm internally in the configuration
109 below) and the locale encoding. If <command>luit</command> is not found
110 in the PATH, the default of
111 <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
112
113 <para><parameter>--enable-wide-chars</parameter>: Adds support for wide
114 characters.</para>
115
116 <para><command>make install-ti</command>: This command installs corrected
117 terminfo description files for use with
118 <application>xterm</application>.</para>
119
120 </sect2>
121
122 <sect2 role="configuration">
123 <title>Configuring xterm</title>
124
125 <para>There are two ways to configure xterm. You can add X resource
126 definitions to the user's <filename>~/.Xresources</filename> file, or
127 add them to the system-wide
128 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
129
130 <para>In order for xterm to follow the locale settings in the environment,
131 use TrueType fonts, and follow the Linux convention about the code sent by
132 the Backspace key, add the following definitions as the
133 <systemitem class="username">root</systemitem> user:</para>
134
135<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
136*VT100*locale: true
137*VT100*faceName: Monospace
138*VT100*faceSize: 10
139*backarrowKeyIsErase: true
140*ptyInitialErase: true
141EOF</userinput></screen>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150
151 <seglistitem>
152 <seg>resize, uxterm, and xterm</seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="resize">
162 <term><filename>resize</filename></term>
163 <listitem>
164 <para>prints a shell command for setting the TERM and TERMCAP
165 environment variables to indicate the current size of xterm
166 window.</para>
167 <indexterm zone="xterm2 resize">
168 <primary sortas="b-resize">resize</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="uxterm">
174 <term><filename>uxterm</filename></term>
175 <listitem>
176 <para>is a wrapper script that modifies the current locale to use UTF-8
177 and starts xterm with the proper settings.</para>
178 <indexterm zone="xterm2 uxterm">
179 <primary sortas="b-uxterm">uxterm</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="xterm-bin">
185 <term><filename>xterm</filename></term>
186 <listitem>
187 <para>is a terminal emulator for the X Window System.</para>
188 <indexterm zone="xterm2 xterm2">
189 <primary sortas="b-xterm2">xterm</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.