HP 9000 Series 300 Tutorials Manual page 202

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

Advertisement

cursor position is on the left half or the right half of a 16-bit character,
an internal cursor position of the curses library is the specified
position.
• Display half of a 16-bit character.
A space character code is used to display a 16-bit character that is
hiding half of a 16-bit character in the other window.
• Illegal 16-bit character.
If the second byte is illegal and the first byte is legal, the two bytes are
(1treated as two 8-bit codes, not one 16-bit code.
• Display enhancement of a 16-bit character.
The change of the display enhancement is not done on the 16-bit
character: the change is done in character units, not byte units. When
the change of display enhancement is done on a 16-bit character, the
change takes effect from the next character onward.
Applications Program Structure
Consider the following example of an application program structure that uses
curses:
#include <curses.h>
initscr(); /* Initialization */
cbreak() ;/* Various optional mode settings */
nonlO;
noechoO;
while (!done) {/* Main body of program */
}
/* Sample calls to draw on screen */
move(row,col);
addch(ch);
printw("Formatted print with value %d\n", value);
/* Flush output */
refreshO;
endwin() ;/* Clean up */
1-4
Using Curses and Terminfo

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents