source: x/installing/xterm.xml@ 88902ba7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 88902ba7 was 62a5037e, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to xterm-353.
Update to mesa-19.3.4.
Update to wayland-1.18.0.
Tag most of xorg (not all drivers) and xorg dependencies.

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

  • Property mode set to 100644
File size: 7.2 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 " ">
[62a5037e]10 <!ENTITY xterm-md5sum "247c30ebfa44623f3a2d100e0cae5c7f">
[96c67a1]11 <!ENTITY xterm-size "1.3 MB">
[29a752e]12 <!ENTITY xterm-buildsize "13 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
[e2b0dfc0]33 <para><application>xterm</application> is a terminal emulator for
34 the X Window System.</para>
[868c7c2]35
[e03aea8]36 &not-katamari;
37
[62a5037e]38 &lfs91_checked;
[1ed7820]39
[868c7c2]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &xterm-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &xterm-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &xterm-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &xterm-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
[1a1fc45]65 <para role="required"><xref linkend="xorg7-app"/></para>
[868c7c2]66
[124f752c]67 <bridgehead renderas="sect4">Required (at runtime)</bridgehead>
68 <para role="required">
[e180a646]69 A monospace TTF or OTF font such as
[e71a98d9]70 <xref role="runtime" linkend="dejavu-fonts"/>
[124f752c]71 </para>
72
73
[38b3eab]74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional">
[ec77633]76 <xref linkend="pcre"/> or <xref linkend="pcre2"/>,
[38b3eab]77 <xref linkend="valgrind"/> and
78 <ulink url="http://www.nongnu.org/man2html/">man2html</ulink>
79 </para>
80
[1663c2b5]81 <para condition="html" role="usernotes">User Notes:
82 <ulink url='&blfs-wiki;/Xterm'/></para>
[6e43b142]83
[868c7c2]84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of xterm</title>
88
89 <para>Install <application>xterm</application> by running the
90 following commands:</para>
91
[5597c6eb]92<screen><userinput>sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &amp;&amp;
93printf '\tkbs=\\177,\n' &gt;&gt; terminfo &amp;&amp;
[5f26d66f]94
95TERMINFO=/usr/share/terminfo \
96./configure $XORG_CONFIG \
[bbe9eba0]97 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
[5f26d66f]98
[868c7c2]99make</userinput></screen>
100
101 <para>This package does not come with a test suite.</para>
102
[c23b62b]103 <para>Now, as the <systemitem class="username">root</systemitem>
[6291d0e]104 user:</para>
[868c7c2]105
[7788630d]106<screen role="root"><userinput>make install &amp;&amp;
107make install-ti &amp;&amp;
108
[0ecaac7]109mkdir -pv /usr/share/applications &amp;&amp;
[7788630d]110cp -v *.desktop /usr/share/applications/</userinput></screen>
[868c7c2]111
112 </sect2>
113
[e4a21ed]114 <sect2 role="commands">
115 <title>Command Explanations</title>
[fd7e0ed6]116
[9f0cf8f]117 <para><command>sed -i ... termcap</command>,
[5597c6eb]118 <command>printf ... >> terminfo</command>: These commands modify the terminal
[e7847a9]119 description so that the Backspace key is expected to send the character
120 with ASCII code 127. This is done for consistency with the Linux console.</para>
[e4a21ed]121
[1a518e97]122 <para><envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
[33cf52e]123 that the <command>xterm</command> terminfo files are installed to the
[b44efd17]124 system terminfo database.</para>
[39fce78]125
[1c22b4e]126 <para><parameter>--with-app-defaults=...</parameter>: Sets the location
127 for the <filename class="directory">app-defaults</filename>
128 directory.</para>
129
[371ff30]130 <para><command>make install-ti</command>: This command installs corrected
[6473e74]131 terminfo description files for use with
[371ff30]132 <application>xterm</application>.</para>
133
[e4a21ed]134 </sect2>
135
[6e43b142]136 <sect2 role="configuration">
137 <title>Configuring xterm</title>
138
[e7847a9]139 <para>There are two ways to configure xterm. You can add the X resource
[6e43b142]140 definitions to the user's <filename>~/.Xresources</filename> file, or
141 add them to the system-wide
[2932ef8]142 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
[6e43b142]143
[9f0cf8f]144 <para>In order for xterm to follow the locale settings in the environment,
145 use TrueType fonts, and follow the Linux convention about the code sent by
146 the Backspace key, add the following definitions as the
[6e43b142]147 <systemitem class="username">root</systemitem> user:</para>
148
[88ccfed]149<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
[bb535fde]150<literal>*VT100*locale: true
[6e43b142]151*VT100*faceName: Monospace
[b79c3d81]152*VT100*faceSize: 10
[9f0cf8f]153*backarrowKeyIsErase: true
[bb535fde]154*ptyInitialErase: true</literal>
[6e43b142]155EOF</userinput></screen>
156
157 </sect2>
158
[868c7c2]159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
[eb50ddde]164 <segtitle>Installed Libraries</segtitle>
165 <segtitle>Installed Directories</segtitle>
[868c7c2]166
167 <seglistitem>
[33cf52e]168 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
[eb50ddde]169 <seg>None</seg>
170 <seg>None</seg>
[868c7c2]171 </seglistitem>
172 </segmentedlist>
173
[e4a21ed]174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
[33cf52e]179 <varlistentry id="koi8rxterm">
[eb50ddde]180 <term><command>koi8rxterm</command></term>
[33cf52e]181 <listitem>
182 <para>is a wrapper script to set up xterm with a KOI8-R locale.</para>
183 <indexterm zone="xterm2 koi8rxterm">
184 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
185 </indexterm>
186 </listitem>
[0d7900a]187 </varlistentry>
188
[e4a21ed]189 <varlistentry id="resize">
[eb50ddde]190 <term><command>resize</command></term>
[e4a21ed]191 <listitem>
[6473e74]192 <para>prints a shell command for setting the TERM and TERMCAP
193 environment variables to indicate the current size of xterm
[e4a21ed]194 window.</para>
195 <indexterm zone="xterm2 resize">
196 <primary sortas="b-resize">resize</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="uxterm">
[eb50ddde]202 <term><command>uxterm</command></term>
[e4a21ed]203 <listitem>
[39dd48b]204 <para>is a wrapper script that modifies the current locale to use
205 UTF-8 and starts xterm with the proper settings.</para>
[e4a21ed]206 <indexterm zone="xterm2 uxterm">
207 <primary sortas="b-uxterm">uxterm</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="xterm-bin">
[eb50ddde]213 <term><command>xterm</command></term>
[e4a21ed]214 <listitem>
215 <para>is a terminal emulator for the X Window System.</para>
216 <indexterm zone="xterm2 xterm2">
217 <primary sortas="b-xterm2">xterm</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 </variablelist>
223
[868c7c2]224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.