source: x/installing/xterm.xml@ 8b0eef4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 8b0eef4 was 8b0eef4, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Tags for Xorg and dependencies + a few others

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

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