mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52: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$
|
$Date$
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!ENTITY day "19"> <!-- Always 2 digits -->
|
<!ENTITY day "20"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "01"> <!-- Always 2 digits -->
|
<!ENTITY month "01"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2008">
|
<!ENTITY year "2008">
|
||||||
<!ENTITY version "svn-&year;&month;&day;">
|
<!ENTITY version "svn-&year;&month;&day;">
|
||||||
@ -174,7 +174,7 @@ $Date$
|
|||||||
<!ENTITY unixodbc-version "2.2.12">
|
<!ENTITY unixodbc-version "2.2.12">
|
||||||
<!ENTITY graphviz-version "2.12">
|
<!ENTITY graphviz-version "2.12">
|
||||||
<!ENTITY recode-version "3.6">
|
<!ENTITY recode-version "3.6">
|
||||||
<!ENTITY xterm-version "225">
|
<!ENTITY xterm-version "231">
|
||||||
<!ENTITY icon-naming-utils-version "0.8.2">
|
<!ENTITY icon-naming-utils-version "0.8.2">
|
||||||
<!ENTITY rxvt-unicode-version "8.4">
|
<!ENTITY rxvt-unicode-version "8.4">
|
||||||
<!ENTITY pinentry-version "0.7.3">
|
<!ENTITY pinentry-version "0.7.3">
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
<!ENTITY xterm-download-http " ">
|
<!ENTITY xterm-download-http " ">
|
||||||
<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
|
<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
|
||||||
<!ENTITY xterm-md5sum "dbd31341a9ccb982647416e8d27b0f00">
|
<!ENTITY xterm-md5sum "b767d702e1464e16802b90c2187252c6">
|
||||||
<!ENTITY xterm-size "803 KB">
|
<!ENTITY xterm-size "830 KB">
|
||||||
<!ENTITY xterm-buildsize "7.0 MB">
|
<!ENTITY xterm-buildsize "8.0 MB">
|
||||||
<!ENTITY xterm-time "0.1 SBU">
|
<!ENTITY xterm-time "0.1 SBU">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
@ -60,7 +60,10 @@
|
|||||||
<para role="required"><xref linkend="xorg7-lib"/></para>
|
<para role="required"><xref linkend="xorg7-lib"/></para>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
<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:
|
<para condition="html" role="usernotes">User Notes:
|
||||||
<ulink url='&blfs-wiki;/Xterm'/></para>
|
<ulink url='&blfs-wiki;/Xterm'/></para>
|
||||||
@ -76,7 +79,9 @@
|
|||||||
<para>Install <application>xterm</application> by running the
|
<para>Install <application>xterm</application> by running the
|
||||||
following commands:</para>
|
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 \
|
--enable-luit --enable-wide-chars \
|
||||||
--with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &&
|
--with-app-defaults=$XORG_PREFIX/share/X11/app-defaults &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
@ -93,6 +98,11 @@ make install-ti</userinput></screen>
|
|||||||
|
|
||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<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
|
<para><parameter>TERMINFO=/usr/lib/terminfo</parameter>: This ensures
|
||||||
that the <command>xterm</command> terminfo file is installed to the
|
that the <command>xterm</command> terminfo file is installed to the
|
||||||
@ -104,8 +114,10 @@ make install-ti</userinput></screen>
|
|||||||
directory.</para>
|
directory.</para>
|
||||||
|
|
||||||
<para><parameter>--enable-luit</parameter>: Enables the luit filter for
|
<para><parameter>--enable-luit</parameter>: Enables the luit filter for
|
||||||
Unicode translation. If <command>luit</command> is not found in the PATH,
|
translation between Unicode (used by xterm internally in the configuration
|
||||||
the default of <filename>/usr/X11R6/bin/luit</filename> will be used.</para>
|
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
|
<para><parameter>--enable-wide-chars</parameter>: Adds support for wide
|
||||||
characters.</para>
|
characters.</para>
|
||||||
@ -124,14 +136,17 @@ make install-ti</userinput></screen>
|
|||||||
add them to the system-wide
|
add them to the system-wide
|
||||||
<filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
<filename>$XORG_PREFIX/share/X11/app-defaults/Xterm</filename> file.</para>
|
||||||
|
|
||||||
<para>In order for xterm to follow the locale settings in the environment
|
<para>In order for xterm to follow the locale settings in the environment,
|
||||||
and use TrueType fonts, add the following definitions as the
|
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>
|
<systemitem class="username">root</systemitem> user:</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
|
<screen role="root"><userinput>cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
|
||||||
*VT100*locale: true
|
*VT100*locale: true
|
||||||
*VT100*faceName: Monospace
|
*VT100*faceName: Monospace
|
||||||
*VT100*faceSize: 10
|
*VT100*faceSize: 10
|
||||||
|
*backarrowKeyIsErase: true
|
||||||
|
*ptyInitialErase: true
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
@ -167,8 +182,8 @@ EOF</userinput></screen>
|
|||||||
<varlistentry id="uxterm">
|
<varlistentry id="uxterm">
|
||||||
<term><filename>uxterm</filename></term>
|
<term><filename>uxterm</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>is a wrapper script to start xterm with the proper settings in
|
<para>is a wrapper script that modifies the current locale to use UTF-8
|
||||||
UTF-8 locales.</para>
|
and starts xterm with the proper settings.</para>
|
||||||
<indexterm zone="xterm2 uxterm">
|
<indexterm zone="xterm2 uxterm">
|
||||||
<primary sortas="b-uxterm">uxterm</primary>
|
<primary sortas="b-uxterm">uxterm</primary>
|
||||||
</indexterm>
|
</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>
|
<listitem>
|
||||||
<para>January 19th, 2008</para>
|
<para>January 19th, 2008</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
Loading…
Reference in New Issue
Block a user