Difference between revisions of "Xorg7/xterm"

From CBLFS
Jump to navigationJump to search
(Edited to conform to the template.)
m
Line 56: Line 56:
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=32 CC="gcc ${BUILDN32}" ./configure \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=32 CC="gcc ${BUILDN32}" ./configure \
 
  ${XORG_CONFIGN32} --with-wide-chars --libdir=/usr/lib32 &&
 
  ${XORG_CONFIGN32} --with-wide-chars --libdir=/usr/lib32 &&
  make appsdir=/usr/lib32/X11/app-defaults &&
+
  make appsdir=/usr/lib32/X11/app-defaults
  
 
Install xterm:
 
Install xterm:
Line 69: Line 69:
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" ./configure \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" ./configure \
 
  ${XORG_CONFIG64} --with-wide-chars --libdir=/usr/lib64 &&
 
  ${XORG_CONFIG64} --with-wide-chars --libdir=/usr/lib64 &&
  make appsdir=/usr/lib64/X11/app-defaults &&
+
  make appsdir=/usr/lib64/X11/app-defaults
  
 
Install xterm:
 
Install xterm:
Line 77: Line 77:
  
 
= Configuring xterm =
 
= Configuring xterm =
 +
 +
You will only need the first file on a non-multilib system.
  
 
  cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
 
  cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
Line 83: Line 85:
 
  *VT100*faceSize: 10
 
  *VT100*faceSize: 10
 
  EOF
 
  EOF
 +
 +
cat >> $XORG_PREFIX/lib32/X11/app-defaults/XTerm << "EOF"
 +
*VT100*locale: true
 +
*VT100*faceName: Monospace
 +
*VT100*faceSize: 10
 +
EOF
 +
 
  cat >> $XORG_PREFIX/lib64/X11/app-defaults/XTerm << "EOF"
 
  cat >> $XORG_PREFIX/lib64/X11/app-defaults/XTerm << "EOF"
 
  *VT100*locale: true
 
  *VT100*locale: true

Revision as of 13:04, 21 December 2006

Download Source:
ftp://invisible-island.net/xterm/xterm.tar.gz

Return to Drivers

Introduction to xterm

The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly. Xterm is not distributed as part of the modular Xorg. You must retrieve it from the upstream source.

Dependencies

Required

libXaw from Libraries

Optional

FreeType

Non-Multilib

Compile xterm.

 ./configure $XORG_CONFIG
 make

Install xterm.

 make install &&
 make install-ti

Multilib

32Bit

Compile xterm:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" ./configure \
${XORG_CONFIG32} --with-wide-chars &&
make

Install xterm:

make install &&
make install-ti

N32

Compile xterm:

PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=32 CC="gcc ${BUILDN32}" ./configure \
${XORG_CONFIGN32} --with-wide-chars --libdir=/usr/lib32 &&
make appsdir=/usr/lib32/X11/app-defaults

Install xterm:

make appsdir=/usr/lib32/X11/app-defaults install &&
make appsdir=/usr/lib32/X11/app-defaults install-ti

64Bit

Compile xterm:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" ./configure \
${XORG_CONFIG64} --with-wide-chars --libdir=/usr/lib64 &&
make appsdir=/usr/lib64/X11/app-defaults

Install xterm:

make appsdir=/usr/lib64/X11/app-defaults install &&
make appsdir=/usr/lib64/X11/app-defaults install-ti

Configuring xterm

You will only need the first file on a non-multilib system.

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

Next install rman

Contents

Installed Programs: resize, uxterm, xterm

Short Description

resize prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window.
uxterm wrapper script to start xterm in UTF-8 locales.
xterm a terminal emulator for the X Window System.