source: x/installing/xterm.xml@ 7788630d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 7788630d was 7788630d, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Archive midori.
Archive opal and ekiga.
Update xterm to install .desktop files.
Update plasma to properly link to .desktop file.
Finish tagging postlfs files.

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

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