HP 9000 Series 300 Tutorials Manual page 249

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 Curses Routines (Continued)
gettmode()
getyx(
win,y,x)
idlok (
win, boolean_flag)
inch()
winch
(win)
mvinch(y,x)
mvwinch
(win,y,x)
initscrO
(Get tty mode). Dummy entry point. Performs no useful
function.
Places the current cursor position of the specified window
in the specified two integer variables y and x. This is a
macro, so no
&
is necessary.
Returns a value indicating whether or not the terminal has
insert/delete character capability. Zero value indicates the
capability is not present; non-zero: capability present.
Returns a value indicating whether or not the terminal
has insert/delete line capability. Zero value indicates the
capability is not present; non-zero: capability present.
Insert and Delete Line OK. If enabled, curses can use
hardware insert/delete line capabilities when the terminal
is so equipped. If disabled, curses does not use the
capability. Use only when the program requires it (such as
a screen editor). idlok is disabled by default because it
tends to be annoying when used in applications where it
is not really needed. If insert/delete line cannot be used,
curses redraws changed portions of all lines that do not
match the desired result.
Returns the character located at the current or specified
position in the specified window as a 16-bit integer. If
any attributes are set for that position, their values are
included in the value returned. To extract only the
character or the attributes, perform a bit-level logical
AND on the returned value, using the predefined constant
A_CHARTEXT
(octal 0177) or
A_ATTRIBUTES
(octal 0177600).
The first function called in curses-based programs.
Determines terminal type, and initializes curses data
structures as appropriate. Also sets indicators so that the
first call to refresh clears the terminal screen and updates
curser to reflect the cleared screen.
Curses Routines
2-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents