source: x/installing/xterm.xml@ 8404399

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 8404399 was 8404399, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to pango-1.48.4
Update to xterm-367
Update to cups-filters-1.28.8
Update to emacs-27.2
Update to python-dbusmock-0.23.0

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

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