source: x/installing/xterm.xml@ 956d023

10.0 10.1 11.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 956d023 was 956d023, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Simplify fix for kdelibs4support.
Update to wayland-protocols-1.8.
Update to xterm-329.
Update to whois-5.2.16.
Update to garcon-0.6.1.
Update to Parse-Yapp-1,2.
Update to unrar-5.5.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18831 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 "af560754441332d8114301f4bb43f523">
10 <!ENTITY xterm-size "1.2 MB">
11 <!ENTITY xterm-buildsize "11.3 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 &gcc7_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 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</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="commands">
111 <title>Command Explanations</title>
112
113 <para><command>sed -i ... termcap</command>,
114 <command>printf ... >> terminfo</command>: These commands modify the terminal
115 description so that the Backspace key is expected to send the character
116 with ASCII code 127. This is done for consistency with the Linux console.</para>
117
118 <para><envar>TERMINFO=/usr/share/terminfo</envar>: This ensures
119 that the <command>xterm</command> terminfo files are installed to the
120 system terminfo database.</para>
121
122 <para><parameter>--with-app-defaults=...</parameter>: Sets the location
123 for the <filename class="directory">app-defaults</filename>
124 directory.</para>
125
126 <para><command>make install-ti</command>: This command installs corrected
127 terminfo description files for use with
128 <application>xterm</application>.</para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring xterm</title>
134
135 <para>There are two ways to configure xterm. You can add the X resource
136 definitions to the user's <filename>~/.Xresources</filename> file, or
137 add them to the system-wide
138 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
139
140 <para>In order for xterm to follow the locale settings in the environment,
141 use TrueType fonts, and follow the Linux convention about the code sent by
142 the Backspace key, add the following definitions as the
143 <systemitem class="username">root</systemitem> user:</para>
144
145<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
146<literal>*VT100*locale: true
147*VT100*faceName: Monospace
148*VT100*faceSize: 10
149*backarrowKeyIsErase: true
150*ptyInitialErase: true</literal>
151EOF</userinput></screen>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
165 <seg>None</seg>
166 <seg>None</seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="koi8rxterm">
176 <term><command>koi8rxterm</command></term>
177 <listitem>
178 <para>is a wrapper script to set up xterm with a KOI8-R locale.</para>
179 <indexterm zone="xterm2 koi8rxterm">
180 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="resize">
186 <term><command>resize</command></term>
187 <listitem>
188 <para>prints a shell command for setting the TERM and TERMCAP
189 environment variables to indicate the current size of xterm
190 window.</para>
191 <indexterm zone="xterm2 resize">
192 <primary sortas="b-resize">resize</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="uxterm">
198 <term><command>uxterm</command></term>
199 <listitem>
200 <para>is a wrapper script that modifies the current locale to use
201 UTF-8 and starts xterm with the proper settings.</para>
202 <indexterm zone="xterm2 uxterm">
203 <primary sortas="b-uxterm">uxterm</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="xterm-bin">
209 <term><command>xterm</command></term>
210 <listitem>
211 <para>is a terminal emulator for the X Window System.</para>
212 <indexterm zone="xterm2 xterm2">
213 <primary sortas="b-xterm2">xterm</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 </variablelist>
219
220 </sect2>
221
222</sect1>
Note: See TracBrowser for help on using the repository browser.