1 .\"***************************************************************************
2 .\" Copyright (c) 1999-2006,2010 Free Software Foundation, Inc. *
4 .\" Permission is hereby granted, free of charge, to any person obtaining a *
5 .\" copy of this software and associated documentation files (the *
6 .\" "Software"), to deal in the Software without restriction, including *
7 .\" without limitation the rights to use, copy, modify, merge, publish, *
8 .\" distribute, distribute with modifications, sublicense, and/or sell *
9 .\" copies of the Software, and to permit persons to whom the Software is *
10 .\" furnished to do so, subject to the following conditions: *
12 .\" The above copyright notice and this permission notice shall be included *
13 .\" in all copies or substantial portions of the Software. *
15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
16 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
17 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
18 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
19 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
20 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
21 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23 .\" Except as contained in this notice, the name(s) of the above copyright *
24 .\" holders shall not be used in advertising or otherwise to promote the *
25 .\" sale, use or other dealings in this Software without prior written *
27 .\"***************************************************************************
29 .\" Author: Thomas E. Dickey 1999-on
31 .\" $Id: curs_extend.3x,v 1.19 2010/12/04 18:36:44 tom Exp $
35 \fBuse_extended_names\fP \- miscellaneous curses extensions
38 \fB#include <curses.h>\fP
40 \fBconst char * curses_version(void);\fP
42 \fBint use_extended_names(bool enable);\fP
44 These functions are extensions to the curses library
45 which do not fit easily into other categories.
49 to get the version number, including patch level of the library, e.g.,
53 .I use_extended_names()
54 function controls whether the calling application
55 is able to use user-defined or nonstandard names
56 which may be compiled into the terminfo
57 description, i.e., via the terminfo or termcap interfaces.
58 Normally these names are available for use, since the essential decision
59 is made by using the \fB\-x\fP option of \fB@TIC@\fP to compile
60 extended terminal definitions.
61 However you can disable this feature
62 to ensure compatibility with other implementations of curses.
64 These routines are specific to ncurses. They were not supported on
65 Version 7, BSD or System V implementations. It is recommended that
66 any code depending on them be conditioned using NCURSES_VERSION.
72 \fBdefault_colors\fR(3X),