set_curterm [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
set_curterm
The set_curterm routine is used to set the cur_term variable (interface
to terminfo).
Syntax
#include <curses.h>
int set_curterm (TERMINAL *nterm);
Parameters
nterm The terminal type for which the variable is set.
Return Values
OK Successful completion.
ERR An error occurred.
Description
The set_curterm() routine is a low-level routine used only outside of
CURSES when the program has to deal directly with the terminfo database
to handle certain terminal capabilities. The use of appropriate CURSES
routines is recommended in all other situations.
The set_curterm() routine sets the cur_term variable to nterm. The
values from nterm as well as other state information for the terminal are
used by terminfo functions such as mvcur(), tigetflag(), tigetstr(), and
tigetnum().
Implementation Considerations
UNIX System V implementation
See Also
del_curterm()
Portability
HP-UX, UNIX System V
MPE/iX 5.0 Documentation