source: x/installing/xterm.xml@ e5324803

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e5324803 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.7 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 "8d4ac4b3ca53ff97a7ca8f1c4b55a092">
11 <!ENTITY xterm-size "1.5 MB">
12 <!ENTITY xterm-buildsize "14 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
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 &lfs112_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 <para condition="html" role="usernotes">User Notes:
95 <ulink url='&blfs-wiki;/Xterm'/></para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of xterm</title>
101
102 <para>
103 Install <application>xterm</application> by running the
104 following commands:
105 </para>
106
107<screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &amp;&amp;
108printf '\tkbs=\\177,\n' &gt;&gt; terminfo &amp;&amp;
109
110TERMINFO=/usr/share/terminfo \
111./configure $XORG_CONFIG \
112 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
113
114make</userinput></screen>
115
116 <!--
117 there is a 'make check' but i havn't found a description
118 how the output should look like
119 -->
120 <para>
121 This package does not come with a test suite.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install &amp;&amp;
129make install-ti &amp;&amp;
130
131mkdir -pv /usr/share/applications &amp;&amp;
132cp -v *.desktop /usr/share/applications/</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>
140 <command>sed -i ... termcap</command>,
141 <command>printf ... >> terminfo</command>:
142 These commands modify the terminal description so that the Backspace
143 key is expected to send the character with ASCII code 127. This is done
144 for consistency with the Linux console.
145 </para>
146
147 <para>
148 <envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
149 that the <command>xterm</command> terminfo files are installed to the
150 system terminfo database.
151 </para>
152
153 <para>
154 <parameter>--with-app-defaults=...</parameter>: Sets the location
155 for the <filename class="directory">app-defaults</filename>
156 directory.
157 </para>
158
159 <para>
160 <command>make install-ti</command>: This command installs corrected
161 terminfo description files for use with
162 <application>xterm</application>.
163 </para>
164
165 </sect2>
166
167 <sect2 role="configuration">
168 <title>Configuring xterm</title>
169
170 <para>
171 There are two ways to configure xterm. You can add the X resource
172 definitions to the user's <filename>~/.Xresources</filename> file, or
173 add them to the system-wide
174 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.
175 </para>
176
177 <para>
178 In order for xterm to follow the locale settings in the environment,
179 use TrueType fonts, and follow the Linux convention about the code sent by
180 the Backspace key, add the following definitions as the
181 <systemitem class="username">root</systemitem> user:
182 </para>
183
184<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
185<literal>*VT100*locale: true
186*VT100*faceName: Monospace
187*VT100*faceSize: 10
188*backarrowKeyIsErase: true
189*ptyInitialErase: true</literal>
190EOF</userinput></screen>
191
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Programs</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
204 <seg>None</seg>
205 <seg>None</seg>
206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
214 <varlistentry id="koi8rxterm">
215 <term><command>koi8rxterm</command></term>
216 <listitem>
217 <para>
218 is a wrapper script to set up xterm with a KOI8-R locale
219 </para>
220 <indexterm zone="xterm2 koi8rxterm">
221 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="resize">
227 <term><command>resize</command></term>
228 <listitem>
229 <para>
230 prints a shell command for setting the TERM and TERMCAP
231 environment variables to indicate the current size of xterm
232 window
233 </para>
234 <indexterm zone="xterm2 resize">
235 <primary sortas="b-resize">resize</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="uxterm">
241 <term><command>uxterm</command></term>
242 <listitem>
243 <para>
244 is a wrapper script that modifies the current locale to use
245 UTF-8 and starts xterm with the proper settings
246 </para>
247 <indexterm zone="xterm2 uxterm">
248 <primary sortas="b-uxterm">uxterm</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="xterm-bin">
254 <term><command>xterm</command></term>
255 <listitem>
256 <para>
257 is a terminal emulator for the X Window System
258 </para>
259 <indexterm zone="xterm2 xterm2">
260 <primary sortas="b-xterm2">xterm</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 </variablelist>
266
267 </sect2>
268
269</sect1>
Note: See TracBrowser for help on using the repository browser.