HP 9000 Series 300 Tutorials Manual page 263

Device i/o and user interfacing hp-ux concepts and tutorials
Hide thumbs Also See for HP 9000 Series 300:
Table of Contents

Advertisement

Description of Terminfo Routines (Continued)
tputs (cp, affcnt, outc)
vidattr (attrs)
vidputs (attrs,putc)
Processes terminfo capability strings for terminal devices
(see terminfo(5) entry in HP-UX Reference). The padding
specification, if present, is replaced by enough padding
characters to produce the specified time delay. The
resulting string is passed, one character at a time, to the
routine oute which expects a single character parameter
each time it is called. Often, oute simply calls putehar to
complete its task. ep is the capability string, and affcnt is
the number of units affected (such as lines or characters).
For example, the affcnt for inserLline is the number of
lines on the screen below the inserted line; that is, the
number of lines that will have to be moved on the terminal.
In certain cases, affcnt is used to determine the number of
padding characters that must be created in the output
string to produce the required delay(s), based on known
terminal characteristics (obtained from the terminal
identification data base).
Transmits the appropriate string to stdout to activate
the specified video attributes which can include any or all
of the following:
A_STANDOUT, A_UNDERLINE, A_REVERSE,
A_BLINK, A_DIM, A_BOLD, A_BLANK
(invisible),
A_PROTECT,
and
A_ALTCHARSET
(multiple attributes must be separated
by the C logical OR operator I).
Transmits the appropriate string to the terminal,
activating the specified video highlighting attributes.
attrs can include any or all of the following (multiple
attributes must be separated by the C logical OR operator
I):
A_STANDOUT, A_UNDERLINE, A_REVERSE, A_BLINK,
A_DIM, A_BOLD, A_BLANK
(invisible),
A_PROTECT,
and
A_ALTCHARSET.
pute is a putehar-like function. Previous
highlighting attributes are preserved by this routine and
restored upon return.
Curses Routines
2-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents