xterm-223

Introduction to xterm

xterm is a terminal emulator for the X Window System.

Package Information

xterm Dependencies

Required

Xorg Libraries

Optional

luit-1.0.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xterm

Installation of xterm

[Note]

Note

This package should only be built if you are installing Xorg-7.1. If you have installed or will be installing Xorg-6.9.0 or XFree86, it is provided by those packages and should not be installed here. Ensure that you have the XORG_CONFIG and XORG_PREFIX variables set as described in the Xorg-7.1 page.

Install xterm by running the following commands:

TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
    --enable-luit --with-wide-chars \
    --with-app-default=$XORG_PREFIX/share/X11/app-defaults &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
make install-ti

Command Explanations

TERMINFO=/usr/lib/terminfo: This ensures that the xterm terminfo file is installed to the system terminfo database when the installation prefix is not /usr.

--with-app-defaults=...: Sets the location for the app-defaults directory.

--enable-luit: Enables the luit filter for Unicode translation. If luit is not found in the PATH, it will be disabled.

--with-wide-chars: Adds support for wide characters.

make install-ti: This command installs corrected terminfo description files for use with xterm.

Configuring xterm

There are two ways to configure xterm. You can add X resource definitions to the user's ~/.Xresources file, or add them to the system-wide $XORG_PREFIX/lib/X11/app-defaults/Xterm file.

In order for xterm to follow the locale settings in the environment and use TrueType fonts, add the following definitions as the root user:

cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
*VT100*locale: true
*VT100*faceName: Monospace
*VT100*faceSize: 10
EOF

Contents

Installed Programs: resize, uxterm, and xterm

Short Descriptions

resize

prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window.

uxterm

is a wrapper script to start xterm with the proper settings in UTF-8 locales.

xterm

is a terminal emulator for the X Window System.

Last updated on 2007-02-13 23:58:21 -0600