Permalink
Browse files

Patched ncurses to 5.7-20100918

Fixed a bug where the color test example program was showing 'undefined' for the number of available colors.

Also, ncurses is now configured to no longer compile its test programs.
  • Loading branch information...
1 parent 9ae3160 commit 76bd02f89906785a7082227681baf565260e4231 @mscdex committed Sep 19, 2010
Showing with 2,072 additions and 706 deletions.
  1. +2 −2 README.md
  2. +5 −0 deps/ncurses/MANIFEST
  3. +7 −1 deps/ncurses/NEWS
  4. +2 −2 deps/ncurses/dist.mk
  5. +34 −32 deps/ncurses/doc/html/man/captoinfo.1m.html
  6. +1 −1 deps/ncurses/doc/html/man/clear.1.html
  7. +18 −14 deps/ncurses/doc/html/man/curs_add_wch.3x.html
  8. +5 −1 deps/ncurses/doc/html/man/curs_add_wchstr.3x.html
  9. +5 −1 deps/ncurses/doc/html/man/curs_addch.3x.html
  10. +5 −1 deps/ncurses/doc/html/man/curs_addchstr.3x.html
  11. +5 −1 deps/ncurses/doc/html/man/curs_addstr.3x.html
  12. +5 −1 deps/ncurses/doc/html/man/curs_addwstr.3x.html
  13. +5 −1 deps/ncurses/doc/html/man/curs_attr.3x.html
  14. +5 −1 deps/ncurses/doc/html/man/curs_border.3x.html
  15. +5 −1 deps/ncurses/doc/html/man/curs_border_set.3x.html
  16. +45 −45 deps/ncurses/doc/html/man/curs_color.3x.html
  17. +5 −1 deps/ncurses/doc/html/man/curs_delch.3x.html
  18. +11 −7 deps/ncurses/doc/html/man/curs_get_wch.3x.html
  19. +7 −3 deps/ncurses/doc/html/man/curs_get_wstr.3x.html
  20. +22 −22 deps/ncurses/doc/html/man/curs_getcchar.3x.html
  21. +5 −1 deps/ncurses/doc/html/man/curs_getch.3x.html
  22. +5 −1 deps/ncurses/doc/html/man/curs_getstr.3x.html
  23. +5 −1 deps/ncurses/doc/html/man/curs_in_wch.3x.html
  24. +6 −2 deps/ncurses/doc/html/man/curs_in_wchstr.3x.html
  25. +8 −1 deps/ncurses/doc/html/man/curs_inch.3x.html
  26. +5 −1 deps/ncurses/doc/html/man/curs_inchstr.3x.html
  27. +6 −2 deps/ncurses/doc/html/man/curs_ins_wch.3x.html
  28. +6 −2 deps/ncurses/doc/html/man/curs_ins_wstr.3x.html
  29. +5 −1 deps/ncurses/doc/html/man/curs_insch.3x.html
  30. +5 −1 deps/ncurses/doc/html/man/curs_insstr.3x.html
  31. +5 −1 deps/ncurses/doc/html/man/curs_instr.3x.html
  32. +6 −2 deps/ncurses/doc/html/man/curs_inwstr.3x.html
  33. +6 −6 deps/ncurses/doc/html/man/curs_kernel.3x.html
  34. +12 −12 deps/ncurses/doc/html/man/curs_legacy.3x.html
  35. +5 −1 deps/ncurses/doc/html/man/curs_printw.3x.html
  36. +5 −1 deps/ncurses/doc/html/man/curs_scanw.3x.html
  37. +35 −33 deps/ncurses/doc/html/man/curs_slk.3x.html
  38. +283 −0 deps/ncurses/doc/html/man/curs_sp_funcs.3x.html
  39. +55 −54 deps/ncurses/doc/html/man/curs_termcap.3x.html
  40. +57 −54 deps/ncurses/doc/html/man/curs_threads.3x.html
  41. +97 −96 deps/ncurses/doc/html/man/curs_util.3x.html
  42. +164 −0 deps/ncurses/doc/html/man/curs_variables.3x.html
  43. +1 −1 deps/ncurses/doc/html/man/form.3x.html
  44. +33 −34 deps/ncurses/doc/html/man/form_driver.3x.html
  45. +27 −26 deps/ncurses/doc/html/man/form_field_buffer.3x.html
  46. +117 −0 deps/ncurses/doc/html/man/form_variables.3x.html
  47. +1 −1 deps/ncurses/doc/html/man/infocmp.1m.html
  48. +17 −10 deps/ncurses/doc/html/man/infotocap.1m.html
  49. +1 −1 deps/ncurses/doc/html/man/menu.3x.html
  50. +26 −26 deps/ncurses/doc/html/man/menu_driver.3x.html
  51. +11 −11 deps/ncurses/doc/html/man/ncurses.3x.html
  52. +1 −1 deps/ncurses/doc/html/man/ncurses5-config.1.html
  53. +1 −1 deps/ncurses/doc/html/man/panel.3x.html
  54. +1 −1 deps/ncurses/doc/html/man/tabs.1.html
  55. +165 −0 deps/ncurses/doc/html/man/term_variables.3x.html
  56. +1 −1 deps/ncurses/doc/html/man/terminfo.5.html
  57. +8 −2 deps/ncurses/doc/html/man/tic.1m.html
  58. +1 −1 deps/ncurses/doc/html/man/toe.1m.html
  59. +1 −1 deps/ncurses/doc/html/man/tput.1.html
  60. +1 −1 deps/ncurses/doc/html/man/tset.1.html
  61. +7 −7 deps/ncurses/doc/html/man/wresize.3x.html
  62. +56 −0 deps/ncurses/man/MKada_config.in
  63. +7 −7 deps/ncurses/man/curs_add_wch.3x
  64. +11 −13 deps/ncurses/man/curs_color.3x
  65. +13 −19 deps/ncurses/man/curs_getcchar.3x
  66. +2 −2 deps/ncurses/man/curs_legacy.3x
  67. +4 −6 deps/ncurses/man/curs_slk.3x
  68. +359 −0 deps/ncurses/man/curs_sp_funcs.3x
  69. +10 −12 deps/ncurses/man/curs_threads.3x
  70. +14 −20 deps/ncurses/man/curs_util.3x
  71. +13 −16 deps/ncurses/man/form_driver.3x
  72. +12 −16 deps/ncurses/man/form_field_buffer.3x
  73. +2 −1 deps/ncurses/man/man_db.renames
  74. +16 −25 deps/ncurses/man/menu_driver.3x
  75. +9 −11 deps/ncurses/man/ncurses.3x
  76. +123 −7 deps/ncurses/test/README
  77. +4 −3 deps/ncurses/test/listused.sh
  78. +3 −3 examples/colortest.js
  79. +1 −1 examples/test.js
  80. +6 −6 ncurses.cc
  81. +1 −1 wscript
View
@@ -24,7 +24,7 @@ This error has been known to at least occur on OSX 10.6.* with the default Termi
mkdir ~/.terminfo
infocmp -L > foo
tic foo
- rm foo
+ rm foo
If no errors occurred while executing those commands, then you are all set and should be able to execute node-ncurses examples now. If not, send me a message and let me know.
@@ -191,7 +191,7 @@ ncWindow Properties
* **tabsize** - _Integer_ [Read-only] - The terminal's tab size
* **hasMouse** - _Boolean_ [Read-only] - Indicates whether the terminal supports mouse (clicks) functionality
* **hasColors** - _Boolean_ [Read-only] - Indicates whether the terminal supports colors
-* **hasColors** - _Boolean_ [Read-only] - Indicates whether the terminal supports colors
+* **numColors** - _Integer_ [Read-only] - Indicates the (maximum) number of colors the terminal supports colors
* **maxColorPairs** - _Integer_ [Read-only] - The maximum number of foreground-background color pairs supported by the terminal
* **ACS** - _Array_ [Read-only] - Contains a hash of all of the available ACS characters (for line graphics) described in the **Additional notes** section of this README
@@ -377,13 +377,15 @@
./doc/html/man/curs_scr_dump.3x.html
./doc/html/man/curs_scroll.3x.html
./doc/html/man/curs_slk.3x.html
+./doc/html/man/curs_sp_funcs.3x.html
./doc/html/man/curs_termattrs.3x.html
./doc/html/man/curs_termcap.3x.html
./doc/html/man/curs_terminfo.3x.html
./doc/html/man/curs_threads.3x.html
./doc/html/man/curs_touch.3x.html
./doc/html/man/curs_trace.3x.html
./doc/html/man/curs_util.3x.html
+./doc/html/man/curs_variables.3x.html
./doc/html/man/curs_window.3x.html
./doc/html/man/default_colors.3x.html
./doc/html/man/define_key.3x.html
@@ -409,6 +411,7 @@
./doc/html/man/form_post.3x.html
./doc/html/man/form_requestname.3x.html
./doc/html/man/form_userptr.3x.html
+./doc/html/man/form_variables.3x.html
./doc/html/man/form_win.3x.html
./doc/html/man/index.html
./doc/html/man/infocmp.1m.html
@@ -447,6 +450,7 @@
./doc/html/man/tabs.1.html
./doc/html/man/term.5.html
./doc/html/man/term.7.html
+./doc/html/man/term_variables.3x.html
./doc/html/man/terminfo.5.html
./doc/html/man/tic.1m.html
./doc/html/man/toe.1m.html
@@ -595,6 +599,7 @@
./man/curs_scr_dump.3x
./man/curs_scroll.3x
./man/curs_slk.3x
+./man/curs_sp_funcs.3x
./man/curs_termattrs.3x
./man/curs_termcap.3x
./man/curs_terminfo.3x
View
@@ -25,7 +25,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1590 2010/09/11 21:41:14 tom Exp $
+-- $Id: NEWS,v 1.1593 2010/09/18 22:53:08 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,12 @@ See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20100918
+ + regenerated html manpages.
+ + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
+ + add manpage for sp-funcs.
+ + add sp-funcs to test/listused.sh, for documentation aids.
+
20100911
+ add manpages for summarizing public variables of curses-, terminfo-
and form-libraries.
@@ -25,7 +25,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.773 2010/09/11 14:06:59 tom Exp $
+# $Id: dist.mk,v 1.774 2010/09/18 14:51:01 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@@ -37,7 +37,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 5
NCURSES_MINOR = 7
-NCURSES_PATCH = 20100911
+NCURSES_PATCH = 20100918
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
@@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: captoinfo.1m,v 1.23 2010/07/31 16:12:01 tom Exp @
+ * @Id: captoinfo.1m,v 1.24 2010/08/28 19:36:31 tom Exp @
-->
<HTML>
<HEAD>
@@ -59,25 +59,26 @@
</PRE>
<H2>DESCRIPTION</H2><PRE>
- <STRONG>captoinfo</STRONG> looks in <EM>file</EM> for <STRONG>termcap</STRONG> descriptions. For
- each one found, an equivalent <STRONG>terminfo</STRONG> description is
- written to standard output. Termcap <STRONG>tc</STRONG> capabilities are
- translated directly to terminfo <STRONG>use</STRONG> capabilities.
+ <STRONG>captoinfo</STRONG> looks in each given text <EM>file</EM> for <STRONG>termcap</STRONG>
+ descriptions. For each one found, an equivalent <STRONG>terminfo</STRONG>
+ description is written to standard output. Termcap <STRONG>tc</STRONG>
+ capabilities are translated directly to terminfo <STRONG>use</STRONG> capa-
+ bilities.
If no <EM>file</EM> is given, then the environment variable <STRONG>TERMCAP</STRONG>
- is used for the filename or entry. If <STRONG>TERMCAP</STRONG> is a full
+ is used for the filename or entry. If <STRONG>TERMCAP</STRONG> is a full
pathname to a file, only the terminal whose name is speci-
- fied in the environment variable <STRONG>TERM</STRONG> is extracted from
- that file. If the environment variable <STRONG>TERMCAP</STRONG> is not
+ fied in the environment variable <STRONG>TERM</STRONG> is extracted from
+ that file. If the environment variable <STRONG>TERMCAP</STRONG> is not
set, then the file <STRONG>/usr/share/terminfo</STRONG> is read.
- <STRONG>-v</STRONG> print out tracing information on standard error as
+ <STRONG>-v</STRONG> print out tracing information on standard error as
the program runs.
- <STRONG>-V</STRONG> print out the version of the program in use on stan-
+ <STRONG>-V</STRONG> print out the version of the program in use on stan-
dard error and exit.
- <STRONG>-1</STRONG> cause the fields to print out one to a line. Other-
+ <STRONG>-1</STRONG> cause the fields to print out one to a line. Other-
wise, the fields will be printed several to a line to
a maximum width of 60 characters.
@@ -92,12 +93,12 @@
</PRE>
<H2>TRANSLATIONS FROM NONSTANDARD CAPABILITIES</H2><PRE>
- Some obsolete nonstandard capabilities will automatically
- be translated into standard (SVr4/XSI Curses) terminfo
- capabilities by <STRONG>captoinfo</STRONG>. Whenever one of these auto-
- matic translations is done, the program will issue an
+ Some obsolete nonstandard capabilities will automatically
+ be translated into standard (SVr4/XSI Curses) terminfo
+ capabilities by <STRONG>captoinfo</STRONG>. Whenever one of these auto-
+ matic translations is done, the program will issue an
notification to stderr, inviting the user to check that it
- has not mistakenly translated a completely unknown and
+ has not mistakenly translated a completely unknown and
random capability and/or syntax error.
Nonstd Std From Terminfo
@@ -115,8 +116,8 @@
GE ae XENIX exit_alt_charset_mode
GS as XENIX enter_alt_charset_mode
HM kh XENIX key_home
- LD kL XENIX key_dl
+ LD kL XENIX key_dl
PD kN XENIX key_npage
PN po XENIX prtr_off
PS pf XENIX prtr_on
@@ -133,8 +134,8 @@
FC Sf Tek set_foreground
HS mh Iris enter_dim_mode
- XENIX termcap also used to have a set of extension capa-
- bilities for forms drawing, designed to take advantage of
+ XENIX termcap also used to have a set of extension capa-
+ bilities for forms drawing, designed to take advantage of
the IBM PC high-half graphics. They were as follows:
Cap Graphic
@@ -163,14 +164,14 @@
Gc intersection
GG acs magic cookie count
- If the single-line capabilities occur in an entry, they
- will automatically be composed into an <EM>acsc</EM> string. The
+ If the single-line capabilities occur in an entry, they
+ will automatically be composed into an <EM>acsc</EM> string. The
double-line capabilities and <STRONG>GG</STRONG> are discarded with a warn-
ing message.
IBM's AIX has a terminfo facility descended from SVr1 ter-
- minfo but incompatible with the SVr4 format. The following
- AIX extensions are automatically translated:
+ minfo but incompatible with the SVr4 format. The follow-
+ ing AIX extensions are automatically translated:
IBM XSI
-------------
@@ -181,35 +182,36 @@
font2 s2ds
font3 s3ds
- Additionally, the AIX <EM>box1</EM> capability will be automati-
+ Additionally, the AIX <EM>box1</EM> capability will be automati-
cally translated to an <EM>acsc</EM> string.
- Hewlett-Packard's terminfo library supports two nonstan-
- dard terminfo capabilities <EM>meml</EM> (memory lock) and <EM>memu</EM>
- (memory unlock). These will be discarded with a warning
+ Hewlett-Packard's terminfo library supports two nonstan-
+ dard terminfo capabilities <EM>meml</EM> (memory lock) and <EM>memu</EM>
+ (memory unlock). These will be discarded with a warning
message.
</PRE>
<H2>NOTES</H2><PRE>
- This utility is actually a link to <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, running in <EM>-I</EM>
+ This utility is actually a link to <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, running in <EM>-I</EM>
mode. You can use other <STRONG>tic</STRONG> options such as <STRONG>-f</STRONG> and <STRONG>-x</STRONG>.
- The trace option is not identical to SVr4's. Under SVr4,
- instead of following the <STRONG>-v</STRONG> with a trace level n, you
+ The trace option is not identical to SVr4's. Under SVr4,
+ instead of following the <STRONG>-v</STRONG> with a trace level n, you
repeat it n times.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
- This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20100731).
+ This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20100918).
</PRE>
<H2>AUTHOR</H2><PRE>
- Eric S. Raymond &lt;esr@snark.thyrsus.com&gt;
+ Eric S. Raymond &lt;esr@snark.thyrsus.com&gt; and
+ Thomas E. Dickey &lt;dickey@invisible-island.net&gt;
@@ -69,7 +69,7 @@
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
- This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20100731).
+ This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20100918).
@@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_add_wch.3x,v 1.7 2010/07/31 16:12:01 tom Exp @
+ * @Id: curs_add_wch.3x,v 1.9 2010/09/18 20:18:34 tom Exp @
-->
<HTML>
<HEAD>
@@ -73,21 +73,21 @@
perform wrapping and special-character processing as fol-
lows:
- - If <EM>wch</EM> refers to a spacing character, then any previ-
- ous character at that location is removed. A new
- character specified by <EM>wch</EM> is placed at that location
- with rendition specified by <EM>wch</EM>. The cursor then
- advances to the next spacing character on the screen.
+ <STRONG>o</STRONG> If <EM>wch</EM> refers to a spacing character, then any previ-
+ ous character at that location is removed. A new
+ character specified by <EM>wch</EM> is placed at that location
+ with rendition specified by <EM>wch</EM>. The cursor then
+ advances to the next spacing character on the screen.
- - If <EM>wch</EM> refers to a non-spacing character, all previ-
- ous characters at that location are preserved. The
- non-spacing characters of <EM>wch</EM> are added to the spac-
- ing complex character, and the rendition specified by
- <EM>wch</EM> is ignored.
+ <STRONG>o</STRONG> If <EM>wch</EM> refers to a non-spacing character, all previous
+ characters at that location are preserved. The non-
+ spacing characters of <EM>wch</EM> are added to the spacing
+ complex character, and the rendition specified by <EM>wch</EM>
+ is ignored.
- - If the character part of <EM>wch</EM> is a tab, newline,
- backspace or other control character, the window is
- updated and the cursor moves as if <STRONG>addch</STRONG> were called.
+ <STRONG>o</STRONG> If the character part of <EM>wch</EM> is a tab, newline,
+ backspace or other control character, the window is
+ updated and the cursor moves as if <STRONG>addch</STRONG> were called.
The <STRONG>echo_wchar</STRONG> function is functionally equivalent to a
call to <STRONG>add_wch</STRONG> followed by a call to <STRONG>refresh</STRONG>. Similarly,
@@ -104,6 +104,10 @@
All routines return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on
success.
+ Functions with a "mv" prefix first perform a cursor move-
+ ment using <STRONG>wmove</STRONG>, and return an error if the position is
+ outside the window, or if the window pointer is null.
+
</PRE>
<H2>NOTES</H2><PRE>
@@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_add_wchstr.3x,v 1.7 2010/07/31 16:12:01 tom Exp @
+ * @Id: curs_add_wchstr.3x,v 1.8 2010/08/14 23:29:16 tom Exp @
-->
<HTML>
<HEAD>
@@ -103,6 +103,10 @@
All routines return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on
success.
+ Functions with a "mv" prefix first perform a cursor move-
+ ment using <STRONG>wmove</STRONG>, and return an error if the position is
+ outside the window, or if the window pointer is null.
+
</PRE>
<H2>PORTABILITY</H2><PRE>
@@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addch.3x,v 1.28 2010/07/31 16:12:01 tom Exp @
+ * @Id: curs_addch.3x,v 1.29 2010/08/14 23:29:16 tom Exp @
-->
<HTML>
<HEAD>
@@ -158,6 +158,10 @@
other than <STRONG>ERR</STRONG>") upon successful completion, unless other-
wise noted in the preceding routine descriptions.
+ Functions with a "mv" prefix first perform a cursor move-
+ ment using <STRONG>wmove</STRONG>, and return an error if the position is
+ outside the window, or if the window pointer is null.
+
</PRE>
<H2>NOTES</H2><PRE>
@@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addchstr.3x,v 1.13 2010/07/31 16:12:01 tom Exp @
+ * @Id: curs_addchstr.3x,v 1.14 2010/08/14 23:29:16 tom Exp @
-->
<HTML>
<HEAD>
@@ -97,6 +97,10 @@
X/Open does not define any error conditions. This imple-
mentation returns an error if the window pointer is null.
+ Functions with a "mv" prefix first perform a cursor move-
+ ment using <STRONG>wmove</STRONG>, and return an error if the position is
+ outside the window, or if the window pointer is null.
+
</PRE>
<H2>NOTES</H2><PRE>
@@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addstr.3x,v 1.14 2010/07/31 16:12:01 tom Exp @
+ * @Id: curs_addstr.3x,v 1.15 2010/08/14 23:29:16 tom Exp @
-->
<HTML>
<HEAD>
@@ -89,6 +89,10 @@
or if the string pointer is null or if the corresponding
calls to <STRONG>waddch</STRONG> return an error.
+ Functions with a "mv" prefix first perform a cursor move-
+ ment using <STRONG>wmove</STRONG>, and return an error if the position is
+ outside the window, or if the window pointer is null.
+
</PRE>
<H2>NOTES</H2><PRE>
Oops, something went wrong.

0 comments on commit 76bd02f

Please sign in to comment.