source: x/installing/xterm.xml@ 0262f7c

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

Update to xterm-388.

  • Property mode set to 100644
File size: 7.5 KB
RevLine 
[868c7c2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[868c7c2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c6b192c]7 <!ENTITY xterm-download-http "https://invisible-mirror.net/archives/xterm/xterm-&xterm-version;.tgz">
[5ed4f0d]8 <!ENTITY xterm-download-ftp " ">
[8b839344]9 <!ENTITY xterm-md5sum "068e86503421adfd779b40fa522f6364">
[3c4b34d]10 <!ENTITY xterm-size "1.5 MB">
[1dff19d]11 <!ENTITY xterm-buildsize "14 MB">
12 <!ENTITY xterm-time "0.2 SBU (with parallelism=4)">
[868c7c2]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
[71df408]28 <para>
29 <application>xterm</application> is a terminal emulator for
30 the X Window System.
31 </para>
[868c7c2]32
[e03aea8]33 &not-katamari;
34
[f84ad2e]35 &lfs120_checked;
[1ed7820]36
[868c7c2]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[71df408]40 <para>
41 Download (HTTP): <ulink url="&xterm-download-http;"/>
42 </para>
[868c7c2]43 </listitem>
44 <listitem>
[71df408]45 <para>
46 Download (FTP): <ulink url="&xterm-download-ftp;"/>
47 </para>
[868c7c2]48 </listitem>
49 <listitem>
[71df408]50 <para>
51 Download MD5 sum: &xterm-md5sum;
52 </para>
[868c7c2]53 </listitem>
54 <listitem>
[71df408]55 <para>
56 Download size: &xterm-size;
57 </para>
[868c7c2]58 </listitem>
59 <listitem>
[71df408]60 <para>
61 Estimated disk space required: &xterm-buildsize;
62 </para>
[868c7c2]63 </listitem>
64 <listitem>
[71df408]65 <para>
66 Estimated build time: &xterm-time;
67 </para>
[868c7c2]68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
[71df408]74 <para role="required">
75 <xref linkend="xorg7-app"/>
76 </para>
[868c7c2]77
[124f752c]78 <bridgehead renderas="sect4">Required (at runtime)</bridgehead>
79 <para role="required">
[e180a646]80 A monospace TTF or OTF font such as
[e71a98d9]81 <xref role="runtime" linkend="dejavu-fonts"/>
[124f752c]82 </para>
83
84
[38b3eab]85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
[8404399]87 <xref linkend="emacs"/>, <!-- looks for ctags/etags -->
[ec77633]88 <xref linkend="pcre"/> or <xref linkend="pcre2"/>,
[38b3eab]89 <xref linkend="valgrind"/> and
[87fc185]90 <ulink url="https://www.nongnu.org/man2html/">man2html</ulink>
[38b3eab]91 </para>
92
[6e43b142]93
[868c7c2]94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of xterm</title>
98
[71df408]99 <para>
100 Install <application>xterm</application> by running the
101 following commands:
102 </para>
[868c7c2]103
[5597c6eb]104<screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &amp;&amp;
105printf '\tkbs=\\177,\n' &gt;&gt; terminfo &amp;&amp;
[5f26d66f]106
107TERMINFO=/usr/share/terminfo \
108./configure $XORG_CONFIG \
[bbe9eba0]109 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
[5f26d66f]110
[868c7c2]111make</userinput></screen>
112
[8ddf6d5]113 <!--
114 there is a 'make check' but i havn't found a description
115 how the output should look like
116 -->
[71df408]117 <para>
118 This package does not come with a test suite.
119 </para>
[868c7c2]120
[71df408]121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
[868c7c2]124
[7788630d]125<screen role="root"><userinput>make install &amp;&amp;
126make install-ti &amp;&amp;
127
[0ecaac7]128mkdir -pv /usr/share/applications &amp;&amp;
[7788630d]129cp -v *.desktop /usr/share/applications/</userinput></screen>
[868c7c2]130
131 </sect2>
132
[e4a21ed]133 <sect2 role="commands">
134 <title>Command Explanations</title>
[fd7e0ed6]135
[71df408]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>
[e4a21ed]143
[71df408]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>
[39fce78]149
[71df408]150 <para>
151 <parameter>--with-app-defaults=...</parameter>: Sets the location
152 for the <filename class="directory">app-defaults</filename>
153 directory.
154 </para>
[1c22b4e]155
[71df408]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>
[371ff30]161
[e4a21ed]162 </sect2>
163
[6e43b142]164 <sect2 role="configuration">
165 <title>Configuring xterm</title>
166
[71df408]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>
[6e43b142]173
[71df408]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>
[6e43b142]180
[88ccfed]181<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
[bb535fde]182<literal>*VT100*locale: true
[6e43b142]183*VT100*faceName: Monospace
[b79c3d81]184*VT100*faceSize: 10
[9f0cf8f]185*backarrowKeyIsErase: true
[bb535fde]186*ptyInitialErase: true</literal>
[6e43b142]187EOF</userinput></screen>
188
189 </sect2>
190
[868c7c2]191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Programs</segtitle>
[eb50ddde]196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Directories</segtitle>
[868c7c2]198
199 <seglistitem>
[33cf52e]200 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
[eb50ddde]201 <seg>None</seg>
202 <seg>None</seg>
[868c7c2]203 </seglistitem>
204 </segmentedlist>
205
[e4a21ed]206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
[33cf52e]211 <varlistentry id="koi8rxterm">
[eb50ddde]212 <term><command>koi8rxterm</command></term>
[33cf52e]213 <listitem>
[71df408]214 <para>
[4c24eb0a]215 is a wrapper script to set up xterm with a KOI8-R locale
[71df408]216 </para>
[33cf52e]217 <indexterm zone="xterm2 koi8rxterm">
218 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
219 </indexterm>
220 </listitem>
[0d7900a]221 </varlistentry>
222
[e4a21ed]223 <varlistentry id="resize">
[eb50ddde]224 <term><command>resize</command></term>
[e4a21ed]225 <listitem>
[71df408]226 <para>
227 prints a shell command for setting the TERM and TERMCAP
228 environment variables to indicate the current size of xterm
[4c24eb0a]229 window
[71df408]230 </para>
[e4a21ed]231 <indexterm zone="xterm2 resize">
232 <primary sortas="b-resize">resize</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="uxterm">
[eb50ddde]238 <term><command>uxterm</command></term>
[e4a21ed]239 <listitem>
[71df408]240 <para>
241 is a wrapper script that modifies the current locale to use
[4c24eb0a]242 UTF-8 and starts xterm with the proper settings
[71df408]243 </para>
[e4a21ed]244 <indexterm zone="xterm2 uxterm">
245 <primary sortas="b-uxterm">uxterm</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="xterm-bin">
[eb50ddde]251 <term><command>xterm</command></term>
[e4a21ed]252 <listitem>
[71df408]253 <para>
[4c24eb0a]254 is a terminal emulator for the X Window System
[71df408]255 </para>
[e4a21ed]256 <indexterm zone="xterm2 xterm2">
257 <primary sortas="b-xterm2">xterm</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 </variablelist>
263
[868c7c2]264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.