HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
t
terminfo(4) terminfo(4)
(ENHANCED CURSES)
Miscellaneous
If the terminal requires other than a null (zero) character as a pad, then this can be given as pad. Only
the first character of the pad string is used. If the terminal does not have a pad character, specify npc.
If the terminal can move up or down half a line, this can be indicated with hu (half-line up) and hd (half-
line down). This is primarily useful for superscripts and subscripts on hardcopy terminals. If a hardcopy
terminal can eject to the next page (form feed), give this as ff (usually control-L).
If there is a command to repeat a given character a given number of times (to save time transmitting a
large number of identical characters) this can be indicated with the argumentized string rep. The first
argument is the character to be repeated and the second is the number of times to repeat it. Thus,
tparm(repeat_char, ’x’, 10) is the same as xxxxxxxxxx.
If the terminal has a settable command character, such as the Tektronix 4025, this can be indicated with
cmdch. A prototype command character is chosen which is used in all capabilities. This character is given
in the cmdch capability to identify it. The following convention is supported on some systems: If the
environment variable CC exists, all occurrences of the prototype character are replaced with the character
in CC.
Terminal descriptions that do not represent a specific kind of known terminal, such as switch, dialup,
patch, and network, should include the gn (generic) capability so that programs can complain that they do
not know how to talk to the terminal. (This capability does not apply to virtual terminal descriptions for
which the escape sequences are known.) If the terminal is one of those supported by the virtual terminal
protocol, the terminal number can be given as vt. A line-turn-around sequence to be transmitted before
doing reads should be specified in rfi.
If the device uses XON/XOFF handshaking for flow control, give xon. Padding information should still be
included so that functions can make better decisions about costs, but actual pad characters will not be
transmitted. Sequences to turn on and off XON/XOFF handshaking may be given in smxon and rmxon.If
the characters used for handshakingare not ˆS and ˆQ, they may be specified with xonc and xoffc.
If the terminal has a "meta key" which acts as a shift key, setting the 8th bit of any character transmitted,
this fact can be indicated with km. Otherwise, software will assume that the 8th bit is parity and it will
usually be cleared. If strings exist to turn this "meta mode" on and off, they can be given as smm and rmm.
If the terminal has more lines of memory than will fit on the screen at once, the number of lines of memory
can be indicated with lm. A value of lm#0 indicates that the number of lines is not fixed, but that there is
still more memory than fits on the screen.
Media copy strings which control an auxiliary printer connected to the terminal can be given as:
mc0 Print the contents of the screen.
mc4 Turn off the printer.
mc5 Turn on the printer.
When the printer is on, all text sent to the terminal will be sent to the printer. A variation, mc5p, takes
one argument, and leaves the printer on for as many characters as the value of the argument, then turns
the printer off. The argument should not exceed 255. If the text is not displayed on the terminal screen
when the printer is on, specify mc5i (silent printer). All text, including mc4, is transparently passed to
the printer while an mc5p is in effect.
Special Cases
The working model used by terminfo fits most terminals reasonably well. However, some terminals do
not completely match that model, requiring special support by terminfo. These are not meant to be con-
strued as deficiencies in the terminals; they are just differences between the working model and the actual
hardware. They may be unusual devices or, for some reason, do not have all the features of the terminfo
model implemented.
Terminals that cannot display tilde (˜) characters, such as certain Hazeltine terminals, should indicate hz.
Terminals that ignore a linefeed immediately after an am wrap, such as the Concept 100, should indicate
xenl. Those terminals whose cursor remains on the right-most column until another character has been
received, rather than wrapping immediately upon receiving the right-most character, such as the VT100,
should also indicate xenl.
If el is required to get rid of standout (instead of writing normal text on top of it), xhp should be given.
Those Teleray terminals whose tabs turn all characters moved over to blanks, should indicate xt (destruc-
tive tabs). This capability is also taken to mean that it is not possible to position the cursor on top of a
HP-UX Release 11i: December 2000 23 Section 4345
___
___