source: x/installing/xterm.xml@ c6b192c

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c6b192c was c6b192c, checked in by Xi Ruoyao <xry111@…>, 3 years ago

secure package download URLs

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

  • Property mode set to 100644
File size: 7.8 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 "https://invisible-mirror.net/archives/xterm/xterm-&xterm-version;.tgz">
8 <!--<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">-->
9 <!ENTITY xterm-download-ftp " ">
10 <!ENTITY xterm-md5sum "a6ed592b9c5d38cfd4a4dd37d97e5a12">
11 <!ENTITY xterm-size "1.3 MB">
12 <!ENTITY xterm-buildsize "18 MB">
13 <!ENTITY xterm-time "0.2 SBU">
14]>
15
16<sect1 id="xterm2" xreflabel="xterm-&xterm-version;">
17 <?dbhtml filename="xterm.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>xterm-&xterm-version;</title>
25
26 <indexterm zone="xterm2">
27 <primary sortas="a-xterm2">xterm</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to xterm</title>
32
33 <para>
34 <application>xterm</application> is a terminal emulator for
35 the X Window System.
36 </para>
37
38 &not-katamari;
39
40 &lfs101_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&xterm-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&xterm-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &xterm-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &xterm-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &xterm-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &xterm-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="xorg7-app"/>
81 </para>
82
83 <bridgehead renderas="sect4">Required (at runtime)</bridgehead>
84 <para role="required">
85 A monospace TTF or OTF font such as
86 <xref role="runtime" linkend="dejavu-fonts"/>
87 </para>
88
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="emacs"/>, <!-- looks for ctags/etags -->
93 <xref linkend="pcre"/> or <xref linkend="pcre2"/>,
94 <xref linkend="valgrind"/> and
95 <ulink url="http://www.nongnu.org/man2html/">man2html</ulink>
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url='&blfs-wiki;/Xterm'/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of xterm</title>
105
106 <para>
107 Install <application>xterm</application> by running the
108 following commands:
109 </para>
110
111<screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &amp;&amp;
112printf '\tkbs=\\177,\n' &gt;&gt; terminfo &amp;&amp;
113
114TERMINFO=/usr/share/terminfo \
115./configure $XORG_CONFIG \
116 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
117
118make</userinput></screen>
119
120 <!--
121 there is a 'make check' but i havn't found a description
122 how the output should look like
123 -->
124 <para>
125 This package does not come with a test suite.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install &amp;&amp;
133make install-ti &amp;&amp;
134
135mkdir -pv /usr/share/applications &amp;&amp;
136cp -v *.desktop /usr/share/applications/</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para>
144 <command>sed -i ... termcap</command>,
145 <command>printf ... >> terminfo</command>:
146 These commands modify the terminal description so that the Backspace
147 key is expected to send the character with ASCII code 127. This is done
148 for consistency with the Linux console.
149 </para>
150
151 <para>
152 <envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
153 that the <command>xterm</command> terminfo files are installed to the
154 system terminfo database.
155 </para>
156
157 <para>
158 <parameter>--with-app-defaults=...</parameter>: Sets the location
159 for the <filename class="directory">app-defaults</filename>
160 directory.
161 </para>
162
163 <para>
164 <command>make install-ti</command>: This command installs corrected
165 terminfo description files for use with
166 <application>xterm</application>.
167 </para>
168
169 </sect2>
170
171 <sect2 role="configuration">
172 <title>Configuring xterm</title>
173
174 <para>
175 There are two ways to configure xterm. You can add the X resource
176 definitions to the user's <filename>~/.Xresources</filename> file, or
177 add them to the system-wide
178 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.
179 </para>
180
181 <para>
182 In order for xterm to follow the locale settings in the environment,
183 use TrueType fonts, and follow the Linux convention about the code sent by
184 the Backspace key, add the following definitions as the
185 <systemitem class="username">root</systemitem> user:
186 </para>
187
188<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
189<literal>*VT100*locale: true
190*VT100*faceName: Monospace
191*VT100*faceSize: 10
192*backarrowKeyIsErase: true
193*ptyInitialErase: true</literal>
194EOF</userinput></screen>
195
196 </sect2>
197
198 <sect2 role="content">
199 <title>Contents</title>
200
201 <segmentedlist>
202 <segtitle>Installed Programs</segtitle>
203 <segtitle>Installed Libraries</segtitle>
204 <segtitle>Installed Directories</segtitle>
205
206 <seglistitem>
207 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
208 <seg>None</seg>
209 <seg>None</seg>
210 </seglistitem>
211 </segmentedlist>
212
213 <variablelist>
214 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
215 <?dbfo list-presentation="list"?>
216 <?dbhtml list-presentation="table"?>
217
218 <varlistentry id="koi8rxterm">
219 <term><command>koi8rxterm</command></term>
220 <listitem>
221 <para>
222 is a wrapper script to set up xterm with a KOI8-R locale
223 </para>
224 <indexterm zone="xterm2 koi8rxterm">
225 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="resize">
231 <term><command>resize</command></term>
232 <listitem>
233 <para>
234 prints a shell command for setting the TERM and TERMCAP
235 environment variables to indicate the current size of xterm
236 window
237 </para>
238 <indexterm zone="xterm2 resize">
239 <primary sortas="b-resize">resize</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="uxterm">
245 <term><command>uxterm</command></term>
246 <listitem>
247 <para>
248 is a wrapper script that modifies the current locale to use
249 UTF-8 and starts xterm with the proper settings
250 </para>
251 <indexterm zone="xterm2 uxterm">
252 <primary sortas="b-uxterm">uxterm</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="xterm-bin">
258 <term><command>xterm</command></term>
259 <listitem>
260 <para>
261 is a terminal emulator for the X Window System
262 </para>
263 <indexterm zone="xterm2 xterm2">
264 <primary sortas="b-xterm2">xterm</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 </variablelist>
270
271 </sect2>
272
273</sect1>
Note: See TracBrowser for help on using the repository browser.