|
Eloquence may be used with a variety of terminal types.
This document provides an overview on the supported terminal types
and some notes on terminal type specific use.
Eloquence uses curses to output to terminal devices.
Eloquence uses a private terminfo directory to allow private terminal
definitions in addition to terminal descriptions provided by the
operating system.
Eloquence terminal descriptions are provided in the directory
/opt/eloquence/8.x/share/terminal/ and can be used as a base
for customizing terminal adaptions.
As of version B.08.30 the character set encoding is defined by the locale
and most terminal types can be used with different character set encodings.
Eloquence versions before B.08.30 used a ${TERM}.map
file to specify the terminal character set. As of B.08.30 .map
files are no longer used and should not be copied from a previous version.
Overview on supported terminal adaptions
- hp, hp239x, hp7009x
- hpterm
- dtterm
- 70060
- em220
- xterm
- linux
- hp, hp239x, hp7009x
-
This provides support for the HP terminal devices
2392, 2394, 70092, 70094, 70096 and 70098.
Source: hp.ti
Terminal configuration:
InhEolWrp(C)=OFF
InhHndShk(G)=YES, InhDC2(H)=YES
When using the WRQ/Reflection HP terminal emulation software you should
use the 70092 terminal type.
Eloquence expects the EnqAck field of the communication
menu set to NO. If not, ENQ, ACK, NUL and DEL characters may be lost.
This may cause a terminal hang when accessing a connected local printer.
Please note that the Linux curses library does not or only partially
support HP type terminals.
It is strongly recommended to not use the vt220 emulation built into
the terminal (please refer to the em220 terminal type).
- hpterm
-
This is intended to be used with the hpterm terminal emulator
which is included with HP-UX.
Source: hpterm.ti
Start hpterm using following command line:
hpterm -fn hp8.8x16 -fb line.8x16
This will load the hp8.8x16 and line.8x16 fonts (which may be rather small).
If no matching line drawing font is loaded, line drawing is not
available and may be displayed as normal characters.
Please note that the Linux curses library does not or only partially
support HP type terminals.
It is recommended to use the dtterm or xterm terminal emulation instead.
- dtterm
-
The dtterm terminal emulation is part of CDE which comes with HP-UX
and is available separately with Linux.
Source: dtterm.ti
The following functions are mapped to key sequences:
Key seq. | Comment |
ESC i | Insert line |
ESC d | Delete line |
ESC k | Clear to end of line |
ESC j | Clear to end of display |
ESC h | Home |
ESC l | End of display |
ESC s | Halt/single step (mapped to f13) |
ESC g | Advanced step (mapped to f14) |
ESC x indicates pressing the keys ESC and x
in succession within a second.
- 70060
-
This is intended to be used with the HP 700/60 and HP 700/70 terminals
in VT320 emulation mode. It should also be usable for generic vt320
terminals emulations.
Source: 70060.ti
Terminal configuration:
auto-wrap
7 bit control sequences
ISO8859-1 character set
Backspace key sends Backspace
Known problems:
- Some firmware revision of the 700/60 and 700/70 terminal
had bugs resulting in some non-functional keys.
- em220
-
This is a workaround to use HP 700/92, 700/94, 700/96, 700/98 terminals
and the WRQ/Relefction HP terminal emulation software in vt220 emulation mode.
The Linux curses version has problems to deal with HP Terminals
(enhancements are sometimes either lost or garbaged) and the recommended
solution is to use them in the EM220 mode.
Note this terminal type is not compatible with other vt220 devices as
the function key definitions are special.
Source: em220.ti
Termial configuration:
Terminal emulation VT220-7
Softkeys 1..8, type "normal", set to ESCp ESCq ESCr...
VT Backspace sends Backspace
Known problems:
- The Home, Clear-line and clear-to-end-of-display function keys
are non-functional. They only act locally and are not transmitted
to the server. We can't do anything about that.
- The keys above the numeric keypad are handled as function keys.
When using the WRQ/Reflection hp software this can be fixed by defining a
key translation. If you have the choice you should obtain the
WRQ vt320 emulation software (Reflection for UNIX and Digital)
instead.
- xterm
-
This is an adaption for the xterm terminal type.
Source: xterm.ti
The following functions are mapped to key sequences:
Key seq. | Comment |
ESC i | Insert line |
ESC d | Delete line |
ESC k | Clear to end of line |
ESC j | Clear to end of display |
ESC h | Home |
ESC l | End of display |
ESC s | Halt/single step (mapped to f13) |
ESC g | Advanced step (mapped to f14) |
ESC x indicates pressing the keys ESC and x
in succession within a second.
Known problems:
rxvt
rxvt is a light weight replacement for xterm. In addition to using the
key sequence ESC x you can also use ALT x.
Known problems:
- rxvt by default uses a small font and enables the scroll bar.
As a solution start xterm with the command line options:
rxvt -fn 10x20 +sb
- linux
-
The linux terminal type is used with the Linux console.
Source: linux.ti
The following functions are mapped to key sequences:
Key seq. | Comment |
ALT i | Insert line |
ALT d | Delete line |
ALT k | Clear to end of line |
ALT j | Clear to end of display |
ALT h | Home |
ALT l | End of display |
ALT s | Halt/single step (mapped to f13) |
ALT g | Advanced step (mapped to f14) |
ALT x indicates pressing the keys ALT and x
at the same time.
Eloquence use of terminfo
Eloquence uses curses to output to terminal devices.
Eloquence uses a private terminfo directory to allow private terminal
definitions in addition to terminal descriptions provided by the
operating system.
If a ${TERM}.map file is present in directory
/opt/eloquence/8.x/share/terminal/ it is read on startup and defines
additional terminal properties such as character set encoding.
Eloquence terminal descriptions are provided in the directory
/opt/eloquence/8.x/share/terminal/ and can be used as a base
for customizing terminal adaptions.
Installing a terminal adaption is performed (as root) with a command
like below:
- HP-UX curses
-
env TERMINFO=/opt/eloquence/8.x/share/terminfo tic -v 70060.ti
- Linux ncurses
-
tic -o ../terminfo -v 70060.ti
This installs or updates a terminfo description for use with Eloquence.
If the operating system does not know about a specific terminal type you
should also consider to install it globally:
tic -v 70060.ti
Please refer to the comments in the terminfo files included
with Eloquence on some Eloquence specific use of terminfo fields.
Enhancements as of A.06.31:
- The HALT/BREAK function can be assigned by defining the
kf13 (function key #13) entry in the terminfo definition.
This solves a problem with terminal emulators which cannot send
a NUL character.
- The Advanced Step function can now be assigned by definining
the kf14 (function key #14) entry in the terminfo definition.
|
|