Difference between revisions of "Xorg7/xterm"

From CBLFS
Jump to navigationJump to search
m
 
(20 intermediate revisions by 4 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 =
+
=== Required ===
 +
* libXaw from [[Xorg7/Libraries|Libraries]]
  
== Required ==
+
=== Optional ===
 +
* [[FreeType]]
  
libXaw from [[Xorg7/Libraries|Libraries]]
+
== Non-Multilib ==
  
== Optional ==
+
Compile this package:
  
[[FreeType]]
+
./configure $XORG_CONFIG --enable-wide-chars \
 +
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
 +
make
  
= Non-Multilib =
+
Install this package:
  
Compile xterm.
+
make install &&
 +
make install-ti
  
  ./configure $XORG_CONFIG
+
== Multilib ==
  make
+
'''''This package does not install any libraries so only one installation is needed.'''''
  
Install xterm.
+
=== 64Bit ===
  
  make install &&
+
Compile this package:
  make install-ti
 
  
= Multilib =
+
USE_ARCH=64 CC="gcc ${BUILD64}" \
 
+
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
== 32Bit ==
+
./configure ${XORG_CONFIG64} --enable-wide-chars \
 
+
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
Compile xterm:
+
make
  
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" ./configure \
+
Install this package:
${XORG_CONFIG32} --with-wide-chars &&
 
make
 
 
Install xterm:
 
  
 
  make install &&
 
  make install &&
 
  make install-ti
 
  make install-ti
  
== N32 ==
+
== Configuring ==
  
Compile xterm:
+
  cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
 
 
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*locale: true
 
  *VT100*faceName: Monospace
 
  *VT100*faceName: Monospace
Line 86: 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 =
Line 105: Line 72:
 
|-valign="top"
 
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
|resize, uxterm, xterm
+
| resize, uxterm, xterm
 
|}
 
|}
  
== Short Description ==
+
=== Short Description ===
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
Line 119: Line 86:
 
|-valign="top"
 
|-valign="top"
 
! xterm
 
! xterm
|a terminal emulator for the X Window System.
+
|a terminal emulator for the [[X Window System]].
 
|}
 
|}

Latest revision as of 07: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.