Difference between revisions of "Xorg7/xterm"

From CBLFS
Jump to navigationJump to search
(Configure the Package)
 
(23 intermediate revisions by 5 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]]
  
=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 \
==Non-Multilib==
+
    --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults &&
 +
make
  
Compile xterm.
+
Install this package:
  
  ./configure $XORG_CONFIG
+
make install &&
  make
+
make install-ti
  
Install xterm.
+
== Multilib ==
 +
'''''This package does not install any libraries so only one installation is needed.'''''
  
  make install
+
=== 64Bit ===
  
==Multilib==
+
Compile this package:
  
===32-Bit===
+
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
  
Make the Package
+
Install this package:
 
 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" ./configure \
 
${XORG_CONFIG32} --with-wide-chars &&
 
make
 
 
Install the Package
 
  
 
  make install &&
 
  make install &&
 
  make install-ti
 
  make install-ti
  
===N32===
+
== Configuring ==
  
===64-Bit===
+
cat >> $XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
 +
*VT100*locale: true
 +
*VT100*faceName: Monospace
 +
*VT100*faceSize: 10
 +
EOF
  
Build the Package
+
Next install [[Xorg7/rman|rman]]
  
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" ./configure \
+
= Configure =
${XORG_CONFIG64} --with-wide-chars --libdir=/usr/lib64 &&
 
make appsdir=/usr/lib64/X11/app-defaults &&
 
  
Install the Package
+
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.
  
  make appsdir=/usr/lib64/X11/app-defaults install &&
+
  cat > ~/.bashrc << "EOF"
  make appsdir=/usr/lib64/X11/app-defaults install-ti
+
source /etc/profile
 +
  EOF
  
==Configure the Package==
 
  
cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
+
= Contents =
*VT100*locale: true
+
 
*VT100*faceName: Monospace
+
{| style="text-align: left;"
*VT100*faceSize: 10
+
|-valign="top"
EOF
+
! Installed Programs:
cat >> $XORG_PREFIX/lib64/X11/app-defaults/XTerm << "EOF"
+
| resize, uxterm, xterm
*VT100*locale: true
+
|}
*VT100*faceName: Monospace
+
 
*VT100*faceSize: 10
+
=== Short Description ===
EOF
 
  
Next install [[Xorg7/rman|rman]]
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! resize
 +
|prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window.
 +
|-valign="top"
 +
! uxterm
 +
|wrapper script to start xterm in UTF-8 locales.
 +
|-valign="top"
 +
! xterm
 +
|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.