cursextend(3X) cursextend(3X)
NAME
cursesversion, useextendednames - miscellaneous curses extensions
SYNOPSIS
##include <>
const char ** cursesversion(void);;
int useextendednames(bool enable);;
DESCRIPTION
These functions are extensions to the curses library which do not fit
easily into other categories.
Use cursesversion() to get the version number, including patch level
of the library, e.g., 5.00.199910023
The useextendednames() function controls whether the calling applica-
tion is able to use user-defined or nonstandard names which may be com-
piled into the terminfo description, i.e., via the terminfo or termcap
interfaces. Normally these names are available for use, since the
essential decision is made by using the -x option of tic to compile
extended terminal definitions. However you can disable this feature to
ensure compatibility with other implementations of curses.
PORTABILITY
These routines are specific to ncurses. They were not supported on
Version 7, BSD or System V implementations. It is recommended that any
code depending on them be conditioned using NCURSESVERSION.
SEE ALSO
cursgetch(3X), cursmouse(3X), cursprint(3X), defaultcolors(3X),
definekey(3X), keybound(3X), keyok(3X), resizeterm(3X), wresize(3X).
AUTHOR
Thomas Dickey.
cursextend(3X)
|