mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Updated xterm to version 231, corrected the problem with the Backspace key.
The repainting issue appears to be LiveCD specific, and applies both to versions 225 and 231. Thus, it doesn't block the upgrade. TODO: apply the same terminfo modifications to LFS while installing ncurses. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7172 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
723288753f
commit
9f0cf8f74c
@ -3,7 +3,7 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "19"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "20"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "01"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2008">
|
||||
<!ENTITY version "svn-&year;&month;&day;">
|
||||
@ -174,7 +174,7 @@ $Date$
|
||||
<!ENTITY unixodbc-version "2.2.12">
|
||||
<!ENTITY graphviz-version "2.12">
|
||||
<!ENTITY recode-version "3.6">
|
||||
<!ENTITY xterm-version "225">
|
||||
<!ENTITY xterm-version "231">
|
||||
<!ENTITY icon-naming-utils-version "0.8.2">
|
||||
<!ENTITY rxvt-unicode-version "8.4">
|
||||
<!ENTITY pinentry-version "0.7.3">
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
<!ENTITY xterm-download-http " ">
|
||||
<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
|
||||
<!ENTITY xterm-md5sum "dbd31341a9ccb982647416e8d27b0f00">
|
||||
<!ENTITY xterm-size "803 KB">
|
||||
<!ENTITY xterm-buildsize "7.0 MB">
|
||||
<!ENTITY xterm-md5sum "b767d702e1464e16802b90c2187252c6">
|
||||
<!ENTITY xterm-size "830 KB">
|
||||
<!ENTITY xterm-buildsize "8.0 MB">
|
||||
<!ENTITY xterm-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -60,7 +60,10 @@
|
||||
<para role="required"><xref linkend="xorg7-lib"/></para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional"><xref linkend="luit"/></para>
|
||||
<para role="optional"><xref linkend="luit"/> (required in non-UTF-8 locales
|
||||
if the user wants TrueType fonts, and always required in Chinese, Japanese,
|
||||
and Korean locales). Configuration instructions below assume that Luit
|
||||
is installed.</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url='&blfs-wiki;/Xterm'/></para>
|
||||
@ -76,7 +79,9 @@
|
||||
<para>Install <application>xterm</application> by running the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
|
||||
<screen><userinput>sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &&
|
||||
echo -e '\tkbs=\\177,' >>terminfo &&
|
||||
TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
|
||||
--enable-luit --enable-wide-chars \
|
||||
--with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &&
|
||||
make</userinput></screen>
|
||||
@ -93,6 +98,11 @@ make install-ti</userinput></screen>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i ... termcap</command>,
|
||||
<command>echo ... >>terminfo</command>: these commands modify the terminal
|
||||
description, so that the Backspace key is expected to send the character
|
||||
with ASCII code 127, for consistency with the Linux console.</para>
|
||||
|
||||
<para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
|
||||
that the <command>xterm</command> terminfo file is installed to the
|
||||
@ -104,8 +114,10 @@ make install-ti</userinput></screen>
|
||||
directory.</para>
|
||||
|
||||
<para><parameter>--enable-luit</parameter>: Enables the luit filter for
|
||||
Unicode translation. If <command>luit</command> is not found in the PATH,
|
||||
the default of <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
|
||||
translation between Unicode (used by xterm internally in the configuration
|
||||
below) and the locale encoding. If <command>luit</command> is not found
|
||||
in the PATH, the default of
|
||||
<filename>/usr/X11R6/bin/luit</filename> will be used.</para>
|
||||
|
||||
<para><parameter>--enable-wide-chars</parameter>: Adds support for wide
|
||||
characters.</para>
|
||||
@ -124,14 +136,17 @@ make install-ti</userinput></screen>
|
||||
add them to the system-wide
|
||||
<filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
||||
|
||||
<para>In order for xterm to follow the locale settings in the environment
|
||||
and use TrueType fonts, add the following definitions as the
|
||||
<para>In order for xterm to follow the locale settings in the environment,
|
||||
use TrueType fonts, and follow the Linux convention about the code sent by
|
||||
the Backspace key, add the following definitions as the
|
||||
<systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
|
||||
*VT100*locale: true
|
||||
*VT100*faceName: Monospace
|
||||
*VT100*faceSize: 10
|
||||
*backarrowKeyIsErase: true
|
||||
*ptyInitialErase: true
|
||||
EOF</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
@ -167,8 +182,8 @@ EOF</userinput></screen>
|
||||
<varlistentry id="uxterm">
|
||||
<term><filename>uxterm</filename></term>
|
||||
<listitem>
|
||||
<para>is a wrapper script to start xterm with the proper settings in
|
||||
UTF-8 locales.</para>
|
||||
<para>is a wrapper script that modifies the current locale to use UTF-8
|
||||
and starts xterm with the proper settings.</para>
|
||||
<indexterm zone="xterm2 uxterm">
|
||||
<primary sortas="b-uxterm">uxterm</primary>
|
||||
</indexterm>
|
||||
|
@ -41,6 +41,16 @@
|
||||
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>January 20th, 2008</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[alexander] - Configured the Backspace key in xterm,
|
||||
updated program descriptions, updated xterm to version 231.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>January 19th, 2008</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user