HP 9000 Series 300 Tutorials Manual page 213

Device i/o and user interfacing hp-ux concepts and tutorials
Hide thumbs Also See for HP 9000 Series 300:
Table of Contents
current CRT screen and the windows where display text is being held for
output through refresh operations. This capability requires that curses
clear the screen as part of the first refresh operation so that it has a known
beginning reference condition, then maintain a continually up-to-date data
structure that reflects current screen contents and cursor location.
NLS Attributes
curses supports two NLS attributes, each of which has a corresponding 32-bit
integer constant named in the include file . Below is a list of the
two attributes with their corresponding enable-bit positions. The name and
octal value of each constant is also shown (note that only eleven digits are
needed to represent the 32-bit value; the leading zero identifies the constant as
a octal value) .
• First byte of a 16-bit character code (bit 14):
A_FIRSTOF2
=
000000040000
• Second byte of a 16-bit character code (bit 15):
A_SECOF2
=
000000100000
These NLS attributes can be found in a 16-bit character (not character code).
These attributes might be returned by the function inch. And they cannot be
passed to the curses functions.
Another constant in is also useful:
• A_NLSATTR
has an octal value of 000000177400. It can be used in
a bit-level logical AND to remove character bits and highlighting
attributes, isolating the NLS attributes attached to a given character.
Using Curses and Terminfo
1-15

Hide quick links:

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents