curs_extend.3x 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .\"***************************************************************************
  2. .\" Copyright (c) 1999-2004,2006 Free Software Foundation, Inc. *
  3. .\" *
  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: *
  11. .\" *
  12. .\" The above copyright notice and this permission notice shall be included *
  13. .\" in all copies or substantial portions of the Software. *
  14. .\" *
  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. *
  22. .\" *
  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 *
  26. .\" authorization. *
  27. .\"***************************************************************************
  28. .\"
  29. .\" Author: Thomas E. Dickey 1999-on
  30. .\"
  31. .\" $Id: curs_extend.3x,v 1.17 2006/12/24 18:01:48 tom Exp $
  32. .TH curs_extend 3X ""
  33. .SH NAME
  34. \fBcurses_version\fP,
  35. \fBuse_extended_names\fP \- miscellaneous curses extensions
  36. .
  37. .SH SYNOPSIS
  38. \fB#include <curses.h>\fP
  39. .sp
  40. \fBconst char * curses_version(void);\fP
  41. .br
  42. \fBint use_extended_names(bool enable);\fP
  43. .SH DESCRIPTION
  44. These functions are extensions to the curses library
  45. which do not fit easily into other categories.
  46. .PP
  47. Use
  48. .I curses_version()
  49. to get the version number, including patch level of the library, e.g.,
  50. .B 5.0.19991023
  51. .PP
  52. The
  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.
  63. .SH PORTABILITY
  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.
  67. .SH SEE ALSO
  68. \fBcurs_getch\fR(3X),
  69. \fBcurs_mouse\fR(3X),
  70. \fBcurs_print\fR(3X),
  71. \fBcurs_util\fR(3X),
  72. \fBdefault_colors\fR(3X),
  73. \fBdefine_key\fR(3X),
  74. \fBkeybound\fR(3X),
  75. \fBkeyok\fR(3X),
  76. \fBresizeterm\fR(3X),
  77. \fBwresize\fR(3X).
  78. .SH AUTHOR
  79. Thomas Dickey.
  80. .\"#
  81. .\"# The following sets edit modes for GNU EMACS
  82. .\"# Local Variables:
  83. .\"# mode:nroff
  84. .\"# fill-column:79
  85. .\"# End: