1curs_extend(3X) curs_extend(3X)
2
3
4
6 curses_version, use_extended_names - miscellaneous curses extensions
7
9 #include <curses.h>
10
11 const char * curses_version(void);
12 int use_extended_names(bool enable);
13
15 These functions are extensions to the curses library which do not fit
16 easily into other categories.
17
18 Use curses_version() to get the version number, including patch level
19 of the library, e.g., 5.0.19991023
20
21 The use_extended_names() function controls whether the calling applica‐
22 tion is able to use user-defined or nonstandard names which may be com‐
23 piled into the terminfo description, i.e., via the terminfo or termcap
24 interfaces. Normally these names are available for use, since the
25 essential decision is made by using the -x option of tic to compile
26 extended terminal definitions. However you can disable this feature to
27 ensure compatibility with other implementations of curses.
28
30 These routines are specific to ncurses. They were not supported on
31 Version 7, BSD or System V implementations. It is recommended that any
32 code depending on them be conditioned using NCURSES_VERSION.
33
35 curs_getch(3X), curs_mouse(3X), curs_print(3X), curs_util(3X),
36 default_colors(3X), define_key(3X), keybound(3X), keyok(3X),
37 resizeterm(3X), wresize(3X).
38
40 Thomas Dickey.
41
42
43
44 curs_extend(3X)