source: x/installing/xterm.xml@ 350532c6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 350532c6 was 33cf52e, checked in by Ragnar Thomsen <rthomsen@…>, 12 years ago

xterm 278

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

  • Property mode set to 100644
File size: 6.9 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
7 <!ENTITY xterm-download-http " ">
[e2b0dfc0]8 <!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
[33cf52e]9 <!ENTITY xterm-md5sum "3eeddfe35cb0a2db1924cfe0c20be443">
10 <!ENTITY xterm-size "973 KB">
11 <!ENTITY xterm-buildsize "8.4 MB">
[ab79e8a]12 <!ENTITY xterm-time "0.2 SBU">
[868c7c2]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
[e2b0dfc0]32 <para><application>xterm</application> is a terminal emulator for
33 the X Window System.</para>
[868c7c2]34
[1ed7820]35 &lfs70_checked;
36
[868c7c2]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &xterm-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &xterm-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &xterm-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &xterm-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">xterm Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Required</bridgehead>
[1a1fc45]62 <para role="required"><xref linkend="xorg7-app"/></para>
[868c7c2]63
[1663c2b5]64 <para condition="html" role="usernotes">User Notes:
65 <ulink url='&blfs-wiki;/Xterm'/></para>
[6e43b142]66
[868c7c2]67 </sect2>
68
69 <sect2 role="installation">
70 <title>Installation of xterm</title>
71
72 <para>Install <application>xterm</application> by running the
73 following commands:</para>
74
[9f0cf8f]75<screen><userinput>sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &amp;&amp;
76echo -e '\tkbs=\\177,' &gt;&gt;terminfo &amp;&amp;
[33cf52e]77TERMINFO=/usr/share/terminfo ./configure $XORG_CONFIG \
[a449b33]78 --enable-luit --enable-wide-chars \
[bbe9eba0]79 --with-app-defaults=/etc/X11/app-defaults &amp;&amp;
[868c7c2]80make</userinput></screen>
81
82 <para>This package does not come with a test suite.</para>
83
[c23b62b]84 <para>Now, as the <systemitem class="username">root</systemitem>
[6291d0e]85 user:</para>
[868c7c2]86
[371ff30]87<screen role="root"><userinput>make install &amp;&amp;
88make install-ti</userinput></screen>
[868c7c2]89
90 </sect2>
91
[e4a21ed]92 <sect2 role="commands">
93 <title>Command Explanations</title>
[fd7e0ed6]94
[9f0cf8f]95 <para><command>sed -i ... termcap</command>,
[33cf52e]96 <command>echo ... >>terminfo</command>: These commands modify the terminal
[9f0cf8f]97 description, so that the Backspace key is expected to send the character
98 with ASCII code 127, for consistency with the Linux console.</para>
[e4a21ed]99
[33cf52e]100 <para><parameter>TERMINFO=/usr/share/terminfo</parameter>: This ensures
101 that the <command>xterm</command> terminfo files are installed to the
[39fce78]102 system terminfo database when the installation prefix is not
103 <filename class="directory">/usr</filename>.</para>
104
[7be99f2c]105 <para><parameter>--with-app-defaults=...</parameter>: Sets the location
[c23b62b]106 for the <filename class="directory">app-defaults</filename>
[7be99f2c]107 directory.</para>
108
109 <para><parameter>--enable-luit</parameter>: Enables the luit filter for
[9f0cf8f]110 translation between Unicode (used by xterm internally in the configuration
111 below) and the locale encoding. If <command>luit</command> is not found
112 in the PATH, the default of
113 <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
[3735050]114
[a449b33]115 <para><parameter>--enable-wide-chars</parameter>: Adds support for wide
[3735050]116 characters.</para>
117
[371ff30]118 <para><command>make install-ti</command>: This command installs corrected
[6473e74]119 terminfo description files for use with
[371ff30]120 <application>xterm</application>.</para>
121
[e4a21ed]122 </sect2>
123
[6e43b142]124 <sect2 role="configuration">
125 <title>Configuring xterm</title>
126
127 <para>There are two ways to configure xterm. You can add X resource
128 definitions to the user's <filename>~/.Xresources</filename> file, or
129 add them to the system-wide
[2932ef8]130 <filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
[6e43b142]131
[9f0cf8f]132 <para>In order for xterm to follow the locale settings in the environment,
133 use TrueType fonts, and follow the Linux convention about the code sent by
134 the Backspace key, add the following definitions as the
[6e43b142]135 <systemitem class="username">root</systemitem> user:</para>
136
[88ccfed]137<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/XTerm &lt;&lt; "EOF"
[6e43b142]138*VT100*locale: true
139*VT100*faceName: Monospace
[b79c3d81]140*VT100*faceSize: 10
[9f0cf8f]141*backarrowKeyIsErase: true
142*ptyInitialErase: true
[6e43b142]143EOF</userinput></screen>
144
145 </sect2>
146
[868c7c2]147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152
153 <seglistitem>
[33cf52e]154 <seg>koi8rxterm, resize, uxterm, and xterm</seg>
[868c7c2]155 </seglistitem>
156 </segmentedlist>
157
[e4a21ed]158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
[33cf52e]163 <varlistentry id="koi8rxterm">
164 <term><filename>koi8rxterm</filename></term>
165 <listitem>
166 <para>is a wrapper script to set up xterm with a KOI8-R locale.</para>
167 <indexterm zone="xterm2 koi8rxterm">
168 <primary sortas="b-koi8rxterm">koi8rxterm</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173
174
[e4a21ed]175 <varlistentry id="resize">
176 <term><filename>resize</filename></term>
177 <listitem>
[6473e74]178 <para>prints a shell command for setting the TERM and TERMCAP
179 environment variables to indicate the current size of xterm
[e4a21ed]180 window.</para>
181 <indexterm zone="xterm2 resize">
182 <primary sortas="b-resize">resize</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="uxterm">
188 <term><filename>uxterm</filename></term>
189 <listitem>
[9f0cf8f]190 <para>is a wrapper script that modifies the current locale to use UTF-8
191 and starts xterm with the proper settings.</para>
[e4a21ed]192 <indexterm zone="xterm2 uxterm">
193 <primary sortas="b-uxterm">uxterm</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="xterm-bin">
199 <term><filename>xterm</filename></term>
200 <listitem>
201 <para>is a terminal emulator for the X Window System.</para>
202 <indexterm zone="xterm2 xterm2">
203 <primary sortas="b-xterm2">xterm</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 </variablelist>
209
[868c7c2]210 </sect2>
211
212</sect1>
Note: See TracBrowser for help on using the repository browser.