Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> |
| 2 | <!-- |
| 3 | **************************************************************************** |
| 4 | * Copyright (c) 1999-2004,2006 Free Software Foundation, Inc. * |
| 5 | * * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a * |
| 7 | * copy of this software and associated documentation files (the * |
| 8 | * "Software"), to deal in the Software without restriction, including * |
| 9 | * without limitation the rights to use, copy, modify, merge, publish, * |
| 10 | * distribute, distribute with modifications, sublicense, and/or sell * |
| 11 | * copies of the Software, and to permit persons to whom the Software is * |
| 12 | * furnished to do so, subject to the following conditions: * |
| 13 | * * |
| 14 | * The above copyright notice and this permission notice shall be included * |
| 15 | * in all copies or substantial portions of the Software. * |
| 16 | * * |
| 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * |
| 18 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * |
| 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * |
| 20 | * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * |
| 21 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * |
| 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * |
| 23 | * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * |
| 24 | * * |
| 25 | * Except as contained in this notice, the name(s) of the above copyright * |
| 26 | * holders shall not be used in advertising or otherwise to promote the * |
| 27 | * sale, use or other dealings in this Software without prior written * |
| 28 | * authorization. * |
| 29 | **************************************************************************** |
| 30 | * Author: Thomas E. Dickey 1999-on |
| 31 | * @Id: curs_extend.3x,v 1.17 2006/12/24 18:01:48 tom Exp @ |
| 32 | --> |
| 33 | <HTML> |
| 34 | <HEAD> |
| 35 | <TITLE>curs_extend 3x</TITLE> |
| 36 | <link rev=made href="mailto:bug-ncurses@gnu.org"> |
| 37 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 38 | </HEAD> |
| 39 | <BODY> |
| 40 | <H1>curs_extend 3x</H1> |
| 41 | <HR> |
| 42 | <PRE> |
| 43 | <!-- Manpage converted by man2html 3.0.1 --> |
| 44 | <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG> <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG> |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | </PRE> |
| 50 | <H2>NAME</H2><PRE> |
| 51 | <STRONG>curses_version</STRONG>, <STRONG>use_extended_names</STRONG> - miscellaneous curses |
| 52 | extensions |
| 53 | |
| 54 | |
| 55 | </PRE> |
| 56 | <H2>SYNOPSIS</H2><PRE> |
| 57 | <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> |
| 58 | |
| 59 | <STRONG>const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG> <STRONG>curses_version(void);</STRONG> |
| 60 | <STRONG>int</STRONG> <STRONG>use_extended_names(bool</STRONG> <STRONG>enable);</STRONG> |
| 61 | |
| 62 | |
| 63 | </PRE> |
| 64 | <H2>DESCRIPTION</H2><PRE> |
| 65 | These functions are extensions to the curses library which |
| 66 | do not fit easily into other categories. |
| 67 | |
| 68 | Use <EM>curses</EM><STRONG>_</STRONG><EM>version()</EM> to get the version number, including |
| 69 | patch level of the library, e.g., <STRONG>5.0.19991023</STRONG> |
| 70 | |
| 71 | The <EM>use</EM><STRONG>_</STRONG><EM>extended</EM><STRONG>_</STRONG><EM>names()</EM> function controls whether the |
| 72 | calling application is able to use user-defined or non- |
| 73 | standard names which may be compiled into the terminfo |
| 74 | description, i.e., via the terminfo or termcap interfaces. |
| 75 | Normally these names are available for use, since the |
| 76 | essential decision is made by using the <STRONG>-x</STRONG> option of <STRONG>tic</STRONG> |
| 77 | to compile extended terminal definitions. However you can |
| 78 | disable this feature to ensure compatibility with other |
| 79 | implementations of curses. |
| 80 | |
| 81 | |
| 82 | </PRE> |
| 83 | <H2>PORTABILITY</H2><PRE> |
| 84 | These routines are specific to ncurses. They were not |
| 85 | supported on Version 7, BSD or System V implementations. |
| 86 | It is recommended that any code depending on them be con- |
| 87 | ditioned using NCURSES_VERSION. |
| 88 | |
| 89 | |
| 90 | </PRE> |
| 91 | <H2>SEE ALSO</H2><PRE> |
| 92 | <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>, <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>, <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG>, |
| 93 | <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>, <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG>key-</STRONG> |
| 94 | <STRONG><A HREF="keybound.3x.html">bound(3x)</A></STRONG>, <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>, <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG>, <STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG>. |
| 95 | |
| 96 | |
| 97 | </PRE> |
| 98 | <H2>AUTHOR</H2><PRE> |
| 99 | Thomas Dickey. |
| 100 | |
| 101 | |
| 102 | |
| 103 | <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG> |
| 104 | </PRE> |
| 105 | <HR> |
| 106 | <ADDRESS> |
| 107 | Man(1) output converted with |
| 108 | <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a> |
| 109 | </ADDRESS> |
| 110 | </BODY> |
| 111 | </HTML> |