terminfo.4 (2010 09)
t
terminfo(4) terminfo(4)
(ENHANCED CURSES)
If escape sequences and other special commands, such as tab, work while in the status line, the flag
eslok can be given. A string which turns off the status line (or otherwise erases its contents) should be
given as dsl. If the terminal has commands to save and restore the position of the cursor, give them as
sc and rc. The status line is normally assumed to be the same width as the rest of the screen (that is,
cols). If the status line is a different width (possibly because the terminal does not allow an entire line
to be loaded) the width, in columns, can be indicated with the numeric argument wsl.
Line Graphics
If the device has a line drawing alternate character set, the mapping of glyph to character would be given
in acsc. The definition of this string is based on the alternate character set used in the Digital VT100
terminal, extended slightly with some characters from the AT&T 4410v1 terminal.
VT100+
Glyph Name Character
arrow pointing right +
arrow pointing left ,
arrow pointing down .
solid square block 0
lantern symbol I
arrow pointing up -
diamond ‘
checker board (stipple) a
degree symbol f
plus/minus g
board of squares h
lower right corner j
upper right corner k
upper left corner l
lower left corner m
plus n
scan line 1 o
horizontal line q
scan line 9 s
left tee t
right tee u
bottom tee v
top tee w
vertical line x
bullet ~
The best way to describe a new device’s line graphics set is to add a third column to the above table with
the characters for the new device that produce the appropriate glyph when the device is in alternate-
character-set mode. For example:
VT100+ Character Used
Glyph Name Character on New Device
upper left corner lR
lower left corner mF
upper right corner kT
lower right corner jG
horizontal line q,
vertical line x.
Now write down the characters left to right; for example:
acsc=lRmFkTjGq\,x.
In addition, terminfo lets you define multiple character sets (see the Alternate Character Sets section
below).
Color Manipulation
Most color terminals belong to one of two classes of terminal:
• Tektronix-style
HP-UX 11i Version 3: September 2010 − 23 − Hewlett-Packard Company 23