Introduction to xterm
xterm is a terminal emulator for
the X Window System.
This package is not a part of the Xorg katamari and is provided
only as a dependency to other packages or for testing the completed
This package is known to build and work properly using an LFS-7.3
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xterm
Installation of xterm
Install xterm by running the
sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap &&
echo -e '\tkbs=\\177,' >>terminfo &&
TERMINFO=/usr/share/terminfo ./configure $XORG_CONFIG \
--enable-luit --enable-wide-chars \
This package does not come with a test suite.
Now, as the
make install &&
sed -i ... termcap,
>>terminfo: 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
ensures that the xterm terminfo files are
installed to the system terminfo database when the installation
prefix is not
Sets the location for the
--enable-luit: Enables the
luit filter for translation between Unicode (used by xterm
internally in the configuration below) and the locale encoding. If
luit is not found in
the PATH, the default of
/usr/X11R6/bin/luit will be used.
support for wide characters.
make install-ti: This
command installs corrected terminfo description files for use with
There are two ways to configure xterm. You can add X resource
definitions to the user's
~/.Xresources file, or add them to the
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
cat >> /etc/X11/app-defaults/XTerm << "EOF"
koi8rxterm, resize, uxterm, and
is a wrapper script to set up xterm with a KOI8-R locale.
prints a shell command for setting the TERM and TERMCAP
environment variables to indicate the current size of
is a wrapper script that modifies the current locale to
use UTF-8 and starts xterm with the proper settings.
is a terminal emulator for the X Window System.
Last updated on 2013-03-07 02:30:41 +0000