Difference between revisions of "Xorg7/xterm"

From CBLFS
Jump to navigationJump to search
(Change paths for $XORG_PREFIX != /usr)
 
(16 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
|-
+
| ftp://invisible-island.net/xterm/xterm-{{Xterm-Version}}.tgz
| ftp://invisible-island.net/xterm/xterm.tar.gz
 
 
|}
 
|}
  
 
Return to [[Xorg7/Drivers|Drivers]]
 
Return to [[Xorg7/Drivers|Drivers]]
  
== Introduction to xterm ==
+
{{Package-Introduction|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.|http://invisible-island.net/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 ==
 
== Dependencies ==
Line 24: Line 21:
 
Compile this package:
 
Compile this package:
  
  ./configure $XORG_CONFIG
+
  ./configure $XORG_CONFIG --enable-wide-chars \
 +
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
 
  make
 
  make
  
Line 33: Line 31:
  
 
== Multilib ==
 
== Multilib ==
 +
'''''This package does not install any libraries so only one installation is needed.'''''
  
=== 32Bit ===
+
=== 64Bit ===
  
 
Compile this package:
 
Compile this package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" ./configure \
+
  USE_ARCH=64 CC="gcc ${BUILD64}" \
${XORG_CONFIG32} --with-wide-chars &&
+
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure ${XORG_CONFIG64} --enable-wide-chars \
 +
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
 
  make
 
  make
+
 
 
Install this package:
 
Install this package:
  
Line 47: Line 48:
 
  make install-ti
 
  make install-ti
  
=== N32 ===
+
== Configuring ==
 
 
Compile this package:
 
 
 
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=32 CC="gcc ${BUILDN32}" ./configure \
 
${XORG_CONFIGN32} --with-wide-chars --libdir=/usr/lib32 &&
 
make appsdir=${XORG_PREFIX}/lib32/X11/app-defaults
 
 
 
Install this package:
 
 
 
make appsdir=${XORG_PREFIX}/lib32/X11/app-defaults install &&
 
make appsdir=${XORG_PREFIX}/lib32/X11/app-defaults install-ti
 
 
 
=== 64Bit ===
 
 
 
Compile this package:
 
 
 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" ./configure \
 
${XORG_CONFIG64} --with-wide-chars --libdir=/usr/lib64 &&
 
make appsdir=${XORG_PREFIX}/lib64/X11/app-defaults
 
 
 
Install this package:
 
 
 
make appsdir=${XORG_PREFIX}/lib64/X11/app-defaults install &&
 
make appsdir=${XORG_PREFIX}/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"
+
  cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
 
  *VT100*locale: true
 
  *VT100*locale: true
 
  *VT100*faceName: Monospace
 
  *VT100*faceName: Monospace
Line 83: Line 56:
 
  EOF
 
  EOF
  
cat >> $XORG_PREFIX/lib32/X11/app-defaults/XTerm << "EOF"
+
Next install [[Xorg7/rman|rman]]
*VT100*locale: true
+
 
*VT100*faceName: Monospace
+
= Configure =
*VT100*faceSize: 10
+
 
EOF
+
When Xterm loads, it looks into ~/.bashrc for profile information. This is to allow a each user to add custom items to his/her xterm. We simply point this to /etc/profile. This will need to be added for each user.
  
  cat >> $XORG_PREFIX/lib64/X11/app-defaults/XTerm << "EOF"
+
  cat > ~/.bashrc << "EOF"
  *VT100*locale: true
+
  source /etc/profile
*VT100*faceName: Monospace
 
*VT100*faceSize: 10
 
 
  EOF
 
  EOF
  
Next install [[Xorg7/rman|rman]]
 
  
 
= Contents =
 
= Contents =

Latest revision as of 08:22, 6 September 2009

Download Source: ftp://invisible-island.net/xterm/xterm-267.tgz

Return to Drivers

Introduction to Xorg7/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.

Project Homepage: http://invisible-island.net/xterm/

Dependencies

Required

Optional

Non-Multilib

Compile this package:

./configure $XORG_CONFIG --enable-wide-chars \
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
make

Install this package:

make install &&
make install-ti

Multilib

This package does not install any libraries so only one installation is needed.

64Bit

Compile this package:

USE_ARCH=64 CC="gcc ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure ${XORG_CONFIG64} --enable-wide-chars \
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
make

Install this package:

make install &&
make install-ti

Configuring

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

Next install rman

Configure

When Xterm loads, it looks into ~/.bashrc for profile information. This is to allow a each user to add custom items to his/her xterm. We simply point this to /etc/profile. This will need to be added for each user.

cat > ~/.bashrc << "EOF"
source /etc/profile
EOF


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.