source: x/installing/xterm.xml@ 9c1319c

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 9c1319c was 8b839344, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Update to xterm-388.

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