source: x/installing/xterm.xml@ 5f26d66f

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 5f26d66f was 5f26d66f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

LFS-7.4 tags after building Xorg

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

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