Difference between revisions of "Xorg7/xterm"

From CBLFS
Jump to navigationJump to search
(Edited to conform to the template.)
Line 9: Line 9:
 
Return to [[Xorg7/Drivers|Drivers]]
 
Return to [[Xorg7/Drivers|Drivers]]
  
= Introduction to xterm=
+
= 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.
 
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.
Line 15: Line 15:
 
= Dependencies =
 
= Dependencies =
  
==Required==
+
== Required ==
  
 
libXaw from [[Xorg7/Libraries|Libraries]]
 
libXaw from [[Xorg7/Libraries|Libraries]]
Line 23: Line 23:
 
[[FreeType]]
 
[[FreeType]]
  
= Installation =
+
= Non-Multilib =
 
 
==Non-Multilib==
 
  
 
Compile xterm.
 
Compile xterm.
Line 37: Line 35:
 
   make install-ti
 
   make install-ti
  
==Multilib==
+
= Multilib =
  
===32-Bit===
+
== 32Bit ==
  
 
Compile xterm:
 
Compile xterm:
Line 52: Line 50:
 
  make install-ti
 
  make install-ti
  
===N32===
+
== 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:
  
  To do.
+
make appsdir=/usr/lib32/X11/app-defaults install &&
 +
make appsdir=/usr/lib32/X11/app-defaults install-ti
  
===64-Bit===
+
== 64Bit ==
  
 
Compile xterm:
 
Compile xterm:
Line 69: Line 76:
 
  make appsdir=/usr/lib64/X11/app-defaults install-ti
 
  make appsdir=/usr/lib64/X11/app-defaults install-ti
  
==Configure xterm==
+
= Configuring xterm =
  
 
  cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
 
  cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF"
Line 83: Line 90:
  
 
Next install [[Xorg7/rman|rman]]
 
Next install [[Xorg7/rman|rman]]
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
|resize, uxterm, xterm
 +
|}
 +
 +
== Short Description ==
 +
 +
{| 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.
 +
|}

Revision as of 14:02, 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

cat >> $XORG_PREFIX/lib/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.