source: x/installing/xterm.xml@ 32f90b1

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 32f90b1 was f84ad2e, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Tag most of Chapter 24

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