1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2010,2011 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 copies --
9 -- of the Software, and to permit persons to whom the Software is furnished --
10 -- 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. IN --
18 -- 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 THE --
21 -- 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 -------------------------------------------------------------------------------
28 -- $Id: NEWS,v 1.1771 2011/08/20 21:36:44 tom Exp $
29 -------------------------------------------------------------------------------
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses). Changes with
39 no cited author are the work of Thomas E Dickey (TD).
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
49 + add a check to ensure that termcap files which might have "^?" do
50 not use the terminfo interpretation as "\177".
51 + minor cleanup of X-terminal emulator section of terminfo.src -TD
52 + add terminator entry -TD
53 + add simpleterm entry -TD
54 + improve wattr_get macros by ensuring that if the window pointer is
55 null, then the attribute and color values returned will be zero
59 + add substitution for $RPATH_LIST to misc/ncurses-config.in
60 + improve performance of tic with hashed-database by caching the
61 database connection, using atexit() to cleanup.
62 + modify treatment of 2-character aliases at the beginning of termcap
63 entries so they are not counted in use-resolution, since these are
64 guaranteed to be unique. Also ignore these aliases when reporting
65 the primary name of the entry (cf: 20040501)
66 + double-check gn (generic) flag in terminal descriptions to
67 accommodate old/buggy termcap databases which misused that feature.
68 + minor fixes to _nc_tgetent(), ensure buffer is initialized even on
72 + improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
73 variable is defined in the makefiles which use it.
74 + build-fix for DragonFlyBSD's pkgsrc in test/configure script.
75 + build-fixes for NetBSD 5.1 with termcap support enabled.
76 + corrected k9 in dg460-ansi, add other features based on manuals -TD
77 + improve trimming of whitespace at the end of terminfo/termcap output
79 + when writing termcap source, ensure that colons in the description
80 field are translated to a non-delimiter, i.e., "=".
81 + add "-0" option to tic/infocmp, to make the termcap/terminfo source
83 + add a null-pointer check when handling the $CC variable.
86 + modify configure script and makefiles in c++ and progs to allow the
87 directory used for rpath option to be overridden, e.g., to work
88 around updates to the variables used by tic during an install.
89 + add -K option to tic/infocmp, to provide stricter BSD-compatibility
91 + add _nc_strict_bsd variable in tic library which controls the
92 "strict" BSD termcap compatibility from 20110723, plus these
94 + allow escapes such as "\8" and "\9" when reading termcap
95 + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
96 termcap files, passing through "a", "e", etc.
97 + expand "\:" as "\072" on output.
98 + modify _nc_get_token() to reset the token's string value in case
99 there is a string-typed token lacking the "=" marker.
100 + fix a few memory leaks in _nc_tgetent.
101 + fix a few places where reading from a termcap file could refer to
103 + add an overflow check when converting terminfo/termcap numeric
104 values, since terminfo stores those in a short, and they must be
106 + correct internal variables used for translating to termcap "%>"
107 feature, and translating from termcap %B to terminfo, needed by
108 tctest (cf: 19991211).
109 + amend a minor fix to acsc when loading a termcap file to separate it
110 from warnings needed for tic (cf: 20040710)
111 + modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
112 a termcap file to be handled via TERMINFO_DIRS.
113 + modify _nc_infotocap() to include non-mandatory padding when
114 translating to termcap.
115 + modify _nc_read_termcap_entry(), passing a flag in the case where
116 getcap is used, to reduce interactive warning messages.
119 + add a check in start_color() to limit color-pairs to 256 when
120 extended colors are not supported (patch by David Benjamin).
121 + modify setcchar to omit no-longer-needed OR'ing of color pair in
122 the SetAttr() macro (patch by David Benjamin).
123 + add kich1 to sun terminfo entry (Yuri Pankov)
124 + use bold rather than reverse for smso in sun-color terminfo entry
126 + improve generation of termcap using tic/infocmp -C option, e.g.,
127 to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
128 regarding Schilling's test program):
129 + translate %02 and %03 to %2 and %3 respectively.
130 + suppress string capabilities which use %s, not supported by tgoto
131 + use \040 rather than \s
132 + expand null characters as \200 rather than \0
133 + modify configure script to support shared libraries for DragonFlyBSD.
136 + replace an assert() in _nc_Free_Argument() with a regular null
137 pointer check (report/analysis by Franjo Ivancic).
138 + modify configure --enable-pc-files option to take into account the
139 PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
140 + add/use xterm+tmux chunk from xterm #271 -TD
141 + resync xterm-new entry from xterm #271 -TD
142 + add E3 extended capability to linux-basic (Miroslav Lichvar)
143 + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
144 + add SI/SO change to linux2.6 entry (Debian #515609) -TD
145 + fix inconsistent tabset path in pcmw (Todd C. Miller).
146 + remove a backslash which continued comment, obscuring altos3
147 definition with OpenBSD toolset (Nicholas Marriott).
150 + add workaround from xterm #271 changes to ensure that compiler flags
151 are not used in the $CC variable.
152 + improve support for shared libraries, tested with AIX 5.3, 6.1 and
153 7.1 with both gcc 4.2.4 and cc.
154 + modify configure checks for AIX to include release 7.x
155 + add loader flags/libraries to libtool options so that dynamic loading
156 works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
157 at gentoo prefix repository (patch by Michael Haubenwallner).
160 + move include of nc_termios.h out of term_entry.h, since the latter
161 is installed, e.g., for tack while the former is not (report by
165 + improve cleanup() function in lib_tstp.c, using _exit() rather than
166 exit() and checking for SIGTERM rather than SIGQUIT (prompted by
167 comments forwarded by Nicholas Marriott).
168 + reduce name pollution from term.h, moving fallback #define's for
169 tcgetattr(), etc., to new private header nc_termios.h (report by
171 + two minor fixes for tracing (patch by Vassili Courzakis).
172 + improve trace initialization by starting it in use_env() and
174 + review old email, add details for some changelog entries.
177 + update minix entry to minix 3.2 (Thomas Cort).
178 + fix a strict compiler warning in change to wattr_get (cf: 20110528).
181 + fixes for MirBSD port:
182 + set default prefix to /usr.
183 + add support for shared libraries in configure script.
184 + use S_ISREG and S_ISDIR consistently, with fallback definitions.
185 + add a few more checks based on ncurses/link_test.
186 + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
189 + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
190 + used ncurses/link_test to check for behavior when the terminal has
191 not been initialized and when an application passes null pointers
192 to the library. Added checks to cover this (prompted by Redhat
194 + modify MKlib_gen.sh to make its main() function call each function
195 with zero parameters, to help find inconsistent checking for null
199 + fix warnings from clang 2.7 "--analyze"
202 + compiler-warning fixes in panel and progs.
203 + modify CF_PKG_CONFIG macro, from changes to tin -TD
204 + modify CF_CURSES_FUNCS configure macro, used in test directory
206 + work around (non-optimizer) bug in gcc 4.2.1 which caused
207 test-expression to be omitted from executable.
208 + force the linker to see a link-time expression of a symbol, to
209 help work around weak-symbol issues.
212 + update discussion of MKfallback.sh script in INSTALL; normally the
213 script is used automatically via the configured makefiles. However
214 there are still occasions when it might be used directly by packagers
215 (report by Gunter Schaffler).
216 + modify misc/ncurses-config.in to omit the "-L" option from the
217 "--libs" output if the library directory is /usr/lib.
218 + change order of tests for curses.h versus ncurses.h headers in the
219 configure scripts for Ada95 and test-directories, to look for
220 ncurses.h, from fixes to tin -TD
221 + modify ncurses/tinfo/access.c to account for Tandem's root uid
222 (report by Joachim Schmitz).
225 + modify rules in Ada95/src/Makefile.in to ensure that the PIC option
226 is not used when building a static library (report by Nicolas
228 + Ada95 build-fix for big-endian architectures such as sparc. This
229 undoes one of the fixes from 20110319, which added an "Unused" member
230 to representation clauses, replacing that with pragmas to suppress
231 warnings about unused bits (patch by Nicolas Boulenguez):
234 + add check in test/configure for use_window, use_screen.
235 + add configure-checks for getopt's variables, which may be declared
236 as different types on some Unix systems.
237 + add check in test/configure for some legacy curses types of the
238 function pointer passed to tputs().
239 + modify init_pair() to accept -1's for color value after
240 assume_default_colors() has been called (Debian #337095).
241 + modify test/background.c, adding commmand-line options to demonstrate
242 assume_default_colors() and use_default_colors().
245 + modify configure script/source-code to only define _POSIX_SOURCE if
246 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
247 and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
248 + update config.guess, config.sub
251 + fixes to build c++ binding with clang 3.0 (patch by Alexander
253 + add check for unctrl.h in test/configure, to work around breakage in
254 some ncurses packages.
255 + add "--disable-widec" option to test/configure script.
256 + add "--with-curses-colr" and "--with-curses-5lib" options to the
257 test/configure script to address testing with very old machines.
259 20110404 5.9 release for upload to ftp.gnu.org
262 + various build-fixes for the rpm/dpkg scripts.
263 + add "--enable-rpath-link" option to Ada95/configure, to allow
264 packages to suppress the rpath feature which is normally used for
265 the in-tree build of sample programs.
266 + corrected definition of libdir variable in Ada95/src/Makefile.in,
267 needed for rpm script.
268 + add "--with-shared" option to Ada95/configure script, to allow
269 making the C-language parts of the binding use appropriate compiler
270 options if building a shared library with gnat.
273 > portability fixes for Ada95 binding:
274 + add configure check to ensure that SIGINT works with gnat. This is
275 needed for the "rain" sample program. If SIGINT does not work, omit
277 + correct typo in check of $PKG_CONFIG variable in Ada95/configure
278 + add ncurses_compat.c, to supply functions used in the Ada95 binding
279 which were added in 5.7 and later.
280 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency
284 + add special check in Ada95/configure script for ncurses6 reentrant
286 + regen Ada html documentation.
287 + build-fix for Ada shared libraries versus the varargs workaround.
288 + add rpm and dpkg scripts for Ada95 and test directories, for test
290 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
292 + add configure check to determine if gnat's project feature supports
293 libraries, i.e., collections of .ali files.
294 + make all dereferences in Ada95 samples explicit.
295 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
296 + add configure check for, ifdef's for math.h which is in a separate
297 package on Solaris and potentially not installed (report by Petr
299 > fixes for Ada95 binding (Nicolas Boulenguez):
300 + improve type-checking in Ada95 by eliminating a few warning-suppress
302 + suppress unreferenced warnings.
303 + make all dereferences in binding explicit.
306 + regen Ada html documentation.
307 + change order of -I options from ncurses*-config script when the
308 --disable-overwrite option was used, so that the subdirectory include
310 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
311 + modify configure script to provide value for HTML_DIR in
312 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
313 distributed separately (report by Nicolas Boulenguez).
314 + modify configure script to add -g and/or -O3 to ADAFLAGS if the
315 CFLAGS for the build has these options.
316 + amend change from 20070324, to not add 1 to the result of getmaxx
317 and getmaxy in the Ada binding (report by Nicolas Boulenguez for
318 thread in comp.lang.ada).
319 + build-fix Ada95/samples for gnat 4.5
320 + spelling fixes for Ada95/samples/explain.txt
321 > fixes for Ada95 binding (Nicolas Boulenguez):
322 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS.
323 + add workaround for binding to set_field_type(), which uses varargs.
324 The original binding from 990220 relied on the prevalent
325 implementation of varargs which did not support or need va_copy().
326 + add dependency on gen/Makefile.in needed for *-panels.ads
327 + add Library_Options to library.gpr
328 + add Languages to library.gpr, for gprbuild
331 + revert changes to limit-checks from 20110122 (Debian #616711).
332 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez):
333 + corrected a minor sign error in a field of Low_Level_Field_Type, to
335 + replaced C_Int by Curses_Bool as return type for some callbacks, see
337 + modify samples/sample-explain.adb to provide explicit message when
338 explain.txt is not found.
341 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez).
342 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes
343 for compiler warnings (report by Nicolas Boulenguez).
344 + modify Ada95/gen/gen.c to declare unused bits in generated layouts,
345 needed to compile when chtype is 64-bits using gnat 4.4.5
347 20110226 5.8 release for upload to ftp.gnu.org
350 + update release notes, for 5.8.
351 + regenerated html manpages.
352 + change open() in _nc_read_file_entry() to fopen() for consistency
354 + modify misc/run_tic.in to create parent directory, in case this is
355 a new install of hashed database.
356 + fix typo in Ada95/mk-1st.awk which causes error with original awk.
359 + configure script rpath fixes from xterm #269.
360 + workaround for cygwin's non-functional features.h, to force ncurses'
361 configure script to define _XOPEN_SOURCE_EXTENDED when building
362 wide-character configuration.
363 + build-fix in run_tic.sh for OS/2 EMX install
364 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662).
367 + regenerated html manpages.
368 + use _tracef() in show_where() function of tic, to work correctly with
369 special case of trace configuration.
372 + add xterm-utf8 entry as a demo of the U8 feature -TD
373 + add U8 feature to denote entries for terminal emulators which do not
374 support VT100 SI/SO when processing UTF-8 encoding -TD
375 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an
376 extended terminfo capability U8 (prompted by mailing list
380 + start documenting interface changes for upcoming 5.8 release.
381 + correct limit-checks in derwin().
382 + correct limit-checks in newwin(), to ensure that windows have nonzero
383 size (report by Garrett Cooper).
384 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas
386 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
387 by discussion with Kevin Martin).
390 + modify Ada95/configure script to make the --with-curses-dir option
391 work without requiring the --with-ncurses option.
392 + modify test programs to allow them to be built with NetBSD curses.
393 + document thick- and double-line symbols in curs_add_wch.3x manpage.
394 + document WACS_xxx constants in curs_add_wch.3x manpage.
395 + fix some warnings for clang 2.6 "--analyze"
396 + modify Ada95 makefiles to make html-documentation with the project
397 file configuration if that is used.
398 + update config.guess, config.sub
401 + regenerated html manpages.
402 + minor fixes to enable lint when trace is not enabled, e.g., with
404 + fix typo in man/default_colors.3x (patch by Tim van der Molen).
405 + update ncurses/llib-lncurses*
408 + fix remaining strict compiler warnings in ncurses library ABI=5,
409 except those dealing with function pointers, etc.
412 + modify nc_tparm.h, adding guards against repeated inclusion, and
413 allowing TPARM_ARG to be overridden.
414 + fix some strict compiler warnings in ncurses library.
417 + suppress ncv in screen entry, allowing underline (patch by Alejandro
419 + also suppress ncv in konsole-base -TD
420 + fixes in wins_nwstr() and related functions to ensure that special
421 characters, i.e., control characters are handled properly with the
422 wide-character configuration.
423 + correct a comparison in wins_nwstr() (Redhat #661506).
424 + correct help-messages in some of the test-programs, which still
425 referred to quitting with 'q'.
428 + add special case to _nc_infotocap() to recognize the setaf/setab
429 strings from xterm+256color and xterm+88color, and provide a reduced
430 version which works with termcap.
431 + remove obsolete emacs "Local Variables" section from documentation
432 (request by Sven Joachim).
433 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html
434 (report by Sven Joachim).
437 + modify test/configure and test/Makefile.in to handle this special
438 case of building within a build-tree (Debian #34182):
439 mkdir -p build && cd build && ../test/configure && make
442 + miscellaneous build-fixes for Ada95 and test-directories when built
444 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182).
445 + fix typo in rmso for tek4106 entry -Goran Weinholt
448 + improve checks in test/configure for X libraries, from xterm #267
450 + modify test/configure to allow it to use the build-tree's libraries
451 e.g., when using that to configure the test-programs without the
452 rpath feature (request by Sven Joachim).
453 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items
454 for compatibility, but generally deprecating those since the VTE
455 library is what actually defines the behavior of "gnome", etc.,
459 + compiler warning fixes for test programs.
460 + various build-fixes for test-programs with pdcurses.
461 + updated configure checks for X packages in test/configure from xterm
463 + add configure check to gnatmake, to accommodate cygwin.
466 + correct list of sub-directories needed in Ada95 tree for building as
468 + modify scripts in test-directory to improve builds as a separate
472 + correct parsing of relative tab-stops in tabs program (report by
474 + adjust configure script so that "t" is not added to library suffix
475 when weak-symbols are used, allowing the pthread configuration to
476 more closely match the non-thread naming (report by Werner Fink).
477 + modify configure check for tic program, used for fallbacks, to a
478 warning if not found. This makes it simpler to use additonal
479 scripts to bootstrap the fallbacks code using tic from the build
480 tree (report by Werner Fink).
481 + fix several places in configure script using ${variable-value} form.
482 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders
483 which do not support selectively linking against static libraries
484 (report by John P. Hartmann)
485 + fix an unescaped dash in man/tset.1 (report by Sven Joachim).
488 + correct comparison used for setting 16-colors in linux-16color
489 entry (Novell #644831) -TD
490 + improve linux-16color entry, using "dim" for color-8 which makes it
491 gray rather than black like color-0 -TD
492 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an
493 external package "cindent".
496 + improve linkages in html manpages, adding references to the newer
497 pages, e.g., *_variables, curs_sp_funcs, curs_threads.
498 + add checks in tic for inconsistent cursor-movement controls, and for
499 inconsistent printer-controls.
500 + fill in no-parameter forms of cursor-movement where a parameterized
501 form is available -TD
502 + fill in missing cursor controls where the form of the controls is
504 + fix inconsistent punctuation in form_variables manpage (patch by
506 + add parameterized cursor-controls to linux-basic (report by Dae) -TD
507 > patch by Juergen Pfeifer:
508 + document how to build 32-bit libraries in README.MinGW
509 + fixes to filename computation in mk-dlls.sh.in
510 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven
512 + add a check in mk-dlls.sh.in to obtain the size of a pointer to
513 distinguish between 32-bit and 64-bit hosts. The result is stored
517 + add "XT" capability to entries for terminals that support both
518 xterm-style mouse- and title-controls, for "screen" which
519 special-cases TERM beginning with "xterm" or "rxvt" -TD
520 > patch by Juergen Pfeifer:
521 + use 64-Bit MinGW toolchain (recommended package from TDM, see
523 + support pthreads when using the TDM MinGW toolchain
526 + regenerated html manpages.
527 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages.
528 + add manpage for sp-funcs.
529 + add sp-funcs to test/listused.sh, for documentation aids.
532 + add manpages for summarizing public variables of curses-, terminfo-
534 + minor fixes to manpages for consistency (patch by Jason McIntyre).
535 + modify tic's -I/-C dump to reformat acsc strings into canonical form
536 (sorted, unique mapping) (cf: 971004).
537 + add configure check for pthread_kill(), needed for some old
541 + add configure option --without-tests, to suppress building test
542 programs (request by Frederic L W Meunier).
545 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD
546 + add check in terminfo source-reader to provide more informative
547 message when someone attempts to run tic on a compiled terminal
548 description (prompted by Debian #593920).
549 + note in infotocap and captoinfo manpages that they read terminal
550 descriptions from text-files (Debian #593920).
551 + improve acsc string for vt52, show arrow keys (patch by Benjamin
555 + document in manpages that "mv" functions first use wmove() to check
556 the window pointer and whether the position lies within the window
557 (suggested by Poul-Henning Kamp).
558 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch
559 by Tim van der Molen).
560 + modify configure script to transform library names for tic- and
561 tinfo-libraries so that those build properly with Mac OS X shared
562 library configuration.
563 + modify configure script to ensure that it removes conftest.dSYM
564 directory leftover on checks with Mac OS X.
565 + modify configure script to cleanup after check for symbolic links.
568 + correct a typo in mk-1st.awk (patch by Gabriele Balducci)
570 + improve configure checks for location of tic and infocmp programs
571 used for installing database and for generating fallback data,
572 e.g., for cross-compiling.
573 + add Markus Kuhn's wcwidth function for compiling MinGW
574 + add special case to CF_REGEX for cross-compiling to MinGW target.
577 + modify initialization check for win32con driver to eliminate need for
578 special case for TERM "unknown", using terminal database if available
579 (prompted by discussion with Roumen Petrov).
580 + for MinGW port, ensure that terminal driver is setup if tgetent()
581 is called (patch by Roumen Petrov).
582 + document tabs "-0" and "-8" options in manpage.
583 + fix Debian "lintian" issues with manpages reported in
584 http://lintian.debian.org/full/csmall@debian.org.html#ncurses
587 + add a check in tic for missing set_tab if clear_all_tabs given.
588 + improve use of symbolic links in makefiles by using "-f" option if
589 it is supported, to eliminate temporary removal of the target
590 (prompted by http://www.t2-project.org/packages/ncurses.html)
591 + minor improvement to test/ncurses.c, reset color pairs in 'd' test
592 after exit from 'm' main-menu command.
593 + improved ncu-indent, from mawk changes, allows more than one of
594 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line.
597 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends
598 the alternate character set (patch by Nicholas Marriott)
599 + remove tar-copy.sh and related configure/Makefile chunks, since the
600 Ada95 binding is now installed using rules in Ada95/src.
603 + continue integrating changes to use gnatmake project files in Ada95
604 + add/use configure check to turn on project rules for Ada95/src.
605 + revert the vfork change from 20100130, since it does not work.
608 + continue integrating changes to use gnatmake project files in Ada95
609 + old gnatmake (3.15) does not produce libraries using project-file;
610 work around by adding script to generate alternate makefile.
613 + continue integrating changes to use gnatmake project files in Ada95
614 + add configure --with-ada-sharedlib option, for the test_make rule.
615 + move Ada95-related logic into aclocal.m4, since additional checks
616 will be needed to distinguish old/new implementations of gnat.
619 + start integrating changes to use gnatmake project files in Ada95 tree
620 + add test_make / test_clean / test_install rules in Ada95/src
621 + change install-path for adainclude directory to /usr/share/ada (was
623 + update Ada95/configure.
624 + add mlterm+256color entry, for mlterm 3.0.0 -TD
625 + modify test/configure to use macros to ensure consistent order
626 of updating LIBS variable.
629 + change search order of options for Solaris in CF_SHARED_OPTS, to
630 work with 64-bit compiles.
631 + correct quoting of assignment in CF_SHARED_OPTS case for aix
635 + regenerated html documentation.
636 + modify test/configure to support pkg-config for checking X libraries
638 + add/use configure macro CF_ADD_LIB to force consistency of
639 assignments to $LIBS, etc.
640 + fix configure script for combining --with-pthread
641 and --enable-weak-symbols options.
644 + correct cross-compiling configure check for CF_MKSTEMP macro, by
645 adding a check cache variable set by AC_CHECK_FUNC (report by
647 + simplify include-dependencies of make_hash and make_keys, to reduce
648 the need for setting BUILD_CPPFLAGS in cross-compiling when the
649 build- and target-machines differ.
650 + repair broken-linker configuration by restoring a definition of SP
651 variable to curses.priv.h, and adjusting for cases where sp-funcs
653 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment
654 variable to override (prompted by report by Pablo Cazallas).
657 + add configure option --enable-pthreads-eintr to control whether the
658 new EINTR feature is enabled.
659 + modify logic in pthread configuration to allow EINTR to interrupt
660 a read operation in wgetch() (Novell #540571, patch by Werner Fink).
661 + drop mkdirs.sh, use "mkdir -p".
662 + add configure option --disable-libtool-version, to use the
663 "-version-number" feature which was added in libtool 1.5 (report by
664 Peter Haering). The default value for the option uses the newer
665 feature, which makes libraries generated using libtool compatible
666 with the standard builds of ncurses.
667 + updated test/configure to match configure script macros.
668 + fixes for configure script from lynx changes:
669 + improve CF_FIND_LINKAGE logic for the case where a function is
670 found in predefined libraries.
671 + revert part of change to CF_HEADER (cf: 20100424)
674 + correct limit-check in wredrawln, accounting for begy/begx values
675 (patch by David Benjamin).
676 + fix most compiler warnings from clang.
677 + amend build-fix for OpenSolaris, to ensure that a system header is
678 included in curses.h before testing feature symbols, since they
679 may be defined by that route.
682 + fix some strict compiler warnings in ncurses library.
683 + modify configure macro CF_HEADER_PATH to not look for variations in
684 the predefined include directories.
685 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work
686 with gcc 4.x's c89 alias, which gives warning messages for cases
687 where older versions would produce an error.
690 + modify _nc_capcmp() to work with cancelled strings.
691 + correct translation of "^" in _nc_infotocap(), used to transform
692 terminfo to termcap strings
693 + add configure --disable-rpath-hack, to allow disabling the feature
694 which adds rpath options for libraries in unusual places.
695 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given
696 directory was already added.
697 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of
698 directories (which will be ignored).
701 + improve win_driver.c handling of mouse:
702 + discard motion events
703 + avoid calling _nc_timed_wait when there is a mouse event
704 + handle 4th and "rightmost" buttons.
705 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for
706 cases where there are embedded blanks in the rpath option.
709 + add configure check for exctags vs ctags, to work around pkgsrc.
710 + simplify logic in _nc_get_screensize() to make it easier to see how
711 environment variables may override system- and terminfo-values
712 (prompted by discussion with Igor Bujna).
713 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose.
714 + improve handling of color-pairs embedded in attributes for the
715 extended-colors configuration.
716 + modify MKlib_gen.sh to build link_test with sp-funcs.
717 + build-fixes for OpenSolaris aka Solaris 11, for wide-character
718 configuration as well as for rpath feature in *-config scripts.
721 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more
723 + improve configure CF_REGEX, similar fixes.
724 + improve configure CF_FIND_LINKAGE, adding add check between system
725 (default) and explicit paths, where we can find the entrypoint in the
727 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is
728 normally suppressed but can be overridden using $NCURSES_GPM_TERMS.
729 Ensure that Gpm_Close() is called in this case.
732 + rename atari and st52 terminfo entries to atari-old, st52-old, use
733 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan
737 + modify install-rule for manpages so that *-config manpages will
738 install when building with --srcdir (report by Sven Joachim).
739 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks
740 option is not the same as --disable-leaks (GenToo #305889).
741 + modify #define's for build-compiler to suppress cchar_t symbol from
742 compile of make_hash and make_keys, improving cross-compilation of
743 ncursesw (report by Bernhard Rosenkraenzer).
744 + modify CF_MAN_PAGES configure macro to replace all occurrences of
745 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders
749 + generate manpages for the *-config scripts, adapted from help2man
750 (suggested by Sven Joachim).
751 + use va_copy() in _nc_printf_string() to avoid conflicting use of
752 va_list value in _nc_printf_length() (report by Wim Lewis).
755 + add Ada95/configure script, to use in tar-file created by
757 + fix typo in wresize.3x (patch by Tim van der Molen).
758 + modify screen-bce.XXX entries to exclude ech, since screen's color
759 model does not clear with color for that feature -TD
762 + add make-tar.sh scripts to Ada95 and test subdirectories to help with
763 making those separately distributable.
764 + build-fix for static libraries without dlsym (Debian #556378).
765 + fix a syntax error in man/form_field_opts.3x (patch by Ingo
769 + add several screen-bce.XXX entries -TD
772 + update mrxvt terminfo entry -TD
773 + modify win_driver.c to support mouse single-clicks.
774 + correct name for termlib in ncurses*-config, e.g., if it is renamed
775 to provide a single file for ncurses/ncursesw libraries (patch by
779 + use vfork in test/ditto.c if available (request by Mike Frysinger).
780 + miscellaneous cleanup of manpages.
781 + fix typo in curs_bkgd.3x (patch by Tim van der Molen).
782 + build-fix for --srcdir (patch by Miroslav Lichvar).
785 + for term-driver configuration, ensure that the driver pointer is
786 initialized in setupterm so that terminfo/termcap programs work.
787 + amend fix for Debian #542031 to ensure that wattrset() returns only
788 OK or ERR, rather than the attribute value (report by Miroslav
790 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making
791 _nc_screen_of() compatible between normal/wide libraries again (patch
793 + review/fix include-dependencies in modules files (report by Miroslav
797 + modify win_driver.c to initialize acs_map for win32 console, so
798 that line-drawing works.
799 + modify win_driver.c to initialize TERMINAL struct so that programs
800 such as test/lrtest.c and test/ncurses.c which test string
801 capabilities can run.
802 + modify term-driver modules to eliminate forward-reference
806 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS
807 consistently to add new -D's while removing duplicates.
808 + modify a few configure macros to consistently put new options
809 before older in the list.
810 + add tiparm(), based on review of X/Open Curses Issue 7.
811 + minor documentation cleanup.
812 + update config.guess, config.sub from
813 http://savannah.gnu.org/projects/config
814 (caveat - its maintainer put 2010 copyright date on files dated 2009)
817 + minor improvement to tic's checking of similar SGR's to allow for the
818 most common case of SGR 0.
819 + modify getmouse() to act as its documentation implied, returning on
820 each call the preceding event until none are left. When no more
821 events remain, it will return ERR.
824 + change order of lookup in progs/tput.c, looking for terminfo data
825 first. This fixes a confusion between termcap "sg" and terminfo
826 "sgr" or "sgr0", originally from 990123 changes, but exposed by
827 20091114 fixes for hashing. With this change, only "dl" and "ed" are
828 ambiguous (Mandriva #56272).
831 + add bterm terminfo entry, based on bogl 0.1.18 -TD
832 + minor fix to rxvt+pcfkeys terminfo entry -TD
833 + build-fixes for Ada95 tree for gnat 4.4 "style".
836 + remove old check in mvderwin() which prevented moving a derived
837 window whose origin happened to coincide with its parent's origin
838 (report by Katarina Machalkova).
839 + improve test/ncurses.c to put mouse droppings in the proper window.
840 + update minix terminfo entry -TD
841 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
844 + correct transfer of multicolumn characters in multirow
845 field_buffer(), which stopped at the end of the first row due to
846 filling of unused entries in a cchar_t array with nulls.
847 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
848 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character
850 + use strdup() in set_menu_mark(), restore .marklen struct member on
852 + eliminate clause 3 from the UCB copyrights in read_termcap.c and
854 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
855 (patch by Nicholas Marriott).
856 + replace a malloc in tic.c with strdup, checking for failure (patch by
858 + update config.guess, config.sub from
859 http://savannah.gnu.org/projects/config
862 + correct layout of working window used to extract data in
863 wide-character configured by set_field_buffer (patch by Rafael
865 + improve some limit-checks related to filename length in reading and
866 writing terminfo entries.
867 + ensure that filename is always filled in when attempting to read
868 a terminfo entry, so that infocmp can report the filename (patch
869 by Nicholas Marriott).
872 + modify mk-1st.awk to allow tinfo library to be built when term-driver
874 + add error-check to configure script to ensure that sp-funcs is
875 enabled if term-driver is, since some internal interfaces rely upon
879 + fix case where progs/tput is used while sp-funcs is configure; this
880 requires save/restore of out-character function from _nc_prescreen
881 rather than the SCREEN structure (report by Charles Wilson).
882 + fix typo in man/curs_trace.3x which caused incorrect symbolic links
883 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT.
887 + updated man/curs_trace.3x
888 + limit hashing for termcap-names to 2-characters (Ubuntu #481740).
889 + change a variable name in lib_newwin.c to make it clearer which
890 value is being freed on error (patch by Nicholas Marriott).
893 + improve test/ncurses.c color-cycling test by reusing attribute-
894 and color-cycling logic from the video-attributes screen.
895 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form
896 library which help make it compatible with interop applications
897 (patch by Juergen Pfeifer).
898 + add configure option --enable-interop, for integrating changes
899 for generic/interop support to form-library by Juergen Pfeifer
902 + modify use of $CC environment variable which is defined by X/Open
903 as a curses feature, to ignore it if it is not a single character
904 (prompted by discussion with Benjamin C W Sittler).
905 + add START_TRACE in slk_init
906 + fix a regression in _nc_ripoffline which made test/ncurses.c not show
907 soft-keys, broken in 20090927 merging.
908 + change initialization of "hidden" flag for soft-keys from true to
909 false, broken in 20090704 merging (Ubuntu #464274).
910 + update nsterm entries (patch by Benjamin C W Sittler, prompted by
911 discussion with Fabian Groffen in GenToo #206201).
912 + add test/xterm-256color.dat
915 + quiet some pedantic gcc warnings.
916 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
917 SIGWINCH, and discard that value, to avoid confusing application
918 (patch by Eygene Ryabinkin, FreeBSD bin/136223).
921 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in
922 a possibly colon-separated list (Debian #550716).
925 + supply a null-terminator to buffer in _nc_viswibuf().
926 + fix a sign-extension bug in unget_wch() (report by Mike Gran).
927 + minor fixes to error-returns in default function for tputs, as well
931 + add WACS_xxx definitions to wide-character configuration for thick-
932 and double-lines (discussion with Slava Zanko).
933 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
934 + add ccc and initc capabilities to xterm-16color -TD
935 > patch by Benjamin C W Sittler:
937 + correct initc capability of linux-c-nc end-of-range
938 + similar change for dg+ccc and dgunix+ccc
941 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since
942 that module since 20090711 is in libtinfo.
943 + add configure option --enable-term-driver, to allow compiling with
944 terminal-driver. That is used in MinGW port, and (being somewhat
945 more complicated) is an experimental alternative to the conventional
946 termlib internals. Currently, it requires the sp-funcs feature to
948 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses
949 library (some work remains for forms library).
952 + document return code from define_key (report by Mike Gran).
953 + make some symbolic links in the terminfo directory-tree shorter
954 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).).
955 + fix some groff warnings in terminfo.5, etc., from recent Debian
957 + change ncv and op capabilities in sun-color terminfo entry to match
958 Sun's entry for this (report by Laszlo Peter).
959 + improve interix smso terminfo capability by using reverse rather than
960 bold (report by Kristof Zelechovski).
963 + add some test programs (and make these use the same special keys
964 by sharing linedata.h functions):
968 test/test_add_wchstr.c
969 + correct internal _nc_insert_ch() to use _nc_insert_wch() when
970 inserting wide characters, since the wins_wch() function that it used
971 did not update the cursor position (report by Ciprian Craciun).
974 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not
976 + add null-pointer checks to other opaque-functions.
977 + add is_pad() and is_subwin() functions for opaque access to WINDOW
978 (discussion with Mark Dickinson).
979 + correct merge to lib_newterm.c, which broke when sp-funcs was
983 + build-fix for building outside source-tree (report by Sven Joachim).
984 + fix Debian lintian warning for man/tabs.1 by making section number
985 agree with file-suffix (report by Sven Joachim).
986 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
989 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on
990 amd64 (Debian #542031).
991 + fix typo in curs_mouse.3x (Debian #429198).
994 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
997 + correct use of terminfo capabilities for initializing soft-keys,
998 broken in 20090509 merging.
999 + modify wgetch() to ensure it checks SIGWINCH when it gets an error
1000 in non-blocking mode (patch by Clemens Ladisch).
1001 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to
1002 help with builds on non-Unix platforms such as OS/2 EMX.
1003 + modify scripting for misc/run_tic.sh to test configure script's
1004 $cross_compiling variable directly rather than comparing host/build
1005 compiler names (prompted by comment in GenToo #249363).
1006 + fix configure script option --with-database, which was coded as an
1008 + build-fixes for --srcdir (report by Frederic L W Meunier).
1011 + separate _nc_find_entry() and _nc_find_type_entry() from
1012 implementation details of hash function.
1015 + add tabs.1 to man/man_db.renames
1016 + modify lib_addch.c to compensate for removal of wide-character test
1017 from unctrl() in 20090704 (Debian #539735).
1020 + improve discussion in INSTALL for use of system's tic/infocmp for
1021 cross-compiling and building fallbacks.
1022 + modify test/demo_termcap.c to correspond better to options in
1023 test/demo_terminfo.c
1024 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1025 + fix logic for 'V' in test/ncurses.c tests f/F.
1028 + correct logic in tigetnum(), which caused tput program to treat all
1029 string capabilities as numeric (report by Rajeev V Pillai,
1033 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1036 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from
1038 + modify _nc_find_type_entry() to use hashing.
1039 + make CCHARW_MAX value configurable, noting that changing this would
1040 change the size of cchar_t, and would be ABI-incompatible.
1041 + modify test-programs, e.g,. test/view.c, to address subtle
1042 differences between Tru64/Solaris and HPUX/AIX getcchar() return
1044 + modify length returned by getcchar() to count the trailing null
1045 which is documented in X/Open (cf: 20020427).
1046 + fixes for test programs to build/work on HPUX and AIX, etc.
1049 + improve performance of tigetstr, etc., by using hashing code from tic.
1050 + minor fixes for memory-leak checking.
1051 + add test/demo_terminfo, for comparison with demo_termcap
1054 + remove wide-character checks from unctrl() (patch by Clemens Ladisch).
1055 + revise wadd_wch() and wecho_wchar() to eliminate dependency on
1057 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1060 + update llib-lncurses[wt] to use sp-funcs.
1061 + various code-fixes to build/work with --disable-macros configure
1063 + add several new files from Juergen Pfeifer which will be used when
1064 integration of "sp-funcs" is complete. This includes a port to
1068 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to
1069 make includes of term.h without curses.h work (report by "Nix").
1070 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1073 + fix a regression in lib_tputs.c, from ongoing merges.
1076 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1079 + fix an infinite recursion when adding a legacy-coding 8-bit value
1080 using insch() (report by Clemens Ladisch).
1081 + free home-terminfo string in del_curterm() (patch by Dan Weber).
1082 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1085 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1088 + work around antique BSD game's manipulation of stdscr, etc., versus
1089 SCREEN's copy of the pointer (Debian #528411).
1090 + add a cast to wattrset macro to avoid compiler warning when comparing
1091 its result against ERR (adapted from patch by Matt Kraii, Debian
1095 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1098 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1099 + add vwmterm terminfo entry (patch by Bryan Christ).
1102 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1105 + build fix for _nc_free_and_exit() change in 20090418 (report by
1109 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1112 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1113 This change finishes merging for menu and panel libraries, does
1114 part of the form library.
1117 + suppress configure check for static/dynamic linker flags for gcc on
1118 Darwin (report by Nelson Beebe).
1121 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
1122 function key definitions from emx-base for consistency -TD
1123 + correct missing final 'p' in pfkey capability of ansi.sys-old (report
1124 by Kalle Olavi Niemitalo).
1125 + improve test/ncurses.c 'F' test, show combining characters in color.
1126 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating
1127 a temporary variable.
1128 + use _nc_doalloc() rather than realloc() in a few places in ncurses
1129 library to avoid leak in out-of-memory condition (reports by William
1130 Egert and Martin Ettl based on cppcheck tool).
1131 + add --with-ncurses-wrap-prefix option to test/configure (discussion
1132 with Charles Wilson).
1133 + use ncurses*-config scripts if available for test/configure.
1134 + update test/aclocal.m4 and test/configure
1135 > patches by Charles Wilson:
1136 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
1137 version numbers (e.g. which include alphabetic chars, as well as
1138 digits, after the final '.').
1139 + improve use of -no-undefined option for libtool by setting an
1140 intermediate variable LT_UNDEF in the configure script, and then
1141 using that in the libtool link-commands.
1142 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
1143 from 2009031 changes.
1144 + improve mk-1st.awk script by writing separate cases for the
1145 LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
1146 termlib) is to be linked.
1147 + modify configure.in to allow broken-linker configurations, not just
1148 enable-reentrant, to set public wrap prefix.
1151 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to
1152 build with tic and term libraries (patch by Charles Wilson).
1153 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX
1154 (report by Charles Wilson).
1155 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list
1156 the form, menu or panel libraries (patch by Charles Wilson).
1157 + add configure option --with-wrap-prefix to allow setting the prefix
1158 for functions used to wrap global variables to something other than
1159 "_nc_" (discussion with Charles Wilson).
1162 + modify scripts to generate ncurses*-config and pc-files to add
1163 dependency for tinfo library (patch by Charles Wilson).
1164 + improve comparison of program-names when checking for linked flavors
1165 such as "reset" by ignoring the executable suffix (reports by Charles
1166 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing
1168 + suppress configure check for static/dynamic linker flags for gcc on
1169 Solaris 10, since gcc is confused by absence of static libc, and
1170 does not switch back to dynamic mode before finishing the libraries
1171 (reports by Joel Bertrand, Alan Pae).
1172 + minor fixes to Intel compiler warning checks in configure script.
1173 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works.
1174 + modify set_curterm() to make broken-linker configuration work with
1175 changes from 20090228 (report by Charles Wilson).
1178 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1179 + modify declaration of cur_term when broken-linker is used, but
1180 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson).
1183 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete).
1186 + add configure script --enable-sp-funcs to enable the new set of
1188 + start integrating patches by Juergen Pfeifer:
1189 + add extended functions which specify the SCREEN pointer for several
1190 curses functions which use the global SP (these are incomplete;
1191 some internals work is needed to complete these).
1192 + add special cases to configure script for MinGW port.
1195 + update several configure macros from lynx changes
1196 + append (not prepend) to CFLAGS/CPPFLAGS
1197 + change variable from PATHSEP to PATH_SEPARATOR
1198 + improve install-rules for pc-files (patch by Miroslav Lichvar).
1199 + make it work with $DESTDIR
1200 + create the pkg-config library directory if needed.
1203 + modify init_pair() to allow caller to create extra color pairs beyond
1204 the color_pairs limit, which use default colors (request by Emanuele
1206 + add misc/terminfo.tmp and misc/*.pc to "sources" rule.
1207 + fix typo "==" where "=" is needed in ncurses-config.in and
1208 gen-pkgconfig.in files (Debian #512161).
1211 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for
1212 *BSD's, without which "main" might be one of the shared library's
1213 dependencies (report/analysis by Ken Dickey).
1214 + modify waddch_literal(), updating line-pointer after a multicolumn
1215 character is found to not fit on the current row, and wrapping is
1216 done. Since the line-pointer was not updated, the wrapped
1217 multicolumn character was written to the beginning of the current row
1218 (cf: 20041023, reported by "Nick" regarding problem with ncmpc
1219 http://musicpd.org/mantis/bug_view_page.php?bug_id=1930).
1222 + add screen.Eterm terminfo entry (GenToo #124887) -TD
1223 + modify adacurses-config to look for ".ali" files in the adalib
1225 + correct install for Ada95, which omitted libAdaCurses.a used in
1227 + change install for adacurses-config to provide additional flavors
1228 such as adacursesw-config, for ncursesw (GenToo #167849).
1231 + remove undeveloped feature in ncurses-config.in for setting
1233 + recent change to ncurses-config.in did not take into account the
1234 --disable-overwrite option, which sets $includedir to the
1235 subdirectory and using just that for a -I option does not work - fix
1236 (report by Frederic L W Meunier).
1239 + modify gen-pkgconfig.in to eliminate a dependency on rpath when
1240 deciding whether to add $LIBS to --libs output; that should be shown
1241 for the ncurses and tinfo libraries without taking rpath into
1243 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
1244 used in static libraries (report by Marty Jack).
1247 + add a configure-time check to pick a suitable value for
1248 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).
1249 + add configure --with-pkg-config and --enable-pc-files options, along
1250 with misc/gen-pkgconfig.in which can be used to generate ".pc" files
1251 for pkg-config (request by Jan Engelhardt).
1252 + use $includedir symbol in misc/ncurses-config.in, add --includedir
1254 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a
1255 configure check to detect whether a "-" is needed before "ar"
1257 + update config.guess, config.sub from
1258 http://savannah.gnu.org/projects/config
1261 + modify mk-1st.awk to work with extra categories for tinfo library.
1262 + modify configure script to allow building shared libraries with gcc
1263 on AIX 5 or 6 (adapted from patch by Lital Natan).
1266 + modify to omit the opaque-functions from lib_gen.o when
1267 --disable-ext-funcs is used.
1268 + add test/clip_printw.c to illustrate how to use printw without
1270 + modify ncurses 'F' test to demo wborder_set() with colored lines.
1271 + modify ncurses 'f' test to demo wborder() with colored lines.
1274 + add check for failure to open hashed-database needed for db4.6
1276 + corrected --without-manpages option; previous change only suppressed
1277 the auxiliary rules install.man and uninstall.man
1278 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
1280 + fixes from NetBSD port at
1281 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
1282 patch-ac (build-fix for DragonFly)
1283 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
1284 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
1285 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
1287 + correct title string for keybound manpage (patch by Frederic Culot,
1288 OpenBSD documentation/6019),
1291 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
1292 work for progs/clear, progs/tabs, etc.
1293 + correct buffer-size after internal resizing of wide-character
1294 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
1295 + add "-i" option to test/filter.c to tell it to use initscr() rather
1296 than newterm(), to investigate report on comp.unix.programmer that
1297 ncurses would clear the screen in that case (it does not - the issue
1298 was xterm's alternate screen feature).
1299 + add check in mouse-driver to disable connection if GPM returns a
1300 zero, indicating that the connection is closed (Debian #506717,
1301 adapted from patch by Samuel Thibault).
1304 + improve a workaround in adding wide-characters, when a control
1305 character is found. The library (cf: 20040207) uses unctrl() to
1306 obtain a printable version of the control character, but was not
1307 passing color or video attributes.
1308 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
1309 display meta-characters.
1310 + turn on _XOPEN_CURSES definition in curses.h
1311 + add eterm-color entry (report by Vincent Lefevre) -TD
1312 + correct use of key_name() in test/ncurses.c 'A' test, which only
1313 displays wide-characters, not key-codes since 20070612 (report by
1317 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
1318 Ada95 (patch by Juergen Pfeifer).
1319 + document in TO-DO an issue with Cygwin's package for GNAT (report
1321 + improve error-checking of command-line options in "tabs" program.
1324 + change several terminfo entries to make consistent use of ANSI
1326 + add "tabs" program (prompted by Debian #502260).
1327 + add configure --without-manpages option (request by Mike Frysinger).
1329 20081102 5.7 release for upload to ftp.gnu.org
1332 + add a manpage to discuss memory leaks.
1333 + add support for shared libraries for QNX (other than libtool, which
1334 does not work well on that platform).
1335 + build-fix for QNX C++ binding.
1338 + build-fixes for OS/2 EMX.
1339 + modify form library to accept control characters such as newline
1340 in set_field_buffer(), which is compatible with Solaris (report by
1342 + modify configure script to assume --without-hashed-db when
1343 --disable-database is used.
1344 + add "-e" option in ncurses/Makefile.in when generating source-files
1345 to force earlier exit if the build environment fails unexpectedly
1346 (prompted by patch by Adrian Bunk).
1347 + change configure script to use CF_UTF8_LIB, improved variant of
1351 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
1352 original to teraterm2.3 -TD
1353 + update "gnome" terminfo to 2.22.3 -TD
1354 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
1355 + add "aterm" terminfo -TD
1356 + add "linux2.6.26" terminfo -TD
1357 + add logic to tic for cancelling strings in user-defined capabilities,
1361 + regenerated html documentation.
1362 + add -m and -s options to test/keynames.c and test/key_names.c to test
1363 the meta() function with keyname() or key_name(), respectively.
1364 + correct return value of key_name() on error; it is null.
1365 + document some unresolved issues for rpath and pthreads in TO-DO.
1366 + fix a missing prototype for ioctl() on OpenBSD in tset.c
1367 + add configure option --disable-tic-depends to make explicit whether
1368 tic library depends on ncurses/ncursesw library, amends change from
1369 20080823 (prompted by Debian #501421).
1372 + some build-fixes for configure --disable-ext-funcs (incomplete, but
1373 works for C/C++ parts).
1374 + improve configure-check for awks unable to handle large strings, e.g.
1375 AIX 5.1 whose awk silently gives up on large printf's.
1378 + fix build for --with-dmalloc by workaround for redefinition of
1379 strndup between string.h and dmalloc.h
1380 + fix build for --disable-sigwinch
1381 + add environment variable NCURSES_GPM_TERMS to allow override to use
1382 GPM on terminals other than "linux", etc.
1383 + disable GPM mouse support when $TERM does not happen to contain
1384 "linux", since Gpm_Open() no longer limits its assertion to terminals
1385 that it might handle, e.g., within "screen" in xterm.
1386 + reset mouse file-descriptor when unloading GPM library (report by
1388 + fix build for --disable-leaks --enable-widec --with-termlib
1389 > patch by Juergen Pfeifer:
1390 + use improved initialization for soft-label keys in Ada95 sample code.
1391 + discard internal symbol _nc_slk_format (unused since 20080112).
1392 + move call of slk_paint_info() from _nc_slk_initialize() to
1393 slk_intern_refresh(), improving initialization.
1396 + fix bug in mouse code for GPM from 20080920 changes (reported in
1397 Debian #500103, also Miroslav Lichvar).
1400 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
1401 + fix a memory leak when failure to connect to GPM.
1402 + correct check for notimeout() in wgetch() (report on linux.redhat
1403 newsgroup by FurtiveBertie).
1404 + add an example warning-suppression file for valgrind,
1405 misc/ncurses.supp (based on example from Reuben Thomas)
1408 + change shared-library configuration for OpenBSD, make rpath work.
1409 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
1412 + corrected fix for --enable-weak-symbols (report by Frederic L W
1416 + corrected gcc options for building shared libraries on IRIX64.
1417 + add configure check for awk programs unable to handle big-strings,
1418 use that to improve the default for --enable-big-strings option.
1419 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
1421 + update test/configure script.
1422 + adapt ifdef's from library to make test/view.c build when mbrtowc()
1423 is unavailable, e.g., with HPUX 10.20.
1424 + add configure check for wcsrtombs, mbsrtowcs, which are used in
1425 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
1426 fixing build of ncursew for HPUX 11.00
1429 + fixes to make Ada95 demo_panels() example work.
1430 + modify Ada95 'rain' test program to accept keyboard commands like the
1432 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
1434 + add configure-check to see if the std namespace is legal for cerr
1435 and endl, to fix a build issue with Tru64.
1436 + consistently use NCURSES_BOOL in lib_gen.c
1437 + filter #line's from lib_gen.c
1438 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
1439 substitution by IBM xlc to '#' as part of its extensions to digraphs.
1440 + update config.guess, config.sub from
1441 http://savannah.gnu.org/projects/config
1442 (caveat - its maintainer removed support for older Linux systems).
1445 + modify configure check for pthread library to work with OSF/1 5.1,
1446 which uses #define's to associate its header and library.
1447 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
1448 makes threaded code work on HPUX 11.23
1449 + fix a bug in demo_menus in freeing menus (cf: 20080804).
1450 + modify configure script for the case where tic library is used (and
1451 possibly renamed) to remove its dependency upon ncurses/ncursew
1452 library (patch by Dr Werner Fink).
1453 + correct manpage for menu_fore() which gave wrong default for
1454 the attribute used to display a selected entry (report by Mike Gran).
1455 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
1459 + add configure option --enable-weak-symbols to turn on new feature.
1460 + add configure-check for availability of weak symbols.
1461 + modify linkage with pthread library to use weak symbols so that
1462 applications not linked to that library will not use the mutexes,
1463 etc. This relies on gcc, and may be platform-specific (patch by Dr
1465 + add note to INSTALL to document limitation of renaming of tic library
1466 using the --with-ticlib configure option (report by Dr Werner Fink).
1467 + document (in manpage) why tputs does not detect I/O errors (prompted
1468 by comments by Samuel Thibault).
1469 + fix remaining warnings from Klocwork report.
1472 + modify _nc_panelhook() data to account for a permanent memory leak.
1473 + fix memory leaks in test/demo_menus
1474 + fix most warnings from Klocwork tool (report by Larry Zhou).
1475 + modify configure script CF_XOPEN_SOURCE macro to add case for
1476 "dragonfly" from xterm #236 changes.
1477 + modify configure script --with-hashed-db to let $LIBS override the
1478 search for the db library (prompted by report by Samson Pierre).
1481 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
1485 + build-fix (reports by Christian Ebert, Funda Wang).
1488 + compiler-warning fixes for Solaris.
1491 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
1492 make those work properly with the "--enable-ext-mouse" configuration
1494 + improve documentation of build-cc options in INSTALL.
1495 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
1496 -static/-dynamic flags properly to linker, causing test/bs to
1500 + correct some ifdef's needed for the broken-linker configuration.
1501 + make debugging library's $BAUDRATE feature work for termcap
1503 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
1504 by comment on FreeBSD mailing list).
1505 + add screen.mlterm terminfo entry -TD
1506 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
1509 + regenerated html documentation.
1510 + expand manpage description of parameters for form_driver() and
1511 menu_driver() (prompted by discussion with Adam Spragg).
1512 + add null-pointer checks for cur_term in baudrate() and
1513 def_shell_mode(), def_prog_mode()
1514 + fix some memory leaks in delscreen() and wide acs.
1517 + modify test/ditto.c to illustrate multi-threaded use_screen().
1518 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
1519 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
1523 + finish changes to wgetch(), making it switch as needed to the
1524 window's actual screen when calling wrefresh() and wgetnstr(). That
1525 allows wgetch() to get used concurrently in different threads with
1526 some minor restrictions, e.g., the application should not delete a
1527 window which is being used in a wgetch().
1528 + simplify mutex's, combining the window- and screen-mutex's.
1531 + modify wgetch() to use the screen which corresponds to its window
1532 parameter rather than relying on SP; some dependent functions still
1534 + factor out most use of SP in lib_mouse.c, using parameter.
1535 + add internal _nc_keyname(), replacing keyname() to associate with a
1536 particular SCREEN rather than the global SP.
1537 + add internal _nc_unctrl(), replacing unctrl() to associate with a
1538 particular SCREEN rather than the global SP.
1539 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
1540 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
1541 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
1542 preference to the global _nc_globals.tracechr_buf buffer.
1545 + modify _nc_keypad() to make it switch temporarily as needed to the
1546 screen which must be updated.
1547 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
1548 always set the screen's copy of this variable in set_curterm().
1549 + restore curs_set() state after endwin()/refresh() (report/patch
1553 + modify configure script to note that --enable-ext-colors and
1554 --enable-ext-mouse are not experimental, but extensions from
1556 + corrected manpage description of setcchar() (discussion with
1557 Emanuele Giaquinta).
1558 + fix for adding a non-spacing character at the beginning of a line
1559 (report/patch by Miroslav Lichvar).
1562 + modify screen.* terminfo entries using new screen+fkeys to fix
1563 overridden keys in screen.rxvt (Debian #478094) -TD
1564 + modify internal interfaces to reduce wgetch()'s dependency on the
1566 + simplify some loops with macros each_screen(), each_window() and
1570 + continue modifying test/ditto.c toward making it demonstrate
1571 multithreaded use_screen(), using fifos to pass data between screens.
1572 + fix typo in form.3x (report by Mike Gran).
1575 + add screen.rxvt terminfo entry -TD
1576 + modify tic -f option to format spaces as \s to prevent them from
1577 being lost when that is read back in unformatted strings.
1578 + improve test/ditto.c, using a "talk"-style layout.
1581 + change test/ditto.c to use openpty() and xterm.
1582 + add locks for copywin(), dupwin(), overlap(), overlay() on their
1584 + add locks for initscr() and newterm() on updates to the SCREEN
1586 + finish table in curs_thread.3x manpage.
1589 + begin table in curs_thread.3x manpage describing the scope of data
1590 used by each function (or symbol) for threading analysis.
1591 + add null-pointer checks to setsyx() and getsyx() (prompted by
1592 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
1593 python-dev2 mailing list).
1596 + add null-pointer checks in set_term() and delscreen().
1597 + move _nc_windows into _nc_globals, since windows can be pads, which
1598 are not associated with a particular screen.
1599 + change use_screen() to pass the SCREEN* parameter rather than
1600 stdscr to the callback function.
1601 + force libtool to use tag for 'CC' in case it does not detect this,
1602 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
1603 (report/patch by Michael Haubenwallner).
1604 + override OBJEXT to "lo" when building with libtool, to work on
1605 platforms such as AIX where libtool may use a different suffix for
1606 the object files than ".o" (report/patch by Michael Haubenwallner).
1607 + add configure --with-pthread option, for building with the POSIX
1611 + fill in extended-color pair two more places in wbkgrndset() and
1612 waddch_nosync() (prompted by Sedeno's patch).
1613 + fill in extended-color pair in _nc_build_wch() to make colors work
1614 for wide-characters using extended-colors (patch by Alejandro R
1616 + add x/X toggles to ncurses.c C color test to test/demo
1617 wide-characters with extended-colors.
1618 + add a/A toggles to ncurses.c c/C color tests.
1619 + modify test/ditto.c to use use_screen().
1620 + finish modifying test/rain.c to demonstrate threads.
1623 + start modifying test/rain.c for threading demo.
1624 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
1625 that the 'F' accepts.
1626 + modify test/worm.c to show trail in reverse-video when other threads
1627 are working concurrently.
1628 + fix a deadlock from improper nesting of mutexes for windowlist and
1632 + fixes from 20080223 resolved issue with mutexes; change to use
1633 recursive mutexes to fix memory leak in delwin() as called from
1634 _nc_free_and_exit().
1637 + fix a size-difference in _nc_globals which caused hanging of mutex
1638 lock/unlock when termlib was built separately.
1641 + avoid using nanosleep() in threaded configuration since that often
1642 is implemented to suspend the entire process.
1645 + update test programs to build/work with various UNIX curses for
1646 comparisons. This was to reinvestigate statement in X/Open curses
1647 that insnstr and winsnstr perform wrapping. None of the Unix-branded
1648 implementations do this, as noted in manpage (cf: 20040228).
1651 + modify _nc_setupscreen() to set the legacy-coding value the same
1652 for both narrow/wide models. It had been set only for wide model,
1653 but is needed to make unctrl() work with locale in the narrow model.
1654 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
1655 using unctrl() to display illegal bytes rather than trying to append
1656 further bytes to make up a valid sequence (reported by Andrey A
1658 + modify unctrl() to check codes in 128-255 range versus isprint().
1659 If they are not printable, and locale was set, use a "M-" or "~"
1663 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
1664 handling). Now it hangs in napms(), no matter whether nanosleep()
1665 or poll() or select() are used on Linux.
1668 + fixes to build with --disable-ext-funcs
1669 + add manpage for use_window and use_screen.
1670 + add set_tabsize() and set_escdelay() functions.
1673 + remove recursive-mutex definitions, finish threading demo for worm.c
1674 + remove a redundant adjustment of lines in resizeterm.c's
1675 adjust_window() which caused occasional misadjustment of stdscr when
1679 + several improvements to terminfo entries based on xterm #230 -TD
1680 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
1681 "link_test" builds properly.
1682 + fix for toe command-line options -u/-U to ensure filename is given.
1683 + fix allocation-size for command-line parsing in infocmp from 20070728
1684 (report by Miroslav Lichvar)
1685 + improve resizeterm() by moving ripped-off lines, and repainting the
1686 soft-keys (report by Katarina Machalkova)
1687 + add clarification in wclear's manpage noting that the screen will be
1688 cleared even if a subwindow is cleared (prompted by Christer Enfors
1690 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
1693 + continue implementing support for threading demo by adding mutex
1697 + add several functions to C++ binding which wrap C functions that
1698 pass a WINDOW* parameter (request by Chris Lee).
1701 + add note about configure options needed for Berkeley database to the
1703 + improve checks for version of Berkeley database libraries.
1704 + amend fix for rpath to not modify LDFLAGS if the platform has no
1705 applicable transformation (report by Christian Ebert, cf: 20071124).
1708 + modify configure option --with-hashed-db to accept a parameter which
1709 is the install-prefix of a given Berkeley Database (prompted by
1710 pierre4d2 comments).
1711 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
1712 used in the form library to determine the length of the buffer needed
1713 by field_buffer (report by Alfred Fung).
1714 + remove unneeded window-parameter from C++ binding for wresize (report
1718 + modify the support for filesystems which do not support mixed-case to
1719 generate 2-character (hexadecimal) codes for the lower-level of the
1720 filesystem terminfo database (request by Michail Vidiassov).
1721 + add configure option --enable-mixed-case, to allow overriding the
1722 configure script's check if the filesystem supports mixed-case
1724 + add wresize() to C++ binding (request by Chris Lee).
1725 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
1726 it simpler to tell if the extended functions and/or colors are
1730 + update memory-leak checks for changes to names.c and codes.c
1731 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
1734 + continue implementing support for threading demo by adding mutex
1736 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
1738 + compile with FreeBSD "contemporary" TTY interface (patch by
1742 + modify makefile rules to allow clear, tput and tset to be built
1743 without libtic. The other programs (infocmp, tic and toe) rely on
1745 + add/modify null-pointer checks in several functions for SP and/or
1746 the WINDOW* parameter (report by Thorben Krueger).
1747 + fixes for field_buffer() in formw library (see Redhat Bugzilla
1748 #310071, patches by Miroslav Lichvar).
1749 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
1751 + update/improve mlterm and rxvt terminfo entries, e.g., for
1752 the modified cursor- and keypad-keys -TD
1755 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
1756 changes the CharEq() macro to an inline function to allow comparing
1757 cchar_t struct's without comparing gaps in a possibly unpacked
1758 memory layout (report by Miroslav Lichvar).
1761 + add new functions to lib_trace.c to setup mutex's for the _tracef()
1762 calls within the ncurses library.
1763 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
1765 + start modifying test/worm.c to provide threading demo (incomplete).
1766 + separated ifdef's for some BSD-related symbols in tset.c, to make
1767 it compile on LynxOS (report by Greg Gemmer).
1769 + modify Ada95/gen/Makefile to use shlib script, to simplify building
1770 shared-library configuration on platforms lacking rpath support.
1771 + build-fix for Ada95/src/Makefile to reflect changed dependency for
1772 the terminal-interface-curses-aux.adb file which is now generated.
1773 + restructuring test/worm.c, for use_window() example.
1776 + add use_window() and use_screen() functions, to develop into support
1777 for threaded library (incomplete).
1778 + fix typos in man/curs_opaque.3x which kept the install script from
1779 creating symbolic links to two aliases created in 20070818 (report by
1783 + remove a spurious newline from output of html.m4, which caused links
1784 for Ada95 html to be incorrect for the files generated using m4.
1785 + start investigating mutex's for SCREEN manipulation (incomplete).
1786 + minor cleanup of codes.c/names.c for --enable-const
1787 + expand/revise "Routine and Argument Names" section of ncurses manpage
1788 to address report by David Givens in newsgroup discussion.
1789 + fix interaction between --without-progs/--with-termcap configure
1790 options (report by Michail Vidiassov).
1791 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
1794 + fix a sign-extension bug in infocmp's repair_acsc() function
1796 + fix old configure script bug which prevented "--disable-warnings"
1797 option from working (patch by Mike Frysinger).
1800 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
1801 + modify comp_hash.c's string output to avoid misinterpreting a null
1802 "\0" followed by a digit.
1803 + modify MKnames.awk and MKcodes.awk to support big-strings.
1804 This only applies to the cases (broken linker, reentrant) where
1805 the corresponding arrays are accessed via wrapper functions.
1806 + split MKnames.awk into two scripts, eliminating the shell redirection
1807 which complicated the make process and also the bogus timestamp file
1808 which was introduced to fix "make -j".
1809 + add test/test_opaque.c, test/test_arrays.c
1810 + add wgetscrreg() and wgetparent() for applications that may need it
1811 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
1814 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
1815 unless "-T" is given (cf: 981017).
1816 + modify comp_captab.c generation to use big-strings.
1817 + make _nc_capalias_table and _nc_infoalias_table private accessed via
1818 _nc_get_alias_table() since the tables are used only within the tic
1820 + modify configure script to skip Intel compiler in CF_C_INLINE.
1821 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
1822 _nc_get_hash_table() since the tables are used only within the tic
1826 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
1827 _nc_get_alias_table() since they are used only by parse_entry.c
1828 + make _nc_key_names private since it is used only by lib_keyname.c
1829 + add --disable-big-strings configure option to control whether
1830 unctrl.c is generated using the big-string optimization - which may
1831 use strings longer than supported by a given compiler.
1832 + reduce relocation tables for tic, infocmp by changing type of
1833 internal hash tables to short, and make those private symbols.
1834 + eliminate large fixed arrays from progs/infocmp.c
1837 + change winnstr() to stop at the end of the line (cf: 970315).
1838 + add test/test_get_wstr.c
1839 + add test/test_getstr.c
1840 + add test/test_inwstr.c
1841 + add test/test_instr.c
1844 + restore a call to obtain screen-size in _nc_setupterm(), which
1845 is used in tput and other non-screen applications via setupterm()
1846 (Debian #433357, reported by Florent Bayle, Christian Ohm,
1850 + add test/savescreen.c test-program
1851 + add check to trace-file open, if the given name is a directory, add
1852 ".log" to the name and try again.
1853 + add konsole-256color entry -TD
1854 + add extra gcc warning options from xterm.
1855 + minor fixes for ncurses/hashmap test-program.
1856 + modify configure script to quiet c++ build with libtool when the
1857 --disable-echo option is used.
1858 + modify configure script to disable ada95 if libtool is selected,
1859 writing a warning message (addresses FreeBSD ports/114493).
1860 + update config.guess, config.sub
1863 + add continuous-move "M" to demo_panels to help test refresh changes.
1864 + improve fix for refresh of window on top of multi-column characters,
1865 taking into account some split characters on left/right window
1869 + add "widec" row to _tracedump() output to help diagnose remaining
1870 problems with multi-column characters.
1871 + partial fix for refresh of window on top of multi-column characters
1872 which are partly overwritten (report by Sadrul H Chowdhury).
1873 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
1874 multi-column extension bits are passed there.
1875 + add setlocale() call to demo_panels.c, needed for wide-characters.
1876 + add some output flags to _nc_trace_ttymode to help diagnose a bug
1877 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
1880 + add test/demo_panels.c
1881 + implement opaque version of setsyx() and getsyx().
1884 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
1886 + split-out key_name() from MKkeyname.awk since it now depends upon
1887 wunctrl() which is not in libtinfo (report by Rong-En Fan).
1890 + add test/key_name.c
1891 + add stdscr cases to test/inchs.c and test/inch_wide.c
1892 + update test/configure
1893 + correct formatting of DEL (0x7f) in _nc_vischar().
1894 + null-terminate result of wunctrl().
1895 + add null-pointer check in key_name() (report by Andreas Krennmair,
1899 + adapt mouse-handling code from menu library in form-library
1900 (discussion with Clive Nicolson).
1901 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
1902 illustrate how to use mvcur().
1903 + modify wide-character flavor of SetAttr() to preserve the
1904 WidecExt() value stored in the .attr field, e.g., in case it
1905 is overwritten by chgat (report by Aleksi Torhamo).
1906 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
1907 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
1910 + modify keyname() to use "^X" form only if meta() has been called, or
1911 if keyname() is called without initializing curses, e.g., via
1912 initscr() or newterm() (prompted by LinuxBase #1604).
1913 + document some portability issues in man/curs_util.3x
1914 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
1915 broken by moving that data into SCREEN (cf: 20061230).
1918 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
1919 problem reported by Sadrul H Chowdhury with repainting parts of
1921 + modify slk_init() so that if there are preceding calls to
1922 ripoffline(), those affect the available lines for soft-keys (adapted
1923 from patch by Clive Nicolson).
1924 + document some portability issues in man/curs_getyx.3x
1927 + fix a bug in Ada95/samples/ncurses which caused a variable to
1928 become uninitialized in the "b" test.
1929 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
1930 movement of files, fix a few incorrect manpage references in the
1932 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
1934 + correct some functions in Ada95 binding which were using return value
1935 from C where none was returned: idcok(), immedok() and wtimeout().
1936 + amend recent changes for Ada95 binding to make it build with
1937 Cygwin's linker, e.g., with configure options
1938 --enable-broken-linker --with-ticlib
1941 + add a configure check for gcc's options for inlining, use that to
1942 quiet a warning message where gcc's default behavior changed from
1944 + improve warning message when checking if GPM is linked to curses
1945 library by not warning if its use of "wgetch" is via a weak symbol.
1946 + add loader options when building with static libraries to ensure that
1947 an installed shared library for ncurses does not conflict. This is
1948 reported as problem with Tru64, but could affect other platforms
1949 (report Martin Mokrejs, analysis by Tim Mooney).
1950 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
1951 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
1952 + revert a change from 20070303 which commented out dependency of
1953 SHLIB_LIST in form/menu/panel/c++ libraries.
1954 + fix initialization of ripoff stack pointer (cf: 20070421).
1957 + move most static variables into structures _nc_globals and
1958 _nc_prescreen, to simplify storage.
1959 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
1960 type for data manipulated by signal handlers (prompted by comments
1961 in mailing.openbsd.bugs newsgroup).
1962 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
1963 to the libtool create- and link-operations.
1966 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
1967 the installed aliases (report by Peter Santoro).
1968 + fix configure script to not try to generate adacurses-config when
1969 Ada95 tree is not built.
1972 + add man/curs_legacy.3x, man/curs_opaque.3x
1973 + fix acs_map binding for Ada95 when --enable-reentrant is used.
1974 + add adacurses-config to the Ada95 install, based on version from
1975 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
1976 comment on comp.lang.ada newsgroup).
1977 + fix includes in c++ binding to build with Intel compiler
1979 + update install rule in Ada95 to use mkdirs.sh
1980 > other fixes prompted by inspection for Coverity report:
1981 + modify ifdef's for c++ binding to use try/catch/throw statements
1982 + add a null-pointer check in tack/ansi.c request_cfss()
1983 + fix a memory leak in ncurses/base/wresize.c
1984 + corrected check for valid memu/meml capabilities in
1985 progs/dump_entry.c when handling V_HPUX case.
1986 > fixes based on Coverity report:
1987 + remove dead code in test/bs.c
1988 + remove dead code in test/demo_defkey.c
1989 + remove an unused assignment in progs/infocmp.c
1990 + fix a limit check in tack/ansi.c tools_charset()
1991 + fix tack/ansi.c tools_status() to perform the VT320/VT420
1992 tests in request_cfss(). The function had exited too soon.
1993 + fix a memory leak in tic.c's make_namelist()
1994 + fix a couple of places in tack/output.c which did not check for EOF.
1995 + fix a loop-condition in test/bs.c
1996 + add index checks in lib_color.c for color palettes
1997 + add index checks in progs/dump_entry.c for version_filter() handling
1999 + fix a possible null-pointer dereference in copywin()
2000 + fix a possible null-pointer dereference in waddchnstr()
2001 + add a null-pointer check in _nc_expand_try()
2002 + add a null-pointer check in tic.c's make_namelist()
2003 + add a null-pointer check in _nc_expand_try()
2004 + add null-pointer checks in test/cardfile.c
2005 + fix a double-free in ncurses/tinfo/trim_sgr0.c
2006 + fix a double-free in ncurses/base/wresize.c
2007 + add try/catch block to c++/cursesmain.cc
2010 + modify Ada95 binding to build with --enable-reentrant by wrapping
2011 global variables (bug: acs_map does not yet work).
2012 + modify Ada95 binding to use the new access-functions, allowing it
2013 to build/run when NCURSES_OPAQUE is set.
2014 + add access-functions and macros to return properties of the WINDOW
2015 structure, e.g., when NCURSES_OPAQUE is set.
2016 + improved install-sh's quoting.
2017 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
2021 + eliminate part of the direct use of WINDOW data from Ada95 interface.
2022 + fix substitutions for termlib filename to make configure option
2023 --enable-reentrant work with --with-termlib.
2024 + change a constructor for NCursesWindow to allow compiling with
2025 NCURSES_OPAQUE set, since we cannot pass a reference to
2029 + ignore --with-chtype=unsigned since unsigned is always added to
2030 the type in curses.h; do the same for --with-mmask-t.
2031 + change warning regarding --enable-ext-colors and wide-character
2032 in the configure script to an error.
2033 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
2034 such as Darwin's libtool program (report by Michail Vidiassov)
2035 + modify edit_man.sh to allow for multiple substitutions per line.
2036 + set locale in misc/ncurses-config.in since it uses a range
2037 + change permissions libncurses++.a install (report by Michail
2039 + corrected length of temporary buffer in wide-character version
2040 of set_field_buffer() (related to report by Bryan Christ).
2043 + fix mk-1st.awk script install_shlib() function, broken in 20070224
2044 changes for cygwin (report by Michail Vidiassov).
2047 + increase size of array in _nc_visbuf2n() to make "tic -v" work
2048 properly in its similar_sgr() function (report/analysis by Peter
2050 + add --enable-reentrant configure option for ongoing changes to
2051 implement a reentrant version of ncurses:
2052 + libraries are suffixed with "t"
2053 + wrap several global variables (curscr, newscr, stdscr, ttytype,
2054 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
2055 functions returning values stored in SCREEN or cur_term.
2056 + move some initialization (LINES, COLS) from lib_setup.c,
2057 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
2060 + regenerated html documentation.
2061 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
2062 opaque in selected configurations.
2063 + move the chunk in lib_acs.c which resets acs capabilities when
2064 running on a terminal whose locale interferes with those into
2065 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
2066 identical (requested by Miroslav Lichvar).
2067 + do not use configure variable SHLIB_LIBS for building libraries
2068 outside the ncurses directory, since that symbol is customized
2069 only for that directory, and using it introduces an unneeded
2070 dependency on libdl (requested by Miroslav Lichvar).
2071 + modify mk-1st.awk so the generated makefile rules for linking or
2072 installing shared libraries do not first remove the library, in
2073 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
2075 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
2076 (prompted by newsgroup comment by Nick Guenther).
2079 + change internal return codes of _nc_wgetch() to check for cases
2080 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
2081 ungetch'd, and read by wget_wch().
2082 + fix static-library build broken in 20070217 changes to remove "-ldl"
2083 (report by Miroslav Lichvar).
2084 + change makefile/scripts for cygwin to allow building termlib.
2085 + use Form_Hook in manpages to match form.h
2086 + use Menu_Hook in manpages, as well as a few places in menu.h
2087 + correct form- and menu-manpages to use specific Field_Options,
2088 Menu_Options and Item_Options types.
2089 + correct prototype for _tracechar() in manpage (cf: 20011229).
2090 + correct prototype for wunctrl() in manpage.
2093 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
2095 + modify relinking of shared libraries to apply only when rpath is
2096 enabled, and add --disable-relink option which can be used to
2097 disable the feature altogether (reports by Michail Vidiassov,
2099 + fix --with-termlib option for wide-character configuration, stripping
2100 the "w" suffix in one place (report by Miroslav Lichvar).
2101 + remove "-ldl" from some library lists to reduce dependencies in
2102 programs (report by Miroslav Lichvar).
2103 + correct description of --enable-signed-char in configure --help
2104 (report by Michail Vidiassov).
2105 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
2106 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
2108 + remove "${DESTDIR}" from -install_name option used for linking
2109 shared libraries on Darwin (report by Michail Vidiassov).
2112 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
2113 + remove libdl from library list for termlib (report by Miroslav
2115 + fix configure.in to allow --without-progs --with-termlib (patch by
2117 + modify win_wchnstr() to ensure that only a base cell is returned
2118 for each multi-column character (prompted by report by Wei Kong
2119 regarding change in mvwin_wch() cf: 20041023).
2122 + modify fix_wchnstr() in form library to strip attributes (and color)
2123 from the cchar_t array (field cells) read from a field's window.
2124 Otherwise, when copying the field cells back to the window, the
2125 associated color overrides the field's background color (report by
2127 + improve tracing for form library, showing created forms, fields, etc.
2128 + ignore --enable-rpath configure option if --with-shared was omitted.
2129 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
2130 to allow leak-checking when both tic- and tinfo-libraries are built.
2131 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
2132 no longer relies on it.
2133 + disallow combining configure script options --with-ticlib and
2134 --enable-termcap (report by Rong-En Fan).
2135 + remove tack from ncurses tree.
2138 + fix typo in configure script that broke --with-termlib option
2139 (report by Rong-En Fan).
2142 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
2143 to tgetent() (report by Rong-en Fan).
2144 + update tack/HISTORY and tack/README to tell how to build it after
2145 it is removed from the ncurses tree.
2146 + fix configure check for libtool's version to trim blank lines
2147 (report by sci-fi@hush.ai).
2148 + review/eliminate other original-file artifacts in cursesw.cc, making
2149 its license consistent with ncurses.
2150 + use ncurses vw_scanw() rather than reading into a fixed buffer in
2151 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
2152 + eliminate fixed-buffer vsprintf() calls in c++ binding.
2155 + add _nc_leaks_tic() to separate leak-checking of tic library from
2156 term/ncurses libraries, and thereby eliminate a library dependency.
2157 + fix test/mk-test.awk to ignore blank lines.
2158 + correct paths in include/headers, for --srcdir (patch by Miroslav
2162 + add a break-statement in misc/shlib to ensure that it exits on the
2163 _first_ matched directory (report by Paul Novak).
2164 + add tack/configure, which can be used to build tack outside the
2166 + add --with-ticlib option, to build/install the tic-support functions
2167 in a separate library (suggested by Miroslav Lichvar).
2170 + change MKunctrl.awk to reduce relocation table for unctrl.o
2171 + change MKkeyname.awk to reduce relocation table for keyname.o
2172 (patch by Miroslav Lichvar).
2175 + modify configure check for libtool's version to trim blank lines
2176 (report by sci-fi@hush.ai).
2177 + modify some modules to allow them to be reentrant if _REENTRANT is
2178 defined: lib_baudrate.c, resizeterm.c (local data only)
2179 + eliminate static data from some modules: add_tries.c, hardscroll.c,
2180 lib_ttyflags.c, lib_twait.c
2181 + improve manpage install to add aliases for the transformed program
2182 names, e.g., from --program-prefix.
2183 + used linklint to verify links in the HTML documentation, made fixes
2184 to manpages as needed.
2185 + fix a typo in curs_mouse.3x (report by William McBrine).
2186 + fix install-rule for ncurses5-config to make the bin-directory.
2189 + modify configure script to omit the tic (terminfo compiler) support
2190 from ncurses library if --without-progs option is given.
2191 + modify install rule for ncurses5-config to do this via "install.libs"
2192 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
2193 + update config.guess, config.sub
2195 20061217 5.6 release for upload to ftp.gnu.org
2198 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
2199 definitions in <wchar.h>.
2200 + revert the va_copy() change from 20061202, since it was neither
2201 correct nor portable.
2202 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
2204 + ignore wide-acs line-drawing characters that wcwidth() claims are
2205 not one-column. This is a workaround for Solaris' broken locale
2209 + modify configure --with-gpm option to allow it to accept a parameter,
2210 i.e., the name of the dynamic GPM library to load via dlopen()
2211 (requested by Bryan Henderson).
2212 + add configure option --with-valgrind, changes from vile.
2213 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
2214 'return' in preference to 'exit()'.
2217 + change default for --with-develop back to "no".
2218 + add XTABS to tracing of TTY bits.
2219 + updated autoconf patch to ifdef-out the misfeature which declares
2220 exit() for configure tests. This fixes a redefinition warning on
2222 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
2223 Solaris to help ensure that initialization sections are provided for
2224 extra linkage requirements, e.g., of C++ applications (prompted by
2225 comment by Casper Dik in newsgroup).
2226 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
2227 from the autoconf predefined symbol. There was no conflict,
2228 since "$target" was used only in the generated edit_man.sh file,
2229 but SuSE's rpm package contains a patch.
2232 + update man/term.5 to reflect extended terminfo support and hashed
2233 database configuration.
2234 + updates for test/configure script.
2235 + adapted from SuSE rpm package:
2236 + remove long-obsolete workaround for broken-linker which declared
2238 + improve error recovery in PUTC() macro when wcrtomb() does not
2239 return usable results for an 8-bit character.
2240 + patches from rpm package (SuSE):
2241 + use va_copy() in extra varargs manipulation for tracing version
2243 + use a va_list rather than a null in _nc_freeall()'s call to
2244 _nc_printf_string().
2245 + add some see-also references in manpages to show related
2246 wide-character functions (suggested by Claus Fischer).
2249 + add a check in lib_color.c to ensure caller does not increase COLORS
2250 above max_colors, which is used as an array index (discussion with
2252 + add ifdef's allowing ncurses to be built with tparm() using either
2253 varargs (the existing status), or using a fixed-parameter list (to
2257 + fix redrawing of windows other than stdscr using wredrawln() by
2258 touching the corresponding rows in curscr (discussion with Dan
2261 + add test/echochar.c
2262 + review/cleanup manpage descriptions of error-returns for form- and
2263 menu-libraries (prompted by FreeBSD docs/46196).
2266 + add AUTHORS file -TD
2267 + omit the -D options from output of the new config script --cflags
2268 option (suggested by Ralf S Engelschall).
2269 + make NCURSES_INLINE unconditionally defined in curses.h
2272 + revert change to accommodate bash 3.2, since that breaks other
2273 platforms, e.g., Solaris.
2274 + minor fixes to NEWS file to simplify scripting to obtain list of
2276 + improve some shared-library configure scripting for Linux, FreeBSD
2277 and NetBSD to make "--with-shlib-version" work.
2278 + change configure-script rules for FreeBSD shared libraries to allow
2279 for rpath support in versions past 3.
2280 + use $(DESTDIR) in makefile rules for installing/uninstalling the
2281 package config script (reports/patches by Christian Wiese,
2282 Ralf S Engelschall).
2283 + fix a warning in the configure script for NetBSD 2.0, working around
2284 spurious blanks embedded in its ${MAKEFLAGS} symbol.
2285 + change test/Makefile to simplify installing test programs in a
2286 different directory when --enable-rpath is used.
2289 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
2290 + add/install a package config script, e.g., "ncurses5-config" or
2291 "ncursesw5-config", according to configuration options.
2294 + add several GNU Screen terminfo variations with 16- and 256-colors,
2295 and status line (Alain Bench).
2296 + change the way shared libraries (other than libtool) are installed.
2297 Rather than copying the build-tree's libraries, link the shared
2298 objects into the install directory. This makes the --with-rpath
2299 option work except with $(DESTDIR) (cf: 20000930).
2302 + fix ifdef in c++/internal.h for QNX 6.1
2303 + test-compiled with (old) egcs-1.1.2, modified configure script to
2304 not unset the $CXX and related variables which would prevent this.
2305 + fix a few terminfo.src typos exposed by improvments to "-f" option.
2306 + improve infocmp/tic "-f" option formatting.
2309 + make --disable-largefile option work (report by Thomas M Ott).
2310 + updated html documentation.
2311 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
2312 + minor improvements to rxvt+pcfkeys -TD
2315 + move static data from lib_mouse.c into SCREEN struct.
2316 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
2317 (report by Michail Vidiassov).
2318 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
2319 option (from lynx changes) -TD
2320 + adapt AC_PROG_EGREP check, noting that this is likely to be another
2321 place aggravated by POSIXLY_CORRECT.
2322 + modify configure check for awk to ensure that it is found (prompted
2323 by report by Christopher Parker).
2327 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
2328 + remove invis capability from klone+sgr, mainly used by linux entry,
2329 since it does not really do this -TD
2332 + correct logic in wadd_wch() and wecho_wch(), which did not guard
2333 against passing the multi-column attribute into a call on waddch(),
2334 e.g., using data returned by win_wch() (cf: 20041023)
2335 (report by Sadrul H Chowdhury).
2338 + fix kterm's acsc string -TD
2339 + fix for change to tic/infocmp in 20060819 to ensure no blank is
2340 embedded into a termcap description.
2341 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
2342 when using --with-termlib --with-trace options.
2343 + improve tgetstr() by making the return value point into the user's
2344 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
2346 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
2349 + add terminfo entries for xfce terminal (xfce) and multi gnome
2351 + add test/foldkeys.c
2354 + modify tic and infocmp to avoid writing trailing blanks on terminfo
2355 source output (Debian #378783).
2356 + modify configure script to ensure that if the C compiler is used
2357 rather than the loader in making shared libraries, the $(CFLAGS)
2358 variable is also used (Redhat Bugzilla #199369).
2359 + port hashed-db code to db2 and db3.
2360 + fix a bug in tgetent() from 20060625 and 20060715 changes
2361 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
2364 + updated xterm function-keys terminfo to match xterm #216 -TD
2365 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
2366 e.g., the db 1.8.5 interface).
2369 + modify toe to access termcap data, e.g., via cgetent() functions,
2370 or as a text file if those are not available.
2371 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
2372 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
2373 can access termcap data when the terminfo database is disabled.
2376 + widen the test for xterm kmous a little to allow for other strings
2377 than \E[M, e.g., for xterm-sco functionality in xterm.
2378 + update xterm-related terminfo entries to match xterm patch #216 -TD
2379 + update config.guess, config.sub
2382 + fix for install-rule in Ada95 to add terminal_interface.ads
2383 and terminal_interface.ali (anonymous posting in comp.lang.ada).
2384 + correction to manpage for getcchar() (report by William McBrine).
2386 + modify wchgat() to mark updated cells as changed so a refresh will
2387 repaint those cells (comments by Sadrul H Chowdhury and William
2389 + split up dependency of names.c and codes.c in ncurses/Makefile to
2390 work with parallel make (report/analysis by Joseph S Myers).
2391 + suppress a warning message (which is ignored) for systems without
2392 an ldconfig program (patch by Justin Hibbits).
2393 + modify configure script --disable-symlinks option to allow one to
2394 disable symlink() in tic even when link() does not work (report by
2396 + modify MKfallback.sh to use tic -x when constructing fallback tables
2397 to allow extended capabilities to be retrieved from a fallback entry.
2398 + improve leak-checking logic in tgetent() from 20060625 to ensure that
2399 it does not free the current screen (report by Miroslav Lichvar).
2402 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
2403 + correct _nc_free_entries() and related functions used for memory leak
2407 + revert a minor change for magic-cookie support from 20060513, which
2408 caused unexpected reset of attributes, e.g., when resizing test/view
2410 + note in clear manpage that the program ignores command-line
2411 parameters (prompted by Debian #371855).
2412 + fixes to make lib_gen.c build properly with changes to the configure
2413 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
2414 + update/correct several terminfo entries -TD
2415 + add some notes regarding copyright to terminfo.src -TD
2418 + fixes to build Ada95 binding with gnat-4.1.0
2419 + modify read_termtype() so the term_names data is always allocated as
2420 part of the str_table, a better fix for a memory leak (cf: 20030809).
2421 + reduce memory leaks in repeated calls to tgetent() by remembering the
2422 last TERMINAL* value allocated to hold the corresponding data and
2423 freeing that if the tgetent() result buffer is the same as the
2424 previous call (report by "Matt" for FreeBSD gnu/98975).
2425 + modify tack to test extended capability function-key strings.
2426 + improved gnome terminfo entry (GenToo #122566).
2427 + improved xterm-256color terminfo entry (patch by Alain Bench).
2430 + fix two small memory leaks related to repeated tgetent() calls
2431 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
2432 + add --enable-signed-char to simplify Debian package.
2433 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
2435 + correct typo in curs_terminfo.3x (Debian #369168).
2438 + enable the mouse in test/movewindow.c
2439 + improve a limit-check in frm_def.c (John Heasley).
2440 + minor copyright fixes.
2441 + change configure script to produce test/Makefile from data file.
2444 + add a configure option --enable-wgetch-events to enable
2445 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
2446 lib_twait.c (report by Bernd Jendrissek).
2447 + remove include/nomacros.h from build, since the ifdef for
2448 NCURSES_NOMACROS makes that obsolete.
2449 + add entrypoints for some functions which were only provided as macros
2450 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
2451 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
2453 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
2454 definitions from curses.h, i.e., where a macro is defined to override
2455 a function to improve performance. Allowing a developer to suppress
2456 these definitions can simplify some application (discussion with
2458 + improve description of memu/meml in terminfo manpage.
2461 + if msgr is false, reset video attributes when doing an automargin
2462 wrap to the next line. This makes the ncurses 'k' test work properly
2464 + correct caching of keyname(), which was using only half of its table.
2465 + minor fixes to memory-leak checking.
2466 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
2467 arrays, making ACS_LEN less visible to applications (suggested by
2469 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
2470 _screen_acs_map will have the same offset in both ncurses/ncursesw,
2471 making the corresponding tinfo/tinfow libraries binary-compatible
2472 (cf: 20041016, report by Stanislav Ievlev).
2475 + improve debug-tracing for EmitRange().
2476 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
2477 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
2478 suppression of the related hard-tabs and xmc-glitch features.
2479 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
2480 infocmp, terminfo as well as form, menu, panel.
2481 + update config.guess, config.sub
2482 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
2483 (field_buffer returning null for a valid field). The 'r' test
2484 appears to not work with that configuration since the new_fieldtype()
2485 function is broken in that implementation.
2488 + add hpterm-color terminfo entry -TD
2489 + fixes to compile test-programs with HPUX 11.23
2492 + add copyright notices to files other than those that are generated,
2493 data or adapted from pdcurses (reports by William McBrine, David
2495 + improve rendering on hpterm by not resetting attributes at the end
2496 of doupdate() if the terminal has the magic-cookie feature (report
2498 + add 256color variants of terminfo entries for programs which are
2499 reported to implement this feature -TD
2502 + fix typo in change to NewChar() macro from 20060311 changes, which
2503 broke tab-expansion (report by Frederic L W Meunier).
2506 + document -U option of tic and infocmp.
2507 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
2508 due to size limit, e.g., converting to termcap format. Also
2509 suppress them if the output format does not contain acsc and it
2510 was not VT100-like, i.e., a one-one mapping (Novell #163715).
2511 + add configure check to ensure that SIGWINCH is defined on platforms
2512 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
2513 defined (report by Nicholas Cole)
2516 + modify write_object() to not write coincidental extensions of an
2517 entry made due to it being referenced in a use= clause (report by
2519 + another fix for infocmp -i option, which did not ensure that some
2520 escape sequences had comparable prefixes (report by Alain Bench).
2523 + improve discussion of init/reset in terminfo and tput manpages
2524 (report by Alain Bench).
2525 + use is3 string for a fallback of rs3 in the reset program; it was
2526 using is2 (report by Alain Bench).
2527 + correct logic for infocmp -i option, which did not account for
2528 multiple digits in a parameter (cf: 20040828) (report by Alain
2530 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
2531 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
2532 + add copyright notices to test-programs as needed (report by William
2536 + modify ncurses.c 'F' test to combine the wide-characters with color
2537 and/or video attributes.
2538 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
2539 a test-screen (some commands used 'x' or 'q').
2542 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
2545 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
2546 a null character is found (report by Igor Bogomazov).
2547 + modify progs/Makefile.in to make "tput init" work properly with
2548 cygwin, i.e., do not pass a ".exe" in the reference string used
2549 in check_aliases (report by Samuel Thibault).
2550 + add some checks to ensure current position is within scrolling
2551 region before scrolling on a new line (report by Dan Gookin).
2552 + change some NewChar() usage to static variables to work around
2553 stack garbage introduced when cchar_t is not packed (Redhat #182024).
2556 + workarounds to build test/movewindow with PDcurses 2.7.
2557 + fix for nsterm-16color entry (patch by Alain Bench).
2558 + correct a typo in infocmp manpage (Debian #354281).
2561 + add nsterm-16color entry -TD
2562 + updated mlterm terminfo entry -TD
2563 + remove 970913 feature for copying subwindows as they are moved in
2564 mvwin() (discussion with Bryan Christ).
2565 + modify test/demo_menus.c to demonstrate moving a menu (both the
2566 window and subwindow) using shifted cursor-keys.
2567 + start implementing recursive mvwin() in movewindow.c (incomplete).
2568 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
2569 for movewindow.c (report by William McBrine).
2570 + add help-message to test/movewindow.c
2573 + add test/movewindow.c, to test mvderwin().
2574 + fix ncurses soft-key test so color changes are shown immediately
2575 rather than delayed.
2576 + modify ncurses soft-key test to hide the keys when exiting the test
2578 + fixes to build test programs with PDCurses 2.7, e.g., its headers
2579 rely on autoconf symbols, and it declares stubs for nonfunctional
2580 terminfo and termcap entrypoints.
2583 + improved test/configure to build test/ncurses on HPUX 11 using the
2585 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
2586 benefit of developers who do not read INSTALL.
2589 + correct form library Window_To_Buffer() change (cf: 20040516), which
2590 should ignore the video attributes (report by Ricardo Cantu).
2593 + minor fixes to xmc-glitch experimental code:
2594 + suppress line-drawing
2595 + implement max_attributes
2597 + minor fixes for the database iterator.
2598 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
2602 + add toe -a option, to show all databases. This uses new private
2603 interfaces in the ncurses library for iterating through the list of
2605 + fix toe from 20000909 changes which made it not look at
2607 + make toe's -v option parameter optional as per manpage.
2608 + improve SIGWINCH handling by postponing its effect during newterm(),
2609 etc., when allocating screens.
2612 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
2613 this in test/filter.c
2614 + fix an error in filter() modification which caused some applications
2618 + check if filter() was called when getting the screensize. Keep it
2619 at 1 if so (based on Redhat #174498).
2620 + add extension nofilter().
2621 + refined the workaround for ACS mapping.
2622 + make ifdef's consistent in curses.h for the extended colors so the
2623 header file can be used for the normal curses library. The header
2624 file installed for extended colors is a variation of the
2625 wide-character configuration (report by Frederic L W Meunier).
2628 + add a workaround to ACS mapping to allow applications such as
2629 test/blue.c to use the "PC ROM" characters by masking them with
2630 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
2631 of legacy coding (report by Michael Deutschmann).
2632 + add a null-pointer check in the wide-character version of
2633 calculate_actual_width() (report by Victor Julien).
2634 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
2635 values to be set independently (patch by William McBrine).
2636 + modify test/configure script to allow building test programs with
2638 + modified test programs to allow some to work with NetBSD curses.
2639 Several do not because NetBSD curses implements a subset of X/Open
2640 curses, and also lacks much of SVr4 additions. But it's enough for
2642 + update config.guess and config.sub
2645 + use BSD-specific fix for return-value from cgetent() from CVS where
2646 an unknown terminal type would be reportd as "database not found".
2647 + make tgetent() return code more readable using new symbols
2649 + remove references to non-existent "tctest" program.
2650 + remove TESTPROGS from progs/Makefile.in (it was referring to code
2651 that was never built in that directory).
2652 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
2655 + add use_legacy_coding() function to support lynx's font-switching
2657 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
2658 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
2662 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
2663 overwrite() and copywin() with different combinations of colors and
2664 attributes (including background color) to make it easy to see the
2665 effect of the different functions.
2666 + corrections to menu/m_global.c for wide-characters (report by
2670 + add configure option --without-dlsym, allowing developers to
2671 configure GPM support without using dlsym() (discussion with Michael
2673 + fix wins_nwstr(), which did not handle single-column non-8bit codes
2677 + move prototypes for wide-character trace functions from curses.tail
2678 to curses.wide to avoid accidental reference to those if
2679 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
2681 + add/use NCURSES_INLINE definition.
2682 + change some internal functions to use int/unsigned rather than the
2686 + remove a redundant check in lib_color.c (Debian #335655).
2687 + use ld's -search_paths_first option on Darwin to work around odd
2688 search rules on that platform (report by Christian Gennerat, analysis
2690 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
2691 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
2692 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
2695 + other minor fixes to cygwin based on tack -TD
2696 + correct smacs in cygwin (Debian #338234, report by Baurzhan
2697 Ismagulov, who noted that it was fixed in Cygwin).
2700 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
2701 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
2702 since those record the state of multicolumn characters (Debian
2704 + modify werase to clear multicolumn characters that extend into
2705 a derived window (Debian #316663).
2708 + move assignment from environment variable ESCDELAY from initscr()
2709 down to newterm() so the environment variable affects timeouts for
2710 terminals opened with newterm() as well.
2711 + fix a memory leak in keyname().
2712 + add test/demo_altkeys.c
2713 + modify test/demo_defkey.c to exit from loop via 'q' to allow
2714 leak-checking, as well as fix a buffer size in winnstr() call.
2717 + correct order of use-clauses in rxvt-basic entry which made codes for
2718 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
2719 + suppress configure check for gnatmake if Ada95/Makefile.in is not
2721 + correct a typo in configure --with-bool option for the case where
2722 --without-cxx is used (report by Daniel Jacobowitz).
2723 + add a note to INSTALL's discussion of --with-normal, pointing out
2724 that one may wish to use --without-gpm to ensure a completely
2725 static link (prompted by report by Felix von Leitner).
2727 20051010 5.5 release for upload to ftp.gnu.org
2730 + document in demo_forms.c some portability issues.
2733 + document side-effect of werase() which sets the cursor position.
2734 + save/restore the current position in form field editing to make
2738 + correct header dependencies in progs, allowing parallel make (report
2739 by Daniel Jacobowitz).
2740 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
2741 the configure check for --with-build-cc (report by Daniel Jacobowitz).
2742 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
2744 + update config.guess and config.sub from
2745 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2748 + modify sed expression which computes path for /usr/lib/terminfo
2749 symbolic link in install to ensure that it does not change unexpected
2750 levels of the path (Gentoo #42336).
2751 + modify default for --disable-lp64 configure option to reduce impact
2752 on existing 64-bit builds. Enabling the _LP64 option may change the
2753 size of chtype and mmask_t. However, for ABI 6, it is enabled by
2754 default (report by Mike Frysinger).
2755 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
2756 default if it is used.
2757 + improve configure script logic for bumping ABI to omit this if the
2758 --with-abi-version option was used.
2759 + update address for Free Software Foundation in tack's source.
2760 + correct wins_wch(), which was not marking the filler-cells of
2761 multi-column characters (cf: 20041023).
2764 + modify mouse initialization to ensure that Gpm_Open() is called only
2765 once. Otherwise GPM gets confused in its initialization of signal
2766 handlers (Debian #326709).
2769 + modify logic for backspacing in a multiline form field to ensure that
2770 it works even when the preceding line is full (report by Frank van
2772 + remove comment about BUGS section of ncurses manpage (Debian #325481)
2775 + document some workarounds for shared and libtool library
2776 configurations in INSTALL (see --with-shared and --with-libtool).
2777 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
2778 cross-compilers which emit the platform name in their version
2780 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
2781 (report by Frank van Vugt).
2784 + start updating documentation for upcoming 5.5 release.
2785 + fix to make libtool and libtinfo work together again (cf: 20050122).
2786 + fixes to allow building traces into libtinfo
2787 + add debug trace to tic that shows if/how ncurses will write to the
2788 lower corner of a terminal's screen.
2789 + update llib-l* files.
2792 + modify initializers in c++ binding to build with old versions of g++.
2793 + improve special case for 20050115 repainting fix, ensuring that if
2794 the first changed cell is not a character that the range to be
2795 repainted is adjusted to start at a character's beginning (Debian
2799 + fixes to build on QNX 6.1
2800 + improve configure script checks for Intel 9.0 compiler.
2801 + remove #include's for libc.h (obsolete).
2802 + adjust ifdef's in curses.priv.h so that when cross-compiling to
2803 produce comp_hash and make_keys, no dependency on wchar.h is needed.
2804 That simplifies the build-cppflags (report by Frank van Vugt).
2805 + move modules related to key-binding into libtinfo to fix linkage
2806 problem caused by 20050430 changes to MKkeyname.sh (report by
2807 Konstantin Andreev).
2810 + updates/fixes for configure script macros from vile -TD
2811 + make prism9's sgr string agree with the rest of the terminfo -TD
2812 + make vt220's sgr0 string consistent with sgr string, do this for
2813 several related cases -TD
2814 + improve translation to termcap by filtering the 'me' (sgr0) strings
2815 as in the runtime call to tgetent() (prompted by a discussion with
2817 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
2818 resets line-drawing.
2821 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
2823 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
2824 allow it to be used by tic to provide information about the runtime
2825 changes that would be made to sgr0 for termcap applications.
2826 + modify make_sed.sh to make the group-name in the NAME section of
2827 form/menu library manpage agree with the TITLE string when renaming
2828 is done for Debian (Debian #78866).
2831 + modify parameter type in c++ binding for insch() and mvwinsch() to
2832 be consistent with underlying ncurses library (was char, is chtype).
2833 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
2835 + improve configure check for nanosleep(), checking that it works since
2836 some older systems such as AIX 4.3 have a nonworking version.
2839 + update config.guess and config.sub from
2840 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
2841 + modify misc/shlib to work in test-directory.
2842 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
2843 allows cross-compiles to use the host's tic program to handle the
2844 "make install.data" step.
2845 + improve description of $LINES and $COLUMNS variables in manpages
2846 (prompted by report by Dave Ulrick).
2847 + improve description of cross-compiling in INSTALL
2848 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
2849 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
2850 + modify configure script to obtain soname for GPM library (discussion
2851 with Daniel Jacobowitz).
2852 + modify configure script so that --with-chtype option will still
2853 compute the unsigned literals suffix for constants in curses.h
2854 (report by Daniel Jacobowitz:
2855 + patches from Daniel Jacobowitz:
2856 + the man_db.renames entry for tack.1 was backwards.
2857 + tack.1 had some 1m's that should have been 1M's.
2858 + the section for curs_inwstr.3 was wrong.
2861 + correction to --with-chtype option (report by Daniel Jacobowitz).
2864 + move build-time edit_man.sh and edit_man.sed scripts to top directory
2865 to simplify reusing them for renaming tack's manpage (prompted by a
2866 review of Debian package).
2867 + revert minor optimization from 20041030 (Debian #313609).
2868 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
2869 1.5.10 and 1.5.18 (all work except as noted previously for the c++
2870 install using libtool 1.5.0):
2871 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
2873 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
2874 + add configure options --with-chtype and --with-mmask-t, to allow
2875 overriding of the non-LP64 model's use of the corresponding types.
2876 + revise test for size of chtype (and mmask_t), which always returned
2877 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
2880 + change _tracef's that used "%p" format for va_list values to ignore
2881 that, since on some platforms those are not pointers.
2882 + fixes for long-formats in printf's due to largefile support.
2885 + fixes for termcap support:
2886 + reset pointer to _nc_curr_token.tk_name when the input stream is
2887 closed, which could point to free memory (cf: 20030215).
2888 + delink TERMTYPE data which is used by the termcap reader, so that
2889 extended names data will be freed consistently.
2890 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
2892 + add some entrypoints for freeing permanently allocated data via
2893 _nc_freeall() when NO_LEAKS is defined.
2894 + amend 20041030 change to _nc_do_color to ensure that optimization is
2895 applied only when the terminal supports back_color_erase (bce).
2898 + add sun-color terminfo entry -TD
2899 + correct a missing assignment in c++ binding's method
2900 NCursesPanel::UserPointer() from 20050409 changes.
2901 + improve configure check for large-files, adding check for dirent64
2903 + minor change to configure script to improve linker options for the
2907 + document error conditions for ncurses library functions (report by
2909 + regenerated html documentation for ada binding.
2910 see ftp://invisible-island.net/ncurses/patches/gnathtml
2913 + regenerated html documentation for manpages.
2914 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
2915 ncurses/Makefile (Gentoo #89772).
2916 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
2917 (patch by Mike Frysinger).
2918 + modify tic to filter out long extended names when translating to
2919 termcap format. Only two characters are permissible for termcap
2923 + modify terminfo entries xterm-new and rxvt to add strings for
2924 shift-, control-cursor keys.
2925 + workaround to allow c++ binding to compile with g++ 2.95.3, which
2926 has a broken implementation of static_cast<> (patch by Jeff Chua).
2927 + modify initialization of key lookup table so that if an extended
2928 capability (tic -x) string is defined, and its name begins with 'k',
2929 it will automatically be treated as a key.
2930 + modify test/keynames.c to allow for the possibility of extended
2931 key names, e.g., via define_key(), or via "tic -x".
2932 + add test/demo_termcap.c to show the contents of given entry via the
2936 + minor fixes for vt100/vt52 entries -TD
2937 + add configure option --enable-largefile
2938 + corrected libraries used to build Ada95/gen/gen, found in testing
2942 + update config.guess, config.sub
2943 + modify configure script check for _XOPEN_SOURCE, disable that on
2944 Darwin whose header files have problems (patch by Chris Zubrzycki).
2945 + modify form library Is_Printable_String() to use iswprint() rather
2946 than wcwidth() for determining if a character is printable. The
2947 latter caused it to reject menu items containing non-spacing
2949 + modify ncurses test program's F-test to handle non-spacing characters
2950 by combining them with a reverse-video blank.
2951 + review/fix several gcc -Wconversion warnings.
2954 + correct an off-by-one error in m_driver() for mouse-clicks used to
2955 position the mouse to a particular item.
2956 + implement test/demo_menus.c
2957 + add some checks in lib_mouse to ensure SP is set.
2958 + modify C++ binding to make 20050403 changes work with the configure
2959 --enable-const option.
2962 + modify start_color() to return ERR if it cannot allocate memory.
2963 + address g++ compiler warnings in C++ binding by adding explicit
2964 member initialization, assignment operators and copy constructors.
2965 Most of the changes simply preserve the existing semantics of the
2966 binding, which can leak memory, etc., but by making these features
2967 visible, it provides a framework for improving the binding.
2968 + improve C++ binding using static_cast, etc.
2969 + modify configure script --enable-warnings to add options to g++ to
2970 correspond to the gcc --enable-warnings.
2971 + modify C++ binding to use some C internal functions to make it
2972 compile properly on Solaris (and other platforms).
2975 + amend change from 20050320 to limit it to configurations with a
2977 + fix a bug introduced in 20050320 which broke the translation of
2978 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
2981 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
2982 chtype and mmask_t, but add configure option --disable-lp64 in case
2983 anyone used that configuration.
2984 + update misc/shlib script to account for Mac OS X (report by Michail
2986 + correct comparison for wrapping multibyte characters in
2987 waddch_literal() (report by Takahashi Tamotsu).
2990 + add -c and -w options to tset to allow user to suppress ncurses'
2991 resizing of the terminal emulator window in the special case where it
2992 is not able to detect the true size (report by Win Delvaux, Debian
2994 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
2995 codes 128-159 as part of multibyte characters (report by Wang
2996 WenRui, Debian #300512).
2999 + modify ncurses.c 'd' test to make it work with 88-color
3000 configuration, i.e., by implementing scrolling.
3001 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
3005 + change tracemunch to use strict checking.
3006 + modify ncurses.c 'p' test to test line-drawing within a pad.
3007 + implement environment variable NCURSES_NO_UTF8_ACS to support
3008 miscellaneous terminal emulators which ignore alternate character
3009 set escape sequences when in UTF-8 mode.
3012 + change NCursesWindow::err_handler() to a virtual function (request by
3014 + modify fty_int.c and fty_num.c to handle wide characters (report by
3016 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
3017 and wide characters inconsistently (report by Wolfgang Gutjahr).
3018 + update llib-* files to reflect internal interface additions/changes.
3021 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
3023 + add aixterm-16color terminfo entry -TD
3024 + modified xterm-new terminfo entry to work with tgetent() changes -TD
3025 + extended changes in tgetent() from 20040710 to allow the substring of
3026 sgr0 which matches rmacs to be at the beginning of the sgr0 string
3027 (request by Thomas Wolff). Wolff says the visual effect in
3028 combination with pre-20040710 ncurses is improved.
3029 + fix off-by-one in winnstr() call which caused form field validation
3030 of multibyte characters to ignore the last character in a field.
3031 + correct logic in winsch() for inserting multibyte strings; the code
3032 would clear cells after the insertion rather than push them to the
3033 right (cf: 20040228).
3034 + fix an inconsistency in Check_Alpha_Field() between normal and wide
3035 character logic (report by Wolfgang Gutjahr).
3038 + fix a bug in editing wide-characters in form library: deleting a
3039 nonwide character modified the previous wide-character.
3040 + update manpage to describe NCURSES_MOUSE_VERSION 2.
3041 + correct manpage description of mouseinterval() (Debian #280687).
3042 + add a note to default_colors.3x explaining why this extension was
3043 added (Debian #295083).
3044 + add traces to panel library.
3047 + improve editing of wide-characters in form library: left/right
3048 cursor movement, and single-character deletions work properly.
3049 + disable GPM mouse support when $TERM happens to be prefixed with
3050 "xterm". Gpm_Open() would otherwise assert that it can deal with
3051 mouse events in this case.
3052 + modify GPM mouse support so it closes the server connection when
3053 the caller disables the mouse (report by Stanislav Ievlev).
3056 + add traces for callback functions in form library.
3057 + add experimental configure option --enable-ext-mouse, which defines
3058 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
3059 support wheel mice, which may transmit buttons 4 and 5. This works
3060 with xterm and similar X terminal emulators (prompted by question by
3061 Andreas Henningsson, this is also related to Debian #230990).
3062 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
3063 avoid redefinition warnings on cygwin.
3066 + merge remaining development changes for extended colors (mostly
3067 complete, does not appear to break other configurations).
3068 + add xterm-88color.dat (part of extended colors testing).
3069 + improve _tracedump() handling of color pairs past 96.
3070 + modify return-value from start_color() to return OK if colors have
3071 already been started.
3072 + modify curs_color.3x list error conditions for init_pair(),
3073 pair_content() and color_content().
3074 + modify pair_content() to return -1 for consistency with init_pair()
3075 if it corresponds to the default-color.
3076 + change internal representation of default-color to allow application
3077 to use color number 255. This does not affect the total number of
3078 color pairs which are allowed.
3079 + add a top-level tags rule.
3082 + add a null-pointer check in wgetch() in case it is called without
3083 first calling initscr().
3084 + add some null-pointer checks for SP, which is not set by libtinfo.
3085 + modify misc/shlib to ensure that absolute pathnames are used.
3086 + modify test/Makefile.in, etc., to link test programs only against the
3087 libraries needed, e.g., omit form/menu/panel library for the ones
3088 that are curses-specific.
3089 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
3090 libtinfo.so and libtinfow.so have the same ABI. The reason for this
3091 is that the corresponding data which belongs to the upper-level
3092 ncurses library has a different size in each model (report by
3096 + minor fixes to allow test-compiles with g++.
3097 + correct column value shown in tic's warnings, which did not account
3098 for leading whitespace.
3099 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
3100 where a following line begins in column 1.
3101 + modify _nc_save_str() to return a null pointer on buffer overflow.
3102 + improve repainting while scrolling wide-character data (Eungkyu Song).
3105 + merge some development changes to extend color capabilities.
3108 + merge some development changes to extend color capabilities.
3109 + fix manpage typo (FreeBSD report docs/75544).
3110 + update config.guess, config.sub
3111 > patches for configure script (Albert Chin-A-Young):
3112 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
3113 20030705), making vsscanf() prototype visible on IRIX64. Tested for
3114 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
3115 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
3116 + print the result of the --disable-home-terminfo option.
3117 + use -rpath when compiling with SGI C compiler.
3120 + add trace calls to remaining public functions in form and menu
3122 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
3123 + fix typo in test/ncurses.c 'c' test from 20041218.
3126 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
3127 and xterm-256color, added 'C' test using the wide-character color_set
3128 and attr_set functions.
3131 + modify configure script to work with Intel compiler.
3132 + fix an limit-check in wadd_wchnstr() which caused labels in the
3133 forms-demo to be one character short.
3134 + fix typo in curs_addchstr.3x (Jared Yanovich).
3135 + add trace calls to most functions in form and menu libraries.
3136 + update working-position for adding wide-characters when window is
3137 scrolled (prompted by related report by Eungkyu Song).
3140 + replace some references on Linux to wcrtomb() which use it to obtain
3141 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
3142 broken in glibc (see Debian #284260).
3143 + corrected length-computation in wide-character support for
3145 + some fixes to frm_driver.c to allow it to accept multibyte input.
3146 + modify configure script to work with Intel 8.0 compiler.
3149 + amend change to setupterm() in 20030405 which would reuse the value
3150 of cur_term if the same output was selected. This now reuses it only
3151 when setupterm() is called from tgetent(), which has no notion of
3152 separate SCREENs. Note that tgetent() must be called after initscr()
3153 or newterm() to use this feature (Redhat Bugzilla #140326).
3154 + add a check in CF_BUILD_CC macro to ensure that developer has given
3155 the --with-build-cc option when cross-compiling (report by Alexandre
3157 + improved configure script checks for _XOPEN_SOURCE and
3158 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
3160 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
3161 for consistency (comment by Dan Nelson).
3164 + update wsvt25 terminfo entry -TD
3165 + modify test/ins_wide.c to test all flavors of ins_wstr().
3166 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
3167 which consists of multi-column characters, since this function
3168 constructs them (cf: 20041023).
3169 + modify winnstr() to return multibyte character strings for the
3170 wide-character configuration.
3173 + fixes to make slk_set() and slk_wset() accept and store multibyte
3174 or multicolumn characters.
3177 + improve color optimization a little by making _nc_do_color() check
3178 if the old/new pairs are equivalent to the default pair 0.
3179 + modify assume_default_colors() to not require that
3180 use_default_colors() be called first.
3183 + modify term_attrs() to use termattrs(), add the extended attributes
3184 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
3185 + add logic in waddch_literal() to clear orphaned cells when one
3186 multi-column character partly overwrites another.
3187 + improved logic for clearing cells when a multi-column character
3188 must be wrapped to a new line.
3189 + revise storage of cells for multi-column characters to correct a
3190 problem with repainting. In the old scheme, it was possible for
3191 doupdate() to decide that only part of a multi-column character
3192 should be repainted since the filler cells stored only an attribute
3193 to denote them as fillers, rather than the character value and the
3197 + minor fixes for traces.
3198 + add SP->_screen_acs_map[], used to ensure that mapping of missing
3199 line-drawing characters is handled properly. For example, ACS_DARROW
3200 is absent from xterm-new, and it was coincidentally displayed the
3204 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
3205 and smacs strings as well. Also modify the check for screen's
3206 limitations in that area to allow the multi-character shift-in
3207 and shift-out which seem to work.
3208 + change GPM initialization, using dl library to load it dynamically
3209 at runtime (Debian #110586).
3212 + correct logic for color pair in setcchar() and getcchar() (patch by
3213 Marcin 'Qrczak' Kowalczyk).
3214 + add t/T commands to ncurses b/B tests to allow a different color to
3215 be tested for the attrset part of the test than is used in the
3219 + fix to make setcchar() to work when its wchar_t* parameter is
3220 pointing to a string which contains more data than can be converted.
3221 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
3222 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
3225 + remove check in wget_wch() added to fix an infinite loop, appears to
3226 have been working around a transitory glibc bug, and interferes
3227 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
3228 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
3229 information (report by Marcin 'Qrczak' Kowalczyk).
3230 + fix aclocal.m4 so that the wide-character version of ncurses gets
3231 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
3232 (adapted from patch by James J Ramsey).
3233 + change configure script for --with-caps option to indicate that it
3234 is no longer experimental.
3235 + change configure script to reflect the fact that --enable-widec has
3236 not been "experimental" since 5.3 (report by Bruno Lustosa).
3239 + add 'B' test to ncurses.c, to exercise some wide-character functions.
3242 + modify infocmp -i option to match 8-bit controls against its table
3243 entries, e.g., so it can analyze the xterm-8bit entry.
3244 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
3245 + correct translation of "%%" in terminfo format to termcap, e.g.,
3246 using "tic -C" (Redhat Bugzilla #130921).
3247 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
3248 it defines _POSIX_C_SOURCE, that it defines it to a specific value
3249 (comp.os.stratus newsgroup comment).
3252 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
3253 fatal, and gnat does not follow the guidelines for pragmas).
3254 However that did find a coding error in Assume_Default_Colors().
3255 + modify several terminfo entries to ensure xterm mouse and cursor
3256 visibility are reset in rs2 string: hurd, putty, gnome,
3257 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
3258 xterm entries are left alone - old ones for compatibility, and the
3259 new ones do not require this change. -TD
3262 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
3263 and window managers (Debian #265631).
3264 > terminfo updates -TD
3265 + remove dch/dch1 from rxvt because they are implemented inconsistently
3266 with the common usage of bce/ech
3267 + remove khome from vt220 (vt220's have no home key)
3271 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
3272 combinations of video attributes so that for instance bold and
3273 underline can be tested. This made the legend too crowded, added
3274 a help window as well.
3275 + modify test/ncurses.c 'b' test to cycle through default colors if
3276 the -d option is set.
3277 + update putty terminfo entry (Robert de Bath).
3280 + modify test/cardfile.c to allow it to read more data than can be
3282 + correct logic in resizeterm.c which kept it from processing all
3283 levels of window hierarchy (reports by Folkert van Heusden,
3287 + modify "tic -cv" to ignore delays when comparing strings. Also
3288 modify it to ignore a canceled sgr string, e.g., for terminals which
3289 cannot properly combine attributes in one control sequence.
3290 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
3291 patch by Hans de Goede)
3292 > terminfo updates -TD
3293 + make ncsa-m rmacs/smacs consistent with sgr
3294 + add sgr, rc/sc and ech to syscons entries
3295 + add function-keys to decansi
3296 + add sgr to mterm-ansi
3297 + add sgr, civis, cnorm to emu
3298 + correct/simplify cup in addrinfo
3301 > terminfo updates -TD
3302 + add xterm-pc-fkeys
3303 + review/update gnome and gnome-rh90 entries (prompted by Redhat
3305 + review/update konsole entries
3306 + add sgr, correct sgr0 for kterm and mlterm
3307 + correct tsl string in kterm
3310 + add configure option --without-xterm-new
3313 + add check in wget_wch() for printable bytes that are not part of a
3314 multibyte character.
3315 + modify wadd_wchnstr() to render text using window's background
3317 + improve tic's check to compare sgr and sgr0.
3318 + fix c++ directory's .cc.i rule.
3319 + modify logic in tgetent() which adjusts the termcap "me" string
3320 to work with ISO-2022 string used in xterm-new (cf: 20010908).
3321 + modify tic's check for conflicting function keys to omit that if
3322 converting termcap to termcap format.
3323 + add -U option to tic and infocmp.
3324 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
3325 > terminfo updates -TD
3326 + minor fixes for emu
3328 + change wyse acsc strings to use 'i' map rather than 'I'
3333 + use tic -x to install terminfo database -TD
3334 + add -x to infocmp's usage message.
3335 + correct field used for comparing O_ROWMAJOR in set_menu_format()
3336 (report/patch by Tony Li).
3337 + fix a missing nul check in set_field_buffer() from 20040508 changes.
3338 > terminfo updates -TD
3339 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
3341 + align with xterm patch #192's use of xterm-new -TD
3342 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
3343 + make xterm-new the default "xterm" entry -TD
3346 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
3347 cross-compiling from a separate directory tree (report/patch by
3349 + modify is_term_resized() to ensure that window sizes are nonzero,
3350 as documented in the manpage (report by Ian Collier).
3351 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
3352 (Debian #249214, report/patch by Jeff Bailey).
3353 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
3354 + update config.guess, config.sub
3355 > terminfo updates -TD
3357 + add xterm-xf86-v44
3358 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
3359 relies on G1 being used via an ISO-2022 escape sequence (report by
3364 + reconsidered winsnstr(), decided after comparing other
3365 implementations that wrapping is an X/Open documentation error.
3366 + modify test/inserts.c to test all flavors of insstr().
3369 + add setlocale() calls to a few test programs which may require it:
3370 demo_forms.c, filter.c, ins_wide.c, inserts.c
3371 + correct a few misspelled function names in ncurses-intro.html (report
3373 + correct internal name of key_defined() manpage, which conflicted with
3377 + correct size of internal pad used for holding wide-character
3378 field_buffer() results.
3379 + modify data_ahead() to work with wide-characters.
3382 + improve description of terminfo if-then-else expressions (suggested
3384 + improve test/ncurses.c 'd' test, allow it to use external file for
3385 initial palette (added xterm-16color.dat and linux-color.dat), and
3386 reset colors to the initial palette when starting/ending the test.
3387 + change limit-check in init_color() to allow r/g/b component to
3388 reach 1000 (cf: 20020928).
3391 + modify form library to use cchar_t's rather than char's in the
3392 wide-character configuration for storing data for field buffers.
3393 + correct logic of win_wchnstr(), which did not work for more than
3397 + replace memset/memcpy usage in form library with for-loops to
3398 simplify changing the datatype of FIELD.buf, part of wide-character
3400 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
3403 + modify menu library to account for actual number of columns used by
3404 multibyte character strings, in the wide-character configuration
3405 (adapted from patch by Philipp Tomsich).
3406 + add "-x" option to infocmp like tic's "-x", for use in "-F"
3407 comparisons. This modifies infocmp to only report extended
3408 capabilities if the -x option is given, making this more consistent
3409 with tic. Some scripts may break, since infocmp previous gave this
3410 information without an option.
3411 + modify termcap-parsing to retain 2-character aliases at the beginning
3412 of an entry if the "-x" option is used in tic.
3415 + minor compiler-warning and test-program fixes.
3418 + modify tic's missing-sgr warning to apply to terminfo only.
3419 + free some memory leaks in tic.
3420 + remove check in post_menu() that prevented menus from extending
3421 beyond the screen (request by Max J. Werner).
3422 + remove check in newwin() that prevents allocating windows
3423 that extend beyond the screen. Solaris curses does this.
3424 + add ifdef in test/color_set.c to allow it to compile with older
3426 + add napms() calls to test/dots.c to make it not be a CPU hog.
3429 + modify unctrl() to return null if its parameter does not correspond
3430 to an unsigned char.
3431 + add some limit-checks to guard isprint(), etc., from being used on
3432 values that do not fit into an unsigned char (report by Sami Farin).
3435 + fix a typo in the _nc_get_locale() change.
3438 + modify _nc_get_locale() to use setlocale() to query the program's
3439 current locale rather than using getenv(). This fixes a case in tin
3440 which relies on legacy treatment of 8-bit characters when the locale
3441 is not initialized (reported by Urs Jansen).
3442 + add sgr string to screen's and rxvt's terminfo entries -TD.
3443 + add a check in tic for terminfo entries having an sgr0 but no sgr
3444 string. This confuses Tru64 and HPUX curses when combined with
3445 color, e.g., making them leave line-drawing characters in odd places.
3446 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
3447 original definitions used in Debian package to fix PowerPC bug before
3448 20030802 (Debian #237629).
3451 + modify PutAttrChar() and PUTC() macro to improve use of
3452 A_ALTCHARSET attribute to prevent line-drawing characters from
3453 being lost in situations where the locale would otherwise treat the
3454 raw data as nonprintable (Debian #227879).
3457 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
3459 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
3460 some apropos script (Debian #237831).
3463 + modify ncurses.c 'r' test so editing commands, like inserted text,
3464 set the field background, and the state of insert/overlay editing
3465 mode is shown in that test.
3466 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
3467 + correct logic in test/ncurses.c 'b' for noncolor terminals which
3468 did not recognize a quit-command (cf: 20030419).
3471 + modify _nc_insert_ch() to allow for its input to be part of a
3473 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
3474 that this function performs wrapping, unlike all of the other
3475 insert-functions. Currently it does not wrap.
3476 + check for nl_langinfo(CODESET), use it if available (report by
3478 + split-out CF_BUILD_CC macro, actually did this for lynx first.
3479 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
3480 which happened to work with bash, but not with Bourne shell (report
3481 by Marco d'Itri via tin-dev).
3484 + some changes to adapt the form library to wide characters, incomplete
3485 (request by Mike Aubury).
3486 + add symbol to curses.h which can be used to suppress include of
3488 #define NCURSES_ENABLE_STDBOOL_H 0
3490 (discussion on XFree86 mailing list).
3493 + modify configure --with-termlib option to accept a value which sets
3494 the name of the terminfo library. This would allow a packager to
3495 build libtinfow.so renamed to coincide with libtinfo.so (discussion
3496 with Stanislav Ievlev).
3497 + improve documentation of --with-install-prefix, --prefix and
3498 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
3499 + add configure check if the compiler can use -c -o options to rename
3500 its output file, use that to omit the 'cd' command which was used to
3501 ensure object files are created in a separate staging directory
3502 (prompted by comments by Johnny Wezel, Martin Mokrejs).
3504 20040208 5.4 release for upload to ftp.gnu.org
3507 20040207 pre-release
3508 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
3509 and do not count %d if it follows a %p.
3510 + correct an inconsistency between handling of codes in the 128-255
3511 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
3512 locale, the latter did not show printable results, while the former
3514 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
3515 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
3516 verified by Scott Corscadden).
3518 20040131 pre-release
3519 + modify SCREEN struct to align it between normal/wide curses flavors
3520 to simplify future changes to build a single version of libtinfo
3521 (patch by Stanislav Ievlev).
3522 + document handling of carriage return by addch() in manpage.
3523 + document special features of unctrl() in manpage.
3524 + documented interface changes in INSTALL.
3525 + corrected control-char test in lib_addch.c to account for locale
3526 (Debian #230335, cf: 971206).
3527 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
3528 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
3529 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
3531 20040125 pre-release
3532 + amend change to PutAttrChar() from 20030614 which computed the number
3533 of cells for a possibly multi-cell character. The 20030614 change
3534 forced the cell to a blank if the result from wcwidth() was not
3535 greater than zero. However, wcwidth() called for parameters in the
3536 range 128-255 can give this return value. The logic now simply
3537 ensures that the number of cells is greater than zero without
3538 modifying the displayed value.
3540 20040124 pre-release
3541 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
3542 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
3543 that works better for cross-compiling.
3545 20040117 pre-release
3546 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
3547 work around core dump in Solaris 8's locale support, e.g., for
3548 zh_CN.GB18030 (report by Saravanan Bellan).
3549 + add includes for <stdarg.h> and <stdio.h> in configure script macro
3550 to make <wchar.h> check work with Tru64 4.0d.
3551 + add terminfo entry for U/Win -TD
3552 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
3554 + modify tput's error messages to prefix them with the program name
3555 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
3557 + correct a place in tack where exit_standout_mode was used instead of
3558 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
3559 + modify c++/cursesf.h to use const in the Enumeration_Field method.
3560 + remove an ambiguous (actually redundant) method from c++/cursesf.h
3561 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
3562 + improve sed script which extracts libtool's version in the
3563 CF_WITH_LIBTOOL macro.
3564 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
3565 simplify local patch for Albert Chin-A-Young)..
3566 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
3567 patch by Albert Chin-A-Young)..
3568 + fix a missing substitution in configure.in for "$target" needed for
3570 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
3571 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
3572 + make check for stdbool.h more specific, to ensure that including it
3573 will actually define/declare bool for the configured compiler.
3574 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
3575 intention of that is to #define NCURSES_BOOL as bool when the
3576 compiler declares bool, and to #define bool as NCURSES_BOOL when it
3577 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
3579 20040110 pre-release
3580 + change minor version to 4, i.e., ncurses 5.4
3581 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
3583 + simplified ncurses/base/version.c by defining the result from the
3584 configure script rather than using sprintf (suggested by Stanislav
3586 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
3588 + modify configure script so that when configuring for termlib, programs
3589 such as tic are not linked with the upper-level ncurses library
3590 (suggested by Stanislav Ievlev).
3591 + move version.c from ncurses/base to ncurses/tinfo to allow linking
3592 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
3595 + adjust -D's to build ncursesw on OpenBSD.
3596 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
3597 + add pecho_wchar().
3598 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
3599 available) on older platforms.
3602 + add -D's to build ncursew on FreeBSD 5.1.
3603 + modify shared library configuration for FreeBSD 4.x/5.x to add the
3604 soname information (request by Marc Glisse).
3605 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
3606 for limiting the length of a filename in the terminfo database.
3607 + modify termname() to return the terminal name used by setupterm()
3608 rather than $TERM, without truncating to 14 characters as documented
3609 by X/Open (report by Stanislav Ievlev, cf: 970719).
3610 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
3613 + add configure option --with-manpage-format=catonly to address
3614 behavior of BSDI, allow install of man+cat files on NetBSD, whose
3615 behavior has diverged by requiring both to be present.
3616 + remove leading blanks from comment-lines in manlinks.sed script to
3617 work with Tru64 4.0d.
3618 + add screen.linux terminfo entry (discussion on mutt-users mailing
3622 + add a check for tic to flag missing backslashes for termcap
3623 continuation lines. ncurses reads the whole entry, but termcap
3624 applications do not.
3625 + add configure option "--with-manpage-aliases" extending
3626 "--with-manpage-aliases" to provide the option of generating ".so"
3627 files rather than symbolic links for manpage aliases.
3628 + add bool definition in include/curses.h.in for configurations with no
3629 usable C++ compiler (cf: 20030607).
3630 + fix pathname of SigAction.h for building with --srcdir (reported by
3634 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
3635 since that header is used only within ncurses/tty/lib_tstp.c, for
3636 non-POSIX systems (discussion with Stanislav Ievlev).
3637 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
3638 <inger@altlinux.org>).
3639 + add test/background.c and test/color_set.c
3640 + modify color_set() function to work with color pair 0 (report by
3641 George Andreou <gbandreo@tem.uoc.gr>).
3642 + add configure option --with-trace, since defining TRACE seems too
3643 awkward for some cases.
3644 + remove a call to _nc_free_termtype() from read_termtype(), since the
3645 corresponding buffer contents were already zeroed by a memset (cf:
3647 + improve configure check for _XOPEN_SOURCE and related definitions,
3648 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
3649 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
3650 + small fixes to compile on Solaris and IRIX64 using cc.
3651 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
3655 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
3656 values (Philippe Blain).
3657 + improve the nanosleep() logic in napms() by checking for EINTR and
3658 restarting (Philippe Blain).
3659 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
3663 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
3664 + allow "\|" escape in terminfo; tic should not warn about this.
3665 + save the full pathname of the trace-file the first time it is opened,
3666 to avoid creating it in different directories if the application
3667 opens and closes it while changing its working directory.
3668 + modify configure script to provide a non-empty default for
3672 + add DJGPP to special case of DOS-style drive letters potentially
3673 appearing in TERMCAP environment variable.
3674 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
3676 + update config.guess, config.sub
3679 + fix a memory leak in error-return from setupterm() (report by
3680 Stanislav Ievlev <inger@altlinux.org>).
3681 + use EXEEXT and OBJEXT consistently in makefiles.
3682 + amend fixes for cross-compiling to use separate executable-suffix
3683 BUILD_EXEEXT (cf: 20031018).
3684 + modify MKkey_defs.sh to check for sort utility that does not
3685 recognize key options, e.g., busybox (report by Peter S Mazinger
3687 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
3688 David Krause using some of the new malloc debugging features
3689 under OpenBSD, patch by Ted Unangst).
3690 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
3691 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
3694 + update terminfo for xterm-xfree86 -TD
3695 + add check for multiple "tc=" clauses in a termcap to tic.
3696 + check for missing op/oc in tic.
3697 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
3698 tic to show cancelled capabilities. These functions were ignoring
3699 the state of the target entry, which should be untouched if cancelled.
3700 + correct comment in tack/output.c (Debian #215806).
3701 + add some null-pointer checks to lib_options.c (report by Michael
3703 + regenerated html documentation.
3704 + correction to tar-copy.sh, remove a trap command that resulted in
3705 leaving temporary files (cf: 20030510).
3706 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
3709 + updated test/configure to reflect changes for libtool (cf: 20030830).
3710 + fix several places in tack/pad.c which tested and used the parameter-
3711 and parameterless strings inconsistently, i.e., in pad_rin(),
3712 pad_il(), pad_indn() and pad_dl() (Debian #215805).
3713 + minor fixes for configure script and makefiles to cleanup executables
3714 generated when cross-compiling for DJGPP.
3715 + modify infocmp to omit check for $TERM for operations that do not
3716 require it, e.g., "infocmp -e" used to build fallback list (report by
3720 + add terminfo entries for DJGPP.
3721 + updated note about maintainer in ncurses-intro.html
3724 + update terminfo entries for gnome terminal.
3725 + modify tack to reset colors after each color test, correct a place
3726 where exit_standout_mode was used instead of exit_attribute_mode.
3727 + improve tack's bce test by making it set colors other than black
3729 + plug a potential recursion between napms() and _nc_timed_wait()
3730 (report by Philippe Blain).
3733 + add --with-rel-version option to allow workaround to allow making
3734 libtool on Darwin generate the "same" library names as with the
3735 --with-shared option. The Darwin ld program does not work well
3736 with a zero as the minor-version value (request by Chris Zubrzycki).
3737 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
3738 + modify tack to allow it to run from fallback terminfo data.
3739 > patch by Philippe Blain:
3740 + improve PutRange() by adjusting call to EmitRange() and corresponding
3741 return-value to not emit unchanged characters on the end of the
3743 + improve a check for changed-attribute by exiting a loop when the
3745 + improve logic in TransformLine(), eliminating a duplicated comparison
3746 in the clr_bol logic.
3749 > patch by Philippe Blain:
3750 + in ncurses/tty/lib_mvcur.c,
3751 move the label 'nonlocal' just before the second gettimeofday() to
3752 be able to compute the diff time when 'goto nonlocal' used.
3753 Rename 'msec' to 'microsec' in the debug-message.
3754 + in ncurses/tty/lib_mvcur.c,
3755 Use _nc_outch() in carriage return/newline movement instead of
3756 putchar() which goes to stdout. Move test for xold>0 out of loop.
3757 + in ncurses/tinfo/setbuf.c,
3758 Set the flag SP->_buffered at the end of operations when all has been
3759 successful (typeMalloc can fail).
3760 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
3763 + modify configure script to avoid using "head -1", which does not
3764 work if POSIXLY_CORRECT (sic) is set.
3765 + modify run_tic.in to avoid using wrong shared libraries when
3766 cross-compiling (Dan Kegel).
3769 + alter configure script help message to make it clearer that
3770 --with-build-cc does not specify a cross-compiler (suggested by Dan
3771 Kegel <dank@kegel.com>).
3772 + modify configure script to accommodate libtool 1.5, as well as add an
3773 parameter to the "--with-libtool" option which can specify the
3774 pathname of libtool (report by Chris Zubrzycki). We note that
3775 libtool 1.5 has more than one bug in its C++ support, so it is not
3776 able to install libncurses++, for instance, if $DESTDIR or the option
3777 --with-install-prefix is used.
3780 > patch by Philippe Blain:
3781 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
3782 + make baudrate computation in delay_output() consistent with the
3783 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
3786 + modify logic in waddch_literal() to take into account zh_TW.Big5
3787 whose multibyte sequences may contain "printable" characters, e.g.,
3788 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
3789 + improve storage used by _nc_safe_strcpy() by ensuring that the size
3790 is reset based on the initialization call, in case it were called
3791 after other strcpy/strcat calls (report by Philippe Blain).
3792 > patch by Philippe Blain:
3793 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
3794 + correct a place where _cup_cost was used rather than _cuu_cost
3797 + fix a small memory leak in _nc_free_termtype().
3798 + close trace-file if trace() is called with a zero parameter.
3799 + free memory allocated for soft-key strings, in delscreen().
3800 + fix an allocation size in safe_sprintf.c for the "*" format code.
3801 + correct safe_sprintf.c to not return a null pointer if the format
3802 happens to be an empty string. This applies to the "configure
3803 --enable-safe-sprintf" option (Redhat #101486).
3806 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
3808 > patch by Philippe Blain:
3809 + change padding for change_scroll_region to not be proportional to
3810 the size of the scroll-region.
3811 + correct error-return in _nc_safe_strcat().
3814 + correct limit-checks in _nc_scroll_window() (report and test-case by
3815 Thomas Graf <graf@dms.at> cf: 20011020).
3816 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
3820 + use clr_eol in preference to blanks for bce terminals, so select and
3821 paste will have fewer trailing blanks, e.g., when using xterm
3822 (request by Vincent Lefevre).
3823 + correct prototype for wunctrl() in manpage.
3824 + add configure --with-abi-version option (discussion with Charles
3826 > cygwin changes from Charles Wilson:
3827 + aclocal.m4: on cygwin, use autodetected prefix for import
3828 and static lib, but use "cyg" for DLL.
3829 + include/ncurses_dll.h: correct the comments to reflect current
3830 status of cygwin/mingw port. Fix compiler warning.
3831 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
3832 DLL, by adding the lib-directory to the PATH variable.
3833 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
3834 primary instead of nxterm, to match XFree86's xterm.terminfo
3835 usage and to prevent circular links.
3836 (rxvt): add additional codes from rxvt.org.
3837 (rxvt-color): new alias
3838 (rxvt-xpm): new alias
3839 (rxvt-cygwin): like rxvt, but with special acsc codes.
3840 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
3841 with a "native" MSWin GUI. Each takes different acsc codes,
3842 which are both different from the "normal" rxvt's acsc.
3843 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
3845 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
3849 + update config.guess, config.sub
3850 + add triples for configuring shared libraries with the Debian
3851 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
3854 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
3855 platforms have installed g++ along with the native C compiler, which
3856 would not accept gcc warning options.
3857 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
3858 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
3859 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
3860 + correct a sign-extension in wadd_wch() and wecho_wchar() from
3861 20030628 (report by Tomohiro Kubota).
3862 + work around omission of btowc() and wctob() from wide-character
3863 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
3865 + add portability note to curs_get_wstr.3x (Debian #199957).
3868 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
3869 respectively, to avoid calling waddch_noecho() with wide-character
3870 data, since that function assumes its input is 8-bit data.
3871 Similarly, modify waddnwstr() to call wadd_wch().
3872 + remove logic from waddnstr() which transformed multibyte character
3873 strings into wide-characters. Rewrite of waddch_literal() from
3874 20030621 assumes its input is raw multibyte data rather than wide
3875 characters (report by Tomohiro Kubota).
3878 + write getyx() and related 2-return macros in terms of getcury(),
3880 + modify waddch_literal() in case an application passes bytes of a
3881 multibyte character directly to waddch(). In this case, waddch()
3882 must reassemble the bytes into a wide-character (report by Tomohiro
3883 Kubota <kubota@debian.org>).
3886 + modify waddch_literal() in case a multibyte value occupies more than
3888 + modify PutAttrChar() to compute the number of character cells that
3889 are used in multibyte values. This fixes a problem displaying
3890 double-width characters (report/test by Mitsuru Chinen
3891 <mchinen@yamato.ibm.com>).
3892 + add a null-pointer check for result of keyname() in _tracechar()
3893 + modify _tracechar() to work around glibc sprintf bug.
3896 + add a call to setlocale() in cursesmain.cc, making demo display
3897 properly in a UTF-8 locale.
3898 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
3899 by discussion with Gabor Z Papp).
3900 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
3901 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
3902 + fix a redefinition of $RANLIB in the configure script when libtool
3903 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
3905 + simplify ifdef for bool declaration in curses.h.in (suggested by
3906 Albert Chin-A-Young).
3907 + remove configure script check to allow -Wconversion for older
3908 versions of gcc (suggested by Albert Chin-A-Young).
3911 + regenerated html manpages.
3912 + modify ifdef's in curses.h.in that disabled use of __attribute__()
3913 for g++, since recent versions implement the cases which ncurses uses
3915 + modify _nc_get_token() to handle a case where an entry has no
3916 description, and capabilities begin on the same line as the entry
3918 + fix a typo in ncurses_dll.h reported by gcc 3.3.
3919 + add an entry for key_defined.3x to man_db.renames.
3922 + modify setcchar() to allow converting control characters to complex
3923 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
3924 + add tkterm entry -TD
3925 + modify parse_entry.c to allow a terminfo entry with a leading
3926 2-character name (report by Don Libes).
3927 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
3928 + fix trace statements in read_entry.c to use lseek() rather than
3930 + fix signed/unsigned warnings from Sun's compiler (gcc should give
3931 these warnings, but it is unpredictable).
3932 + modify configure script to omit -Winline for gcc 3.3, since that
3934 + modify manlinks.sed to add a few functions that were overlooked since
3935 they return function pointers: field_init, field_term, form_init,
3936 form_term, item_init, item_term, menu_init and menu_term.
3939 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
3940 be switched between cooked/raw modes because it is not a TTY (report
3941 by Wolfgang Gutjahr <gutw@knapp.com>).
3942 + change parameter of define_key() and key_defined() to const (prompted
3944 + add a check in test/configure for ncurses extensions, since there
3945 are some older versions, etc., which would not compile with the
3946 current test programs.
3947 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
3948 convert wchar_t string to multibyte form before printing it.
3949 + corrections to lib_get_wstr.c:
3950 + null-terminate buffer passed to setcchar(), which occasionally
3952 + map special characters such as erase- and kill-characters into
3953 key-codes so those will work as expected even if they are not
3954 mentioned in the terminfo.
3955 + modify PUTC() and Charable() macros to make wide-character line
3956 drawing work for POSIX locale on Linux console (cf: 20021221).
3959 + make typography for program options in manpages consistent (report
3960 by Miloslav Trmac <mitr@volny.cz>).
3961 + correct dependencies in Ada95/src/Makefile.in, so the builds with
3962 "--srcdir" work (report by Warren L Dodge).
3963 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
3964 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
3965 + fix typos and whitespace in manpages (patch by Jason McIntyre
3966 <jmc@prioris.mini.pw.edu.pl>).
3969 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
3970 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
3971 the editing position before making modifications.
3972 + add test/demo_forms and associated test/edit_field.c demos.
3973 + modify test/configure.in to use test/modules for the list of objects
3974 to compile rather than using the list of programs.
3977 + modify logic of acsc to use the original character if no mapping is
3978 defined, noting that Solaris does this.
3979 + modify ncurses 'b' test to avoid using the acs_map[] array since
3980 20021231 changes it to no longer contain information from the acsc
3982 + modify makefile rules in c++, progs, tack and test to ensure that
3983 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
3984 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
3985 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
3986 not be shown when colors are used, i.e., if ncv#1 is set in the
3987 terminfo as is done in "screen".
3990 + add a test for slk_color(), in ncurses.c
3991 + fix some issues reported by valgrind in the slk_set() and slk_wset()
3992 code, from recent rewrite.
3993 + modify ncurses 'E' test to use show previous label via slk_label(),
3995 + modify wide-character versions of NewChar(), NewChar2() macros to
3996 ensure that the whole struct is initialized.
3999 + modify setupterm() to check if the terminfo and terminal-modes have
4000 already been read. This ensures that it does not reinvoke
4001 def_prog_mode() when an application calls more than one function,
4002 such as tgetent() and initscr() (report by Olaf Buddenhagen).
4005 + add 'E' test to ncurses.c, to exercise slk_wset().
4006 + correct handling of carriage-return in wgetn_wstr(), used in demo of
4008 + first draft of slk_wset() function.
4011 + improved warnings in tic when suppressing items to fit in termcap's
4013 + built a list in test/README showing which externals are being used
4014 by either programs in the test-directory or via internal library
4016 + adjust include-options in CF_ETIP_DEFINES to avoid missing
4017 ncurses_dll.h, fixing special definitions that may be needed for
4018 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
4021 + minor fixes for cardfile.c, to make it write the updated fields to
4022 a file when ^W is given.
4023 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
4027 + correct a case in _nc_remove_string(), used by define_key(), to avoid
4028 infinite loop if the given string happens to be a substring of other
4029 strings which are assigned to keys (report by John McCutchan).
4030 + add key_defined() function, to tell which keycode a string is bound
4031 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
4032 + correct keybound(), which reported definitions in the wrong table,
4033 i.e., the list of definitions which are disabled by keyok().
4034 + modify demo_keydef.c to show the details it changes, and to check
4038 + restructured test/configure script, make it work for libncursesw.
4039 + add description of link_fieldtype() to manpage (report by
4040 L Dee Holtsclaw <dee@sunbeltsoft.com>).
4043 + corrected ifdef's relating to configure check for wchar_t, etc.
4044 + if the output is a socket or other non-tty device, use 1 millisecond
4045 for the cost in mvcur; previously it was 9 milliseconds because the
4046 baudrate was not known.
4047 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
4048 glibc copies uninitialized data in that case, as noted by valgrind.
4049 + modify tput to use the same parameter analysis as tparm() does, to
4050 provide for user-defined strings, e.g., for xterm title, a
4051 corresponding capability might be
4053 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
4054 preprocessor. This works around Mac OS X's preprocessor, which
4055 insists on adding a blank on each side of the token (report/analysis
4056 by Kevin Murphy <murphy@genome.chop.edu>).
4059 + add configure check for wchar_t and wint_t types, rather than rely
4060 on preprocessor definitions. Also work around for gcc fixinclude
4061 bug which creates a shadow copy of curses.h if it sees these symbols
4062 apparently typedef'd.
4063 + if database is disabled, do not generate run_tic.sh
4064 + minor fixes for memory-leak checking when termcap is read.
4067 + add checking in tic for incomplete line-drawing character mapping.
4068 + updated configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
4069 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
4070 Gerben Wierda <Sherlock@rna.nl>).
4071 + make return value from _nc_printf_string() consistent. Before,
4072 depending on whether --enable-safe-sprintf was used, it might not be
4073 cached for reallocating.
4076 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
4077 + correct a potentially-uninitialized value if _read_termtype() does
4078 not read as much data as expected (report by Wolfgang Rohdewald
4080 + correct several places where the aclocal.m4 macros relied on cache
4081 variable names which were incompatible (as usual) between autoconf
4082 2.13 and 2.5x, causing the test for broken-linker to give incorrect
4083 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
4084 <te@dbs.uni-hannover.de>).
4085 + do not try to open gpm mouse driver if standard output is not a tty;
4086 the gpm library does not make this check (bug report for dialog
4087 by David Oliveira <davidoliveira@develop.prozone.ws>).
4090 + modified emx.src to correspond more closely to terminfo.src, added
4091 emx-base to the latter -TD
4092 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
4093 implement support for that in lib_mouse.c, lib_getch.c
4096 + revert 20030105 change to can_clear_with(), does not work for the
4097 case where the update is made on cells which are blanks with
4098 attributes, e.g., reverse.
4099 + improve ifdef's to guard against redefinition of wchar_t and wint_t
4100 in curses.h (report by Urs Jansen).
4103 + improve mvcur() by checking if it is safe to move when video
4104 attributes are set (msgr), and if not, reset/restore attributes
4105 within that function rather than doing it separately in the GoTo()
4106 function in tty_update.c (suggested by Philippe Blain).
4107 + add a message in run_tic.in to explain more clearly what does not
4108 work when attempting to create a symbolic link for /usr/lib/terminfo
4109 on OS/2 and other platforms with no symbolic links (report by John
4111 + change several sed scripts to avoid using "\+" since it is not a BRE
4112 (basic regular expression). One instance caused terminfo.5 to be
4113 misformatted on FreeBSD (report by Kazuo Horikawa
4114 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
4115 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
4118 + improve description of terminfo operators, especially static/dynamic
4119 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
4120 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
4121 use the predefined TYPE_ALPHA field-type, and by defining a
4122 specialized type for the middle initial/name.
4123 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
4125 > patch by Philippe Blain:
4126 + optimize can_clear_with() a little by testing first if the parameter
4127 is indeed a "blank".
4128 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
4129 sections as small as one line.
4130 + improve ClrToEOL() by checking if clr_eos is available before trying
4132 + use tputs() rather than putp() in a few cases in tty_update.c since
4133 the corresponding delays are proportional to the number of lines
4134 affected: repeat_char, clr_eos, change_scroll_region.
4137 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
4138 global acs_map[] array; removed the lines that did the copying.
4141 + change some overlooked tputs() calls in scrolling code to use putp()
4142 (report by Philippe Blain).
4143 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
4144 is not a tty and consequently mode-changes do not work (report by
4145 <R.Chamberlin@querix.com>).
4146 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
4147 alternate-characters, i.e., to work with Linux console and UTF-8
4149 + correct line/column reference in adjust_window(), needed to make
4150 special windows such as curscr track properly when resizing (report
4151 by Lucas Gonze <lgonze@panix.com>).
4152 > patch by Philippe Blain:
4153 + correct the value used for blank in ClrBottom() (broken in 20000708).
4154 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
4157 + change several tputs() calls in scrolling code to use putp(), to
4158 enable padding which may be needed for some terminals (patch by
4160 + use '%' as sed substitute delimiter in run_tic script to avoid
4161 problems with pathname delimiters such as ':' and '@' (report by John
4163 + implement a workaround so that line-drawing works with screen's
4164 crippled UTF-8 support (tested with 3.9.13). This only works with
4165 the wide-character support (--enable-widec); the normal library will
4166 simply suppress line-drawing when running in a UTF-8 locale in screen.
4169 + allow BUILD_CC and related configure script variables to be
4170 overridden from the environment.
4171 + make build-tools variables in ncurses/Makefile.in consistent with
4172 the configure script variables (report by Maciej W Rozycki).
4173 + modify ncurses/modules to allow
4174 configure --disable-leaks --disable-ext-funcs
4175 to build (report by Gary Samuelson).
4176 + fix a few places in configure.in which lacked quotes (report by
4177 Gary Samuelson <gary.samuelson@verizon.com>).
4178 + correct handling of multibyte characters in waddch_literal() which
4179 force wrapping because they are started too late on the line (report
4180 by Sam Varshavchik).
4181 + small fix for CF_GNAT_VERSION to ignore the help-message which
4182 gnatmake adds to its version-message.
4183 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
4184 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
4186 + use $cross_compiling variable in configure script rather than
4187 comparing $host_alias and $target alias, since "host" is
4188 traditionally misused in autoconf to refer to the target platform.
4189 + change configure --help message to use "build" rather than "host"
4190 when referring to the --with-build-XXX options.
4193 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
4194 possible gnat versions such as 3.2 (report by Chris Lingard
4195 <chris@stockwith.co.uk>).
4196 + modify #define's for CKILL and other default control characters in
4197 tset to use the system's default values if they are defined.
4198 + correct interchanged defaults for kill and interrupt characters
4199 in tset, which caused it to report unnecessarily (Debian #171583).
4200 + repair check for missing C++ compiler, which is broken in autoconf
4201 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
4202 + update config.guess, config.sub (2002-11-30)
4203 + modify configure script to skip --with-shared, etc., when the
4204 --with-libtool option is given, since they would be ignored anyway.
4205 + fix to allow "configure --with-libtool --with-termlib" to build.
4206 + modify configure script to show version number of libtool, to help
4207 with bug reports. libtool still gets confused if the installed
4208 ncurses libraries are old, since it ignores the -L options at some
4209 point (tested with libtool 1.3.3 and 1.4.3).
4210 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
4211 prevent -I options in the user's environment from introducing
4212 conflicts with the build -I options (may be related to reports by
4213 Patrick Ash and George Goffe).
4214 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
4215 test/demo_keyok.c to allow building these with libtool.
4218 + add example program test/define_key.c for define_key().
4219 + add example program test/keyok.c for keyok().
4220 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
4221 + modify wins_wch() and wins_wstr() to interpret tabs by using the
4222 winsch() internal function.
4223 + modify setcchar() to allow for wchar_t input strings that have
4224 more than one spacing character.
4227 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
4228 + change type for *printw functions from NCURSES_CONST to const
4229 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
4230 but really from a note on X/Open's website stating that either is
4231 acceptable, and the latter will be used in a future revision).
4232 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
4233 lib_mouse.c (20021026) -TD
4234 + add screen-bce, screen-s entries from screen 3.9.13 (report by
4235 Adam Lazur <zal@debian.org>) -TD
4236 + add mterm terminfo entries -TD
4239 + split-out useful fragments in terminfo for vt100 and vt220 numeric
4240 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
4241 vt220+keypad. The last as embedded in various entries had ka3 and
4242 kb2 interchanged (report/discussion with Leonard den Ottolander
4243 <leonardjo@hetnet.nl>).
4244 + add check in tic for keypads consistent with vt100 layout.
4245 + improve checks in tic for color capabilities
4248 + check for missing/empty/illegal terminfo name in _nc_read_entry()
4249 (report by Martin Mokrejs, where $TERM was set to an empty string).
4250 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
4251 tab and other control characters consistently (report by Philippe
4253 + remove an #undef for KEY_EVENT from curses.tail used in the
4254 experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses
4255 dpkg's build script (Debian #165897).
4256 + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
4257 feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
4260 + implement logic in lib_mouse.c to handle position reports which are
4261 generated when XFree86 xterm is initialized with private modes 1002
4262 or 1003. These are returned to the application as the
4263 REPORT_MOUSE_POSITION mask, which was not implemented. Tested both
4264 with ncurses 'a' menu (prompted by discussion with Larry Riedel
4265 <Larry@Riedel.org>).
4266 + modify lib_mouse.c to look for "XM" terminfo string, which allows
4267 one to override the escape sequence used to enable/disable mouse
4268 mode. In particular this works for XFree86 xterm private modes
4269 1002 and 1003. If "XM" is missing (note that this is an extended
4270 name), lib_mouse uses the conventional private mode 1000.
4271 + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
4272 where it used screen_lines (report by Philippe Blain).
4273 + correct makefile rules for the case when both --with-libtool and
4274 --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
4275 + add note to terminfo manpage regarding the differences between
4276 setaf/setab and setf/setb capabilities (report by Pavel Roskin).
4279 + remove redundant initialization of TABSIZE in newterm(), since it is
4280 already done in setupterm() (report by Philippe Blain).
4281 + add test/inserts.c, to test winnstr() and winsch().
4282 + replace 'sort' in dist.mk with script that sets locale to POSIX.
4283 + update URLs in announce.html.in (patch by Frederic L W Meunier).
4284 + remove glibc add-on files, which are no longer needed (report by
4285 Frederic L W Meunier).
4287 20021012 5.3 release for upload to ftp.gnu.org
4288 + modify ifdef's in etip.h.in to allow the etip.h header to compile
4289 with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
4290 + add logic to setupterm() to make it like initscr() and newterm(),
4291 by checking for $NCURSES_TRACE environment variable and enabling
4292 the debug trace in that case.
4293 + modify setupterm() to ensure that it initializes the baudrate, for
4294 applications such as tput (report by Frank Henigman).
4295 + modify definition of bits used for command-line and library debug
4296 traces to avoid overlap, using new definition TRACE_SHIFT to relate
4298 + document tput's interpretation of parameterized strings according to
4299 whether parameters are given, etc. (discussion with Robert De Bath).
4301 20021005 pre-release
4302 + correct winnwstr() to account for non-character cells generated when
4303 a double-width character is added (report by Michael Bienia
4304 <michael@vorlon.ping.de>).
4305 + modify _nc_viswbuf2n() to provide better results using wctomb().
4306 + correct logic in _nc_varargs() which broke tracing of parameters for
4307 formats such as "%.*s".
4308 + correct scale factor in linux-c and linux-c-nc terminfo entries
4309 (report Floyd Davidson).
4310 + change tic -A option to -t, add the same option to infocmp for
4312 + correct "%c" implementation in lib_tparm.c, which did not map a null
4313 character to a 128 (cf: 980620) (patch by Frank Henigman
4314 <fjhenigman@mud.cgl.uwaterloo.ca>).
4316 20020928 pre-release
4317 + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
4318 it is found, to accommodate newer utility which dropped the
4319 compatibility support for +number options (reported by Andrey A
4321 + modify linux terminfo entry to use color palette feature from
4322 linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
4323 + restore original color definitions in endwin() if init_color() was
4324 used, and resume those colors on the next doupdate() or refresh()
4325 (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
4326 + improve debug-traces by modifying MKlib_gen.sh to generate calls
4327 to returnBool() and returnAttr().
4328 + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
4329 of waddnstr() and similar functions to match the parameters as used.
4330 + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
4331 + correct type used by _nc_retrace_chtype().
4332 + add debug traces to some functions in lib_mouse.c
4333 + modify lib_addch.c to handle non-spacing characters.
4334 + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
4335 demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
4336 + correct width computed in _tracedump(), which did not account for
4337 the attributes (broken in 20010602).
4338 + modify test/tracemunch to replace addresses for windows other than
4339 curscr, newscr and stdscr with window0, window1, etc.
4341 20020921 pre-release
4342 + redid fix for edit_man.sed path.
4343 + workaround for Cygwin bug which makes subprocess writes to stdout
4344 result in core dump.
4345 + documented getbegx(), etc.
4346 + minor fixes to configure script to use '%' consistently as a sed
4347 delimiter rather than '@'.
4348 > patch by Philippe Blain:
4349 + add check in lib_overlay.c to ensure that the windows to be merged
4350 actually overlap, and in copywin(), limit the area to be touched
4351 to the lines given for the destination window.
4353 20020914 pre-release
4354 + modified curses.h so that if the wide-character version is installed
4355 overwriting /usr/include/curses.h, and if it relied on libutf8.h,
4356 then applications that use that header for wide-character support
4357 must define HAVE_LIBUTF8_H.
4358 + modify putwin(), getwin() and dupwin() to allow them to operate on
4359 pads (request by Philippe Blain).
4360 + correct attribute-merging in wborder(), broken in 20020216 (report
4361 by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
4362 > patch by Philippe Blain:
4363 + corrected pop-counts in tparam_internal() to '!' and '~' cases.
4364 + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
4365 + remove some unused variables from mvcur test-driver.
4367 20020907 pre-release
4368 + change configure script to allow install of widec-character
4369 (ncursesw) headers to overwrite normal (ncurses) headers, since the
4370 latter is a compatible subset of the former.
4371 + fix path of edit_man.sed in configure script, needed to regenerate
4372 html manpages on Debian.
4373 + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
4374 + update README.emx to reflect current patch used for autoconf.
4375 + change web- and ftp-site to invisible-island.net
4376 > patch by Philippe Blain:
4377 + change case for 'P' in tparam_internal() to indicate that it pops
4378 a variable from the stack.
4379 + correct sense of precision and width in parse_format(), to avoid
4381 + modify lib_tparm.c, absorb really_get_space() into get_space().
4382 + modify getwin() and dupwin() to copy the _notimeout, _idlok and
4383 _idcok window fields.
4384 + better fix for _nc_set_type(), using typeMalloc().
4386 20020901 pre-release
4387 + change minor version to 3, i.e., ncurses 5.3
4388 + update config.guess, config.sub
4389 + retest build with each configure option; minor ifdef fixes.
4390 + make keyname() return a null pointer rather than "UNKNOWN STRING" to
4392 + modify handling of wide line-drawing character functions to use the
4393 normal line-drawing characters when not in UTF-8 locale.
4394 + add check/fix to comp_parse.c to suppress warning about missing acsc
4395 string. This happens in configurations where raw termcap information
4396 is processed; tic already does this and other checks.
4397 + modify tic's check for ich/ich1 versus rmir/smir to only warn about
4398 ich1, to match xterm patch #70 notes.
4399 + moved information for ripped-off lines into SCREEN struct to allow
4400 use in resizeterm().
4401 + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
4402 (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
4403 + amend check in kgetch() from 20020824 to look only for function-keys,
4404 otherwise escape sequences are not resolved properly.
4405 > patch by Philippe Blain:
4406 + removed redundant assignment to SP->_checkfd from newterm().
4407 + check return-value of setupterm() in restartterm().
4408 + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
4409 + prevent dupwin() from duplicating a pad.
4410 + prevent putwin() from writing a pad.
4411 + use typeRealloc() or typeMalloc() in preference to direct calls on
4415 + add a check in kgetch() for cooked characters in the fifo to avoid
4416 calling fifo_push() when a KEY_RESIZE is available (report/analysis
4417 by Sam Varshavchik <mrsam@courier-mta.com>).
4418 + fix an overlooked case for bugzilla #68199 (Philippe Blain).
4419 + ensure clearerr() is called before using ferror() e.g., in
4420 lib_screen.c (report by Philippe Blain).
4423 + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
4424 pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
4425 modify the global curscr/stdscr/newscr variables. Fixes Redhat
4426 bugzilla #68199 dated 2002-07-07.
4427 + add checks for null pointer in calls to tparm() and tgoto() based on
4428 FreeBSD bug report. If ncurses were built with termcap support, and
4429 the first call to tgoto() were a zero-length string, the result would
4430 be a null pointer, which was not handled properly.
4431 + correct a typo in terminfo.head, which gave the octal code for colon
4433 + remove the "tic -u" option from 20020810, since it did not account
4434 for nested "tc=" clauses, and when that was addressed, was still
4438 + add tic -A option to suppress capabilities which are commented out
4439 when translating to termcap.
4440 + add tic -u option to provide older behavior of "tc=" clauses.
4441 + modified tic to expand all but the final "tc=" clause in a termcap
4442 entry, to accommodate termcap libraries which do not handle multiple
4444 + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
4446 + remove a couple of redundant uses of A_ATTRIBUTES in expressions
4447 using AttrOf(), which already incorporates that mask (report by
4449 + document TABSIZE variable.
4450 + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
4451 override compiled-in default black-on-white assumption used in
4452 assume_default_colors().
4453 + correct an off-by-one comparison against max_colors in COLORFGBG
4455 + correct a use of uninitialized memory found by valgrind (reported by
4456 Olaf Buddenhagen <olafBuddenhagen@web.de>).
4457 + modified wresize() to ensure that a failed realloc will not corrupt
4458 the window structure, and to make subwindows fit within the resized
4459 window (completes Debian #87678, #101699)
4462 + fix an off-by-one in lib_pad.c check for limits of pad (patch by
4464 + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
4465 logic used by lib_getch.c's support for GPM or EMX mouse (report by
4467 + remove NCURSES_CONST from several prototypes in curses.wide, to make
4468 the --enable-const --enable-widec configure options to work together
4469 (report by George Goffe <grgoffe@yahoo.com>).
4472 + finish no-leak checking in cardfile.c, using this for testing changes
4474 + simplify _nc_freeall() using delscreen().
4477 + check error-return from _nc_set_tty_mode() in _nc_initscr() and
4478 reset_prog_mode() (report/patch by Philippe Blain).
4479 + regenerate configure using patch for autoconf 2.52, to address
4480 problem with identifying C++ bool type.
4481 + correct/improve logic to produce an exit status for errors in tput,
4482 which did not exit with an error when told to put a string not in the
4483 current terminfo entry (report by David Gomez <david@pleyades.net>).
4484 + modify configure script AC_OUTPUT() call to work around defect in
4485 autoconf 2.52 which adds an ifdef'd include to the generated
4486 configure definitions.
4487 + remove fstat() check from scr_init(), which also fixes a missing
4488 include for <sys/stat.h> from 20020713 (reported by David Ellement,
4489 fix suggested by Philippe Blain).
4490 + update curs_scanw.3x manpage to note that XSI curses differs from
4491 SVr4 curses: return-values are incompatible.
4492 + correct several prototypes in manpages which used const
4493 inconsistently with the curses.h file, and removed spurious const's
4494 in a few places from curses.h, e.g., for wbkgd() (report by Glenn
4495 Maynard <glenn@zewt.org>).
4496 + change internal type used by tparm() to long, to work with LP64 model.
4497 + modify nc_alloc.h to allow building with g++, for testing.
4500 + add resize-handling to cardfile.c test program.
4501 + altered resizeterm() to avoid having it fail when a child window
4502 cannot be resized because it would be larger than its parent. (More
4503 work must be done on this, but it works well enough to integrate).
4504 + improve a limit-check in lib_refresh.c
4505 + remove check in lib_screen.c relating dumptime to file's modification
4506 times, since that would not necessarily work for remotely mounted
4508 + modify lrtest to simplify debugging changes to resizeterm, e.g.,
4509 t/T commands to enable/disable tracing.
4510 + updated status of multibyte support in TO-DO.
4511 + update contact info in source-files (patch by Juergen Pfeifer).
4514 + add Caps.hpux11, as an example.
4515 + modify version_filter(), used to implement -R option for tic and
4516 infocmp, to use computed array offsets based on the Caps.* file which
4517 is actually configured, rather than constants which correspond to
4519 + reorganized lib_raw.c to avoid updating SP and cur_term state if the
4520 functions fail (reported by Philippe Blain).
4521 + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
4524 + correct parameters to setcchar() in ncurses.c (cf: 20020406).
4525 + set locale in most test programs (view.c and ncurses.c were the
4527 + add configure option --with-build-cppflags (report by Maksim A
4528 Nikulin <M.A.Nikulin@inp.nsk.su>).
4529 + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
4531 + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
4532 in UTF-8 locale. Wide-character functions use Unicode values, while
4533 narrow-character functions use the terminfo data.
4534 + fix a couple of places in Ada95/samples which did not compile with
4536 + modify mkinstalldirs so the DOS-pathname case is locale-independent.
4537 + fix locale problem in MKlib_gen.sh by forcing related variables to
4538 POSIX (C), using same approach as autoconf (set variables only if
4539 they were set before). Update MKterminfo.sh and MKtermsort.sh to
4543 + add charset to generated html.
4544 + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
4545 <dcrudy@pacbell.net> -TD
4546 + add rxvt-16color, ibm+16color entries -TD
4547 + modify check in --disable-overwrite option so that it is used by
4548 default unless the --prefix/$prefix value is not /usr, in attempt to
4549 work around packagers, e.g., for Sun's freeware, who do not read the
4553 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
4554 key code in get_wch().
4555 + extended resize-handling in test/ncurses 'a' menu to the entire
4556 stack of windows created with 'w' commands.
4557 + improve $COLORFGBG feature by interpreting an out-of-range color
4558 value as an SGR 39 or 49, for foreground/background respectively.
4559 + correct a typo in configure --enable-colorfgbg option, and move it
4560 to the experimental section (cf: 20011208).
4563 + add logic to dump_entry.c to remove function-key definitions that do
4564 not fit into the 1023-byte limit for generated termcaps. This makes
4566 + more improvements to tic's warnings, including logic to ignore
4567 differences between delay values in sgr strings.
4568 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
4569 accommodate Caps.osf1r5 which introduced a conflicting definition.
4572 + add simple resize-handling in test/ncurses.c 'a' menu.
4573 + fixes in keyname() and _tracechar() to handle negative values.
4574 + make tic's warnings about mismatches in sgr strings easier to follow.
4575 + correct tic checks for number of parameters in smgbp and smglp.
4576 + improve scoansi terminfo entry, and add scoansi-new entry -TD
4577 + add pcvt25-color terminfo entry -TD
4578 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
4579 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
4580 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
4581 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
4584 + correct and simplify logic for lib_pad.c change in 20020518 (reported
4588 + fix lib_pad.c for case of drawing a double-width character which
4589 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
4590 <lerdsuwa@users.sourceforge.net>)
4591 + modify configure script to work around broken gcc 3.1 "--version"
4592 option, which adds unnecessary trash to the requested information.
4593 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
4594 (reported by Ben Decker <deckerben@freenet.de>).
4597 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
4598 character versions as well.
4599 + implement erasewchar(), killwchar() based on erasechar() and
4601 + modify erasechar() and killchar() to return ERR if the value was
4603 + correct a bug in wresize() in handling subwindows (based on patch by
4604 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
4605 <scott@gossamer-threads.com>).
4606 + improve test/tclock.c by making the second-hand update more often
4607 if gettimeofday() is available.
4610 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
4611 Tsouladze <andyt@mypoints.com>).
4614 + correct return-value from getcchar(), making it consistent with
4616 + reorder loops that generate makefile rules for different models vs
4617 subsets so configure --with-termlib works again. This was broken by
4618 logic added to avoid duplicate rules in changes to accommodate cygwin
4619 dll's (reported by George.R.Goffe@seagate.com).
4620 + update config.guess, config.sub
4623 + modify ifdef's in write_entry.c to allow use of symbolic links on
4624 platforms with no hard links, e.g., BeOS.
4625 + modify a few includes to allow compile with BeOS, which has stdbool.h
4626 with a conflicting definition for 'bool' versus its OS.h definition.
4627 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
4628 alias for 'function'.
4631 + correct form of prototype for ripoffline().
4632 + modify MKlib_gen.sh to test that all functions marked as implemented
4636 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
4637 + implement wgetn_wstr().
4638 + implement win_wchnstr().
4639 + remove redefinition of unget_wch() in lib_gen.c (reported by
4640 Jungshik Shin <jshin@jtan.com>).
4643 + modified several of the test programs to allow them to compile with
4644 vendor curses implementations, e.g., Solaris, AIX -TD
4647 + modified test/configure to allow configuring against ncursesw.
4648 + change WACS_xxx definition to use address, to work like Tru64 curses.
4651 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
4652 effect of echo/noecho and meta modes.
4653 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
4655 + add manpage: curs_get_wch.3x
4656 + implement unget_wch().
4657 + implement wget_wch().
4660 + regenerated html manpages.
4661 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
4662 + implement wins_wch().
4663 + implement win_wch().
4664 + implement wins_nwstr(), wins_wstr().
4667 + add manpages: curs_addwstr.3x, curs_winwstr.3x
4668 + implement winnwstr(), winwstr().
4671 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
4672 + document wunctrl, key_name.
4673 + implement key_name().
4674 + remove const's in lib_box.c incorrectly leftover after splitting off
4676 + update llib-lncurses, llib-ncursesw, fix configure script related to
4680 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
4681 in spurious symlinks on install.
4684 + implement whline_set(), wvline_set(), add manpage curs_border_set.
4685 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
4686 box() and box_set() functions.
4687 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
4688 given UTF-8 string equivalents of WACS_xxx symbols.
4689 + minor fixes to several manpages based on groff -ww output.
4690 + add descriptions of external variables of termcap interface to
4691 the manpage (report by Bruce Evans <bde@zeta.org.au>).
4692 > patches by Bernhard Rosenkraenzer:
4693 + correct configure option --with-bool, which was executed as
4695 + add quotes for parameters of --with-bool and --with-ospeed configure
4697 > patch by Sven Verdoolaege (report by Gerhard Haering
4698 <haering_linux@gmx.de>):
4699 + correct typos in definitions of several wide-character macros:
4700 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
4702 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
4703 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
4706 + implement wide-acs characters for UTF-8 locales. When in UTF-8
4707 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
4709 + correct prototype in keybound manpage (noted from a Debian mailing
4713 + add several cases to the wscanw() example in testcurs.c, showing the
4715 + implement a simple vsscanf() fallback function which uses the %n
4716 conversion to help parse the input data (prompted by discussion with
4717 Albert Chin-A-Young).
4718 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
4719 shared libraries, and to use $(CFLAGS) when linking test programs
4720 (patch by Albert Chin-A-Young).
4721 + add a call to _nc_keypad() in keypad() to accommodate applications
4722 such as nvi, which use curses for output but not for input (fixes
4723 Debian #131263, cf: 20011215).
4724 + add entrypoints to resizeterm.c which provide better control over the
4725 process: is_term_resized() and resize_term(). The latter restores
4726 the original design of resizeterm() before KEY_RESIZE was added in
4727 970906. Do this to accommodate 20010922 changes to view.c, but allow
4728 for programs with their own sigwinch handler, such as lynx (reported
4729 by Russell Ruby <russ@math.orst.edu>).
4732 + fix a typo in change to mk-1st.awk, which broke the shared-library
4733 makefile rules (reported by Martin Mokrejs).
4736 + update config.guess, config.sub
4737 + finish changes needed to build dll's on cygwin.
4738 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
4741 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
4742 + correct missing sed-editing stage in manpage installs which is used
4743 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
4745 + remove -L$(libdir) from linker flags, probably not needed any more
4746 since HPUX is handled properly (reported by Niibe Yutaka
4748 + add configure check for mbstate_t, needed for wide-character
4749 configuration. On some platforms we must include <wchar.h> to
4750 define this (reported by Daniel Jacobowitz).
4751 + incorporate some of the changes needed to build dll's on cygwin.
4754 + workaround for awk did not work with mawk, adjusted shell script.
4757 + add Caps.osf1r5, as an example.
4758 + modify behavior of can_clear_with() so that if an application is
4759 running in a non-bce terminals with default colors enabled, it
4760 returns true, allowing the user to select/paste text without picking
4761 up extraneous trailing blanks (adapted from patch by Daniel
4762 Jacobowitz <dmj+@andrew.cmu.edu>).
4763 + modify generated curses.h to ifdef-out prototypes for extensions if
4764 they are disabled, and to define curses_version() as a string in that
4765 case. This is needed to make the programs such as tic build in that
4767 + modified generated headers.sh to remove a gzip'd version of the
4768 target file if it exists, in case non-gzip'd manpages are installed
4769 into a directory where gzip'd ones exist. In that case, the latter
4771 + corrected a redundant initialization of signal handlers from 20010922
4773 + clarified bug-reporting address in terminfo.src (report by John H
4774 DuBois III <spcecdt@armory.com>).
4775 > several fixes from Robert Joop:
4776 + do not use "-v" option of awk in MKkey_defs.sh because it does not
4777 work with SunOS nawk.
4778 + modify definitions for libutf8 in curses.h to avoid redefinition
4780 + quoted references to compiler in shell command in misc/Makefile, in
4781 case it uses multiple tokens.
4784 + restore special case from 20010922 changes to omit SA_RESTART when
4785 setting up SIGWINCH handler, which is needed to allow wgetch() to be
4786 interrupted by that signal.
4787 + updated configure macro CF_WITH_PATHLIST, to omit some double quotes
4788 not needed with autoconf 2.52
4789 + revert configure script to autoconf 2.13 patched with
4790 autoconf-2.13-19990117.patch.gz (or later)
4792 ftp://invisible-island.net/autoconf/
4793 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
4794 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
4795 different problem configuring with Mac OS X (reported by Marc Smith
4796 <marc.a.smith@home.com>).
4799 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
4801 + move prototype for _nc_vsscanf() into curses.h.in to omit
4802 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
4803 ncurses_cfg.h file which is not installed.
4804 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
4805 to work with broken linker configuration, e.g., cygwin (report by
4806 Robert Joop <rj@rainbow.in-berlin.de>).
4807 + make napms() call _nc_timed_wait() rather than poll() or select(),
4808 to work around broken implementations of these on cygwin.
4811 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
4812 by Sven Verdoolaege's rewrite of wide-character support. This makes
4813 libncursesw incompatible again, but makes the header files almost the
4814 same as in the narrow-character configuration.
4815 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
4816 to eliminate differences between the wide/narrow versions of curses.h
4817 + correct typo in configure macro CF_FUNC_VSSCANF
4818 + correct location of call to _nc_keypad() from 20011215 changes which
4819 prevented keypad() from being disabled (reported by Lars Hecking).
4822 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
4823 better, e.g., by adding a 'w' command to create new windows which
4824 may have different keypad() settings.
4825 + corrected logic of keypad() by adding internal screen state to track
4826 whether the terminal's keypad-mode has been set. Use this in
4827 wgetch() to update the keypad-mode according to whether the
4828 associated window's keypad-mode has been set with keypad(). This
4829 corrects a related problem restoring terminal state after handling
4830 SIGTSTP (reported by Mike Castle).
4831 + regenerate configure using patch for autoconf 2.52
4832 autoconf-2.52-patch.gz
4834 ftp://invisible-island.net/autoconf/
4835 + update config.guess, config.sub from
4836 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
4837 + minor changes to quoting in configure script to allow it to work
4841 + modify final checks in lib_setup.c for line and col values, making
4843 + modify acs_map[] if configure --broken-linker is specified, to make
4844 it use a function rather than an array (prompted by an incorrect
4845 implementation in cygwin package).
4846 + correct spelling of configure option --enable-colorfgbg, which
4847 happened to work if --with-develop was set (noted in cygwin package
4849 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
4850 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
4851 + add configure checks to see if ncurses' fallback vsscanf() will
4852 compile either of the special cases for FILE structs, and if not,
4853 force it to the case which simply returns an error (report by
4854 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
4855 64-bits does not allow access to FILE's fields).
4856 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
4857 the ncurses library if no better substitute for this can be found
4859 + modify the build to name dynamic libraries according to the
4860 convention used on OS X and Darwin. Rather than something like
4861 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
4862 There are a few additional minor fixes, such as setting the library
4863 version and compatibility version numbers (patch by Jason Evans
4864 <jevans@apple.com>).
4865 + use 'sh' to run mkinstalldirs, to work around problems with buggy
4866 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
4867 + correct typo in manpage description of curs_set() (Debian #121548).
4868 + replace the configure script existence-check for mkstemp() by one
4869 that checks if the function works, needed for older glibc and
4873 + modify script that generates fallbacks.c to compile a temporary
4874 copy of the terminfo source in case the host does not contain all of
4875 the entries requested for fallbacks (request by Greg Roelofs).
4876 + modify configure script to accommodate systems such as Mac OS X whose
4877 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
4878 which normally makes 'bool' consistent with C++. Include <stdbool.h>
4879 from curses.h to force consistent usage, define a new type
4880 NCURSES_BOOL and related that to the exported 'bool' as either a
4881 typedef or definition, according to whether <stdbool.h> is present
4882 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
4885 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
4888 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
4889 (Benjamin C W Sittler).
4890 + add putty terminfo entry -TD
4891 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
4892 this may not otherwise be defined to make test/view.c compile.
4895 + review/correct several missing/generated items in curses.wide, sorted
4896 the lists to make subsequent diff's easier to track.
4899 + add manual pages for add_wch(), echo_wchar(), getcchar(),
4900 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
4901 + implement wecho_wchar()
4902 + modify _tracedump() to handle wide-characters by mapping them to '?'
4903 and control-characters to '.', to make the trace file readable. Also
4904 dynamically allocate the buffer used by _tracedump() for formatting
4906 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
4907 in a trace by using curly braces.
4908 + implement _nc_viscbuf(), for tracing cchar_t arrays.
4909 + correct trace-calls in setcchar() and getcchar() functions, which
4910 traced the return values but not the entry to each function.
4911 + correct usage message in test/view.c, which still mentioned -u flag.
4914 + modify configure script to allow building with termcap only, or with
4915 fallbacks only. In this case, we do not build tic and toe.
4916 + add configure --with-termpath option, to override default TERMPATH
4917 value of /etc/termcap:/usr/share/misc/termcap.
4918 + cosmetic change to tack: make menu descriptions agree with menu
4922 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
4923 to ensure that if the parameter of wscrl() is larger than the size of
4924 the scrolling region, then the scrolling region will be cleared
4925 (report by Ben Kohlen <bckohlen@yahoo.com>).
4926 + add trace/varargs.c, using this to trace parameters in lib_printw.c
4927 + implement _tracecchar_t2() and _tracecchar_t().
4928 + split-out trace/visbuf.c
4929 + correct typo in lib_printw.c changes from 20010922 (report by Mike
4933 + modify run_tic.sh to check if the build is a cross-compile. In that
4934 case, do not use the build's tic to install the terminfo database
4935 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
4936 + modify mouse click resolution so that mouseinterval(-1) will disable
4937 it, e.g., to handle touchscreens via a slow connection (request by
4938 Byron Stanoszek <gandalf@winds.org>).
4939 + correct mouseinterval() default value shown in curs_mouse.3x
4940 + remove conflicting definition of mouse_trafo() (reported by Lars
4941 Hecking, using gcc 2.95.3).
4944 + simpler fix for signal_name(), to replace the one overlooked in
4945 20010929 (reported by Larry Virden).
4948 + add -i option to view.c, to test ncurses' check for non-default
4949 signal handler for SIGINT, etc.
4950 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
4951 <bbraun@synack.net>).
4952 + modify tset to restore original I/O modes if an error is encountered.
4953 Also modify to use buffered stderr consistently rather than mixing
4955 + change signal_name() function to use if-then-else rather than case
4956 statement, since signal-values aren't really integers (reported by
4958 + add limit checks in wredrawln(), fixing a problem where lynx was
4959 repainting a pad which was much larger than the screen.
4962 + fix: PutRange() was counting the second part of a wide character as
4963 part of a run, resulting in a cursor position that was one too far
4964 (patch by Sven Verdoolaege).
4965 + modify resizeterm() to not queue a KEY_RESIZE if there was no
4966 SIGWINCH, thereby separating the two styles of SIGWINCH handling
4968 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
4969 + eliminate several static buffers in the terminfo compiler, using
4971 + modify MKkeyname.awk so that keyname() does not store its result into
4972 a static buffer that is overwritten by the next call.
4973 + reorganize the output of infocmp -E and -e options to compile cleanly
4974 with gcc -Wwrite-strings warnings.
4975 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
4978 + add label to test/view.c, showing the name of the last key or signal
4979 that made the screen repaint, to make it clearer when a sigwinch
4981 + use ExitProgram() consistently in the test-programs to make it
4982 simpler to test leaks with dmalloc, etc.
4983 + move hashtab static data out of hashmap.c into SCREEN struct.
4984 + make NO_LEAK code compile with revised WINDOWLIST structs.
4987 + modify tgetent() to check if exit_attribute_mode resets the alternate
4988 character set, and if so, attempt to adjust the copy of the termcap
4989 "me" string which it will return to eliminate that part. In
4990 particular, 'screen' would lose track of line-drawing characters
4991 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
4995 + specify DOCTYPE in html manpages.
4996 + add missing macros for several "generated" functions: attr_get(),
4997 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
4999 + modify view.c to agree with non-experimental status of ncurses'
5001 + change the sense of the -r option, making it default to ncurses'
5003 + add a note explaining what functions are unsafe in a signal
5005 + add a -c option, to set color display, for testing.
5006 + unset $data variable in MKterminfo.sh script, to address potential
5007 infinite loop if shell malfunction (report by Samuel Mikes
5008 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
5009 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
5010 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
5011 + correct logic for COLORFGBG environment variable: if rxvt is compiled
5012 with xpm support, the variable has three fields, making it slightly
5013 incompatible with itself. In either case, the background color is
5017 + move calls to def_shell_mode() and def_prog_mode() before loop with
5018 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
5019 the tty modes before saving them (patch by John David Anglin
5020 <dave@hiauly1.hia.nrc.ca>).
5021 + duplicate logic used to initialize trace in newterm(), in initscr()
5022 to avoid confusing trace of initscr().
5023 + simplify allocation of WINDOW and WINDOWLIST structs by making the
5024 first a part of the second rather than storing a pointer. This saves
5025 a call to malloc for each window (discussion with Philippe Blain).
5026 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
5028 + modify c++/Makefile.in to accommodate archive programs that are
5029 different for C++ than for C, and add cases for vendor's C++
5030 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
5031 + correct manpage description of criteria for deciding if the terminal
5032 supports xterm mouse controls.
5033 + add several configure script options to aid with cross-compiling:
5034 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
5035 --with-build-libs (request by Greg Roelofs).
5036 + change criteria for deciding if configure is cross-compiling from
5037 host/build mismatch to host/target mismatch (request by Greg Roelofs
5038 <greg.roelofs@philips.com>).
5039 + correct logic for infocmp -e and -E options which writes the data for
5040 the ext_Names[] array. This is needed if one constructs a fallback
5041 table for a terminfo entry which uses extended termcap names, e.g.,
5042 AX in a color xterm.
5043 + fix undefined NCURSES_PATHSEP when configure --disable-database
5047 + fix for VALID_BOOLEAN() macro when char is not signed.
5048 + modify 'clean' rule for C++ binding to work with Sun compiler, which
5049 caches additional information in a subdirectory of the objects.
5050 + added llib-ncursesw.
5053 + add Caps.keys example for experimental extended function keys
5054 (adapted from a patch by Ilya Zakharevich).
5055 + correct parameter types of vidputs() and vidattr() to agree with
5056 header files (report by William P Setzer).
5057 + fix typos in several man-pages (patch by William P Setzer).
5058 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
5059 macro, which made ncurses C++ binding fail to build with other
5060 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
5061 + workaround for bug in HPUX 11.x C compiler: add a blank after
5062 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
5063 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
5064 Albert Chin-A-Young).
5065 + correct definition of key_end in Caps.aix4, which left KEY_END
5066 undefined (report by Albert Chin-A-Young).
5067 + remove a QNX-specific fallback prototype for vsscanf(), which is
5068 obsolete with QNX RTP.
5069 + review/fix some of the T() and TR() macro calls, having noticed that
5070 there was no data for delwin() in a trace of dialog because there was
5071 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
5072 now selected under TRACE_IEVENT rather than TRACE_CALLS.
5075 + add a _nc_access() check before opening files listed via $TERMPATH.
5076 + using modified man2html, regenerate some of the html manpages to fix
5077 broken HREF's where the link was hyphenated.
5080 + add some limit/pointer checks to -S option of tputs.
5081 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
5082 (Benjamin C W Sittler).
5083 + add a note in curs_termcap.3x regarding a defect in the XSI
5084 description of tgetent (based on a discussion with Urs Jansen
5085 regarding the HPUX 11.x implementation, whose termcap interface is
5086 not compatible with existing termcap programs).
5087 + modify manhtml rule in dist.mk to preserve copyright notice on the
5088 generated files, as well as to address HTML style issues reported by
5089 tidy and weblint. Regenerated/updated corresponding html files.
5090 + comment out use of Protected_Character and related rarely used
5091 attributes in ncurses Ada95 test/demo to compile with wide-character
5095 + implement a simple example in C++ demo to test scanw().
5096 + corrected stdio function used to implement scanw() in cursesw.cc
5097 + correct definition of RemAttr() macro from 20010602 changes, which
5098 caused C++ SillyDemo to not show line-drawing characters.
5099 + modify C++ binding, adding getKey() which can be overridden by user
5100 to substitute functions other than getch() for keyboard processing
5101 of forms and menus (patch by Juergen Pfeifer).
5104 + fix some of the trace calls which needed modification to work with
5105 new wide-character structures.
5106 + modify magic-cookie code in tty_update.c to compile with new
5107 wide-character structures (report by <George.R.Goffe@seagate.com>).
5108 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
5109 compiling for wide-character configuration.
5110 + make addwnstr() handle non-spacing characters (patch by Sven
5114 + add configure check to define _GNU_SOURCE, needed to prop up glibc
5116 + split-out include/curses.wide to solve spurious redefinitions caused
5117 by defining _GNU_SOURCE, and move includes for <signal.h> before
5118 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
5120 + extended ospeed change to NetBSD and OpenBSD -TD
5121 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
5122 work properly for termcap applications (patch by Andrey A Chernov).
5125 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
5126 <eugene@anime.net>, Sven Verdoolaege).
5127 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
5130 + change overlooked several CharOf/UChar instances.
5131 > several patches from Sven Verdoolaege:
5132 + correct a typo in wunctrl(), which made it appear that botwc() was
5133 needed (no such function: use btowc()).
5134 + reimplement wide-character demo in test/view.c, using new functions.
5135 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
5136 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
5139 + add parentheses in macros for malloc in test.priv.h, fixes an
5140 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
5141 + add Caps.uwin, as an example.
5142 + change the way curses.h is generated, making the list of function
5143 key definitions extracted from the Caps file.
5144 + add #undef's before possible redefinition of ERR and OK in curses.h
5145 + modify logic in tic, toe, tput and tset which checks for basename of
5146 argv[0] to work properly on systems such as OS/2 which have
5147 case-independent filenames and/or program suffixes, e.g., ".ext".
5150 + add a configure check, if --enable-widec is specified, for putwc(),
5151 which may be in libutf8.
5152 + remove some unnecessary text from curs_extend.3x and
5153 default_colors.3x which caused man-db to make incorrect symbolic
5154 links (Debian bug report #99550).
5155 + add configure check if cast for _IO_va_list is needed to compile
5156 C++ vscan code (Debian bug report #97945).
5157 > several patches from Sven Verdoolaege:
5158 + correct code that used non-standard auto-initialization of a struct,
5159 which gcc allows (report by Larry Virden).
5160 + use putwc() in PUTC() macro.
5161 + make addstr() work for the special case where the codeset is
5162 non-stateful (eg. UTF-8), as well as stateful codesets.
5165 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
5166 from 20010602 (report by Mike Castle).
5169 + modify mvcur() to avoid emitting newline characters when nonl() mode
5170 is set. Normally this is not a problem since the actual terminal
5171 mode is set to suppress nl/crlf translations, however it is useful to
5172 allow the caller to manipulate the terminal mode to avoid staircasing
5173 effects after spawning a process which writes messages (for lynx
5175 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
5176 + remove redundant type-conversion in fifo_push()
5177 + correct definition of addwstr() macro in curses.h.in
5178 + remove _nc_utf8_outch()
5179 + rename most existing uses of CharOf() to UChar(), e.g., where it is
5180 used to prevent sign-extension in ctype macros.
5181 + change some chtype's to attr_t's where the corresponding variables
5182 are used to manipulate attributes.
5183 + UpdateAttr() was applied to both attributes (attr_t) and characters
5184 (chtype). Modify macro and calls to it to make these distinct.
5185 + add CharEq() macro, use in places where wide-character configuration
5186 implementation uses a struct for cchar_t.
5187 + moved struct ldat into curses.priv.h, to hide implementation details.
5188 + change CharOf() macro to use it for masking A_CHARTEXT data from
5190 + add L() macro to curses.priv.h, for long-character literals.
5191 + replace several assignments from struct ldat entries to chtype or
5192 char values with combinations of CharOf() and AttrOf() macros.
5193 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
5194 we are using chtype data.
5195 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
5197 + add/use SetChar() macro, to change a cchar_t based on a character and
5199 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
5200 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
5201 where a pointer would be more useful.
5202 + add stubs for tracing cchar_t values.
5203 + add/use macro ISBLANK()
5204 + add/use constructors for cchar_t's: NewChar(), NewChar2().
5205 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
5206 passing cchar_t's by address.
5207 + add/use PUTC_DATA, PUTC() macros.
5208 + for wide-character configuration, move the window background data to
5209 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
5210 is defined or not, the offsets in the struct will not change.
5211 + modify addch() to work with wide-characters.
5212 + mark several wide-character functions as generated in curses.h.in
5213 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
5214 wborder_set() and waddnwstr().
5217 + add experimental --with-caps=XXX option to customize to similar
5218 terminfo database formats such as AIX 4.x
5219 + add Caps.aix4 as an example.
5220 + modify Caps to add columns for the the KEY_xxx symbols.
5221 + modify configure --with-widec to suppress overwrite of libcurses.so
5223 + add checks to toe.c to avoid being confused by files and directories
5224 where we would expect the reverse, e.g., source-files in the
5225 top-level terminfo levels as is the case for AIX.
5228 + add top-level 'depend' rule for the C sources, assuming that the
5229 makedepend program is available. As a side-effect, this makes
5230 the generated sources, as in "make sources" (prompted by a report
5231 by Mike Castle that "make -j" fails because the resulting parallel
5232 processes race to generate ncurses/names.c).
5233 + modify configure script so that --disable-overwrite option's action
5234 to add a symbolic link for libcurses applies to the static library as
5235 well as the shared library when both are configured (report by Felix
5236 Natter <f.natter@ndh.net>).
5237 + add ELKS terminfo entries (Federico Bianchi
5238 <bianchi@www.arte.unipi.it>)
5239 + add u6 (CSR) to Eterm (Michael Jennings).
5242 + modify test/ncurses.c to work with xterm-256color, which has fewer
5243 color pairs than colors*colors (report by David Ellement
5244 <ellement@sdd.hp.com>).
5247 + corrected screen.xterm-xfree86 entry.
5248 + update comment in Caps regarding IBM (AIX) function-key definitions.
5251 + modify c++/Makefile.in to link with libncurses++w.a when configured
5252 for wide-characters (patch by Sven Verdoolaege).
5253 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
5254 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
5255 + update config.guess, config.sub from autoconf 2.49e (alpha).
5258 + add secondary check in tic.c, similar_sgr() to see if the reason
5259 for mismatch was that the individual capabilities used a time-delay
5260 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
5261 and remove time-delay from Apple_Terminal entries.
5262 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
5263 <bsittler@iname.com>).
5264 + correct definitions of shifted editing keys for xterm-xfree86 -TD
5265 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
5266 + prevent relative_move() from doing an overwrite if it detects 8-bit
5267 characters when configured for UTF-8 (reported by Sven Verdoolaege
5268 <skimo@kotnet.org>).
5271 + add configure checks for strstream.h vscan function, and similar
5272 stdio-based function which may be used in C++ binding for gcc 3.0
5273 (reports by George Goffe, Lars Hecking, Mike Castle).
5274 + rewrite parts of configure.in which used changequote(). That feature
5275 is broken in the latest autoconf alphas (e.g., 2.49d).
5276 + add a missing pathname for ncurses_dll.h, needed when building in
5277 a directory outside the source tree (patch by Sven Verdoolaege
5278 <skimo@kotnet.org>).
5279 > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
5280 + no ships were ever placed in the last row or in the last column.
5281 This made the game very easy to win, because you never had to waste
5282 any shots there, but the computer did.
5283 + the squares around a sunken ship that belonged to the player were not
5284 displayed as already hit by the computer, like it does for the
5288 + add some examples of customizing screen's terminfo:
5289 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
5290 + modify screen's terminfo entry to match the khome/kend in screen
5291 3.09.08 (Debian bug report #92215).
5292 + correct a memory leak in forms library (report by Stefan Vogtner
5293 <stefan@vogtner.de>) (patch by Juergen Pfeifer).
5296 + change symbols used to guard against repeated includes to begin
5297 consistently with "NCURSES_" rather than a leading underscore. There
5298 are other symbols defined in the header files which begin with a
5299 leading underscore, but they are part of the legacy interface.
5300 + reorder includes in c++ binding so that rcs identifiers can be
5302 + add .cc.ii rule to c++ makefile, to get preprocessor output for
5304 + correct configure script handling of @keyword@ substitutions when the
5305 --with-manpage-renames option is given (cf: 20000715, fixes Debian
5307 + report stack underflow/overflow in tparm() when tic -cv option is
5309 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
5310 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
5313 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
5314 2.95.2, and correcting some conflicting color pair initializations.
5315 + add missing copyright notice for cursesw.h
5316 + review, make minor fixes for use of '::' for referring to C-language
5317 interface from C++ binding.
5318 + modify configure check for g++ library slightly to accommodate
5319 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
5320 <rho@mipos2.intel.com>).
5321 + add configure check for c++ <sstream> header, replace hardcoded
5323 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
5324 vscan from strstreambuf to follow standard, use wrapper for C vscanf
5325 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
5326 <taggart@carmen.fc.hp.com>, fixes Debian .
5329 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
5330 to make quieter loading of /etc/termcap (patch by Todd C Miller).
5331 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
5332 (patch by Todd C Miller).
5335 + compiler-warning fixes (reported by Nelson Beebe).
5338 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
5342 + broaden patterns used to match OS/2 EMX in configure script to cover
5343 variant used in newer config.guess/config.sub
5344 + remove changequote() calls from configure script, since this feature
5345 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
5346 + remove macro callPutChar() from tty_update.c, since this is no longer
5347 needed (reported by Philippe Blain).
5348 + add a null-pointer check in tic.c to handle the case when the input
5349 file is really empty. Modify the next_char() function in comp_scan.c
5350 to allow arbitrarily long lines, and incidentally supply a newline to
5351 files that do not end in a newline. These changes improve tic's
5352 recovery from attempts to read binary files, e.g., its output from
5353 the terminfo database (reported by Bernhard Rosenkraenzer).
5356 + revert change to c++/demo.cc from 20001209, which changed definition
5357 of main() apparently to accommodate cygwin linker, but broke the demo
5359 + workaround for broken egcs 2.91.66 which calls member functions
5360 (i.e., lines() and colors() of NCursesWindow before calling its
5361 constructor. Add calls to initialize() in a few constructors which
5362 did not do this already.
5363 + use the GNAT preprocessor to make the necessary switch between TRACE
5364 and NO_TRACE configurations (patch by Juergen Pfeifer).
5365 > patches by Bernhard Rosenkraenzer:
5366 + modify kterm terminfo entry to use SCS sequence to support alternate
5367 character set (it does not work with SI/SO).
5368 + --with-ospeed=something didn't work. configure.in checked for a
5369 $enableval where it should check for $withval. Also,
5370 ncurses/llib-lncurses still had a hardcoded short.
5373 + correction to my merge of Tom Riddle's patch that broke tic in some
5374 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
5377 + modify view.c to test halfdelay(). Like other tests, this recognizes
5378 the 's' and space commands for stopping/starting polled input, shows
5379 a freerunning clock in the header. If given a parameter to 's', that
5380 makes view.c use halfdelay() with that parameter rather than
5382 + fix to allow compile with the experimental configure option
5384 + modify postprocess_termcap() to avoid overwriting key_backspace,
5385 key_left, key_down when processing a non-base entry (report/patch by
5387 + modify _nc_wrap_entry(), adding option to reallocate the string
5388 table, needed in _nc_merge_entry() when merging termcap entries.
5389 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
5390 + modify a few configure script macros to keep $CFLAGS used only for
5391 compiler options, preprocessor options in $CPPFLAGS.
5394 + correct marker positions in lrtest.c after receiving a sigwinch.
5395 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
5396 + fixes to tclock for resizing behavior, redundant computation (report
5397 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
5400 + improved scoansi terminfo entry -TD
5401 + modify configure script and makefile in Ada95/src to compile a stub
5402 for the trace functions when ncurses does not provide those.
5405 + add ncurses_dll.h and related definitions to support generating DLL's
5406 with cygwin (adapted from a patch by Charles Wilson
5407 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
5408 work with 'indent') -TD
5411 + correct prototypes for some functions in curs_termcap.3x, matching
5412 termcap.h, which matches X/Open.
5413 > patch by Juergen Pfeifer:
5414 + a revised version of the Ada enhancements sent in by "H.
5415 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
5417 - small fixes to the existing ncurses binding
5418 - addition of some more low-level functions to the binding, including
5419 termcap and terminfo functions
5420 - An Ada implementation of the "ncurses" test application originally
5424 + modify logic in lib_setup.c to allow either lines or columns value
5425 from terminfo to be used if the screen size cannot be determined
5426 dynamically rather than requiring both (patch by Ehud Karni
5427 <ehud@unix.simonwiesel.co.il>).
5428 + add check in lib_tgoto.c's is_termcap() function to reject null or
5429 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
5431 + add definition from configure script that denotes the path-separator,
5432 which is normally a colon. The path-separator is a semicolon on
5433 OS/2 EMX and similar systems which may use a colon within pathnames.
5434 + alter logic to set default for --disable-overwrite option to set it
5435 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
5436 accommodating the most common cause of problems: gcc's nonstandard
5437 search rules. Other locations such as /usr/local/ncurses will
5438 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
5441 + modify default for --disable-overwrite configure option to disable
5442 if the --prefix or $prefix value is not /usr.
5443 + add cygwin to systems for which ncurses is installed by default into
5444 /usr rather than /usr/local.
5447 + minor optimization in comp_error.c and lib_termname.c, using
5448 strncat() to replace strncpy() (patch by Solar Designer).
5449 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
5450 geteuid() to use_terminfo_vars() (patch by Solar Designer
5452 + improved cygwin terminfo entry, based on patch by
5453 <ernie_boyd@yahoo.com>.
5454 + modify _nc_write_entry() to allow for the possibility that linking
5455 aliases on a filesystem that ignores case would not succeed because
5456 the source and destination differ only by case, e.g., NCR260VT300WPP0
5457 on cygwin (report by Neil Zanella).
5458 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
5459 Rosenkraenzer <bero@redhat.de>).
5462 + add configure option --with-ospeed to assist packagers in transition
5463 to 5.3 change to ospeed type.
5464 + add/use CharOf() macro to suppress sign-extension of char type on
5465 platforms where this is a problem in ctype macros, e.g., Solaris.
5466 + change trace output to binary format.
5467 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
5468 macro, for OS/2 EMX configuration.
5469 + rearrange a few configure macros, moving preprocessor options to
5470 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
5471 use $CPPFLAGS in both the compile and preprocessor checks).
5472 + add a check in relative_move() to guard against buffer overflow in
5473 the overwrite logic.
5476 + add message to configure script showing g++ version.
5477 + resync config.guess, config.sub
5478 + modify lib_delwin.c, making it return ERR if the window did not exist
5479 (suggested by Neil Zanella).
5480 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
5481 to test/review ncurses library. (Would use lclint, but it doesn't
5483 + reorganized knight.c to avoid forward references. Correct screen
5484 updates when backtracking, especially to the first cell. Add F/B/a
5487 20001021 5.2 release for upload to ftp.gnu.org
5488 + update generated html files from manpages.
5489 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
5491 + fix an uninitialized pointer in read_termcap.c (report by Todd C
5492 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
5493 + correct help-message and array limit in knight.c (patch by Brian
5494 Raiter <breadbox@muppetlabs.com>).
5495 > patch by Juergen Pfeifer:
5496 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
5497 for some identifiers defined in the standard package.
5498 + cosmetic change to forms/fty_enum.c
5501 + correct an off-by-one position in test/railroad.c which could cause
5502 wrapping at the right margin.
5503 + test/repair some issues with libtool configuration. Make
5504 --disable-echo force libtool --silent. (Libtool does not work for
5505 OS/2 EMX, works partly for SCO - libtool is still very specific to
5507 + change default of --with-manpage-tbl to "no", since for most of the
5508 platforms which do have tbl installed, the system "man" program
5509 understands how to run tbl automatically.
5510 + minor improvement to force_bar() in comp_parse.c (Bernhard
5511 Rosenkraenzer <bero@redhat.de>).
5512 + modify lib_tparm.c to use get_space() before writing terminating
5513 null character, both for consistency as well as to ensure that if
5514 save_char() was called immediately before, that the allocated memory
5515 is enough (patch by Sergei Ivanov).
5516 + add note about termcap ML capability which is duplicated between two
5517 different capabilities: smgl and smglr (reported by Sergei Ivanov
5518 <svivanov@pdmi.ras.ru>).
5519 + correct parameter counts in include/Caps for dclk as well as some
5520 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
5521 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
5522 + add support for building with libtool (apparently version 1.3.5,
5523 since old versions do not handle -L../lib), using new configure
5524 option --with-libtool.
5525 + add configure option --with-manpage-tbl, which causes the manpages to
5526 be preprocessed by tbl(1) prior to installation,
5527 + add configure option --without-curses-h, which causes the
5528 installation process to install curses.h as ncurses.h and make
5529 appropriate changes to headers and manpages.
5532 + correct order of options/parameters in run_tic.in invocation of tic,
5533 which did not work with standard getopt() (reported by Ethan
5534 Butterfield <primus@veris.org>).
5535 + correct logic for 'reverse' variable in lib_vidattr.c, which was
5536 setting it true without checking if newmode had A_REVERSE set, e.g.,
5537 using $TERM=ansi on OS/2 EMX (see 20000917).
5538 > patch by Todd C Miller:
5539 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
5540 Previously, _nc_cgetset() would still get called on cp so the
5541 simplest thing is to set cp to NULL if !use_terminfo_vars().
5542 + added checks for an empty $HOME environment variable.
5543 > patches for OS/2 EMX (Ilya Zakharevich):
5544 + modify convert_configure.pl to support INSTALL. Change compiler
5545 options in that script to use multithreading, needed for the mouse.
5546 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
5547 to set up a 3-button mouse.
5548 + improve code for OS/2 mouse support, using _nc_timed_wait() to
5549 replace select() call.
5552 + change type of ospeed variable back to short to match its use in
5553 legacy applications (reported by Andrey A Chernov).
5554 + add case to configure script for --enable-rpath on IRIX (patch by
5555 Albert Chin-A-Young).
5556 + minor fix to position_check() function, to ensure it gets the whole
5557 cursor report before decoding.
5558 + add configure option --disable-assumed-color, to allow pre-5.1
5559 convention of default colors used for color-pair 0 to be configured
5560 (see assume_default_colors()).
5561 + rename configure option --enable-hashmap --disable-hashmap, and
5562 reorder the configure options, splitting the experimental and
5564 + add configure option --disable-root-environ, which tells ncurses to
5565 disregard $TERMINFO and similar environment variables if the current
5566 user is root, or running setuid/setgid (based on discussion with
5568 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
5569 $TERMINFO variable for installs.
5570 + add table entry for plab_norm to tput, so it passes in strings
5571 for that capability.
5572 + modify parse_format() in lib_tparm.c to ignore precision if it is
5573 longer than 10000 (report by Jouko Pynnonen).
5574 + rewrote limit checks in lib_mvcur.c using new functions
5575 _nc_safe_strcat(), etc. Made other related changes to check lengths
5576 used for strcat/strcpy (report by Jouko Pynnonen
5577 <jouko@solutions.fi>).
5580 + modify several descriptions, including those for setaf, setab, in
5581 include/Caps to indicate that the entries are parameterized. This
5582 information is used to tell which strings are translated when
5583 converting to termcap. Fixes a problem where the generated termcap
5584 would contain a spurious "%p1" for the terminfo "%p1%d".
5585 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
5586 absolute pathname for the build tree's lib directory (prompted by
5587 discussion with Albert Chin-A-Young).
5588 + modify "make install.man" and "make uninstall.man" to include tack's
5590 + various fixes for install scripts used to support configure --srcdir
5591 and --with-install-prefix (reported by Matthew Clarke
5592 <Matthew_Clarke@mindlink.bc.ca>).
5593 + make configure script checks on variables $GCC and $GXX consistently
5594 compare against 'yes' rather than test if they are nonnull, since
5595 either may be set to the corresponding name of the C or C++ compiler
5596 (report/patch by Albert Chin-A-Young).
5599 + modify rs2 capability in xterm-r6 and similar where cursor
5600 save/restore bracketed the sequence for resetting video attributes.
5601 The cursor restore would undo that (report by John Hawkinson
5602 <jhawk@MIT.EDU> (see NetBSD misc/11052)).
5603 + using parameter check added to tic, corrected 27 typos in
5605 + modify tic to verify that its inputs are really files, in case
5606 someone tries to read a directory (or /dev/zero).
5607 + add a check for empty buffers returned by fgets() in comp_scan.c
5608 next_char() function, in case tic is run on a non-text file (fixes
5609 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
5610 + add to railroad.c some code exercising tgoto(), providing an
5611 alternate form of display if the terminal supports cursor addressing.
5612 + split-out tgoto() again, this time into new file lib_tgoto.c, and
5613 implement a conventional BSD-style tgoto() which is used if the
5614 capability string does not contain terminfo-style padding or
5615 parameters (requested by Andrey A Chernov).
5616 + add check to tic which reports capabilities that do not reference
5617 the expected number of parameters.
5618 + add error checking to infocmp's -v and -m options to ensure that
5619 the option value is indeed a number.
5620 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
5621 handler is setup. Separated the old/new sigaction data for SIGTSTP
5622 from the other signals.
5625 + add S0, E0 extensions to screen's terminfo entry, which is another
5626 way to solve the misconfiguration issue -TD
5627 + completed special case for tgoto from 20000916
5630 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
5631 + add Matrix Orbital terminfo entries (from Eric Z Ayers
5633 + add special case to lib_tparm.c to allow 'screen' program to use a
5634 termcap-style parameter "%." to tgoto() for switching character sets.
5635 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
5637 + updated notes in README.emx regarding autoconf patches.
5638 + replace a lookup table in lib_vidattr.c used to decode no_color_video
5639 with a logic expression (suggested by Philippe Blain).
5640 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
5641 character set attribute from the displayed text.
5642 + correct inequality in parameter analysis of rewritten lib_tparm.c
5643 which had the effect of ignoring p9 in set_attributes (sgr), breaking
5644 alternate character set (reported by Piotr Majka <charvel@link.pl>).
5645 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
5646 with Sun WorkShop compilers since these tokens were empty (cf:
5647 20000902, reported by Albert Chin-A-Young).
5650 + correct an uninitialized parameter to open_tempfile() in tic.c which
5651 made "tic -I" give an ambiguous error message about tmpnam.
5652 + add special case in lib_vidattr.c to reset underline and standout for
5653 devices that have no sgr0 defined (patch by Don Lewis
5654 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
5655 mode, since there is no exit-bold-mode capability.
5656 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
5657 + modify tparm to disallow arithmetic on strings, analyze the varargs
5658 list to read strings as strings and numbers as numbers.
5659 + modify tparm's internal function spop() to treat a null pointer as
5661 + modify tput program so it can be renamed or invoked via a link as
5662 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
5664 + add private entrypoint _nc_basename(), use to consolidate related
5665 code in progs, as well as accommodating OS/2 EMX pathnames.
5666 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
5667 removal (except via AC_SUBST) from configure.in, making
5668 --enable-const work again (reported by Juergen Pfeifer).
5669 + regen'd configure to pick up "hpux*" change from 20000902.
5672 + modify tset.c to check for transformed "reset" program name, if any.
5673 + add a check for null pointer in Make_Enum_Type() (reported by Steven
5674 W Orr <steveo@world.std.com>).
5675 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
5676 using strtok(), because it is non-reentrant (reported by Andrey A
5677 Chernov <ache@nagual.pp.ru>).
5678 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
5679 This differed from the "hpux*" case by using reversed symbolic
5680 links, which made the 5.1 version not match the configuration of
5681 5.0 shared libraries (reported by Albert Chin-A-Young).
5682 + correct a dependency in Ada95/src/Makefile.in which prevented
5683 building with configure --srcdir (patch by H Nanosecond
5684 <aldomel@ix.netcom.com>).
5685 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
5686 GCC_SCANF was not previously defined (reported by Pavel Roskin
5688 + add MKncurses_def.sh to generate fallback definitions for
5689 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
5690 code to consistently use "#if" rather than "#ifdef".
5693 + add QNX qansi entries to terminfo -TD
5694 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
5695 + add configure option --with-database to allow specifying a different
5696 terminfo source-file to install. On OS/2 EMX, this defaults to
5698 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
5699 setting .exe extension on OS/2 EMX.
5700 + add .exe extension in Ada95/gen/Makefile.in,
5701 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
5702 <jmcoopr@webmail.bmi.net>).
5703 + add configure check for filesystems (such as OS/2 EMX) which do not
5704 distinguish between upper/lowercase filenames, use this to fix tags
5706 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
5707 only sets the revents members of that array when there is activity
5708 corresponding to the related file (report by Glenn Cooper
5709 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
5710 + change configure script to use AC_CANONICAL_SYSTEM rather than
5711 AC_CANONICAL_HOST, which means that configure --target will set
5712 a default program-prefix.
5713 + add note on cross-compiling to INSTALL (which does not rely on the
5714 AC_CANONICAL_* macros).
5717 + add cases for EMX OS/2 to config.guess, config.sub
5718 + new version of config.guess, config.sub from lynx 2.8.4dev.7
5719 + add definitions via transform.h to allow tic and tput to check for
5720 the transformed aliases rather than the original infotocap, etc.
5721 + simplify transform-expressions in progs/Makefile.in, make the
5722 uninstall rule work for transformed program names.
5723 + change symbol used by --install-prefix configure option from
5724 INSTALL_PREFIX to DESTDIR (the latter has become common usage
5725 although the name is misleading).
5726 + modify programs to use curses_version() string to report the version
5727 of ncurses with which they are compiled rather than the
5728 NCURSES_VERSION string. The function returns the patch level in
5729 addition to the major and minor version numbers.
5732 + modify CF_MAN_PAGES configure macro to make transformed program names
5733 a parameter to that macro rather than embedding them in the macro.
5734 + newer config.guess, config.sub (reference version used in lynx
5736 + add configure option --with-default-terminfo-dir=DIR to allow
5737 specifying the default terminfo database directory (request by Albert
5739 + minor updates for terminfo.src from FreeBSD termcap change-history.
5740 + correct notes in README and INSTALL regarding documentation files
5741 that were moved from misc directory to doc (report by Rich Kulawiec
5743 + change most remaining unquoted parameters of 'test' in configure
5744 script to use quotes, for instance fixing a problem in the
5745 --disable-database option (reported by Christian Mondrup
5746 <scancm@biobase.dk>).
5747 + minor adjustments to work around some of the incompatibilities/bugs
5748 in autoconf 2.29a alpha.
5749 + add -I/usr/local/include when --with-ncurses option is used in
5750 test/configure script.
5751 + correct logic in adjust_cancels(), which did not check both
5752 alternatives when reclassifying an extended name between boolean,
5753 number and string, causing an infinite loop in tic.
5756 + correct a missing backslash in curses.priv.h
5759 + change handling of non_dest_scroll_region in tty_update.c to clear
5760 text after it is shifted in rather than before shifting out. Also
5761 correct row computation (reported by Ruediger Kuhlmann
5762 <uck4@rz.uni-karlsruhe.de>).
5763 + add/use new trace function to display chtype values from winch() and
5765 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
5766 trace attribute changes under TRACE_CALLS to use this.
5767 + modify MKlib_gen.sh so that functions returning chtype will call
5769 + add returnChar() trace, for functions returning chtype.
5770 + change indent.pro to line up parenthesis.
5773 + fix a heap problem with the c++ binding (report by
5774 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
5775 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
5776 + modify the check for big-core to force a couple of memory accesses,
5777 which may work as needed for older/less-capable machines (if not,
5778 there's still the explicit configure option).
5779 > fixes based on diff's for Amiga and BeOS found at
5780 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
5781 + alter definition of NCURSES_CONST to make it non-empty.
5782 + add amiga-vnc terminfo entry.
5783 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
5784 an (unspecified) symbol conflict.
5785 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
5786 simplify working around implementations that define random
5787 combinations of the related macros to zero.
5788 + modify configure test for tcgetattr() to allow for old
5789 implementations, e.g., on BeOS, which only defined it as a macro.
5790 > patches by Bruno Haible:
5791 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
5792 locale, ignore those which are set to an empty value, as per SUSV2.
5793 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
5794 + modify _nc_utf8_outch() to avoid sign-extension when checking for
5798 + correct manlinks.sed script to avoid using ERE "\+", which is not
5799 understood by older versions of sed (patch by Albert Chin-A-Young).
5800 + implement configure script options that transform installed program
5801 names, e.g., --program-prefix, including the manpage names and cross
5802 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
5803 + correct several mismatches between manpage filename and ".TH"
5804 directives, renaming dft_fgbg.3x to default_colors.3x and
5805 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
5806 + correct missing includes for <string.h> in several places, including
5807 the C++ binding. This is not noted by gcc unless we use the
5808 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
5809 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
5810 interface if neither termio or termios is available. Tested this
5811 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
5814 20000708 5.1 release for upload to ftp.gnu.org
5815 + document configure options in INSTALL.
5816 + add man-page for ncurses trace functions.
5817 + correct return value shown in curs_touch.3x for is_linetouched() and
5818 is_wintouched(), in curs_initscr.3x for isendwin(), and in
5819 curs_termattr.3x for has_ic() and has_il().
5820 + add prototypes for touchline() and touchwin(), adding them to the
5821 list of generated functions.
5822 + modify fifo_push() to put ERR into the fifo just like other values to
5823 return from wgetch(). It was returning without doing that, making
5824 end-of-file condition incorrectly return a 0 (reported by Todd C
5826 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
5827 are needed for SCO OpenServer.
5828 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
5829 dynamic loaders on SCO and IRIX64.
5830 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
5832 + correct assignment in assume_default_colors() which tells ncurses
5833 whether to use default colors, or the assumed ones (reported by Gary
5834 Funck <gary@Intrepid.Com>).
5835 + review/correct logic in mk-1st.awk for making symbolic links for
5836 shared libraries, in particular for FreeBSD, etc.
5837 + regenerate misc/*.def files for OS/2 EMX dll's.
5838 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
5839 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
5840 Wemm) (err in 20000610).
5841 + minor updates to release notes, as well as adding/updating URLs for
5842 examples cited in announce.html
5843 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
5844 + correct placement of ifdef for NCURSES_XNAMES in function
5845 _nc_free_termtype(), fixes a memory leak.
5846 + add a call to _nc_synchook() to the end of function whline() like
5847 that in wvline() (difference was in 1.9.4).
5848 + make ClearScreen() a little faster by moving two instances of
5849 UpdateAttr() out of for-loops.
5850 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
5853 20000701 pre-release
5854 + change minor version to 1, i.e., ncurses 5.1
5855 + add experimental configure option --enable-colorfgbg to check for
5856 $COLORTERM variable as set by rxvt/aterm/Eterm.
5857 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
5858 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
5859 several manpages so manlinks.sed can find aliases for creating
5861 + add explanation to run_tic.sh regarding extended terminal
5863 + change message format for edit_cfg.sh, since some people interpret
5865 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
5866 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
5867 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
5868 support when poll() is used rather than select() (prompted by
5869 discussion with David Allen <DAllen24@aol.com>).
5871 20000624 pre-release
5872 + modify TransformLine() to check for cells with different color pairs
5873 that happen to render the same display colors.
5874 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
5875 + improve cost computation in PutRange() by accounting for the use
5876 of parm_right_cursor in mvcur().
5877 + correct cost computation in EmitRange(), which was not using the
5878 normalized value for cursor_address.
5879 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
5882 + update config.guess, config.sub (reference version used in PCRE 3.2).
5883 + resync changes to gnathtml against version 1.22, regenerated html
5884 files under doc/html/ada using this (1.22.1.1).
5885 + regenerated html files under doc/html/man after correcting top and
5886 bottom margin options for man2html in dist.mk
5887 + minor fixes to test programs ncurses 'i' and testcurs program to make
5888 the subwindow's background color cover the subwindow.
5889 + modify configure script so AC_MSG_ERROR is temporarily defined to a
5890 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
5891 without requiring user to add --without-cxx option (adapted from
5892 comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
5893 + modify headers.sh to avoid creating temporary files in the build
5894 directory when installing headers (reported by Sergei Pokrovsky
5898 + regenerated the html files under doc/html/ada/files and
5899 doc/html/ada/funcs with a slightly-improved gnathtml.
5900 + add kmous capability to linux terminfo entry to allow it to use
5901 xterm-style events provided by gpm patch by Joerg Schoen.
5902 + make the configure macro CF_SHARED_OPTS a little smarter by testing
5903 if -fPIC is supported by gcc rather than -fpic. The former option
5904 allows larger symbol tables.
5905 + update config.guess and config.sub (patches by
5906 Kevin Buettner <kev@primenet.com> (for elf64_ia64),
5907 Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
5908 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
5912 + modify echo() behavior of getch() to match Solaris curses for
5913 carriage return and backspace (reported by Neil Zanella).
5914 + change _nc_flush() to a function.
5915 + modify delscreen() to check if the output stream has been closed, and
5916 if so, free the buffer allocated for setbuf (this provides an
5917 ncurses-specific way to avoid a memory leak when repeatedly calling
5918 newterm reported by Chipp C <at_1@zdnetonebox.com>).
5919 + correct typo in curs_getch.3x manpage regarding noecho (reported by
5920 David Malone <dwmalone@maths.tcd.ie>).
5921 + add a "make libs" rule.
5922 + make the Ada95 interface build with configure --enable-widec.
5923 + if the configure --enable-widec option is given, append 'w' to names
5924 of the generated libraries (e.g., libncursesw.so) to avoid conflict
5925 with existing ncurses libraries.
5928 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
5929 is configured with the experimental wide-character support.
5930 + add a simple UTF-8 output driver to the experimental wide-character
5931 support. If any of the environment variables LC_ALL, LC_CTYPE or
5932 LANG contain the string "UTF-8", this driver will be used to
5933 translate the output to UTF-8. This works with XFree86 xterm.
5934 + modify configure script to allow building shared libraries on BeOS
5935 (from a patch by Valeriy E Ushakov).
5936 + modify lib_addch.c to allow repeated update to the lower-right
5937 corner, rather than displaying only the first character written until
5938 the cursor is moved. Recent versions of SVr4 curses can update the
5939 lower-right corner, and behave this way (reported by Neil Zanella).
5940 + add a limit-check in _nc_do_color(), to avoid using invalid color
5941 pair value (report by Brendan O'Dea <bod@compusol.com.au>).
5944 + the tack program knows how to use smcup and rmcup but the "show caps
5945 that can be tested" feature did not reflect this knowledge. Correct
5946 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
5947 + xterm-16color does allow bold+colors, removed ncv#32 from that
5951 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
5952 broke check for screen's AX capability (reported by Valeriy E Ushakov
5954 + change man2html rule in dist.mk to workaround bug in some
5955 man-programs that ignores locale when rendering hyphenation.
5956 + change web- and ftp-site to dickey.his.com
5959 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
5960 problem linking tack on MacOS X DP3.
5961 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
5962 (reported by Gerben Wierda <wierda@holmes.nl>).
5963 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
5965 + add -d option to ncurses.c, to turn on default-colors for testing.
5966 + add a check to _nc_makenew() to ensure that newwin() and newpad()
5967 calls do not silently fail by passing too-large limits.
5968 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
5969 internal window and pad sizes. Note that since this is visible in
5970 the WINDOW struct, it would be an ABI change to make this an 'int'
5971 (prompted by a question by Bastian Trompetter
5972 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
5975 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
5977 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
5978 example of an illegal ANSI resonse can be found using Microsoft's
5979 Telnet client. A correct display can be found using a VT-4xx
5980 terminal or XFree86 xterm with:
5981 XTerm*VT100*decTerminalID: 450
5982 (patch by Daniel Weaver).
5983 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
5984 for resume. Add '-n' option to force gdc's standard input to
5985 /dev/null, to both illustrate the use of newterm() for specifying
5986 alternate inputs as well as for testing signal handling.
5987 + minor fix for configure option --with-manpage-symlinks, for target
5988 directories that contain a period ('.') (reported by Larry Virden).
5991 + minor additions to beterm entry (feedback from Rico Tudor) -TD
5992 + corrections/updates for some IBM terminfo entries -TD
5993 + modify _nc_screen_wrap() so that when exiting curses mode with
5994 non-default colors, the last line on the screen will be cleared to
5995 the screen's default colors (request by Alexander V Lukyanov).
5996 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
5997 read for demonstrating the REQ_NEW_LINE operation (prompted by a
5998 question by Tony L Keith <tlkeith@keithconsulting.com>).
5999 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
6000 documented extension of ncurses which allows a zero pointer.
6001 + modify fmt_complex() to avoid buffer overflow in case of excess
6002 recursion, and to recognize "%e%?" as a synonym for else-if, which
6003 means that it will not recur for that special case.
6004 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
6005 is defined (patch by Todd C Miller).
6006 + modify one of the m4 files used to generate the Ada95 sources,
6007 to avoid using the token "symbols" (patch by Juergen Pfeifer).
6010 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
6011 + correct spelling error in terminfo entry name: bq300-rv was given as
6012 bg300-rv in esr's version.
6013 + modify redrawwin() macro so its parameter is fully parenthesized
6014 (fixes Debian bug report #61088).
6015 + correct formatting error in dump_entry() which set incorrect column
6016 value when no newline trimming was needed at the end of an entry,
6017 before appending "use=" clauses (cf: 960406).
6020 + add configure option --with-manpage-symlinks
6021 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
6022 + change makefiles so trace() function is provided only if TRACE is
6023 defined, e.g., in the debug library. Modify related calls to
6024 _tracechar() to use unctrl() instead.
6027 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
6028 terminfo entries, use presence of this as a check for a small
6029 improvement in setting default colors.
6030 + improve logic in _nc_do_color() implementing assume_default_colors()
6031 by passing in previous color pair info to eliminate redundant call to
6032 set_original_colors(). (Part of this is from a patch by Alexander
6034 + modify warning in _nc_trans_string() about a possibly too-long string
6035 to do this once only rather than for each character past the
6036 threshold (600). Change interface of _nc_trans_string() to allow
6037 check for buffer overflow.
6038 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
6039 struct each time before reading new data into it, rather than once
6040 per loop (cf: 990301). This affects multi-entry in-core operations
6041 such as "infocmp -Fa".
6044 + remove a spurious pointer increment in _nc_infotocap() changes from
6045 20000311. Add check for '.' in format of number, since that also
6046 is not permitted in termcap.
6047 + correct typo in rxvt-basic terminfo from temporary change made while
6048 integrating 20000318.
6051 + revert part of the vt220 change (request by Todd C Miller).
6052 + add ansi-* terminfo entries from ESR's version.
6053 + add -a option to tic and infocmp, which retains commented-out
6054 capabilities during source translation/comparison, e.g., captoinfo
6056 + modify cardfile.c to display an empty card if no input data file is
6057 found, fixes a core dump in that case (reported by Bruno Haible).
6058 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
6059 result for OS/2 EMX.
6060 + supply required parameter for _nc_resolve_uses() call in
6061 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
6062 > patches by Bruno Haible <haible@ilog.fr>:
6063 + fix a compiler warning in fty_enum.c
6064 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
6065 makefiles, which resulted in redundant linking (cf: 20000122).
6068 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
6069 + improved tack/README (patch by Daniel Weaver).
6070 + modify tput.c to ensure that unspecified parameters are passed to
6072 + add a few checks in infocmp to guard against buffer overflow when
6073 displaying string capabilities.
6074 + add check for zero-uses in infocmp's file_comparison() function
6075 before calling _nc_align_termtype(). Otherwise one parameter is
6076 indexed past the end of the uses-array.
6077 + add an option -q to infocmp to specify the less verbose output,
6078 keeping the existing format as the default, though not retaining the
6079 previous behavior that made the -F option compare each entry to
6081 + adapted patch by ESR to make infocmp -F less verbose -TD
6082 (the submitted patch was unusable because it did not compile
6084 + modify write_entry.c to ensure that absent or cancelled booleans
6085 are written as FALSE, for consistency with infocmp which now
6086 assumes this. Note that for the small-core configuration, tic
6087 may not produce the same result as before.
6088 + change some private library interfaces used by infocmp, e.g.,
6090 + add a check in _nc_infotocap() to ensure that cm-style capabilities
6091 accept only %d codes when converting the format from terminfo to
6093 + modify ENTRY struct to separate the data in 'parent' into the name
6094 and link values (the original idea to merge both into 'parent' was
6096 + discard repair_acsc(tterm);
6097 > patch by Juergen Pfeifer:
6098 + drop support for gnat 3.10
6099 + move generated documentation and html files under ./doc directory,
6100 adding makefile rules for this to dist.mk
6103 + correct conflicting use of tparm() in 20000226 change to tic, which
6104 made it check only one entry at a time.
6105 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
6107 + make the example in ncurses-intro.html do something plausible, and
6108 corrected misleading comment (reported by Neil Zanella).
6109 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
6110 to fix a case where the cursor position was not updated as in
6111 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
6112 + add a limit-check for wresize() to ensure that a subwindow does not
6113 address out of bounds.
6114 + correct offsets used for subwindows in wresize() (patch by Michael
6115 Andres <ma@suse.de>).
6116 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
6117 Juergen Pfeifer). This generated a file with a space in its name,
6119 + fix a few spelling errors in tack.
6120 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
6121 otherwise it does not build properly for older HPUX shared library
6123 + add several terminfo entries from esr's "11.0".
6126 + make 'tput flash' work properly for xterm by flushing output in
6127 delay_output() when using napms(), and modifying xterm's terminfo to
6128 specify no padding character. Otherwise, xterm's reported baud rate
6129 can mislead ncurses into producing too few padding characters
6131 + add a check to tic for consistency between sgr and the separate
6132 capabilities such as smso, use this to check/correct several
6133 terminfo entries (Debian #58530).
6134 + add a check to tic if cvvis is the same as cnorm, adjusted several
6135 terminfo entries to remove the conflict (Debian #58530).
6136 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
6138 + minor clarification for curs_set() and leaveok() manpages.
6139 + use mkstemp() for creating temporary file for tic's processing of
6140 $TERMCAP contents (fixes Debian #56465).
6141 + correct two errors from integrating Alexander's changes: did not
6142 handle the non-bce case properly in can_erase_with() (noted by
6143 Alexander), and left fg/bg uninitialized in the pair-zero case of
6144 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
6145 Ismael Cordeiro <ismael@cordeiro.com>).
6148 + store default-color code consistently as C_MASK, even if given as
6149 -1 for convenience (adapted from patches by Alexander V Lukyanov).
6150 > patches by Alexander V Lukyanov:
6151 + change can_clear_with() macro to accommodate logic for
6152 assume_default_colors(), making most of the FILL_BCE logic
6153 unnecessary. Made can_clear_with() an inline function to make it
6157 + corrected form of recent copyright dates.
6158 + minor corrections to xterm-xf86-v333 terminfo entry -TD
6159 > patches by Alexander V Lukyanov:
6160 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
6161 colors are white on black.
6162 + fix initialization of tstLine so that it is filled with current blank
6163 character in any case. Previously it was possible to have it filled
6164 with old blank. The wrong over-optimization was introduced in 991002
6165 patch. (it is not very critical as the only bad effect is not using
6166 clr_eos for clearing if blank has changed).
6169 + minor corrections/updates to several terminfo entries: rxvt-basic,
6170 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
6171 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
6172 allowing poll() to be used on Linux.
6173 + add CF_FUNC_POLL macro to check if poll() is able to select from
6174 standard input. If not we will not use it, preferring select()
6175 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
6176 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
6177 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
6178 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
6179 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
6182 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm -TD
6183 + modify CF_MATH_LIB configure macro to parameterize the test function
6184 used, for reuse in dialog and similar packages.
6185 + correct tests for file-descriptors in OS/2 EMX mouse support. A
6186 negative value could be used by FD_SET, causing the select() call
6187 to wait indefinitely.
6190 + additional fixes for non-bce terminals (handling of delete_character)
6191 to work when assume_default_colors() is not specified.
6192 + modify warning message from _nc_parse_entry() regarding extended
6193 capability names to print only if tic/infocmp/toe have the -v flag
6194 set, and not at all in ordinary user applications. Otherwise, this
6195 warning would be shown for screen's extended capabilities in programs
6196 that use the termcap interface (reported by Todd C Miller).
6197 + modify use of _nc_tracing from programs such as tic so their debug
6198 level is not in the same range as values set by trace() function.
6199 + small panel header cleanup (patch by Juergen Pfeifer).
6200 + add 'railroad' demo for termcap interface.
6201 + modify 'tic' to write its usage message to stderr (patch by Todd C
6205 + add prototype for erase() to curses.h.in, needed to make test
6206 programs build with c++/g++.
6207 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
6208 + correct install rule for tack.1; it assumed that file was in the
6209 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
6210 + modify terminfo/termcap translation to suppress acsc before trying
6211 sgr if the entry would be too large (patch by Todd C Miller).
6212 + document a special case of incompatiblity between ncurses 4.2 and
6213 5.0, add a section for this in INSTALL.
6214 + add TRACE_DATABASE flag for trace().
6217 + update mach, add mach-color terminfo entries based on Debian diffs
6219 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
6220 terminfo entries -TD
6221 + change OTrs capabilities to rs2 in terminfo.src -TD
6222 + add obsolete and extended capabilities to 'screen' terminfo -TD
6223 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
6224 + make conversion to termcap ug (underline glitch) more consistently
6226 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
6227 was in the original pre-1.9.7 version, when $HOME/.terminfo was
6229 + modify 'toe' to ignore terminfo directories to which it has no
6231 + modify read_termtype(), fixing 'toe', which could dump core when it
6232 found an incomplete entry such as "dumb" because it did not
6233 initialize its buffer for _nc_read_file_entry().
6234 + use -fPIC rather than -fpic for shared libraries on Linux, not
6235 needed for i386 but some ports (from Debian diffs for 5.0) -TD
6236 + use explicit VALID_NUMERIC() checks in a few places that had been
6237 overlooked, and add a check to ensure that init_tabs is nonzero,
6238 to avoid divide-by-zero (reported by Todd C Miller).
6239 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
6243 + reorder tests during mouse initialization to allow for gpm to run in
6244 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
6245 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
6246 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
6247 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
6248 stty lnext on systems such as FreeBSD (report by Bruce Evans
6249 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
6250 + fix a potential (but unlikely) buffer overflow in failed() function
6251 of tset.c (reported by Todd C Miller).
6252 + add manual-page for ncurses extensions, documented curses_version(),
6253 use_extended_names().
6256 + treat as untranslatable to termcap those terminfo strings which
6257 contain non-decimal formatting, e.g., hexadecimal or octal.
6258 + correct commented-out capabilities that cannot be translated to
6259 termcap, which did not check if a colon must be escaped.
6260 + correct termcap translation for "%>" and "%+", which did not check
6261 if a colon must be escaped, for instance.
6262 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
6263 buffer (originally for _nc_infotocap() in 960301 -TD).
6264 + correct expression used for terminfo equivalent of termcap %B,
6265 adjust regent100 entry which uses this.
6266 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
6267 + eliminate a fixed-buffer in tic, used for translating comments.
6268 + add manpage for infotocap
6271 + add kvt and gnome terminfo entries -TD
6272 + correct translation of "%%" by infotocap, which was emitted as "%".
6273 + add "obsolete" termcap strings to terminfo.src
6274 + modify infocmp to default to showing obsolete capabilities rather
6276 + modify write_entry.c so that if extended names (i.e., configure
6277 --enable-tcap-names) are active, then tic will also write "obsolete"
6278 capabilities that are present in the terminfo source.
6279 + modify tic so that when running as captoinfo or infotocap, it
6280 initializes the output format as in -C and -I options, respectively.
6281 + improve infocmp and tic -f option by splitting long strings that do
6282 not have if-then-else construct, but do have parameters, e.g., the
6283 initc for xterm-88color.
6284 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
6288 + additional fixes for non-bce terminals (handling of clear_screen,
6289 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
6291 + several small changes to xterm terminfo entries -TD.
6292 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
6293 SP, since it is part of that struct.
6294 + remove obsolete shlib-versions, which was unintentionally re-added
6296 + modify infocmp -e, -E options to ensure that generated fallback.c
6297 type for Booleans agrees with term.h (reported by Eric Norum
6298 <eric@cls.usask.ca>).
6299 + correct configure script's use of $LIB_PREFIX, which did not work
6300 for installing the c++ directory if $libdir did not end with "/lib"
6301 (reported by Huy Le <huyle@ugcs.caltech.edu>).
6302 + modify infocmp so -L and -f options work together.
6303 + modify the initialization of SP->_color_table[] in start_color() so
6304 that color_content() will return usable values for COLORS greater
6306 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
6307 xterm-88color, to limit the displayed/computed colors to 16.
6308 > patch by Juergen Pfeifer:
6309 + simplify coding of the panel library according to suggestions by
6311 + improve macro coding for a few macros in curses.priv.h
6314 + modify treatment of color pair 0 so that if ncurses is configured
6315 to support default colors, and they are not active, then ncurses
6316 will set that explicitly, not relying on orig_colors or orig_pair.
6317 + add new extension, assume_default_colors() to provide better control
6318 over the use of default colors.
6319 + modify test programs to use more-specific ifdef's for existence of
6320 wresize(), resizeterm() and use_default_colors().
6321 + modify configure script to add specific ifdef's for some functions
6322 that are included when --enable-ext-funcs is in effect, so their
6323 existence can be ifdef'd in the test programs.
6324 + reorder some configure options, moving those extensions that have
6325 evolved from experimental status into a new section.
6326 + change configure --enable-tcap-names to enable this by default.
6329 + install tack's manpage (reported by Robert Weiner
6330 <robert@progplus.com>)
6331 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
6332 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
6333 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
6336 + modify linux terminfo entry to indicate that dim does not mix with
6337 color (reported by Klaus Weide <kweide@enteract.com>).
6338 + correct several typos in terminfo entries related to missing '['
6340 + fix several compiler warnings in c++ binding (reported by Tim
6341 Mooney for alphaev56-dec-osf4.0f
6342 + rename parameter of _nc_free_entries() to accommodate lint.
6343 + correct lint rule for tack, used incorrect list of source files.
6344 + add case to config.guess, config.sub for Rhapsody.
6345 + improve configure tests for libg++ and libstdc++ by omitting the
6346 math library (which is missing on Rhapsody), and improved test for
6347 the math library itself (adapted from path by Nelson H. F. Beebe).
6348 + explicitly initialize to zero several data items which were
6349 implicitly initialized, e.g., cur_term. If not explicitly
6350 initialized, their storage type is C (common), and causes problems
6351 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
6353 + modify Ada95 binding to not include the linker option for Ada
6354 bindings in the Ada headers, but in the Makefiles instead (patch by
6357 19991023 5.0 release for upload to ftp.gnu.org
6358 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
6360 + add function curses_version(), to return ncurses library version
6361 (request by Bob van der Poel).
6362 + remove rmam, smam from cygwin terminfo entry.
6363 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
6364 as update ncv to indicate that 'dim' conflicts with colors.
6365 + modify configure script to use symbolic links for FreeBSD shared
6366 libraries by default.
6367 + correct ranf() function in rain and worm programs to ensure it does
6369 + hide the cursor in hanoi.c if it is running automatically.
6370 + amend lrtest.c to account for optimizations that exploit margin
6372 + add a simple terminfo demo, dots.c
6373 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
6374 tell it to use write() rather than putc(), since the latter is not
6375 safe in a signal handler according to POSIX.
6376 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
6377 of output-file pointer in ncurses library.
6378 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
6380 + correct CC_SHARED_OPTS for building shared libraries for SCO
6382 + remove usleep() from alternatives in napms(), since it may interact
6383 with alarm(), causing a process to be interrupted by SIGALRM (with
6384 advice from Bela Lubkin).
6385 + modify terminal_interface-curses-forms.ads.m4 to build/work with
6386 GNAT 3.10 (patch by Juergen Pfeifer).
6387 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
6388 work with gcc 2.7.2.3
6389 + minor fix to test/tclock.c to avoid beeping more than once per second
6390 + add 's' and ' ' decoding to test/rain.c
6393 + corrected BeOS code for lib_twait.c, making nodelay() function work.
6396 + correct ncurses' value for cursor-column in PutCharLR(), which was
6397 off-by-one in one case (patch by Ilya Zakharevich).
6398 + fix some minor errors in position_check() debugging code, found while
6399 using this to validate the PutCharLR() patch.
6400 + modify firework, lrtest, worm examples to be resizable, and to
6401 recognize 'q' for quit, 's' for single-step and ' ' for resume.
6402 + restore reverted change to terminal_interface-curses-forms.ads.m4,
6403 add a note on building with gnat 3.10p to Ada95/TODO.
6404 + add a copy of the standalone configure script for the test-directory
6405 to simplify testing on SCO and Solaris.
6408 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
6409 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
6410 Blain, comments by Alexander V Lukyanov).
6411 + simplify definition of PANEL and eliminate internal functions
6412 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
6413 (patch by Juergen Pfeifer, analysis by Philippe Blain
6415 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
6416 man_db.renames, since Debian is not concerned with 14-character
6417 filename limitation (Debian bug report by Josip Rodin
6418 <joy@cibalia.gkvk.hr>).
6419 + corrected scoansi terminfo entry by testing with scoterm and console.
6420 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
6421 since this does not work for gnat 3.10p
6422 + modify tclock example to be resizable (if ncurses' sigwinch handler
6423 is used), and in color.
6424 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
6425 shared library rules.
6428 + add newer NetBSD console terminfo entries
6429 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
6430 <Faroul@beyond.kn-bremen.de>)
6431 + remove -lcurses -ltermcap from configure script's check for the gpm
6432 library, since they are not really necessary (a properly configured
6433 gpm library has no dependency on any curses library), and if the
6434 curses library is not installed, this would cause the test to fail.
6435 + modify tic's -C option so that terminfo "use=" clauses are translated
6436 to "tc=" clauses even when running it as captoinfo.
6437 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
6438 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
6439 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
6440 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
6441 + correct a problem in libpanel, where the _nc_top_panel variable was
6442 not set properly when bottom_panel() is called to hide a panel which
6443 is the only one on the stack (report/analysis by Michael Andres
6444 <ma@suse.de>, patch by Juergen Pfeifer).
6447 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
6448 <j@interface-business.de>).
6449 + add top-level uninstall.data and uninstall.man makefile rules.
6450 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
6451 that hard-links work on Unix again.
6452 + change default value of cf_cv_builtin_bool to 1 (suggested by
6453 Jeremy Buhler), making it less likely that a conflicting declaration
6454 of bool will be seen when compiling with C++.
6457 + improved configure checks for builtin.h
6458 + minor changes to C++ binding (remove static initializations, and make
6459 configure-test for parameter initializations) for features not
6460 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
6461 applies to SGI, though I found SCO has the same characteristics).
6462 + corrected quoting of ETIP_xxx definitions which support old versions
6463 of g++, e.g., those using -lg++
6464 + remove 'L' code from safe_sprintf.c, since 'long double' is not
6465 widely portable. safe_sprintf.c is experimental, however, and
6466 exists mainly as a fallback for systems without snprintf (reported
6467 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
6468 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
6469 so that it is not unnecessarily made extern (Jeffrey C Honig).
6472 + move definition for builtin.h in configure tests to specific check
6473 for libg++, since qt uses the same filename incompatibly.
6474 + correct logic of lib_termcap.c tgetstr function, which did not copy
6475 the result to the buffer parameter. Testing shows Solaris does
6476 update this, though of course tgetent's buffer is untouched (reported
6477 in Peter Edwards <peter.edwards@ireland.com> in
6478 mpc.lists.freebsd.current newsgroup.
6479 + corrected beterm terminfo entry, which lists some capabilities which
6480 are not actually provided by the BeOS Terminal.
6481 + add special logic to replace select() calls on BeOS, whose select()
6482 function works only for sockets.
6483 + correct missing escape in mkterm.h.awk.in, which caused part
6484 of the copyright noticed to be omitted (reported by Peter
6485 Wemm <peter@netplex.com.au>).
6486 > several small changes to make the c++ binding and demo work on OS/2
6487 EMX (related to a clean reinstall of EMX):
6488 + correct library-prefix for c++ binding; none is needed.
6489 + add $x suffix to make_hash and make_keys so 'make distclean' works.
6490 + correct missing $x suffix for tack, c++ demo executables.
6491 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
6492 CF_STDCPP_LIBRARY (for -lstdc++)
6495 + add cygwin terminfo entry -TD
6496 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
6497 + add configure option --without-cxx-binding, modifying the existing
6498 --without-cxx option to check only for the C++ compiler
6499 characteristics. Whether or not the C++ binding is needed, the
6500 configure script checks for the size/type of bool, to make ncurses
6501 match. Otherwise C++ applications cannot use ncurses.
6504 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
6505 + minor corrections to beterm terminfo entry.
6506 + modify lib_setup.c to reject values of $TERM which have a '/' in
6508 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
6509 than one is on BeOS. That would break a switch statement.
6510 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
6511 nonfunctional link().
6512 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
6513 BeOS's bool, which is declared as an unsigned char.
6516 + add ms-vt100 terminfo entry -TD
6517 + minor fixes for misc/emx.src, based on testing with tack.
6518 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
6521 + minor correction for 'screen' terminfo entry.
6522 + clarify description of errret values for setupterm in manpage.
6523 + modify tput to allow it to emit capabilities for hardcopy terminals
6524 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
6525 + modify the 'o' (panel) test in ncurses.c to show the panels in color
6526 or at least in bold, to test Juergen's change to wrefresh().
6527 > patches by Juergen Pfeifer:
6528 + Fixes a problem using wbkgdset() with panels. It has actually
6529 nothing to with panels but is a problem in the implementation of
6530 wrefresh(). Whenever a window changes its background attribute to
6531 something different than newscr's background attribute, the whole
6532 window is touched to force a copy to newscr. This is an unwanted
6533 side-effect of wrefresh() and it is actually not necessary. A
6534 changed background attribute affects only further outputs of
6535 background it doesn't mean anything to the current content of the
6536 window. So there is no need to force a copy. (reported by Frank
6537 Heckenbach <frank@g-n-u.de>).
6538 + an upward compatible enhancement of the NCursesPad class in the C++
6539 binding. It allows one to add a "viewport" window to a pad and then
6540 to use panning to view the pad through the viewport window.
6543 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
6544 signal was received while not in curses mode, e.g., endwin() was
6545 called in preparation for spawning a shell command (reported by Frank
6546 Heckenbach <frank@g-n-u.de>)
6547 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
6548 + change test for xterm mouse capability: it now checks only if the
6549 user's $DISPLAY variable is set in conjunction with the kmous
6550 capability being present in the terminfo. Before, it checked if any
6551 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
6552 However, some emulators which are incompatible with xterm in other
6553 ways do support the xterm mouse capability.
6554 + reviewed and made minor changes in ncurses to quiet g++ warnings
6555 about shadowed or uninitialized variables. g++ incorrectly warns
6556 about uninitialized variables because it does not take into account
6557 short-circuit expression evaluation.
6558 + change ncurses 'b' test to start in color pair 0 and to show in the
6559 right margin those attributes which are suppressed by no_color_video,
6561 + modify ifdef's in curses.h so that __attribute__ is not redefined
6562 when compiling with g++, but instead disabled the macros derived for
6563 __attribute__ since g++ does not consistently recognize the same
6564 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
6565 + update dependencies for term.h in ncurses/modules (reported by
6569 + modify the form demo in ncurses.c to illustrate how to manipulate the
6570 field appearance, e.g, for highlighting or translating the field
6572 + correct logic in write_entry from split-out of home_terminfo in
6573 980919, which prevented update of $HOME/.terminfo (reported by Philip
6574 Spencer <pspencer@fields.utoronto.ca>).
6577 + modify linux terminfo description to make use of kernel 2.2.x mods
6578 that support cursor style, e.g., to implement cvvis (patch by Frank
6579 Heckenbach <frank@g-n-u.de>)
6580 + add special-case in setupterm to retain previously-saved terminal
6581 settings in cur_term, which happens when curses and termcap calls are
6582 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
6583 + suppress initialization of key-tries in _nc_keypad() if we are only
6584 disabling keypad mode, e.g., in endwin() called when keypad() was
6586 + modify the Ada95 makefile to ensure that always the Ada files from
6587 the development tree are used for building and not the eventually
6588 installed ones (patch by Juergen Pfeifer).
6591 + use TTY definition in tack/sysdep.c rather than struct termios
6592 (reported by Philippe De Muyter).
6593 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
6594 not present on sysV68 (reported by Philippe De Muyter).
6595 + correct definition in comp_hash.c to build with configure
6596 --with-rcs-ids option.
6599 + modified ifdef's for sigaction and sigvec to ensure we do not try to
6600 handle SIGTSTP if neither is available (from report by Philippe De
6602 > patch by Philippe De Muyter:
6603 + in tic.c, use `unlink' if `remove' is not available.
6604 + use only `unsigned' as fallback value for `speed_t'. Some files used
6608 + fix some compiler warnings in tack.
6609 + add a check for predefined bool type in CC, based on report that
6610 BeOS predefines a bool type.
6611 + correct logic for infocmp -e option, i.e., the configure
6612 --with-fallbacks option, which I'd not updated when implementing
6613 extended names (cf: 990301). The new implementation adds a "-E"
6614 option to infocmp -TD
6615 > patch by Juergen Pfeifer:
6616 + introduce the private type Curses_Bool in the Ada95 binding
6617 implementation. This is to clearly represent the use of "bool" also
6618 in the binding. It should have no effect on the generated code.
6619 + improve the man page for field_buffer() to tell the people, that the
6620 whole buffer including leading/trailing spaces is returned. This is
6621 a common source of confusion, so it's better to document it clearly.
6624 > patch by Juergen Pfeifer:
6625 + use pragma PreElaborate in several places.
6626 + change a few System.Address uses to more specific types.
6627 + change interface version-number to 1.0
6628 + regenerate Ada95 HTML files.
6631 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
6632 if it appears that curses was never initialized, e.g., by initscr().
6633 For instance, this guards against setting the terminal modes to
6634 strange values if endwin() is called after setupterm(). In the same
6635 context, Solaris curses will dump core.
6636 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
6637 equivalent values in rmso or rmul by ensuring we do not modify the
6638 data which would be returned by the terminfo or termcap interfaces
6639 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
6640 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
6642 + improve fallback declaration of 'bool' when the --without-cxx option
6643 is given, by using a 'char' on i386 and related hosts (prompted by
6644 discussion with Alexander V Lukyanov).
6647 + include time.h in lib_napms.c if nanosleep is used (patch by
6648 R Lindsay Todd <toddr@rpi.edu>).
6649 + add an "#undef bool" to curses.h, in case someone tries to define it,
6651 + add check to tparm to guard against divide by zero (reported by Aaron
6652 Campbell <aaron@ug.cs.dal.ca>).
6655 + minor fix to build tack on CLIX (mismatched const).
6656 > patch by Juergen Pfeifer:
6657 + change Juergen's old email address with new one in the files where it
6658 is referenced. The Ada95 HTML pages are regenerated.
6659 + update MANIFEST to list the tack files.
6662 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
6666 + add 'tack' program (which is GPL'd), updating it to work with the
6667 modified TERMTYPE struct and making a fix to support setaf/setab
6668 capabilities. Note that the tack program is not part of the
6669 ncurses libraries, but an application which can be distributed with
6670 ncurses. The configure script will ignore the directory if it is
6672 + modify gpm mouse support so that buttons 2 and 3 are used for
6673 select/paste only when shift key is pressed, making them available
6674 for use by an application (patch by Klaus Weide).
6675 + add complete list of function keys to scoansi terminfo entry - TD
6678 + add a simple test program cardfile.c to illustrate how to read form
6679 fields, and showing forms within panels.
6680 + change shared-library versioning for the Hurd to be like Linux rather
6681 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
6682 + add linux-lat terminfo entry.
6683 + back-out _nc_access check in read_termcap.c (both incorrect and
6684 unnecessary, except to guard against a small window where the file's
6685 ownership may change).
6688 + remove conflicting _nc_free_termtype() function from test module
6690 + use _nc_access check in read_termcap.c for termpaths[] array (noted
6691 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
6692 > patch by Juergen Pfeifer:
6693 + modify menu creation to not inherit status flag from the default menu
6694 which says that the associated marker string has been allocated and
6695 should be freed (bug reported by Marek Paliwoda"
6696 <paliwoda@kki.net.pl>)
6698 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
6699 + minor fixes to xterm-xfree86 terminfo entry - TD.
6700 + split up an expression in configure script check for ldconfig to
6701 workaround limitation of BSD/OS sh (reported by Jeff Haas
6702 <jmh@mail.msen.com>).
6703 + correct a typo in man/form_hook.3x (Todd C Miller).
6706 + parenthesize and undef 'index' symbol in c++ binding and demo, to
6707 accommodate its definition on NeXT (reported by Francisco A. Tomei
6709 + add sigismember() to base/sigaction.c compatibility to link on NeXT
6710 (reported by Francisco A. Tomei Torres).
6711 + further refinements to inequality in hashmap.c to cover a case with
6712 ^U in nvi (patch by Alexander V Lukyanov).
6715 + add fallback definition for getcwd, to link on NeXT.
6716 + add a copy of cur_term to tic.c to make it link properly on NeXT
6717 (reported by Francisco A. Tomei Torres).
6718 + change inequality in hashmap.c which checks the distance traveled by
6719 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
6720 scrolling logic (patch by Alexander V Lukyanov, reported by Jeffrey
6724 + modify lib_color.c to handle a special case where the curscr
6725 attributes have been made obsolete (patch by Alexander V Lukyanov).
6726 + update BSD/OS console terminfo entries to use klone+sgr and
6727 klone+color (patch by Jeffrey C Honig).
6728 + update glibc addon configure script for extended capabilities.
6729 + correct a couple of warnings in the --enable-const configuration.
6730 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
6731 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
6734 + correct typos in linux-c initc string - TD
6735 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
6736 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
6737 Alexander V Lukyanov).
6740 + back-out change to wgetch because it causes a problem with ^Z
6741 handling in lynx (reported by Kim DeVaughn).
6744 + add -G option to tic and infocmp, to reverse the -g option.
6745 + recode functions in name_match.c to avoid use of strncpy, which
6746 caused a 4-fold slowdown in tic (cf: 980530).
6747 + correct a few warnings about sign-extension in recent changes.
6748 > patch by Juergen Pfeifer:
6749 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
6750 + improved parameter checking in new_fieldtype().
6751 + fixed a typo in wgetch() timeout handling.
6752 + allow slk_init() to be called per newterm call. The internal SLK
6753 state is stored in the SCREEN struct after every newterm() and then
6754 reset for the next newterm.
6755 + fix the problem that a slk_refresh() refreshes stdscr if the
6756 terminal has true SLKs.
6757 + update HTML documentation for Ada binding.
6760 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
6761 such as "#if TRUE" work. This was originally done to allow for a C++
6762 compiler which would warn of implicit conversions between enum and
6763 int, but is not needed for g++ (reported by Kim DeVaughn).
6764 + add use_extended_names() function to allow applications to suppress
6765 read of the extended capabilities.
6766 + add configure option --enable-tcap-names to support logic which
6767 allows ncurses' tic to define new (i.e., extended) terminal
6768 capabilities. This is activated by the tic -x switch. The infocmp
6769 program automatically shows or compares extended capabilities.
6770 Note: This changes the Strings and similar arrays in the TERMTYPE
6771 struct so that applications which manipulate it must be recompiled.
6772 + use macros typeMalloc, typeCalloc and typeRealloc consistently
6773 throughout ncurses library.
6774 + add _nc_strdup() to doalloc.c.
6775 + modify define_key() to allow multiple strings to be bound to the
6777 + correct logic error in _nc_remove_string, from 990220.
6778 > patch for Ada95 binding (Juergen Pfeifer):
6779 + regenerate some of the html documentation
6780 + minor cleanup in terminal_interface-curses.adb
6783 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
6784 xterm and ncsa terminfo entries by removing the unneeded ones. Note
6785 that some entries will return kend & khome versus kslt and kfnd, for
6786 PC-style keyboards versus strict vt220 compatiblity - TD
6787 + add function keybound(), which returns the definition associated with
6789 + modify define_key() to undefine the given string when no keycode is
6791 + modify keyok() so it works properly if there is more than one string
6792 defined for a keycode.
6793 + add check to tic to warn about terminfo descriptions that contain
6794 more than one key assigned to the same string. This is shown only if
6795 the verbose (-v) option is given. Moved related logic (tic -v) from
6796 comp_parse.c into the tic program.
6797 + add/use _nc_trace_tries() to show the function keys that will be
6799 + rename init_acs to _nc_init_acs (request by Alexander V Lukyanov).
6800 > patch for Ada95 binding (Juergen Pfeifer):
6801 + remove all the *_adabind.c from ncurses, menu and form projects.
6802 Those little helper routines have all been implemented in Ada and are
6804 + The option handling routines in menu and form have been made more
6805 save. They now make sure that the unused bits in options are always
6807 + modify configuration scripts to
6808 + use gnatmake as default compiler name. This is a safer choice than
6809 gcc, because some GNAT implementations use other names for the
6810 compilerdriver to avoid conflicts.
6811 + use new default installation locations for the Ada files according
6812 to the proposed GNU Ada filesystem standard (for Linux).
6813 + simplify the Makefiles for the Ada binding
6814 + rename ada_include directory to src.
6817 + enable sigwinch handler by default.
6818 + disable logic that allows setbuf to be turned off/on, because some
6819 implementations will overrun the buffer after it has been disabled
6823 + suppress sc/rc capabilities from terminal description if they appear
6824 in smcup/rmcup. This affects only scrolling optimization, to fix a
6825 problem reported by several people with xterm's alternate screen,
6826 though the problem is more general.
6827 > patch for Ada95 binding (Juergen Pfeifer):
6828 + removed all pragma Preelaborate() stuff, because the just released
6829 gnat-3.11p complains on some constructs.
6830 + fixed some upper/lower case notations because gnat-3.11p found
6832 + used a new method to generate the HTML documentation of the Ada95
6833 binding. This invalidates nearly the whole ./Ada95/html subtree.
6834 Nearly all current files in this subtree are removed
6837 + cache last result from _nc_baudrate, for performance (suggested by
6838 Alexander V Lukyanov).
6839 + modify ClrUpdate() function to workaround a problem in nvi, which
6840 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
6841 ncurses repainted the screen with nulls before resuming normal
6842 operation (patch by Alexander V Lukyanov).
6843 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
6844 be any substring rather than the prefix.
6845 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
6846 not link a module if the only symbols exported from the module are
6847 uninitialized ones (patch by Ilya Zakharevich). Ilya says that he
6848 has seen messages claiming this behavior conforms to the standard.)
6849 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
6850 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
6851 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
6852 problem where ncurses applications which were run via a shell script
6853 would hang when given a ^Z. Also, check if the terminal's process
6854 group is consistent, i.e., a shell has not taken ownership of it,
6855 before deciding to save the current terminal settings in the SIGTSTP
6856 handler (patch by Klaus Weide).
6857 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
6858 der Poel <bvdpoel@kootenay.com>).
6859 + correct a couple of typos in the macros supporting the configure
6860 --with-shlib-version option.
6863 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
6864 by Kimio Ishii <ishii@csl.sony.co.jp>).
6865 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
6866 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
6867 + modify tput to accept termcap names as an alternative to terminfo
6868 names (patch by Jeffrey C Honig).
6869 + correct a typo in term.7 (Todd C Miller).
6870 + add configure --with-shlib-version option to allow installing shared
6871 libraries named according to release or ABI versions. This
6872 parameterizes some existing logic in the configure script, and is
6873 intended for compatiblity upgrades on Digital Unix, which used
6874 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
6875 + resync configure script against autoconf 2.13 + patches
6876 + minor improvements for teraterm terminfo entry based on the program's
6877 source distribution.
6880 + change default for configure --enable-big-core to assume machines do
6881 have enough memory to resolve terminfo.src in-memory.
6882 + correct name of ncurses library in TEST_ARGS when configuring with
6884 + minor fixes to compile ncurses library with broken-linker with g++.
6885 + add --enable-broken-linker configure option, default to environment
6886 variable $BROKEN_LINKER (request by Jeffrey C Honig).
6887 + change key_names[] array to static since it is not part of the curses
6888 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
6891 + add Tera Term terminfo entry - TD
6894 + reviewed/corrected macros in curses.h as per XSI document.
6895 + provide support for termcap PC variable by copying it from terminfo
6896 data and using it as the padding character in tputs (reported by
6897 Alexander V Lukyanov).
6898 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
6899 kf9-kf12 capabilities, as well as adding kcbt.
6900 + document the mouse handling mechanism in menu_driver and make a small
6901 change in menu_driver's return codes to provide more consistency
6902 (patch by Juergen Pfeifer).
6903 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
6904 by Uchiyama Yasushi <uch@nop.or.jp>).
6905 + move lib_restart.c to ncurses/base, since it uses curses functions
6906 directly, and therefore cannot be used in libtinfo.so
6907 + rename micro_char_size to micro_col_size, adding #define to retain
6909 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
6910 XSI and Solaris 2.5.
6911 + minor makefile files to build ncurses test_progs
6912 + update html files in misc directory to reflect changes since 4.2
6915 + disable scroll hints when hashmap is enabled (patch by Alexander
6917 + move logic for tic's verify of -e option versus -I and -C so that the
6918 terminfo data is not processed if we cannot handle -e (reported by
6919 Steven Schwartz <steves@unitrends.com>.
6920 + add test-driver traces to terminfo and termcap functions.
6921 + provide support for termcap ospeed variable by copying it from the
6922 internal cur_term member, and using ospeed as the baudrate reference
6923 for the delay_output and tputs functions. If an application does not
6924 set ospeed, the library behaves as before, except that _nc_timed_wait
6925 is no longer used, or needed, since ospeed always has a value. But
6926 the application can modify ospeed to adjust the output of padding
6927 characters (prompted by a bug report for screen 3.7.6 and email from
6928 Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
6929 + removed some unused ifdef's as part of Alexander's restructuring.
6930 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
6931 Version 2. This includes making some parameters NCURSES_CONST
6932 rather than const, e.g., in termcap.h.
6933 + change linux terminfo entry to use ncv#2, since underline does not
6937 + miscellaneous corrections for curses.h to match XSI.
6938 + change --enable-no-padding configure option to be normally enabled.
6939 + add section to ncurses manpage for environment variables.
6940 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
6941 changes, found no sign of problems on Linux (or on SunOS, Solaris)
6942 running screen built with ncurses.
6943 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
6944 Roskin <pavel_roskin@geocities.com>).
6945 + correct several font specification typos in man-pages.
6948 + correct default value for BUILD_CC (reported by Larry Virden).
6951 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
6952 it from changing the terminfo directory after chdir'ing to it.
6953 Otherwise, a relative path in $TERMINFO would confuse tic (prompted
6954 by a Debian bug report).
6955 + correct/update ncsa terminfo entry (report by Larry Virden).
6956 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
6958 + add Mathew Vernon's mach console entries to terminfo.src
6959 + more changes, moving functions, as part of Alexander's restructuring.
6960 + modify configure script for GNU/Hurd share-library support, introduce
6961 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
6965 + add environment variable NCURSES_NO_SETBUF to allow disabling the
6966 setbuf feature, for testing purposes.
6967 + correct ifdef's for termcap.h versus term.h that suppress redundant
6968 declarations of prototypes (reported by H.J.Lu).
6969 + modify Makefile.os2 to add linker flags which allow multiple copies
6970 of an application to coexist (reported by Ilya Zakharevich).
6971 + update Makefile.glibc and associated configure script so that ncurses
6972 builds as a glibc add-on with the new directory configuration
6973 (reported by H.J.Lu).
6976 + modify gen_reps() function in gen.c to work properly on SunOS
6977 (sparc), which is a left-to-right architecture.
6978 + modify relative_move and tputs to avoid an interaction with the
6979 BSD-style padding. The relative_move function could produce a string
6980 to replace on the screen which began with a numeric character, which
6981 was then interpreted by tputs as padding. Now relative_move will not
6982 generate a string with a leading digit in that case (overwrite).
6983 Also, tputs will only interpret padding if the string begins with a
6984 digit; as coded it permitted a string to begin with a decimal point
6985 or asterisk (reported by Larry Virden).
6986 > patches by Juergen Pfeifer:
6987 + fix a typo in m_driver.c mouse handling and improves the error
6989 + fix broken mouse handling in the Ada95 binding
6990 + make the Ada95 sample application menus work with the new menu mouse
6992 + improve the mouse handling introduced by Ilya; it now handles menus
6994 + repair a minor bug in the menu_driver code discovered during this
6996 + add new function wmouse_trafo() to hide implementation details of
6997 _yoffset member of WINDOW struct needed for mouse coordinate
7001 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
7002 some older implementations (e.g., SunOS 4.x) return the buffer
7003 address rather than its length.
7004 > patch by Rick Ohnemus:
7005 + modify demo.cc to get it to compile with newer versions of egcs.
7006 + trim a space that appears at the end of the table preprocessor lines
7007 ('\" t). This space prevents some versions of man from displaying
7008 the pages - changed to remove all trailing whitespace (TD)
7009 + finally, 'make clean' does not remove panel objects.
7010 > patches by Ilya Zakharevich:
7011 + allow remapping of OS/2 mouse buttons using environment variable
7012 MOUSE_BUTTONS_123 with the default value 132.
7013 + add mouse support to ncurses menus.
7016 + modify misc/makedef.cmd to report old-style .def file symbols, and to
7017 generate the .def files sorted by increasing names rather than the
7019 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
7020 from misc/*.old), and updated based on the entrypoint coding he used
7021 for an older version of ncurses.
7022 + add README.emx, to document how to build on OS/2 EMX.
7023 + updates for config.guess, config.sub from Lynx
7024 > patches by Ilya Zakharevich:
7025 + minor fixes for mouse handling mode:
7026 a) Do not initialize mouse if the request is to have no mouse;
7027 b) Allow switching of OS/2 VIO mouse on and off.
7028 + modify Makefile.os2 to support alternative means of generating
7029 configure script, by translating Unix script with Perl.
7030 > patches by Juergen Pfeifer:
7031 + Updates MANIFEST to reflect changes in source structure
7032 + Eliminates a problem introduced with my last patch for the C++
7033 binding in the panels code. It removes the update() call done in the
7035 + Changes in the Ada95 binding to better support systems where
7036 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
7039 + modify install-script for manpages to skip over .orig and .rej files
7040 (request by Larry Virden).
7041 > patches/discussion by Alexander V Lukyanov:
7042 + move base-library sources into ncurses/base and tty (serial terminal)
7043 sources into ncurses/tty, as part of Alexander V Lukyanov's proposed
7044 changes to ncurses library.
7045 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
7046 be linked into the normal ncurses library.
7047 + move macro winch to a function, to hide details of struct ldat
7048 > patches by Juergen Pfeifer:
7049 + fix a potential compile problem in cursesw.cc
7050 + some Ada95 cosmetics
7051 + fix a gen.c problem when compiling on 64-Bit machines
7052 + fix Ada95/gen/Makefile.in "-L" linker switch
7053 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
7056 + ifdef'd out lib_freeall.c when not configured.
7057 + rename _tracebits() to _nc_tracebits().
7058 + move terminfo-library sources into ncurses/tinfo, and trace-support
7059 functions into ncurses/trace as part of Alexander V Lukyanov's
7060 proposed changes to ncurses library.
7061 + modify generated term.h to always specify its own definitions for
7062 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
7063 broken configure scripts.
7066 + modify terminfo parsing to accept octal and hexadecimal constants,
7068 + remove an autoconf 2.10 artifact from the configure script's check
7069 for "-g" compiler options. (Though harmless, this confused someone
7070 at Debian, who recently issued a patch that results in the opposite
7072 + add configure option --with-ada-compiler to accommodate installations
7073 that do not use gcc as the driver for GNAT (patch by Juergen
7077 + ensure ./man exists in configure script, needed when configuring
7078 with --srcdir option.
7079 + modify infocmp "-r" option to remove limit on formatted termcap
7080 output, which makes it more like Solaris' version.
7081 + modify captoinfo to treat no-argument case more like Solaris'
7082 version, which uses the contents of $TERMCAP as the entry to format.
7083 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
7084 (patch by Alexander V Lukyanov).
7087 + modify --with-terminfo-dirs option so that the default value is the
7088 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
7089 rid of a hardcoded list of candidate directories in the configure
7091 + add some error-checking to _nc_read_file_entry() to ensure that
7092 strings are properly terminated (Todd C Miller).
7093 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
7094 correspond with contents (reported by Neil Zanella
7095 <nzanella@cs.mun.ca>).
7096 + remove redundant configure check for C++ which did not work when $CXX
7097 was specified with a full pathname (reported by Andreas Jaeger).
7098 + corrected bcopy/memmove check; the macro was not standalone.
7101 + remove unnecessary portion of OS/2 EMX mouse change from
7102 check_pending() (reported by Alexander V Lukyanov).
7105 + implement mouse support for OS/2 EMX (adapted from patch against
7106 4.2(?) by Ilya Zakharevich).
7107 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
7108 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
7109 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
7110 some older entries - TD
7111 + modify tic to compile into %'char' form in preference to %{number},
7112 since that is a little more efficient.
7113 + minor correction to infocmp to avoid displaying "difference" between
7114 two capabilities that are rendered in equivalent forms.
7115 + add -g option to tic/infocmp to force character constants to be
7116 displayed in quoted form. Otherwise their decimal values are shown.
7117 + modify setupterm so that cancelled strings are treated the same as
7118 absent strings, cancelled and absent booleans false (does not affect
7120 + modify tic, infocmp to discard redundant i3, r3 strings when output
7122 > patch by Alexander V Lukyanov:
7123 + improve performance of tparm, now it takes 19% instead of 25% when
7125 + rename maxlen/minlen to prec/width for better readability.
7126 + use format string for printing strings.
7127 + use len argument correctly in save_text, and pass it to save_number.
7130 + make test_progs compile (but hashmap does not function).
7131 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
7132 associated logic to avoid freeing the SP->_setbuf data.
7133 + add modules home_terminfo and getenv_num to libtinfo.
7134 + move write_entry to libtinfo, to work with termcap caching.
7135 + minor fixes to blue.c to build with atac.
7136 + remove softscroll.c module; no longer needed for testing.
7137 > patches by Todd C Miller:
7138 + use strtol(3) instead of atoi(3) when parsing env variables so we can
7139 detect a bogus (non-numeric) value.
7140 + check for terminal names > MAX_NAME_SIZE in a few more places when
7141 dealing with env variables again.
7142 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
7143 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
7144 string #define (compile time vs runtime).
7145 + when setting errno to ENOMEM, set it right before the return, not
7146 before code that could, possibly, set errno to a different value.
7147 > patches by Alexander V Lukyanov:
7148 + use default background in update_cost_from_blank()
7149 + disable scroll-hints when hashmap is configured.
7150 + improve integration of hashmap scrolling code, by adding oldhash and
7151 newhash data to SP struct.
7152 + invoke del_curterm from delscreen.
7153 + modify del_curterm to set cur_term to null if it matches the
7154 function's parameter which is deleted.
7155 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
7156 exit_insert_mode combination, adjusting InsCharCost to check
7157 enter_insert_mode, exit_insert_mode and insert_padding. Add
7158 insert_padding in insert mode after each char. This adds new costs
7162 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
7163 consistent treatment.
7164 + modify ncurses to restore output to unbuffered on endwin, and resume
7165 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
7166 + corrected HTML version numbers (according to the W3C validator, they
7167 never were HTML 2.0-compliant, but are acceptable 3.0).
7170 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
7171 capability name, as in SVr4.
7172 + modified term.h, termcap.h headers to avoid redundant declarations.
7173 + change 'u_int' type in tset.c to unsigned, making this compile on
7174 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
7177 + corrections to mailing addresses, and moving the magic line that
7178 causes the man program to invoke tbl to the first line of each
7179 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
7180 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
7181 (from J.J.G.Ripoll, with further integration by TD).
7182 + correct a typo in icl6404 terminfo entry.
7183 + add xtermm and xtermc terminfo entries.
7184 > from esr's terminfo version:
7185 + Added Francesco Potorti's tuned Wyse 99 entries.
7186 + dtterm enacs (from Alexander V Lukyanov).
7187 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
7190 + document AT&T acs characters in terminfo.5 manpage.
7191 + use EMX _scrsize() function if terminfo and environment do not
7192 declare the screen size (reported by Ilya Zakharevich
7193 <ilya@math.ohio-state.edu>).
7194 + remove spurious '\' characters from eterm and osborne terminfo
7195 entries (prompted by an old Debian bug report).
7196 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
7197 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
7198 + correct misplaced parenthesis which caused file-descriptor from
7199 opening termcap to be lost, from 980725 changes (reported by Andreas
7203 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
7204 when termios is not used (patch by Todd C Miller).
7205 + add function _nc_doalloc, to ensure that failed realloc calls do not
7206 leak memory (reported by Todd C Miller).
7207 + improved ncsa-telnet terminfo entry.
7210 + correct missing braces around a trace statement in read_entry.c,
7211 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
7215 + fix missing include <errno.h> in ditto.c (reported by Bernhard
7216 Rosenkraenzer <bero@k5.sucks.eu.org>)
7217 + add NCSA telnet terminfo entries from Francesco Potorti
7218 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
7219 + make handling of $LINES and $COLUMNS variables more compatible with
7220 Solaris by allowing them to individually override the window size
7221 as obtained via ioctl.
7224 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
7225 which may reset all attributes in the 'op' capability, so that colors
7226 are set before turning on bold and other attributes, but still after
7227 turning attributes off.
7228 + add 'ditto.c' to test directory to illustrate use of newterm for
7229 initializing multiple screens.
7230 + modify _nc_write_entry() to recover from failed attempt to link alias
7231 for a terminfo on a filesystem which does not preserve character case
7232 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
7235 + updated versions of config.guess and config.sub based on automake 1.3
7236 + change name-comparisons in lib_termcap to compare no more than 2
7237 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
7238 with Solaris curses).
7239 + fix typo in curs_insstr.3x (patch by Todd C Miller)
7240 + use 'access()' to check if ncurses library should be permitted to
7241 open or modify files with fopen/open/link/unlink/remove calls, in
7242 case the calling application is running in setuid mode (request by
7243 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
7244 <dps@io.stargate.co.uk>).
7245 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
7246 + qnxt2 and minitel terminfo entries from esr's version.
7249 + use -R option with ldconfig on FreeBSD because otherwise it resets
7250 the search path to /usr/lib (reported by Dan Nelson).
7251 + add -soname option when building shared libraries on OpenBSD 2.x
7252 (request by QingLong).
7253 + add configure options --with-manpage-format and
7254 --with-manpage-renames (request by QingLong).
7255 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
7256 omitting the high-order byte, producing a 254 in the compiled
7258 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
7259 tigetnum and tigetstr to be compatible with Solaris (gleaned from
7260 Debian distribution of 1.9.9g-8.8).
7261 + modify _nc_syserr_abort to abort only when compiled for debugging,
7262 otherwise simply exit with an error.
7265 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
7266 "_g" for a debug build).
7267 + update Ada95 'make clean' rule to include generics .ali files
7268 + add a configure test to ensure that if GNAT is found, that it can
7269 compile/link working Ada95 program.
7270 + flush output in beep and flash functions, fixing a problem with
7271 getstr (patch by Alexander V Lukyanov)
7272 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
7273 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
7274 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
7275 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
7279 + merge changes from current XFree86 xterm terminfo descriptions.
7280 + add configure option '--without-ada'.
7281 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
7282 corresponds to vt100.
7283 + change translation for termcap 'rs' to terminfo 'rs2', which is
7284 the documented equivalent, rather than 'rs1'.
7287 + slow 'worm' down a little, for very fast machines.
7288 + corrected firstchar/lastchar computation in lib_hline.c
7289 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
7290 CHANGED_TO_EOL macros.
7291 + modify init_pair so that if a color-pair is reinitialized, we will
7292 repaint the areas of the screen whose color changes, like SVr4 curses
7293 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
7294 + modify getsyx/setsyx macros to comply with SVr4 man-page which
7295 says that leaveok() affects their behavior (report by Darryl Miles,
7296 patch by Alexander V Lukyanov).
7299 + review terminfo.5 against Solaris 2.6 curses version, corrected
7300 several minor errors/omissions.
7301 + implement tparm %l format.
7302 + implement tparm printf-style width and precision for %s, %d, %x, %o
7304 + implement tparm dynamic variables (reported by Xiaodan Tang).
7307 + update man-page for for wattr_set, wattr_get (cf: 980509)
7308 + correct limits in hashtest, which would cause nonprinting characters
7309 to be written to large screens.
7310 + correct configure script, when --without-cxx was specified: the
7311 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
7312 2.8 tolerated the missing 'int'.
7313 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
7314 compiler's name might be something like "egcs" (patch by Juergen
7316 + correct curs_addch.3x, which implied that echochar could directly
7317 display control characters (patch by Alexander V Lukyanov).
7318 + fix typos in ncurses-intro.html (patch by Sidik Isani
7319 <isani@cfht.hawaii.edu>)
7322 + add configure test for conflicting use of exception in math.h and
7324 + minor optimization to 'hash()' function in hashmap.c, reduces its
7326 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
7327 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
7328 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
7329 > patch by Alexander V Lukyanov:
7330 + correct problem on Solaris (with poll() function) where getch could
7331 hang indefinitely even if timeout(x) was called. This turned out to
7332 be because milliseconds was not updated before 'goto retry' in
7334 + simplified the function _nc_timed_wait and fixed another bug, which
7335 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
7337 + removed the cycle on EINTR, as it seems to be useless.
7340 + add makefile-rule for test/keynames
7341 + modify run_tic.sh and shlib to ensure that user's .profile does not
7342 override the $PATH used to run tic (patch by Tim Mooney).
7343 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
7344 needed for HP-UX shared-library path (recommended by Tim Mooney).
7345 + remove special case of HP-UX -L options, use +b options to embed
7346 $(libdir) in the shared libraries (recommended by Tim Mooney).
7347 + add checks for some possible buffer overflows and unchecked
7348 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
7349 <Todd.Miller@courtesan.com>)
7352 + correct maxx/maxy expression for num_columns/num_lines in derwin
7353 (patch by Alexander V Lukyanov).
7354 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
7355 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
7356 configure option (suggested by Mike Hopkirk).
7357 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
7358 Hopkirk <hops@sco.com>).
7359 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
7360 Makefile.in, since this conflicts when g++ is used with HP-UX
7361 compiler (reported by Tim Mooney).
7362 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
7363 in some C++ implementations (reported by several people running
7364 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
7367 + modify write_entry.c so that it will not attempt to link aliases
7368 with embedded '/', but give only a warning.
7369 + put -L$(libdir) first when linking programs, except for HP-UX.
7370 + modify comp_scan.c to handle SVr4 terminfo description for att477,
7371 which contains a colon in the description field.
7372 + modify configure script to support SCO osr5.0.5 shared libraries,
7373 from comp.unix.sco.programmer newsgroup item (Mike Hopkirk).
7374 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
7376 + minor adjustments of const/NCURSES_CONST from IRIX compile.
7377 + add updates based on esr's 980509 version of terminfo.src.
7380 + correct macros for wattr_set, wattr_get, separate wattrset macro from
7381 these to preserve behavior that allows attributes to be combined with
7383 + add configure option --enable-no-padding, to allow environment
7384 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
7385 thereby making terminal emulators (e.g., for vt100) a little more
7386 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
7387 + modify configure script to embed ABI in shared libraries for HP-UX
7388 10.x (detailed request by Tim Mooney).
7389 + add test/example of the 'filter()' function.
7390 + add nxterm and xterm-color terminfo description (request by Cristian
7391 Gafton <gafton@redhat.com>).
7392 + modify rxvt terminfo description to clear alternate screen before
7393 switching back to normal screen, for compatibility with applications
7394 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
7395 + modify linux terminfo description to reset color palette (reported
7396 by Telford Tendys <telford@eng.uts.edu.au>).
7397 + correction to doupdate, for case where terminal does not support
7398 insert/delete character. The logic did not check that there was a
7399 difference in alignment of changes to old/new screens before
7400 repainting the whole non-blank portion of the line. Modified to fall
7401 through into logic that reduces by the portion which does not differ
7402 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
7403 + minor performance improvement to wnoutrefresh by moving some
7404 comparisons out of inner loop.
7407 + modify configure script to substitute NCURSES_CONST in curses.h
7408 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
7409 xterm-8bit to correspond to XFree86 3.9Ag.
7410 + remove restriction that forces ncurses to use setaf/setab if the
7411 number of colors is greater than 8. (see 970524 for xterm-16color).
7412 + change order of -L options (so that $(libdir) is searched first) when
7413 linking tic and other programs, to workaround HP's linker.
7414 Otherwise, the -L../lib is embedded when linking against shared
7415 libraries and the installed program does not run (reported by Ralf
7417 + modify configuration of shared libraries on Digital Unix so that
7418 versioning is embedded in the library, rather than implied by
7419 links (patch by Tim Mooney).
7422 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
7423 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
7424 <R.Hildebrandt@tu-bs.de>).
7425 + correct configure tests in CF_SHARED_OPTS which used $CC value to
7426 check for gcc, rather than autoconf's $GCC value. This did not
7427 work properly if the full pathname of the compiler were given
7428 (reported by Michael Yount <yount@csf.Colorado.edu>).
7429 + revise check for compiler options to force ANSI mode since repeating
7430 an option such as -Aa causes HP's compiler to fail on its own headers
7431 (reported by Clint Olsen <olsenc@ichips.intel.com>).
7434 + ifdef'd has_key() and mcprint() as extended functions.
7435 + modified several prototypes to correspond with 1997 version of
7436 X/Open Curses (affects ABI since developers have used attr_get).
7437 + remove spurious trailing blanks in glibc addon-scripts (patch by
7439 + insert a few braces at locations where gcc-2.8.x asks to use them to
7440 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
7441 by Juergen Pfeifer).
7444 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
7445 before -l to accommodate Solaris' linker (reported by Larry Virden).
7448 + modify lib_color.c to eliminate dependency on orig_colors and
7449 orig_pair, since SVr4 curses does not require these either, but
7450 uses them when they are available.
7451 + add detailed usage-message to infocmp.
7452 + correct a typo in att6386 entry (a "%?" which was "?").
7453 + add -f option to infocmp and tic, which formats the terminfo
7454 if/then/else/endif so that they are readable (with newlines and
7456 + fixes for glibc addon scripts (patch by H.J.Lu).
7459 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
7460 declared (from Adam J Richter <adam@yggdrasil.com>)
7461 + remove spurious curs_set() call from leaveok() (J T Conklin).
7462 + corrected handling leaveok() in doupdate() (patch by Alexander V.
7464 + improved version of wredrawln (patch by Alexander V. Lukyanov).
7465 + correct c++/Makefile.in so install target do not have embedded ../lib
7466 to confuse it (patch by Thomas Graf <graf@essi.fr>).
7467 + add warning to preinstall rule which checks if the installer would
7468 overwrite a curses.h or termcap.h that is not derived from ncurses.
7469 (The recommended configuration for developers who need both is to
7470 use --disable-overwrite).
7471 + modify preinstall rule in top-level Makefile to avoid implicit
7472 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
7473 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
7474 <te@informatik.uni-hannover.de>)
7475 + refine ifdef's for TRACE so that libncurses has fewer dependencies
7476 on libtinfo when TRACE is disabled.
7477 + modify configure script so that if the --with-termlib option is used
7478 to generate a separate terminfo library, we chain it to the ncurses
7479 library with a "-l" option (reported by Darryl Miles and Ian T.
7483 + correct limits and window in wredrawln function (reported/analysis by
7484 Alexander V. Lukyanov).
7485 + correct sed expression in configure script for --with-fallback
7486 option (patch by Jesse Thilo).
7487 + correct some places in configure script where $enableval was used
7488 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
7489 + modify some man-pages so no '.' or '..' falls between TH and SH
7490 macros, to accommodate man_db program (reported by Ian T. Zimmerman
7492 + terminfo.src 10.2.1 downloaded from ESR's webpage (ESR).
7493 > several changes by Juergen Pfeifer:
7494 + add copyright notices (and rcs id's) on remaining man-pages.
7495 + corrected prototypes for slk_* functions, using chtype rather than
7497 + implemented the wcolor_set() and slk_color() functions
7498 + the slk_attr_{set,off,on} functions need an additional void*
7499 parameter according to XSI.
7500 + fix the C++ and Ada95 binding as well as the man pages to
7501 reflect above enhancements.
7504 + use 'stat()' rather than 'access()' in toe.c to check for the
7505 existence of $HOME/.terminfo, since it may be a file.
7506 + suppress configure CF_CXX_LIBRARY check if we are not using g++
7507 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
7509 + turn on hashmap scrolling code by default, intend to remedy defects
7511 + minor corrections to terminfo.src changelog.
7513 980302 4.2 release for upload to prep.ai.mit.edu
7514 + correct Florian's email address in ncurses-intro.html
7515 + terminfo.src 10.2.0 (ESR).
7518 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
7519 QingLong <qinglong@Bolizm.ihep.su>).
7520 + minor documentation fixes (patch by Juergen Pfeifer).
7521 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
7522 <claesg@algonet.se>).
7523 + correct sign-extension in lib_insstr.c (reported by Sotiris
7524 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
7527 + regenerated some documentation overlooked in 980214 patch
7528 (ncurses-intro.doc, curs_outopts.3x.html)
7529 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
7531 + change maintainer's mailing address to florian@gnu.org, change
7532 tentative mailing list address to bug-ncurses-request@gnu.org (patch
7533 by Florian La Roche).
7534 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
7535 Hasse <gh@raditex.se>).
7536 + restore version numbers to Ada95 binding, accidentally deleted by
7537 copyright patch (patch by Juergen Pfeifer).
7540 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
7541 distributions, though it is retained in development.
7542 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
7544 + update mailing-list information (bug-ncurses@gnu.org).
7545 + update announcement for upcoming 4.2 release.
7546 + modify -lm test to check for 'sin()' rather than 'floor()'
7547 + remove spurious commas from terminfo.src descriptions.
7548 + change copyright notices to Free Software Foundation
7551 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
7553 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
7554 + ifdef-out true-return from _nc_mouse_inline() which depends on
7555 merge of QNX patch (pending 4.2 release).
7556 > patch to split off seldom-used modules in ncurses (J T Conklin):
7557 This reduces size by up to 2.6kb.
7558 + move functionality of _nc_usleep into napms, add configuration case
7560 + moved wchgat() from lib_addch.c to lib_chgat.c
7561 + moved clearok(), immedok(), leaveok(), and scrollok() from
7562 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
7564 + moved napms() from lib_kernel.c to lib_napms.c
7565 + moved echo() and noecho() from lib_raw.c to lib_echo.c
7566 + moved nl() and nonl() from lib_raw.c to lib_nl.c
7569 + corrected conversion in tclock.c (cf: 971018).
7570 + updates to Makefile.glibc and associated Linux configure script
7572 + workaround a quoting problem on SunOS with tar-copy.sh
7573 + correct init_pair() calls in worm.c to work when use_default_colors()
7575 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
7577 + add ncv capability to FreeBSD console (cons25w), making reverse
7579 + correct sense of configure-test for sys/time.h inclusion with
7581 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
7582 + remove unused/obsolete test-program rules from progs/Makefile.in
7583 (the rules in ncurses/Makefile.in work).
7584 + remove shared-library loader flags from test/Makefile.in, etc.
7585 + simplify test/configure.in using new version of autoconf to create
7587 + suppress suffix rules in test/Makefile.in, provide explicit
7588 dependency to work with --srcdir option and less capable 'make'
7590 > adapted from patch for QNX by Xiaodan Tang:
7591 + initialize %P and %g variables set/used in tparm, and also ensure
7592 that empty strings don't return a null result from tparam_internal
7593 + add QNX-specific prototype for vsscanf()
7594 + move initialization of SP->_keytry from init_keytry() to newterm() to
7595 avoid resetting it via a keyok() call by mouse_activate().
7596 + reorganized some functions in lib_mouse() to use case-statements.
7597 + remove sgr string from qnx terminfo entry since it is reported to
7598 turn off attributes inconsistently.
7601 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
7602 test for no_color_video.
7603 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
7605 + implement no_color_video attribute, and as a special case, reverse
7606 colors when the reverse attribute cannot be combined with color.
7607 + check for empty string in $TERM variable (reported by Brett Michaels
7609 > from reports by Fred Fish:
7610 + add configure-test for isascii
7611 + add configure-test for -lm library.
7612 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
7613 > patches by J.J.G.Ripoll
7614 + add configure/makefile variables to support .exe extension on
7615 OS/2 EMX (requires additional autoconf patches).
7616 + explicitly initialize variables in lib_data.c to appease OS/2 linker
7617 > patches by Fred Fish <fnf@ninemoons.com>
7618 + misc/Makefile.in (install.data): Avoid trying to install the CVS
7620 + aclocal.m4 (install.includes): Remove files in the include directory
7621 where we are going to install new ones, not the original source
7623 + misc/terminfo.src: Add entry for "beterm", derived from termcap
7624 distributed with BeOS PR2 using captoinfo.
7625 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
7626 + aclocal.m4: Assume bool types are unsigned.
7627 + progs/infocmp.c: workaround mwcc 32k function data limit
7630 + correct initialization of color-pair (cf: 970524) in xmas.c, which
7631 was using only one color-pair for all colors (reported by
7633 + add multithread options for objects build on EMX, for compatibility
7635 + split up an expression in MKlib_gen.sh to work around a problem on
7636 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
7637 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
7639 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
7640 + remove bold/underline from sun console entries since they're not
7642 + correct _tracef calls in _tracedump(), which did not separate format
7644 + correct getopt string for tic "-o" option, and add it to man-page
7645 synopsis (reported by Darren Hiebert <darren@hmi.com>).
7646 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
7647 optimization (Alexander V. Lukyanov).
7648 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
7649 Muyter <phdm@macqel.be>).
7650 > patches by Juergen Pfeifer:
7651 + Improve a feature of the forms driver. For invisible fields
7652 (O_VISIBLE off) only the contents but not the attributes are cleared.
7653 We now clear both. (Reported by Javier Kohan
7654 <jkohan@adan.fceia.unr.edu.ar>)
7655 + The man page form_field_opts.3x makes now clear, that invisible
7656 fields are also always inactive.
7657 + adjust ifdef's to compile the C++ binding with the just released
7658 gcc-2.8.0 c++ and the corresponding new C++ libraries.
7661 + correct "?" command in ncurses.c; it was performing non-screen writes
7662 while the program was in screen mode. (It "worked" in 1.9.9e because
7663 that version sets OPOST and OCRNL incorrectly).
7664 + return error from functions in lib_kernel, lib_raw and lib_ti if
7665 cur_term is null, or if underlying I/O fails.
7666 + amend change to tputs() so that it does not return an error if
7667 cur_term is null, since some applications depend on being able to use
7668 tputs without initializing the terminal (reported by Christian J.
7669 Robinson <infynity@cyberhighway.net>).
7672 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
7673 1.9.9e, together with fixes/additions for the "ansi" terminal type.
7674 + add tic check for save/restore cursor if change_scroll_region is
7675 defined (reference: O'Reilly book).
7676 + modify read_termcap.c to handle EMX-style pathnames (reported by
7678 + modify lib_raw.c to use EMX's setmode (patch from J.J.G.Ripoll).
7679 Ripoll says EMX's curses does this.
7680 + modify _nc_tic_expand() to generate \0 rather than \200.
7681 + move/revise 'expand()' from dump_entry.c to ncurses library as
7682 _nc_tic_expand(), for use by tack.
7683 + decode \a as \007 for terminfo, as per XSI.
7684 + correct translation of terminfo "^@", to \200, like \0.
7685 + modify next_char() to treat <cr><lf> the same as <newline>, for
7686 cross-platform compatibility.
7687 + use new version of autoconf (971230) to work around limited
7688 environment on CLIX, due to the way autoconf builds --help message.
7689 > patch by Juergen Pfeifer:
7690 + check that the Ada95 binding runs against the correct version of
7692 + insert constants about the library version into the main spec-file of
7696 + modify open/fopen calls to use binary mode, needed for EMX.
7697 + modify configure script to work with autoconf 2.10 mods for OS/2
7698 EMX (from J.J.G.Ripoll).
7699 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
7700 bypasses limited sed buffer length.
7701 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
7702 (J.J.G.Ripoll) to support OS/2 EMX:
7703 + add a _scrolling flag to SP, to set when we encounter a terminal
7704 that simply cannot scroll.
7705 + corrected logic in _nc_add_to_try(), by ensuring that strings with
7706 embedded \200 characters are matched.
7707 + don't assume the host has 'link()' function, for linking terminfo
7711 + if there's no ioctl's to support sigwinch handler, disable it.
7712 + add configure option --disable-ext-funcs to remove the extended
7713 functions from the build.
7714 + add configure option --with-termlib to generate the terminfo
7715 functions as a separate library.
7716 + add 'sources' rule to facilitate cross-compiling.
7717 + review/fix order of mostlyclean/clean/distclean rules.
7718 + modify install-rule for headers to first remove old header, in
7719 case there was a symbolic link that confuses the install script.
7720 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
7721 + add null pointer checks in wnoutrefresh(), overlap() (patch by
7722 Xiaodan Tang <xtang@qnx.com>)
7723 + correct tputs(), which could dereference a null cur_term if invoked
7724 before terminal is initialized (patch by Christopher Seawood
7726 > patch by Juergen Pfeifer:
7727 + makes better use of "pragma Inline" in the Ada95 binding
7728 + resynchronizes the generated html manpages
7731 + additional fixes for man-pages section-references
7732 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
7734 + remove hpa/vpa from rxvt terminal description because they are not
7735 implemented correctly, added sgr0.
7736 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
7737 Leitgeb <leitgeb@leland.stanford.edu>)
7740 + modify protection when installing libraries to (normally) not
7741 executable. HP-UX shared libraries are an exception.
7742 + add configure check for 'tack'.
7743 + implement script for renaming section-references in man-page install,
7744 for Debian configuration.
7745 + add validity-check for SP in trace code in baudrate() (reported by
7747 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
7748 + modify 'overlay()' so that copy applies target window background to
7750 + correct 'mvwin()' so that it does not clear the previous locations.
7751 + correct lib_acs.c so that 8-bit character is not sign expanded in
7752 case of wide characters in chtype.
7753 + correct control-char test in lib_addch.c for use with wide chars
7754 + use attribute in the chtype when adding a control character in
7755 lib_addch.c control char was added with current attribute
7758 + save/restore errno in _tracef() function
7759 + change treatment of initialize_color to use a range of 0..1000
7760 (recommended by Daniel Weaver).
7761 + set umask in mkinstalldirs, fixing problems reported by users who
7762 have set root's umask to 077.
7763 + correct bug in tic that caused capabilities to be reprinted at the
7764 end of output when they had embedded comments.
7765 + rewrote wredrawln to correspond to XSI, and split-out since it is
7766 not often used (from report by Alexander V. Lukyanov, 970825)
7767 + rewrote Dan Nelson's change to make it portable, as well as to
7768 correct logic for handling backslashes.
7769 + add code to _nc_tgetent() to make it work more like a real tgetent().
7770 It removes all empty fields, and removes all but the first in a group
7771 of duplicate caps. The code was pulled from the BSD libtermcap code
7772 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
7773 + don't include --enable-widec in the --with-develop configure option,
7774 since it is not binary-compatible with 4.1 (noted by Alexander V.
7776 > patch by Juergen Pfeifer:
7777 + further improvements of the usage of elaboration pragmas in the Ada95
7779 + enhanced Ada95 sample to use the user_data mechanism for panels.
7780 + a fix for the configuration script to make gnat-3.10 the required
7782 + resync of the html version of the manpages
7785 > fixes/updates for terminfo.src:
7786 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
7788 + add hds200 description (Walter Skorski)
7789 + add EMX 0.9b descriptions
7790 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
7791 + rename xhpterm back to hpterm.
7792 > patch by Juergen Pfeifer:
7793 + Improves the usage of elaboration pragmas for the Ada95 binding.
7794 + Adds a translation of the test/rain.c into Ada95 to the samples.
7795 This has been contributed to the project by Laurent Pautet
7799 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
7801 + correction & simplification of delay computation in tputs, based on
7802 comments from Daniel Weaver.
7803 + replace test for SCO with more precise header tests.
7804 + add configure test for unsigned literals, use in NCURSES_BITS macro.
7805 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
7806 since they probably are not needed, and are less efficient (noted by
7808 + add -L$(libdir) to loader options, after -L../lib so that loaders
7809 that record this information will tend to do the right thing if
7810 the programs are moved around after installing them (suggested by
7812 + add -R option to loader options for programs for Solaris if the
7813 --enable-rpath option is specified for the libraries.
7816 + correct installed filename for shared libraries on *BSD (reported by
7820 + cleanup logic for deciding when tputs() should call delay_output(),
7821 based on comments from Daniel Weaver.
7822 + modified tputs() to avoid use of float.
7823 + correct use of trailpad in tputs(), which used the wrong variable
7824 in call to delay_output().
7825 + correct inverted expression for null-count in delay_output()
7826 (analysis by Daniel Weaver).
7827 + apply --enable-rpath option to Solaris (requested by Larry Virden).
7828 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
7829 + correct check for error-return by _nc_tgetent(), which returns 0
7831 + add configure test for BSD 4.4 cgetent() function, modify
7832 read_termcap.c to use the host's version of that if found, using the
7833 terminal database on FreeBSD (reported by Peter Wemm).
7834 + add u8, u9 strings to sun-il description for Daniel Weaver.
7835 + use NCURSES_CONST in panel's user-pointer.
7836 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
7837 so that will work on NeXT.
7838 + use _nc_set_screen() rather than assignments to SP to fix port to
7839 NeXT (reported by Francisco A. Tomei Torres).
7842 + force mandatory padding in bell and flash_screen, as specified in
7844 + don't allow padding_baud_rate to override mandatory delays (reported
7846 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
7847 defined, or if the cur_term pointer is not initialized. XSI treats
7848 this as unspecified. (requested by Daniel Weaver).
7849 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
7850 when that feature is not configured.
7851 + remove _nc_err_abort() calls when write_entry.c finds a directory but
7852 cannot write to it, e.g., when translating part/all of /etc/termcap
7853 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
7854 (this dates back to 951102, in 1.9.7a).
7855 + minor ifdef fixes to compile with atac and glibc 2.0.5c
7856 + add check for -lgen when configuring regexpr.h
7857 + modify Solaris shared-library option "-d y" to "-dy" to workaround
7858 incompatibility of gcc 2.7.2 vs vendor's tools.
7861 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
7863 + remove dangling backslash in panel/Makefile.in
7864 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
7866 + correct length of allocation in _nc_add_to_try(), to allow for
7868 + correct logic in _nc_remove_key(), which was discarding too many
7869 nodes (patch by Alexander V. Lukyanov)
7872 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
7873 shared libraries link properly (see 970524).
7874 + modify Linux shared-library generation to include library
7875 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
7876 panel libraries (suggested by Juergen Pfeifer).
7877 + modify configure script to use config.guess and config.sub rather
7878 than uname, which is unreliable on some systems.
7879 + updated Makefile.glibc, test-built with glibc 2.0.5c
7880 + modify keyname() to return values consistent with SVr4 curses (patch
7882 > changes requested by Daniel Weaver:
7883 + modify delay_output() so that it uses the same output function as
7884 tputs() if called from that function.
7885 + move _baudrate from SCREEN to TERMINAL so that low-level use of
7886 tputs works when SP is not set.
7887 > patch by Juergen Pfeifer:
7888 + factor lib_menu and lib_form into smaller modules
7889 + clean up the interface between panel and SCREEN
7890 + minor changes to the Ada95 mouse support implemenation
7891 + minor bugfix in C++ binding to ripoff windows
7892 + fix a few Ada95 html documentation pages
7895 + split-out lib_ungetch.c, make runtime link to resizeterm() to
7896 decouple those modules from lib_restart.c
7897 + add xterm-xf86-v39t description to terminfo.src
7898 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
7899 endwin() to avoid unnecessary repainting if the application has
7900 established an atexit function, etc. Encountered this problem in
7901 the c++ demo, whose destructors repaint the screen.
7902 + combine _nc_get_screensize() and resizeterm() calls as new function
7903 _nc_update_screensize().
7904 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
7906 + implement install-rules for Ada95 makefiles.
7907 + use screen_lines or MAXLINES as needed where LINES was coded,
7908 as well as screen_columns for COLS, in the ncurses library.
7909 > patch by Alexander V. Lukyanov:
7910 + modify logic for ripped-off lines to handle several SCREENs.
7911 > patch by Juergen Pfeifer:
7912 + factors lib_slk.c into some smaller modules
7913 + factors panel.c into some smaller modules
7914 + puts the static information about the current panel stack into the
7915 SCREEN structure to allow different panel stacks on different
7917 + preliminary fix for an error adjusting LINES to account for
7921 + move _nc_max_click_interval and other mouse interface items to SCREEN
7922 struct so that they are associated with a single terminal, and also
7923 save memory when the application does not need a mouse (roughly 3k vs
7925 + modify mouseinterval() so that a negative parameter queries the
7926 click-interval without modifying it.
7927 + modify ncurses 'i' test to work with ncurses' apparent extension from
7928 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
7930 + add configure options --with-ada-includes and --with-ada-objects,
7931 to drive Ada95 binding install (not yet implemented).
7932 + install C++ binding as -lncurses++ and associated headers with the
7933 other ncurses headers.
7934 + fix header uninstall if configure --srcdir is used.
7935 > minor interface changes to support 'tack' program -TD
7936 (request by Daniel Weaver <danw@znyx.com>).
7937 + export functions _nc_trans_string() and _nc_msec_cost().
7938 + add variable _nc_nulls_sent, to record the number of padding
7939 characters output in delay_output().
7940 + move tests for generic_type and hard_copy terminals in setupterm()
7941 to the end of that function so that the library will still be
7942 initialized, though not generally useful for curses programs.
7943 > patches by Alexander V. Lukyanov:
7944 + modify ClrBottom() to avoid using clr_eos if there is only one line
7946 + typo in configure --help.
7947 > patch by J T Conklin (with minor resync against Juergen's changes)
7948 + split-out lib_flash.c from lib_beep.c
7949 + split-out lib_hline.c and lib_vline.c from lib_box.c
7950 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
7953 > patch by Juergen Pfeifer:
7954 + correct source/target of c++/edit_cfg.sh
7957 + add color, mouse support to kterm terminfo entry.
7958 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
7959 providing "xterm"-style mouse.
7960 + updated rxvt's terminfo description to correspond to 2.21b, with
7961 fixes for the acsc (the box1 capability is incorrect, ech1 does not
7963 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
7964 an entry from equivalents in XENIX or AIX. This lets ncurses handle
7965 the distribution copy of rxvt's terminfo.
7966 + modify acsc capability for linux and linux-koi8 terminfo descriptions
7967 (from Pavel Roskin <pavel@absolute.spb.su>).
7968 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
7969 rather than 'i' (see 970802).
7970 + updated terminfo.src with reformatted acsc entries, and repaired the
7971 trashed entries with spurious '\' characters that this exposed.
7972 + add logic to dump_entry.c to reformat acsc entries into canonical
7973 form (sorted, unique mapping).
7974 + add configure script to generate c++/etip.h
7975 + add configure --with-develop option, to enable by default most of the
7976 experimental options (requested by Alexander V. Lukyanov).
7977 + rename 'deinstall' to 'uninstall', following GNU convention
7978 (suggested by Alexander V. Lukyanov).
7979 > patches by Alexander V. Lukyanov:
7980 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
7981 line of the screen, since carriage return will not cause a newline.
7982 + remove clause from PutCharLR() that would try to use
7983 eat_newline_glitch since that apparently does not work on some
7984 terminals (e.g., M$ telnet).
7985 + correct a limit check in scroll_csr_backward()
7986 > patches by Juergen Pfeifer:
7987 + adds dummy implementations of methods above() and below() to the
7989 + fixes missing returncode in NCursesWindow::ripoffline()
7990 + fixes missing returncode in TestApplication::run() in demo.cc
7991 + We should at least give a comment in etip.h why it is currently a
7992 problem to install the C++ binding somewhere
7993 + makes the WINDOW* argument of wenclose() a const.
7994 + modifies several of the routines in lib_adabind.c to use a const
7998 + add 'deinstall' rules.
7999 + use explicit assignments in configure --without-progs option to
8000 work around autoconf bug which doesn't always set $withval.
8001 + check for ldconfig, don't try to run it if not found.
8002 + implement simple/unoptimized case in lib_doupdate.c to handle
8003 display with magic cookie glitch, tested with ncurses.c program.
8004 + correct missing _tracef in getmouse(), to balance the returnCode
8006 + simplify show_attr() in ncurses.c using termattrs().
8007 > patches by Juergen Pfeifer:
8008 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
8010 + fixes a typo in a comment of frm_driver.c
8011 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
8012 generics should be compiled. Proper fixes to the configuration
8013 scripts are also provided.
8016 + several modifications to the configure script (requested by Ward
8018 + add configure options --without-progs, to suppress the build of the
8019 utility programs, e.g., for cross-compiling.
8020 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
8021 Makefile.in, to simplify setup for cross compiling.
8022 + add logic in configure script to recognize "--target=vxworks", and
8023 generate load/install actions for VxWorks objects.
8024 + move typedef for sigaction_t into SigAction.h to work around problem
8025 generating lint library.
8026 + modify fty_regex.c to reflect renaming of ifdef's for regular
8028 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
8029 reside in <sys/ioctl.h>.
8030 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
8031 the more obscure tests, which rely upon color.
8032 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
8033 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
8034 implementation difference wrt SVr4 curses, allow 's' test to work.
8035 + add missing endwin() to testscanw.c program (reported by Fausto
8036 Saporito <fausap@itb.it>).
8037 + fixes/updates for Makefile.glibc and related files under sysdeps
8039 > patches by Juergen Pfeifer:
8040 + add checks for null pointers, especially WINDOW's throughout the
8042 + solve a problem with wrong calculation of panel overlapping (reported
8044 + make sure that a panel's window isn't a pad.
8045 + do more error checking in module lib_touch.c
8046 + missing files for Ada95 binding from the last patch
8047 + synch. of generated html pages (RCS-Id's were wrong in html files)
8048 + support for Key_Resize in Ada binding
8049 + changed documentation style in ./c++/cursesm.h
8050 > patches by Alexander V. Lukyanov:
8051 + undo attempt to do recursive inlining for PutChar(), noting that it
8052 did not improve timing measurably, but inflated the size of
8056 + modify rain.c to use color.
8057 + correct scroll_csr_backward() to match scroll_csr_forward().
8058 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
8059 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
8060 of configure cache variables in 970906.
8061 + correct logic involving changes to O_VISIBLE option in
8062 Synchronize_Options function in frm_driver.c (Tony Hoffmann
8063 <Tony.Hoffmann@hia.nrc.ca>)
8064 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
8065 cross compiling (suggested by Chris Johns).
8066 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
8067 use it to support screen-size calculation (reported by Chris Johns).
8068 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
8069 Chris Johns <cjohns@plessey.com.au>)
8070 > patches by Juergen Pfeifer:
8071 + simplified, made minor corrections to Ada95 binding to form
8073 + The C++ binding has been enhanced:
8074 + Improve NCursesWindow class: added additional methods to cover
8075 more ncurses functionality. Make refresh() and noutrefresh()
8076 virtual members to allow different implementation in the
8078 + CAUTION: changed order of parameters in vline() and hline() of
8079 NCursesWindow class.
8080 + Make refresh() in NCursesPanel non-static, it is now a
8081 reimplementation of refresh() in the base class. Added
8082 noutrefresh() to NCursesPanel.
8083 + Added NCursesForm and related classes to support libform
8085 + Moved most of configuration related stuff from cursesw.h to etip.h
8086 + Added NCursesApplication class to support easy configuration of
8087 menu and forms related attributes as well as ripped of title lines
8088 and Soft-Label-Keys for an application.
8089 + Support of Auto-Cleanup for a menu's fieldlist.
8090 + Change of return type for current_item() and operator[] for menus.
8092 + Fixed a bug in form/fld_def.c: take into account that copyarg and
8093 freearg for a fieldtype may be NULL, makearg must not be NULL
8094 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
8095 not be NULL, copyarg and freearg may be NULL.
8096 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
8097 already disconnected.
8098 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
8099 navigation requests.
8100 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
8101 case-insensitiva comparision routine.
8102 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
8103 forms field by index.
8104 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
8106 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
8107 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
8108 broken (didn't handle colors correctly).
8109 + Enhanced lib_mouse.c: added _nc_has_mouse() function
8110 + Added _nc_has_mouse() prototype to curses.priv.h
8111 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
8112 streamlined implementation of wbkgd()
8113 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
8114 move of subwindows. Fixed update behavior of movements of regular
8116 + Fixed lib_pad.c: make chtype argument of pechochar() const.
8117 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
8118 of the original. Subwindows become regular windows by doing a
8120 + Improved manpage form_fieldtype.3x
8121 > patches by Alexander V. Lukyanov:
8122 + simplify the PutChar() handling of exit_am_mode, because we already
8123 know that auto_right_margin is true.
8124 + add a check in PutChar() for ability to insert to the case of
8125 shifting character to LR corner.
8126 + in terminal initialization by _nc_screen_resume(), make sure that
8127 terminal right margin mode is known.
8128 + move logic that invokes touchline(), or does the equivalent, into
8129 _nc_scroll_window().
8130 + modify scrolling logic use of insert/delete line capability, assuming
8131 that they affect the screen contents only within the current
8133 + modify rain.c to demonstrate SIGWINCH handler.
8134 + remove logic from getch() that would return an ERR if the application
8135 called getch() when the cursor was at the lower-right corner of the
8136 physical screen, and the terminal does not have insert-character
8138 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
8139 is read, and modify logic in getch() so this fix will yield the
8140 desired behavior, i.e., the screen is repainted automatically when
8141 the terminal window is resized.
8144 + add configure option --enable-sigwinch
8145 + modify view.c to test KEY_RESIZE logic, with "-r" option.
8146 + modify testcurs.c to eliminate misleading display wrt cursor type
8147 by testing if the terminal supports cnorm, civis, cvvis.
8148 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
8149 _nc_curr_col variables into linked programs: move these variables,
8150 making new modules lib_cur_term and trace_buf (reported by Francisco
8151 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
8152 > patches by Alexander V. Lukyanov:
8153 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
8154 the SIGWINCH handler has been called since the last call to
8156 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
8157 + add SIGWINCH handler to ncurses library which is used if there is no
8158 application SIGWINCH handler in effect when the screen is
8160 + make linked list of all SCREEN structures.
8161 + move curses.h include before definition of SCREEN to use types in
8163 + correction to ensure that wgetstr uses only a newline to force a
8167 + add experimental configure option --enable-safe-sprintf; the normal
8168 mode now allocates a buffer as large as the screen for the
8169 lib_printw.c functions.
8170 + modify wgetch to refresh screen when reading ungetch'd characters,
8171 since the application may require this - SVr4 does this.
8172 + refine treatment of newline in wgetstr to echo only when this would
8173 force the screen to scroll.
8176 + remove override in wgetstr() that forces keypad(), since SVr4 does
8178 + correct y-reference for erasure in wgetstr() when a wrap forces a
8180 + correct x-position in waddch() after a wrap forces a scroll.
8181 + echo newline in wgetstr(), making testscanw.c scroll properly when
8183 + modify vwscanw() to avoid potential buffer overflow.
8184 + rewrote lib_printw.c to eliminate fixed-buffer limits.
8185 > patches by Alexander V. Lukyanov:
8186 + correct an error in handling cooked mode in wgetch(); processing
8187 was in the wrong order.
8188 + simplified logic in wgetch() that handles backspace, etc., by using
8190 + correct wechochar() so that it interprets the output character as
8192 + modify pechochar() to use prefresh() rather than doupdate(), since
8193 the latter does not guarantee immediate refresh of the pad.
8194 + modify pechochar() so that if called with a non-pad WINDOW, will
8195 invoke wechochar() instead.
8196 + modify fifo indices to allow fifo to be longer than 127 bytes.
8199 + add xterm-8bit to terminfo.src
8200 + moved logic for SP->_fifohold inside check_pending() to make it
8201 work properly when we add calls to that function.
8202 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
8203 are assigned to bool values (patch by H.J.Lu).
8204 > patches by Alexander V. Lukyanov:
8205 + several fixes to getch:
8206 1. Separate cooked and raw keys in fifo
8207 2. Fix the case of ungetch'ed KEY_MOUSE
8208 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
8209 4. correctly handle input errors (i.e., EINTR) without loss of raw
8211 5. recognize ESC KEY_LEFT and similar
8212 6. correctly handle the case of receiption of KEY_MOUSE from gpm
8213 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
8214 single mouse events (press/release) to be ignored in favor of
8215 composed events (click). Improves on a fix from integrating gpm
8217 + add another call to check_pending, before scrolling, for
8218 line-breakout optimization
8219 + improve hashmap.c by
8220 1. fixed loop condition in grow_hunks()
8221 2. not marking lines with offset 0
8222 3. fixed condition of 'too far' criteria, thus one-line hunks are
8223 ignored and two lines interchanged won't pass.
8224 + rewrote/simplified _nc_scroll_optimize() by separating into two
8225 passes, forward/backward, looking for chunks moving only in the given
8227 + move logic that emits sgr0 when initializing the screen to
8228 _nc_screen_init(), now invoked from newterm.
8229 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
8230 function and screen cleanup (i.e., color) into _nc_screen_wrap()
8232 + add new functions _nc_screen_init(), _nc_screen_resume() and
8234 + rename _nc_mvcur_scrolln() to _nc_scrolln().
8235 + add a copy of acs_map[] to the SCREEN structure, where it can be
8236 stored/retrieved via set_term().
8237 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
8241 + implement experimental _nc_perform_scroll().
8242 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
8243 initializing the screen, as does SVr4 (reported by Alexander V.
8245 + added test_progs rule to ncurses/Makefile.
8246 + modify test/configure.in to check if initscr is already in $LIBS
8247 before looking for (n)curses library.
8248 + correct version-number in configure script for OSF1 shared-library
8249 options (patch by Tim Mooney).
8250 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
8251 originally patched) since the c++ demo files do not necessarily
8252 include ncurses_cfg.h
8253 + supply default value for --enable-assertions option in configure
8254 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
8255 > patches by Alexander V. Lukyanov:
8256 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
8258 + optimize waddch_literal() and waddch_nosync() by factoring out
8259 common subexpressions.
8260 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
8261 + corrections to render_char(), to make handling of colored blanks
8262 match SVr4 curses, as well as to correct a bug that xor'd space
8263 against the background character.
8264 + replaced hash function with a faster one (timed it)
8265 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
8266 cost_effective() calls on the same lines.
8267 + modified cost_effective() so it is now slightly more precise.
8268 > patches for glibc integration (H.J.Lu):
8269 + add modules define_key, keyok, name_match, tries
8270 + add makefile rules for some of the unit tests in ncurses (mvcur,
8271 captoinfo, hardscroll, hashmap).
8272 + update Linux configure-script for wide-character definitions.
8275 + modify _tracebits() to show the character size (e.g., CS8).
8276 + modify tparm() to emit '\200' where the generated string would have a
8277 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
8278 terminal type ncr7900).
8279 + modify install process so that ldconfig is not invoked if the
8280 package is built with an install-prefix.
8281 + correct test program for chtype size (reported by Tim Mooney).
8282 + add configure option --disable-scroll-hints, using this to ifdef the
8283 logic that computes indices for _nc_scroll_optimize().
8284 + add module ncurses/softscroll.c, to perform single-stage computation
8285 of scroll indices used in _nc_scroll_optimize(). This is faster than
8286 the existing scrolling algorithm, but tends to make too-small hunks.
8287 + eliminate fixed buffer size in _nc_linedump().
8288 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
8289 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
8290 by Alexander V. Lukyanov).
8291 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
8292 + correct processing of "configure --enable-assertions" option (patch
8293 by Juergen Pfeifer).
8296 + add '-s' (single-step) option too test/hashtest.c, correct an error
8297 in loop limit for '-f' (footer option), toggle scrollok() when
8298 writing footer to avoid wrap at lower-right corner.
8299 + correct behavior of clrtoeol() immediately after wrapping cursor,
8300 which was not clearing the line at the cursor position (reported by
8301 Liviu Daia <daia@stoilow.imar.ro>).
8302 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
8303 (reported by Klaus Weide <kweide@tezcat.com>).
8304 + many corrections to make progs/capconvert work, as well as make it
8305 reasonably portable and integrated with ncurses 4.1 (reported by Dave
8306 Furstenau <df@ravine.binary.net>).
8309 + add flag SP->_fifohold, corresponding logic to modify the behavior of
8310 the line breakout logic so that if the application does not read
8311 input, refreshes will not be stopped, but only slowed.
8312 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
8313 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
8314 masks are identical with the A_xxx masks.
8315 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
8316 configuration of wide-characters.
8317 + modify tset to behave more like SVr4's tset, which does not modify
8318 the settings of intr, quit or erase unless they are given as command
8319 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
8320 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
8321 does not have getttynam().
8322 + extend baudrate table in tset.c to match baudrate() function.
8323 + add table entries for 230400 and 460800 bd to baudrate() function.
8324 + improve breakout logic by allowing it before the first line updated,
8325 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
8326 + correct initialization of vcost in relative_move(), for cursor-down
8327 case (patch by Alexander V. Lukyanov).
8328 > nits gleaned from Debian distribution of 1.9.9g-3:
8329 + install symbolic link for intotocap.
8330 + reference libc directly when making shared libraries.
8331 + correct renaming of curs_scr_dmp.3x in man_db.renames.
8332 + guard tgetflag() and other termcap functions against null cur_term
8336 + corrected initial state of software echo (error in 970405, reported
8337 by Alexander V. Lukyanov).
8338 + reviewed/added messages to configure script, so that all non-test
8339 options should be accompanied by a message.
8340 + add configure check for long filenames, using this to determine if
8341 it is safe to allow long aliases for terminal descriptions as does
8343 + add configure options for widec (wide character), hashmap (both
8345 > patch by Alexander V. Lukyanov:
8346 + hashmap.c - improved by heuristic, so that scroll test works much
8347 better when csr is not available.
8348 + hardscroll.c - patched so that it continues to scroll other chunks
8349 after failure to scroll one.
8350 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
8351 is avoided as it is relative costly. Fixed wrong coordinates in one
8352 case and wrong string in TRACE.
8353 > patch by Juergen Pfeifer:
8354 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
8358 + remove alternate character set from kterm terminfo entry; it uses the
8359 shift-out control for a purpose incompatible with curses, i.e., font
8361 + disentangle 'xterm' terminfo entry from some derived entries that
8362 should be based on xterm-r6 instead.
8363 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
8364 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
8365 + correct logic in lib_mvcur.c that uses back_tab.
8368 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
8369 contents of curscr are saved in newscr before clearing the screen.
8370 This is needed to make repainting work with the present logic of
8372 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
8375 + add limit checks to _nc_read_file_entry() to guard against overflow
8376 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
8377 + correct some loop-variable errors in xmc support in lib_doupdate.c
8378 + modify ncurses 'b' test to add gaps, specified by user, to allow
8379 investigation of interaction with xmc (magic cookie) code.
8380 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
8381 list from has_colors(), which gcc ignores, but SVr4 does not
8382 (reported by Larry Virden).
8383 + correct rmso capability in wy50-mc description.
8384 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
8386 > patch by Juergen Pfeifer:
8387 + Add bindings for keyok() and define_key() to the Ada95 packages.
8388 + Improve man pages menu_post.3x and menu_format.3x
8389 + Fix the HTML pages in the Ada95/html directory to reflect the above
8393 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
8394 pending changes to both curscr and newscr are flushed properly.
8395 This fixes a case where the first scrolling operation in nvi would
8396 cause the screen to be cleared unnecessarily and repainted before
8397 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
8399 + correct error in trans_string() which added embedded newlines in a
8400 terminfo description to the stored strings.
8401 + remove spurious newlines from sgr in wyse50 (and several other)
8402 terminfo descriptions.
8403 + add configure option for experimental xmc (magic cookie) code,
8404 "--enable-xmc-glitch". When disabled (the default), attributes that
8405 would store a magic cookie are suppressed in vidputs(). The magic
8406 cookie code is far from workable at this stage; the configuration
8407 option is a stopgap.
8408 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
8409 + correct path for invoking make_keys (a missing "./").
8412 + correct sign-extension problem with "infocmp -e", which corrupted
8413 acsc values computed for linux fallback data.
8414 + correct dependency on ncurses/names.c (a missing "./").
8415 + modify configure script to use '&&' even for cd'ing to existing
8416 directories to work around broken shell interpreters.
8417 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
8421 + restore logic in _nc_scroll_optimize() which marks as touched the
8422 lines in curscr that are shifted.
8423 + add new utility 'make_keys' to compute keys.tries as a table rather
8424 than a series of function calls.
8425 + correct include-dependency for tic.h used by name_match
8426 + removed buffer-allocation for name and description from m_item_new.c,
8427 since this might result in incompatibilities with SVr4. Also fixed
8428 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
8429 report by Avery Pennarun <apenwarr@foxnet.net>)
8430 + removed the mechanism to timestamp the generated Ada95 sources. This
8431 resulted always in generating patches for the HTML doc, even when
8432 nothing really changed (patch by Juergen Pfeifer).
8433 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
8436 + remove ech capability from rxvt description because it does not work.
8437 + add missing case logic for infocmp -I option (reported by Lorenzo M.
8438 Catucci <lorenzo@argon.roma2.infn.it>)
8439 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
8440 caused glitches in the ncurses 'p' test since the area outside the
8441 pad was not compared when setting up indices for _nc_scroll_optimize.
8442 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
8443 4.4, as well as to eliminate fixed-size buffer (reported by Chris
8444 Tanner <tannerc@aecl.ca>)
8445 + correct prototype for termattrs() as per XPG4 version 2.
8446 + add placeholder prototypes for color_set(), erasewchar(),
8447 term_attrs(), wcolor_set() as per XPG4 version 2.
8448 + correct attribution for progs/progs.priv.h and lib_twait.c
8449 + improve line-breakout logic by checking based on changed lines rather
8450 than total lines (patch by Alexander V. Lukyanov).
8451 + correct loop limits for table-lookup of enumerated value in form
8452 (patch by Juergen Pfeifer).
8453 + improve threshhold computation for determining when to call ClrToEOL
8454 (patch by Alexander V. Lukyanov).
8457 + add configure option --disable-database to force the library to
8458 use only the fallback data.
8459 + add configure option --with-fallbacks, to specify list of fallback
8460 terminal descriptions.
8461 + add a symbolic link for ncurses.h during install; too many programs
8462 still assume there's an ncurses.h
8463 + add new terminfo.src entry for xterm-xf86-v33.
8464 + restore terminfo.src entry for emu to using setf/setb, since it is
8465 not, after all, generating ANSI sequences. Corrected missing comma
8466 that caused setf/setb entries to merge.
8467 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
8468 that applications can disable ncurses' mouse and supply their own
8470 + add extensions keyok() and define_key(). These are designed to allow
8471 the user's application better control over the use of function keys,
8472 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
8473 a mailing-list thread started by Kenneth Albanowski
8474 <kjahds@kjahds.com> Nov'1995).
8475 + restore original behavior in ncurses 'g' test, i.e., explicitly
8476 set the keypad mode rather than use the default, since it confuses
8478 + rewrote the newdemo banner so it's readable (reported by Hugh
8480 + tidy up exit from hashtest (reported by Hugh Daniel).
8481 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
8483 + correct tput program, checking return-value of setupterm (patch by
8485 + correct logic in pnoutrefresh() and pechochar() functions (reported
8486 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
8487 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
8488 original implementation (1.9.6).
8489 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
8490 <rwuest@sire.vt.com>)
8491 + move calls of _nc_background() out of various loops, as its return
8492 value will be the same for the whole window being operated on (patch
8494 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
8495 SVr4 headers (patch by J T Conklin <jtc@NetBSD.ORG>)
8496 + modify glibc addon-configure scripts (patch by H.J.Lu).
8497 + correct a bug in hashmap.c: the size used for clearing the hashmap
8498 table was incorrect, causing stack corruption for large values of
8499 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
8500 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
8501 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
8503 > several changes by Juergen Pfeifer:
8504 + correct a missing error-return in form_driver.c when wrapping of a
8505 field is not possible.
8506 + correct logic in form_driver.c for configurations that do not have
8507 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
8508 + change several c++ binding functions to inline.
8509 + modify c++ menu binding to inherit from panels, for proper
8511 + correct freeing of menu items in c++ binding.
8512 + modify c++ binding to reflect removal of const from user data pointer
8513 in forms/menus libraries.
8516 + add description of xterm-16color.
8517 + modify name of shared-library on *BSD to end with $(REL_VERSION)
8518 rather than $(ABI_VERSION) to match actual convention on FreeBSD
8520 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
8521 (reported by Hugh Daniel <hugh@rat.toad.com>).
8522 + corrected include-dependency in menu/Makefile so that "make install"
8523 works properly w/o first doing "make".
8524 + add fallback definition for isascii, used in infocmp.
8525 + modify xmas to use color, and to exit right away when a key is
8527 + modify gdc so that the scrolled digits function as described (there
8528 was no time delay between the stages, and the digits overwrote the
8529 bounding box without tidying up).
8530 + modify lib_color.c to use setaf/setab only for the ANSI color codes
8531 0 through 7. Using 16 colors requires setf/setb.
8532 + modify ncurses 'c' test to work with 16 colors, as well as the normal
8534 + remove const qualifier from user data pointer in forms and menus
8535 libraries (patch by Juergen Pfeifer).
8536 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
8537 function, thereby not interpreting tabs, etc., as per spec (patch by
8538 Alexander V. Lukyanov).
8541 + suppress check for pre-existing ncurses header if the --prefix
8542 option is specified.
8543 + add configure options "--with-system-type" and
8544 "--with-system-release" to assist in checking the generated
8546 + add configure option "--enable-rpath" to allow installers to specify
8547 that programs linked against shared libraries will have their library
8548 path embedded, allowing installs into nonstandard locations.
8549 + add flags to OSF1 shared-library options to specify version and
8550 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
8551 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
8552 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
8553 + modify link flags to accommodate HP-UX linker which embeds absolute
8554 pathnames in executables linked against shared libraries (reported by
8555 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
8556 <ats@hubert.wustl.edu>).
8557 + drop unnecessary check for attribute-change in onscreen_mvcur() since
8558 mvcur() is the only caller within the library, and that check in turn
8559 is exercised only from lib_doupdate.c (patch by Alexander V.
8561 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
8562 can use the background of stdscr as a parameter to that function
8563 (patch by Alexander V. Lukyanov).
8564 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
8565 the latter's internal functions, as well as to eliminate unnecessary
8566 cursor save/restore operations (patch by Alexander V. Lukyanov).
8567 + omit parameter of ClrUpdate(), since it is called only for newscr,
8568 further optimized/reduced by using ClearScreen() and TransformLine()
8569 to get rid of duplicate code (patch by Alexander V. Lukyanov).
8570 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
8571 that are smaller than the distance to be moved (patch by Alexander V.
8573 + correct a place where the panel library was not ifdef'd in ncurses.c
8575 + documentation fixes (Juergen Pfeifer)
8577 970515 4.1 release for upload to prep.ai.mit.edu
8578 + re-tag changes since 970505 as 4.1 release.
8581 + modify ncurses 'g' test to allow mouse input
8582 + modify default xterm description to include mouse.
8583 + modify configure script to add -Wwrite-strings if gcc warnings are
8584 enabled while configuring --enable-const (and fixed related
8586 + add toggle, status display for keypad mode to ncurses 'g' test to
8587 verify that keypad and scrollok are not inherited from parent window
8588 during a call to newwin.
8589 + correction to MKexpanded.sh to make it work when configure --srcdir
8590 is used (reported by H.J.Lu).
8591 + revise test for bool-type, ensuring that it checks if builtin.h is
8592 available before including it, adding test for sizeof(bool) equal
8593 to sizeof(short), and warning user if the size cannot be determined
8594 (reported by Alexander V. Lukyanov).
8595 + add files to support configuration of ncurses as an add-on library
8596 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
8599 + correct buffer overrun in lib_traceatr.c
8600 + modify change to lib_vidattr.c to avoid redundant orig_pair.
8601 + turn on 'echo()' in hanoi.c, since it is initially off.
8602 + rename local 'errno' variable in etip.h to avoid conflict with global
8604 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
8607 970505 4.1 pre-release
8608 + regenerate the misc directory html dumps without the link list, which
8610 + correct dependency in form directory makefile which caused
8611 unnecessary recompiles.
8612 + correct substitution for ABI_VERSION in test-makefile
8613 + modify install rules for shared-library targets to remove the target
8614 before installing, since some install programs do not properly handle
8615 overwrite of symbolic links.
8616 + change order of top-level targets so that 'include' immediate
8617 precedes the 'ncurses' directory, reducing the time between new
8618 headers and new libraries (requested by Larry Virden).
8619 + modify lib_vidattr.c so that colors are turned off only before
8620 modifying other attributes, turned on after others. This makes the
8621 hanoi.c program display correctly on FreeBSD console.
8622 + modify debug code in panel library to print user-data addresses
8623 rather than the strings which they (may) point to.
8624 + add check to ensure that C++ binding and demo are not built with g++
8625 versions below 2.7, since the binding uses templates.
8626 + modify c++ binding and demo to build and run with SGI's c++ compiler.
8627 (It also compiles with the Sun SparcWorks compiler, but the demo does
8628 not link, due to a vtbl problem).
8629 + corrections to demo.cc, to fix out-of-scope variables (Juergen
8633 + correct memory leak in _nc_trace_buf().
8634 + add configure test for regexpr.h, for Unixware 1.x.
8635 + correct missing "./" prefixing names of generated files in ncurses
8637 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
8638 to workaround shell bug on FreeBSD 2.1.5
8639 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
8640 that caused incorrect result in ncurses_cfg.h
8641 + correct initialization in lib_trace.c, which omitted version info.
8642 + remove ech, el1 attributes from cons25w description; they appear to
8643 malfunction in FreeBSD 2.1.5
8644 + correct color attributes in terminfo.src and lib_color.c to match
8645 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
8647 + use curs_set() rather than checks via tigetstr() for test programs
8648 that hide the cursor: firework, rain, worm.
8649 + ensure that if the terminal lacks change_scroll_region, parm_index
8650 and parm_rindex are used only to scroll the whole screen (patch by
8652 + correct curs_set() logic, which did not return ERR if the requested
8653 attributes did not exist, nor did it assume an unknown initial state
8654 for the cursor (patch by Alexander V. Lukyanov).
8655 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
8656 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
8657 + correct hashmap.c, which did not update index information (patch by
8658 Alexander V. Lukyanov).
8659 + fixes for C++ binding and demo (see c++/NEWS) (Juergen Pfeifer).
8660 + correct index in lib_instr.c (Juergen Pfeifer).
8661 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
8662 (patch by Juergen Pfeifer).
8665 + corrected cost computation in PutRange(), which was using
8666 milliseconds compared to characters by adding two new members to the
8667 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
8668 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
8669 const array of strings (suggested by Alexander V. Lukyanov). The
8670 original suggestion in 970118 used a perl script.
8671 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
8672 well as noting the attributes that are not supported by a terminal.
8673 + trace the computation of cost values in lib_mvcur.c
8674 + modify _nc_visbuf() to use octal rather than hex, corrected sign
8675 extension bug in that function that caused buffer overflow.
8676 + modify trace in lib_acs.c to use _nc_visbuf().
8677 + suppress trace within _traceattr2().
8678 + correct logic of _tracechtype2(), which did not account for repeats
8679 or redefinition within an acsc string.
8680 + modify debug-library version baudrate() to use environment variable
8681 $BAUDRATE to override speed computation. This is needed for
8683 + correct problems shown by "weblint -pedantic".
8684 + update mailing-list information (now ncurses@bsdi.com).
8687 + Improve form_field_validation.3x manpage to better describe the
8688 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
8689 precise information how the range checking can be avoided. (patch by
8690 Juergen Pfeifer, reported by Bryan Henderson)
8691 + change type of min/max value of form types TYPE_INTEGER to long to
8692 match SVr4 documentation.
8693 + set the form window to stdscr in set_form_win() so that form_win()
8694 won't return null (patch by Juergen Pfeifer, reported by Bryan
8695 Henderson <bryanh@giraffe.netgate.net>).
8698 + corrected ifdef'ing of inline (cf: 970321) for TRACE vs C++.
8699 + corrected toggle_attr_off() macro (patch by Andries Brouwer).
8700 + modify treatment of empty token in $MANPATH to /usr/man (reported by
8701 <Andries.Brouwer@cwi.nl>)
8702 + modify traces that record functions-called so that chtype and attr_t
8703 values are expressed symbolically, to simplify reuse of generated
8704 test-scripts on SVr4 regression testing.
8705 + add new trace functions _traceattr2() and _tracechtype2()
8708 + add configure option --enable-const, to support the use of 'const'
8709 where XSI should have, but did not, specify. This defines
8710 NCURSES_CONST, which is an empty token otherwise, for strict
8712 + make processing of configure options more verbose by echoing the
8713 --enable/--with values.
8714 + add configure option --enable-big-core
8715 + set initial state of software echo off as per XSI.
8716 + check for C++ builtin.h header
8717 + correct computation of absolute-path for $INSTALL that dropped "-c"
8718 parameter from the expression.
8719 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
8720 ncurses is integrated into larger systems (adapted from diffs by
8722 + correct inequality in lib_doupdate.c that caused a single-char to not
8723 be updated when the char on the right-margin was not blank, idcok()
8724 was true (patch by Alexander V Lukyanov (in 970124), reported
8725 by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> in 970329).
8726 + modify 'clean' rule in include/Makefile so that files created by
8727 configure script are removed in 'distclean' rule instead.
8730 + correct array limit in tparam_internal(), add case to interpret "%x"
8731 (patch by Andreas Schwab)
8732 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
8733 value properly when non-numeric characters were given (reported by
8734 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
8737 + move definition of __INTERNAL_CAPS_VISIBLE before include for
8738 progs.priv.h (patch by David MacKenzie).
8739 + add configuration summary, reordered check for default include
8740 directory to better accommodate a case where installer is configuring
8741 a second copy of ncurses (reported by Klaus Weide
8742 <kweide@tezcat.com>)
8743 + moved the #define for 'inline' as an empty token from the
8744 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
8745 (reported by Ward Horner).
8746 + modify test for bool builtin type to use 'unsigned' rather than
8747 'unknown' when cross-compiling (reported by Ward Horner).
8750 + add header dependencies so that "make install.libs" will succeed
8751 even if "make all" is not done first.
8752 + moved some macros from lib_doupdate.c to curses.priv.h to use in
8753 expanded functions with ATAC.
8754 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
8755 the winnstr functions can return more characters than will fit on one
8759 + modify script that generates lib_gen.c to support traces of called &
8761 + add new configure option "--disable-macros", for testing calls within
8763 + corrected logic that screens level-checking of called/return traces.
8766 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
8767 addressing request by Ward Horner.
8768 + check for cross-compiling before trying to invoke the autoconf
8769 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
8770 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
8771 a pointer-increment.
8772 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
8776 + add configure option --enable-expanded, together with code that
8777 implements an expanded form of certain complex macros, for testing
8779 + disable CHECK_POSITION unless --with-assertions is configured
8780 (Alexander V Lukyanov pointed out that this is redundant).
8781 + use keyname() to show traced chtype values where applicable rather
8782 than _tracechar(), which truncates the value to 8-bits.
8783 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
8784 + modify makefiles in progs and test directories to avoid using C
8785 preprocessor options on link commands (reported by Ward Horner)
8786 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
8788 + modify ifdef's to use configure-defined symbols consistently
8789 (reported by Ward Horner)
8790 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
8791 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
8792 + rename struct try to struct tries, to avoid name conflict with C++
8793 (reported by Gary Johnson).
8794 + modify worm.c to hide cursor while running.
8795 + add -Wcast-qual to gcc warnings, fix accordingly.
8796 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
8797 wrapping (Alexander V Lukyanov).
8798 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
8799 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
8800 + extend IRIX configuration to IRIX64
8801 + supply missing install.libs rule needed after restructuring
8805 + modify "make mostlyclean" to leave automatically-generated source
8806 in the ncurses directory, for use in cross-compiles.
8807 + autogenerated object-dependencies for test directory
8808 + add configure option --with-rcs-ids
8809 + modify configuration scripts to generate major/minor/patch versions
8810 (suggested by Alexander V Lukyanov).
8811 + supply missing va_end's in lib_scanw.c
8812 + use stream I/O for trace-output, to eliminate fixed-size buffer
8813 + add TRACE_ICALLS definition/support to lib_trace.c
8814 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
8817 + add/modify traces for called/return values to simplify extraction
8819 + changed _nc_visbuf to quote its result, and to dynamically allocate
8820 the returned buffer.
8821 + invoke ldconfig after installing shared library
8822 + modify install so that overwrite applies to shared library -lcurses
8823 in preference to static library (reported by Zeyd M Ben-Halim 960928).
8824 + correct missing ';' in 961221 mod to overwrite optional use of $(LN_S)
8826 + fixes to allow "make install" to work without first doing a "make
8827 all" (suggested by Larry Virden).
8830 + correct order of #ifdef for TABS_OK.
8831 + instrumented toe.c to test memory-leaks.
8832 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
8833 + include <sys/types.h> in configuration test for regex.h (patch by
8835 + make infocmp recognize -I option, for SVr4 compatibility (reported by
8836 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
8839 + add extension 'use_default_colors()', modified test applications that
8840 use default background (firework, gdc, hanoi, knight, worm) to
8842 + correct some limit checks in lib_doupdate.c exposed while running
8844 + use typeCalloc macro for readability.
8845 + add/use definition for CONST to accommodate testing with Solaris
8846 (SVr4) curses, which doesn't use 'const' in its prototypes.
8847 + modify ifdef's in test/hashtest.c and test/view.c to compile with
8849 + modify _tracedump() to pad pad colors & attrs lines to match change
8850 in 970101 showing first/last changes.
8851 + corrected location of terminating null on dynamically allocated forms
8852 fields (patch by Per Foreby).
8855 + added headers to make view.c compile on SCO with the resizeterm()
8856 code (i.e., struct winsize) - though this compiles, I don't have a
8857 suitable test configuration since SIGWINCH doesn't pass my network to
8858 that machine - T.Dickey.
8859 + update test/configure.in to supply some default substitutions.
8860 + modify configure script to add -lncurses after -lgpm to fix problem
8861 linking against static libraries.
8862 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
8864 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
8865 <jbuhler@cs.washington.edu>)
8866 + modify headers to accommodate compilers that don't allow duplicate
8867 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
8869 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
8870 + modify lib_doupdate to make el, el1 and ed optimization use the
8871 can_clear_with macro, and change EmitRange to allow leaving cursor at
8872 the middle of interval, rather than always at the end (patch by
8873 Alexander V Lukyanov). This was originally 960929, resync 970106.
8876 + workaround defect in autoconf 2.12 (which terminates configuration
8877 if no C++ compiler is found) by adding an option --without-cxx.
8878 + modify several man-pages to use tbl, where .nf/.fi was used (reported
8880 + correct font-codes in some man-pages (patch by Jesse Thilo
8881 <Jesse.Thilo@pobox.com>)
8882 + use configure script's knowledge of existence of g++ library for the
8883 c++ Makefile (reported by Paul Jackson).
8884 + correct misleading description of --datadir configuration option
8885 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
8888 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
8890 > the logic for non_dest_scroll_region was interchanged between the
8891 forward & reverse scrolling cases.
8892 > multiple returns from the function allowed certain conditions to do
8893 part of an operation before discovering that it couldn't be
8894 completed, returning an error without restoring the cursor.
8895 > some returns were ERR, where the function had completed the
8896 operation, because the insert/delete line logic was improperly
8897 tested (this was probably the case Peter saw).
8898 > contrary to comments, some scrolling cases were tested after the
8899 insert/delete line method.
8900 + modify _tracedump() to show first/last changes.
8901 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
8902 refresh problem (reported by Peter Wemm) that caused nvi to not show
8903 result of ":r !ls" until a ^L was typed.
8905 961229 (internal alpha)
8906 + correct some of the writable-strings warnings (reported by Gary
8907 Johnson <gjohnson@season.com>). Note that most of the remaining ones
8908 are part of the XSI specification, and can't be "fixed".
8909 + improve include-dependencies in form, menu, panel directories.
8910 + correct logic of delay_output(), which would return early if
8911 there is data on stdin.
8912 + modify interface & logic of _nc_timed_wait() to support 2 file
8913 descriptors, needed for GPM.
8914 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
8915 support, correcting logic in wgetch() and _nc_mouse_parse() which
8916 prevented patch from working properly -TD
8917 + improve performance of panel algorithm (Juergen Pfeifer 961203).
8918 + strip RCS id's from generated .html files in Ada95 subtree.
8919 + resync with generated .html files (Juergen Pfeifer 961223).
8920 + terminfo.src 10.1.0 (ESR).
8923 + release as 4.0 to accommodate Linux ld.so.1.8.5
8924 + correct syntax/spelling, regenerated .doc files from .html using
8926 + refined forms/menus makefiles (Juergen Pfeifer 961223).
8929 + remove logic in read_entry.c that attempts to refine errno by using
8930 'access()' for the directory (from patch by Florian La Roche).
8931 + correct configure test/substitution that inhibits generating
8932 include-path to /usr/include if gcc is used (reported by Florian La
8934 + modify setupterm() to allocate new TERMINAL for each call, just as
8935 solaris' curses does (Alexander V Lukyanov 960829).
8936 + corrected memory leaks in read_entry.c
8937 + add configure options --with-dbmalloc, --with-dmalloc, and
8938 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
8939 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
8941 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
8942 i.e., set current directory before linking.
8943 + split-out panel.priv.h, improve dependencies for forms, menus
8944 (Juergen Pfeifer 961204).
8945 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
8946 freeing the corresponding WINDOW (found using Purify).
8947 + modify delwin() to return ERR if the window to be deleted has
8948 subwindows, needed as a side-effect of resizeterm() (found using
8949 Purify). Tested and found that SVr4 curses behaves this way.
8950 + implement logic for _nc_freeall(), bringing stub up to date.
8953 + modify wbkgd() so that it doesn't set nulls in the rendered text,
8954 even if its argument doesn't specify a character (fixes test case by
8955 Juergen Pfeifer for bug-report).
8956 + set window-attributes in wbkgd(), to simplify comparison against
8957 Solaris curses, which does this.
8960 + replace most constants in ncurses 'o' test by expressions, making it
8961 work with wider range of screen sizes.
8962 + add options to ncurses.c to specify 'e' test softkey format, and the
8963 number of header/footer lines to rip-off.
8964 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
8966 + add shell-out (!) command to ncurses 'p' test to allow test of
8967 resize between endwin/refresh.
8968 + correct line-wrap case in mvcur() by emitting carriage return,
8969 overlooked in 960928, but needed due to SVr4 compatibility changes to
8970 terminal modes in 960907.
8971 + correct logic in wresize that causes new lines to be allocated,
8972 broken for the special case of increasing rows only in 960907's fix
8974 + modify configure script to generate $(LDFLAGS) with -L and -l options
8975 in preference to explicit library filenames. (NOTE: this may
8976 require further amending, since I vaguely recall a dynamic loader
8977 that did not work properly without the full names, but it should be
8978 handled as an exception to the rule, since some linkers do bulk
8979 inclusion of libraries when given the full name - T.Dickey).
8980 + modify configure script to allow user-supplied $CFLAGS to set the
8981 debug-option in all libraries (requested by lots of people) -TD
8982 + use return consistently from main(), rather than exit (reported by
8984 + add --enable-getcap-cache option to configure, normally disabled
8985 (requested by Florian La Roche).
8986 + make configure test for gettimeofday() and possibly -lbsd more
8987 efficient (requested by Florian La Roche <florian@knorke.saar.de>)
8988 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
8989 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
8990 by Alexander V Lukyanov).
8993 + corrected README wrt Ada95 (Juergen Pfeifer)
8996 + integrate resizeterm() into doupdate(), so that if screen size
8997 changes between endwin/refresh, ncurses will resize windows to fit
8998 (this needs additional testing with pads and softkeys).
8999 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
9000 data used in ncurses library.
9001 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
9002 between initscr() and newwin() initialization (reported by
9003 Alexander V Lukyanov).
9004 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
9005 (set beta versions to those values -- NOTE that subsequent pre-4.0
9006 beta may not be interchangeable).
9007 + modify configure script to work with autoconf 2.12
9009 961130 1.9.9g release
9010 + add copyright notices to configuration scripts (written by Thomas
9014 > patch, mostly for panel (Juergen Pfeifer):
9015 + cosmetic improvement for a few routines in the ncurses core library
9016 to avoid warning messages.
9017 + the panel overlap detection was broken
9018 + the panel_window() function was not fool-proof.
9020 + Cosmetic changes (also to avoid warning messages when compiling with
9024 > patch by Juergen Pfeifer:
9025 + eliminates warning messages for the compile of libform.
9026 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
9027 + Updates man page and the Ada95 binding to reflect this.
9028 + Improves inlining in libmenu and libform.
9031 + improve the use of the "const" qualifier in the
9032 panel library (Juergen Pfeifer)
9033 + change set_panel_userptr() and panel_userptr() to use void*
9038 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
9040 + correct initialization of the stdscr pseudo panel in panel library
9042 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
9045 + typo in curs_termcap man page (reported by Hendrik Reichel
9046 <106065.2344@compuserve.com>)
9047 + change default xterm entry to xterm-r6.
9048 + add entry for color_xterm
9051 + lint found several functions that had only #define implementations
9052 (e.g., attr_off), modified curses.h.in to generate them as per XSI
9053 Curses requirement that every macro be available as a function.
9054 + add check in infocmp.c to guard against string compare of
9055 CANCELLED_STRING values.
9056 + modify firework.c, rain.c to hide cursor while running.
9057 + correct missing va_end in lib_tparm.c
9058 + modify hanoi.c to work on non-color terminals, and to use timing
9059 delays when in autoplay mode.
9060 + correct 'echochar()' to refresh immediately (reported by Adrian
9061 Garside <94ajg2@eng.cam.ac.uk>)
9063 + reorganize terminfo.src entries for xterm.
9066 + corrected error in line-breakout logic (lib_doupdate.c)
9067 + modified newdemo to use wgetch(win) rather than getch() to eliminate
9068 a spurious clear-screen.
9069 + corrected ifdef's for 'poll()' configuration.
9070 + added modules to ncurses, form, menu for Ada95 binding (Juergen
9072 + modify set_field_buffer() to allow assignment of string longer than
9073 the initial buffer length, and to return the complete string rather
9074 than only the initial size (Juergen Pfeifer and Per Foreby
9078 + configure for 'poll()' in preference to 'select()', since older
9079 systems are more likely to have a broken 'select()'.
9080 + modified render_char() to avoid OR'ing colors.
9081 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
9082 resize test, use wbkgd and corrected box() parameters.
9083 + make flushinp() test work in ncurses.c by using napms() instead of
9085 + undo ESR's changes to xterm-x11r6 (it no longer matched the X11R6.1
9086 distribution, as stated)
9087 + terminfo 9.13.18 resync (ESR)
9088 + check for getenv("HOME") returning null (ESR).
9089 + change buffer used to decode xterm-mouse commands to unsigned to
9090 handle displays wider than 128 chars (Juergen Pfeifer).
9091 + correct typo curs_outopts.3x (Juergen Pfeifer).
9092 + correct limit-checking in wenclose() (Juergen Pfeifer).
9093 + correction to Peter Wemm's newwin change (Thomas Fehr
9095 + corrections to logic that combines colors and attributes; they must
9096 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
9100 + reset flags in 'getwin()' that might cause refresh to attempt to
9101 manipulate the non-existent parent of a window that is read from a
9102 file (lib_screen.c).
9103 + restructure _nc_timed_wait() to log more information, and to try to
9104 recover from badly-behaved 'select()' calls (still testing this).
9105 + move define for GOOD_SELECT into configure script.
9106 + corrected extra '\' character inserted before ',' in comp_scan.c
9107 + corrected expansion of %-format characters in dump_entry.c; some were
9108 rendered as octal constants.
9109 + modify dump_entry.c to make terminfo output more readable and like
9110 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
9111 comma, "\^" and "\:" as well.
9112 + corrected some memory leaks in ncurses.c, and a minor logic error
9113 in the top-level command-parser.
9114 + correction for label format 4 (PC style with info line), a
9115 slk_clear(), slk_restore() sequence didn't redraw the info line
9117 + modified the slk window (if simulated) to inherit the background and
9118 default character attributes from stdscr (Juergen Pfeifer).
9119 + corrected limit-check in set_top_row (Juergen Pfeifer).
9122 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
9123 had '.lastchar' entry one beyond '._maxx'.
9124 + modify ncurses test-program to work with data piped to it.
9125 + corrected pathname computation in run_tic.sh, removing extra "../"
9126 (reported by Tim Mooney).
9127 + modified configure script to use previous install's location for
9129 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
9133 + revised xterm terminfo descriptions to reflect the several versions
9135 + corrected a pointer reference in dump_entry.c that didn't test if
9139 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
9140 + add -x option to hashtest to control whether it allows writes to the
9142 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
9143 simpler to construct tests (for double-check of _nc_hash_map tests).
9144 + correct ifdef's for c++ in curses.h
9145 + change default xterm type to xterm-x11r6.
9146 + correct quoting in configure that made man-pages installed with
9147 $datadir instead of actual terminfo path.
9148 + correct whitespace in include/Caps, which caused kf11, clr_eol and
9149 clr_end to be omitted from terminfo.5
9150 + fix memory leaks in delscreen() (adapted from Alexander V Lukyanov).
9151 + improve appearance of marker in multi-selection menu (Juergen
9153 + fix behavior for forms with all fields inactive (Juergen Pfeifer)
9154 + document 'field_index()' (Juergen Pfeifer)
9156 + add some more XENIX keycap translations to include/Caps.
9157 + modify newwin to set initial state of each line to 'touched'
9158 (from patch by Peter Wemm <peter@spinner.dialix.com>)
9159 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander V Lukyanov).
9162 + ifdef'd out _nc_hash_map (still slower)
9163 + add graphic characters to vt52 description.
9164 + use PutAttrChar in ClrToEOL to ensure proper background, position.
9165 + simplify/correct logic in 'mvcur()' that does wrapping; it was
9166 updating the position w/o actually moving the cursor, which broke
9168 + ensure that 'doupdate()' sets the .oldindex values back to a sane
9169 state; this was causing a spurious refresh in ncurses 'r'.
9170 + add logic to configure (from vile) to guard against builders who
9171 don't remove config.cache & config.status when doing new builds -TD
9172 + corrected logic for 'repeat_char' in EmitRange (cf: eric #317), which
9173 did not follow the 2-parameter scheme specified in XSI.
9174 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
9175 clearok work properly (report by Michael Elkins).
9176 + corrected problem with endwin introduced by #314 (removing the
9177 scrolling-region reset) that broke ncurses.c tests.
9178 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
9179 <fischman@math.ucla.edu>).
9180 + corrected formatting of terminfo.5 tables (Juergen Ehling)
9183 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
9184 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
9185 + reverse the default o configure --enable-termcap (consensus).
9187 + modified logic for clearok and related functions (from report by
9188 Michael Elkins) - untested
9190 + correction to #317.
9192 + re-add _nc_hash_map
9193 + modify EmitRange to maintain position as per original design
9194 (patch by A. Lukyanov).
9195 + modify test/ncurses.c and tputs, etc., to allow trace counting
9197 + add hashtest.c program to time the hashmap optimization.
9199 + add logic to deal with magic-cookie (how was this tested?)
9201 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
9203 + merge changes to lib_doupdate.c to use ech and rep - untested
9204 (patch by Alexander V Lukyanov).
9205 + modified handling of interrupted system calls - untested
9206 (lib_getch.c, lib_twait.c).
9207 + new function _nc_mvcur_resume()
9208 + fix return value for 'overlay()', 'overwrite()'
9211 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
9213 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
9214 Ehling <eh@eclipse.aball.de>).
9215 + update xterm-color to reflect XFree86 3.1.3G release.
9216 + correct broken dtterm description from #314 patch (e.g., spurious
9217 newline. The 'pairs' change might work, but no one's tested it
9219 + clarify the documentation for the builtin form fieldtypes (Juergen
9222 + reset scroll region on startup rather than at wrapup time
9223 (enhancement suggested by Alexander V Lukyanov).
9224 + make storage of palette tables and their size counts per-screen for
9225 multi-terminal applications (suggested by Alexander V Lukyanov).
9226 + Improved error reporting for infotocap translation errors.
9227 + Update terminfo.src to 9.13.14.
9230 + rewrote wgetstr to make it erase control chars and also fix bogus use
9231 of _nc_outstr which caused the display to not wrap properly (display
9232 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
9233 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
9234 (and split up this screen to accommodate non-ANSI terminals).
9235 + test enter_insert_mode and exit_insert_mode in has_ic().
9236 + removed bogus logic in mvcur that assumes nl/nonl set output modes
9237 (XSI says they are input modes; SVr4 implements this).
9238 + added macros SET_TTY, GET_TTY to term.h
9239 + correct getstr() logic that altered terminal modes w/o restoring.
9240 + disable ICRNL, etc., during initialization to match SVr4, removing
9241 the corresponding logic from raw, cbreak, etc.
9242 + disable ONLCR during initialization, to match SVr4 (this is needed
9243 for cursor optimization when the cursor-down is a newline).
9244 + replaced ESR's imitation of wresize with my original (his didn't
9248 + memory leaks (Alexander V. Lukyanov).
9249 + modified pnoutrefresh() to be more tolerant of too-large screen
9250 size (reported by Michael Elkins).
9251 + correct handling of terminfo files with no strings (Philippe De
9253 + correct "tic -s" to take into account -I, -C options.
9254 + modify ncurses 'f' test to not print codes 80 through 9F, since they
9255 are considered control codes by ANSI terminals.
9258 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
9259 + make "--enable-getcap" configuration-option work (reported by
9260 Peter Wemm <peter@spinner.DIALix.COM>)
9263 + correct err in 960817 that changed return-value of tigetflag()
9264 (reported by Alexander V. Lukyanov).
9265 + modify infocmp to use library default search-path for terminfo
9266 directory (Alexander V. Lukyanov).
9269 + corrected an err in mvcur that broke resizing-behavior.
9270 + correct fall-thru behavior of _nc_read_entry(), which was not finding
9271 descriptions that existed in directories past the first one searched
9272 (reported by Alexander V. Lukyanov)
9273 + corrected typo in dtterm description.
9275 + add dtterm description
9276 + clarify ncurses 'i' test (drop mvwscanw subtest)
9279 + correct nl()/nonl() to work as per SVr4 & XSI.
9280 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
9281 + refine configure-test for -g option (Tim Mooney).
9282 + correct interaction between O_BLANK and NEW_LINE request in form
9283 library (Juergen Pfeifer)
9286 + revised fix to tparm; previous fix reversed parameter order.
9288 correct terminfo.src corrupted by #310
9290 + fix idlok() and idcok() and the default of the idlok switch (report
9294 + corrected tparm to handle capability strings without explicit pop
9295 (reported by William P Setzer)
9296 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
9297 (reported by Tim Mooney).
9299 + documentation and prototyping errors for has_color, immedok and idcok
9300 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
9301 + updated qnx terminfo entry (patch by Michael Hunter)
9304 + eliminate quoted includes in ncurses subdirectory, ensure config.h
9306 + newterm initializes terminal settings the same as initscr (reported
9310 + call cbreak() in initscr(), as per XSI & SVr4.
9311 + turn off hardware echo in initscr() as per XSI & SVr4
9313 + terminfo changes (9.3.9), from BRL
9314 + add more checks to terminfo parser.
9315 + add more symbols to infocmp.
9318 + save previous-attribute in lib_vidattr.c if SP is null (reported by
9319 Juergen Fluk <louis@dachau.marco.de>)
9320 + corrected calls on _nc_render so that background character is set
9322 + corrected wbkgdset macro (XSI allows background character to be
9323 null), and tests that use it.
9324 + more corrections to terminfo (xterm & rxvt)
9325 + undid change to mcprint prototype (cannot use size_t in curses.h
9326 because not all systems declare it in the headers that we can safely
9328 + move the ifdefs for errno into curses.priv.h
9330 + terminfo changes (9.3.8)
9331 + modified logic of error-reporting in terminfo parser
9332 + fix option-processing bug in toe.
9335 + always check for <sys/bsdtypes.h> since ISC needs it to declare
9336 fd_set (Juergen Pfeifer)
9337 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
9338 by Juergen Pfeifer, Mike Long)
9339 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
9340 + corrected prototype for delay_output() -- bump ABI to 3.2
9342 + enable more translations of nonstandard caps, and document them.
9343 + misc/terminfo.src update to 9.13.8
9345 + moved logic that filters out rmul and rmso from setupterm to newterm
9346 where it is less likely to interfere with termcap applications.
9347 + cosmetic fixes to test/ncurses.c
9348 + modify open() call in ncurses/read_entry.c to use O_RDONLY symbol
9349 rather than constant (report by mib).
9350 + misc/terminfo.src sgr0 and acsc changes (report by Philippe De
9352 + modify ncurses/comp_parse.c so that entries containing a "+" can
9353 have missing rmcup vs smcup.
9356 + rollback ESR's #305 change to terminfo.src (it breaks existing
9357 applications, e.g., 'less 290').
9358 + correct path of edit_man.sh, and fix typo that made all man-pages
9360 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
9361 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
9362 Philippe De Muyter).
9365 + make lib_vidattr.c more readable using macros.
9366 + filter out rmul, rmso that conflict with sgr0 when reading terminal
9368 + work around autoconf bug, force $INSTALL to absolute path
9370 + modify man-page install for BSDI to install preformatted .0 files
9371 (reported by David MacKenzie).
9372 + add/use gcc __attribute__ for printf and scanf in curses.h
9373 + added SGR attributes test-case to ncurses
9374 + revised ncurses 't' logic to show trace-disable effect in the menu.
9375 + use getopt in ncurses program to process -s and -t options.
9376 + make ncurses 'p' legend toggle with '?'
9377 + disable scrollok during the ncurses 'p' test; if it is enabled the
9378 stdscr will scroll when putting the box-corners in the lower-right
9381 + added sanity-checking of various paired string attributes.
9382 + misc/terminfo.src update to 9.13.7 (report by A. Lukyanov).
9383 + modify man/Makefile.in to make terminfo.5 during normal build.
9385 + corrected allocation-length for $HOME/.terminfo path.
9388 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
9389 terminals with no scrolling-support (reported by Nikolay Shadrin
9390 <queen@qh.mirea.ac.ru>)
9391 + added ^S scrollok-toggle to ncurses 'g' test.
9392 + added ^T trace-toggle to ncurses tests.
9393 + modified ncurses test program to use ^Q or ESC consistently for
9394 terminating tests (rather than ^D), and to use control keys rather
9395 than function keys in 'g' test.
9396 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
9397 (reported by Philippe De Muyter).
9398 + modify lib_doupdate.c to use effective costs to tradeoff between
9399 delete-character/insert-character vs normal updating (reported by
9401 + compute effective costs for screen update operations (e.g., clr_eos,
9403 + corrected error in knight.c exposed by wrap fixes in 960622; the
9404 msgwin needed scrollok set.
9405 + corrected last change to IDcTransformLine logic to avoid conflict
9406 between PutRange and InsStr
9407 + modified run_tic.sh to not use /usr/tmp (reported by David
9408 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
9410 + corrected off-by-one in RoomFor call in read_entry.c
9413 + modified logic that wraps cursor in addch to follow the XSI spec,
9414 (implemented in SVr4) which states that the cursor position is
9415 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
9417 + added -s option to tic, to provide better diagnostics in run_tic.sh
9418 + improved error-recovery for tabset install.
9419 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
9420 _yoffset to WINDOW).
9421 + modified initialization of SP->_ofp so that init_acs() is called with
9422 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
9423 + documentation fixes (Juergen Pfeifer).
9424 + corrected, using new SCREEN and WINDOW members, the behavior of
9425 ncurses if one uses ripoffline() to remove a line from the top of the
9426 screen (Juergen Pfeifer).
9427 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
9428 ncurses (Juergen Pfeifer).
9429 + incorrect buffer-size in _nc_read_entry, reported by ESR.
9432 + corrected two logic errors in read_entry.c, write_entry.c (called by
9433 tic, the write/read of terminfo entries used inconsistent rules for
9434 locating the entries; the $TERMINFO_DIRS code would find only the
9435 first entry in a list).
9436 + refined pathname computation in run_tic.sh and shlib.
9437 + corrected initialization of $IP in misc/run_tic.sh
9440 + ifdef'd out _nc_hash_map() call because it does not improve speed.
9441 + display version of gcc if configure script identifies it.
9442 + modify configure script to use /usr as Linux's default prefix.
9443 + modify run_tic.sh to use shlib script, fixes some problems installing
9444 with a shared-library configuration.
9445 + adjusted configure script so that it doesn't run tests with the
9446 warnings turned on, which makes config.log hard to read.
9447 + added 'lint' rule to top-level Makefile.
9448 + added configure option '--with-install-prefix' for use by system
9449 builders to install into staging locations (requested by
9450 Charles Levert <charles@comm.polymtl.ca>).
9451 + corrected autoconfigure for Debian man program; it's not installed
9453 + set noecho in 'worm'; it was ifdef'd for debug only
9454 + updated test/configure.in for timing-display in ncurses 'p' test
9455 + corrected misspelled 'getbkgd()'.
9456 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
9457 to blank if no character given, copies attributes to window's
9459 + modified lib_doupdate.c to use lower-level SP's current_attr state
9460 instead of curscr's state, since it is redundant.
9461 + correction to IDcTransformLine logic which controls where InsStr is
9462 invoked (refined by Alexander V Lukyanov).
9464 + conditionally include Chris Torek's hash function _nc_hash_map().
9465 + better fix for nvi refresh-bug (Rick Marshall)
9466 + fix for bug in handling of interrupted keystroke waits,
9468 + misc/ncurses-intro.html syntax fix (Kajiyama Tamito).
9471 + auto-configure man-page compression-format and renames for Debian.
9472 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
9473 + re-order curses.priv.h for lint.
9474 + added rules for lintlib, lint
9475 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
9476 + corrected missing INSTALL_DATA in misc/Makefile.in
9477 + flush output when changing cursor-visibility (Rick Marshall)
9478 + fix a minor bug in the _nc_ripoff() routine and improve error
9479 checking when creating the label window (Juergen Pfeifer).
9480 + enhancement to the control over the new PC-style soft key format.
9481 allow caller now to select whether or not one wants to have
9482 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
9483 + typos, don't use inline with -g (Philippe De Muyter)
9484 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
9487 + removed --with-ticdir option altogether, maintain compatibility with
9488 existing applications via symbolic link in run_tic.sh
9489 + patch for termio.h, signal (Philippe De Muyter)
9490 + auto-configure gcc warning options rather than infer from version.
9491 + auto-configure __attribute__ for different gcc versions.
9492 + corrected special use of clearok() in hardscroll.c by resetting flag
9494 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
9495 + include sys/types.h in case stdlib.h does not declare size_t.
9496 + fixes for makefile (Tim Mooney)
9497 + fixes for menus & forms (Juergen Pfeifer)
9499 + improve hash function (suggested by Alexander V Lukyanov).
9500 + 9.13.4 update for terminfo.src
9503 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
9504 + refined case in lib_doupdate.c for ClrToEOL().
9505 + corrected prior change for PutRange (Alexander V Lukyanov
9506 <lav@yars.free.net>).
9507 + autoconf mods (Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>).
9508 + locale fix for forms (Philippe De Muyter <phdemuyt@ulb.ac.be>)
9509 + renamed "--with-datadir" option to "--with-ticdir" to avoid
9510 confusion, and made this check for the /usr/lib/terminfo pre-existing
9512 > patches 299-301 (ESR):
9513 + html fixes (Phillippe de Muyter).
9514 + fix typo in ncurses-intro.html (report by Fabrizio Polacco).
9516 + mods to tracing, especially for ACS chars.
9517 + corrected off-by-one in IDCtransform.
9518 + corrected intermittent mouse bug by using return-value from read().
9519 + mods to parse_entry.c, for smarter defaults.
9522 + use getopt in 'tic'; added -L option and modified -e option to allow
9526 + don't use fixed buffer-size in tparm().
9527 + modified tic to create terminfo directory if it doesn't exist.
9528 + added -T options to tic and infocmp (for testing/analysis)
9529 + refined the length criteria for termcap and terminfo
9530 + optimize lib_doupdate with memcpy, PutRange
9531 > patches 297, 298 (ESR):
9532 + implement TERMINFO_DIRS, and -o option of tic
9533 + added TRACE_IEVENT
9534 + fix REQ_TOGGLE_ITEM in menu/menu_driver.c; it could select but not
9536 + added lib_print.c (request by Rick Marshall).
9537 + added has_key() (request by Juergen Pfeifer).
9538 + do not issue clrtoeol or clrtobot if the relevant portion of the line
9539 is already blank (analysis by Keith Bostic).
9540 + add parentheses for parameters of COLOR_PAIR and PAIR_NUMBER macros
9541 (analysis by Jurgen Eidt).
9542 + update screen's notion of cursor position in endwin() (analysis by
9543 Alexander Lukyanov).
9544 + added 't' to ncurses.c test.
9545 + moved delay_output() to lib_tputs.c
9546 + removed tparam() (was added in 1.9.9, but conflicts with emacs and
9547 is not part of X/Open Curses).
9548 + removed boolean version of 'getm'.
9549 + misc cursor & optimization fixes.
9552 + modified ncurses 'p' test to allow full-screen range for panner size.
9553 + fixes for locale (Philippe De Muyter <phdm@labauto1.ulb.ac.be>)
9554 + don't use fixed buffer-size in fmt_entry().
9555 + added usage-message to 'infocmp'.
9556 + modified install.includes rules to prepend subdirectory-name to
9557 "#include" if needed.
9560 + protect wrefresh, wnoutrefresh from invocation with pad argument.
9561 + corrected default CCFLAGS in test/Makefile.
9564 + implemented logic to support terminals with background color erase
9565 (e.g., rxvt and the newer color xterm).
9566 + improved screen update logic (off-by-one logic error; use clr_eos if
9570 + change ncurses 'a' test to run in raw mode.
9571 + make TIOCGWINSZ configure test less stringent, in case user
9572 configures via terminal that cannot get screen size.
9573 > patches 295, 296 (ESR):
9574 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
9575 overhead for programs that use only termcap features.
9576 + new "-e" and "-h" options of tic (request by Tony Nugent).
9577 + fix bug in mandatory-delay logic in lib_tputs.c (report by Sven
9579 + fix for "infocmp -e" to emit correct initializers (reported by Manual
9581 + restore working-directory in read_termcap.c (report by Kayvan
9583 + use "-h" option on Solaris when generating shared libraries on
9584 Solaris 2.5 to record the library name in the file, for assisting
9585 the loader (patch by Scott Kramer).
9586 + undo patch #294 changes to form and menu libraries (request by
9591 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
9592 definitions via <termios.h>, modified macros in lib_raw.c to avoid
9593 K&R-style substitution)
9594 > patches 293, 294 (ESR):
9595 + rewrite wsyncup(), wsyncdown(), as well as small fixes to form and
9596 menu libraries to fix echo-breakage introduced by 1.8.9, 1.9.9e
9597 changes (patches by Juergen Pfeifer).
9598 + fix compile under QNX 4.2 by defining ONLCR in lib_raw.c when
9599 __QNX__ is defined (patch by Michael Hunter).
9600 + modify setupterm() to match documentation for its return value, fix
9601 newterm to work with this change (report by Emmet Lazich).
9602 + add checks in getch() for error, return ERR as appropriate (report by
9604 + mods to wgetch() in cooked mode (report by Pete Seebach).
9605 + corrected askuser() logic in tset (patch by Remco Treffkorn).
9606 + correct interaction of endwin() with mouse processing (report by
9608 + added trace support for TTY flags
9609 + update terminfo.src to 9.13.1
9610 + FreeBSD console entries (patch by Andrew Chernov).
9613 + fixes for NeXT, ISC and HPUX auto-configure
9614 + autogenerate development header-dependencies (config.h, *.priv.h)
9615 + corrected single-column formatting of "use=" (e.g., in tic)
9616 + modify tic to read full terminfo-names
9617 + corrected divide-by-zero that caused hang (or worse) when redirecting
9619 + modify tic to generate directories only as-needed (and corrected
9620 instance of use of data from function that had already returned).
9622 ### ncurses-1.9.8a -> 1.9.9e
9624 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
9625 copy-changed-lines behavior.
9626 * added and documented wresize() function.
9627 * more fixes to LOWER-RIGHT corner handling.
9628 * changed the line-breakout optimization code to allow some lines to be
9629 emitted before the first check.
9630 * added option for tic to use symbolic instead of hard links (for AFS)
9631 * fix to restore auto-wrap mode.
9632 * trace level can be controlled by environment variable.
9633 * better handling of NULs in terminal descriptions.
9634 * improved compatibility with observed SVR4 behavior.
9635 * the refresh behavior of over-lapping windows is now more efficient and
9637 * use autoconf 2.7, which results in a working setup for SCO 5.0.
9638 * support for ESCDELAY.
9639 * small fixes for menu/form code.
9640 * the test directory has its own configure.
9641 * fixes to pads when optimizing scrolling.
9642 * fixed several off-by-one bugs.
9643 * fixes for termcap->terminfo translation; less restrictions more correct
9646 ### ncurses-1.9.7 -> 1.9.8a
9648 * teach infocmp -i to recognize ECMA highlight sequences
9649 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
9650 * support infocmp -RBSD.
9651 * satisfy XSI Curses requirement that every macro be available as a function.
9652 * This represents the last big change to the public interface of ncurses. The
9653 ABI_VERSION has now been set at 3.0 and should stay there barring any great
9654 catastrophies or acts of God.
9655 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
9657 * libncurses now gets linked to libcurses to help seamless emulation
9658 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
9661 ### ncurses-1.9.6 -> 1.9.7
9663 * corrected return values of setupterm()
9664 * Fixed some bugs in tput (it does padding now)
9665 * fixed a bug in tic that made it do the wrong thing on entries with more than
9666 one `use' capability.
9667 * corrected the screen-size calculation at startup time to alter the
9668 numeric capabilities as per SVr4, not just LINES and COLS.
9669 * toe(1) introduced; does what infocmp -T used to.
9670 * tic(1) can now translate AIX box1 and font[0123] capabilities.
9671 * tic uses much less core, the dotic.sh kluge can go away now.
9672 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
9673 * Add $HOME/.terminfo as source/target directory for terminfo entries.
9674 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
9675 * added -h option to toe(1).
9676 * added -R option to tic(1) and infocmp(1).
9677 * added fallback-entry-list feature.
9678 * added -i option to infocmp(1).
9679 * do a better job at detecting if we're on SCO.
9681 ### ncurses-1.9.5 -> 1.9.6
9683 * handling of TERMCAP environment variables now works correctly.
9684 * various changes to shorten termcap translations to less that 1024 chars.
9686 * mouse support for xterm.
9687 * most data tables are now const and accordingly live in shareable text space.
9688 * Obey the XPG4/SVr4 practice that echo() is initally off.
9689 * tic is much better at translating XENIX and AIX termcap entries now.
9690 * tic can interpret ko capabilities now.
9691 * integrated Juergen Pfeifer's forms library.
9692 * taught write_entry() how not to write more than it needs to; this change
9693 reduces the size of the terminfo tree by a full 26%!
9694 * infocmp -T option added.
9695 * better warnings about historical tic quirks from tic.
9697 ### ncurses 1.9.4 -> 1.9.5
9699 * menus library is now included with documentation.
9700 * lib_mvcur has been carefully profiled and tuned.
9701 * Fixed a ^Z-handling bug that was tanking lynx(1).
9702 * HJ Lu's patches for ELF shared libraries under Linux
9703 * terminfo.src 9.8.2
9704 * tweaks for compiling in seperate directories.
9705 * Thomas Dickey's patches to support NeXT's brain-dead linker
9706 * Eric Raymond's patches to fix problems with long termcap entries.
9707 * more support for shared libraries under SunOS and IRIX.
9709 ### ncurses 1.9.3 -> 1.9.4
9711 * fixed an undefined-order-of-evaluation bug in lib_acs.c
9712 * systematically gave non-API public functions and data an _nc_ prefix.
9713 * integrated Juergen Pfeifer's menu code into the distribution.
9714 * totally rewrote the knight test game's interface
9716 ### ncurses 1.9.2c -> 1.9.3
9718 * fixed the TERMCAP_FILE Support.
9719 * fixed off-by-one errors in scrolling code
9720 * added tracemunch to the test tools
9721 * took steps to cut the running time of make install.data
9723 ### ncurses 1.9.2c -> 1.9.2d
9725 * revised 'configure' script to produce libraries for normal, debug,
9726 profile and shared object models.
9728 ### ncurses 1.9.1 -> 1.9.2
9730 * use 'autoconf' to implement 'configure' script.
9731 * panels support added
9732 * tic now checks for excessively long termcap entries when doing translation
9733 * first cut at eliminating namespace pollution.
9735 ### ncurses 1.8.9 -> 1.9
9737 * cleanup gcc warnings for the following: use size_t where 'int' is not
9738 appropriate, fixed some shadowed variables, change attr_t to compatible with
9739 chtype, use attr_t in some places where it was confused with 'int'.
9740 * use chtype/attr_t casts as appropriate to ensure portability of masking
9742 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
9743 * supplied missing prototypes in curses.h
9744 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
9745 are consistent (they weren't).
9746 * corrected prototype of tputs in <termcap.h>
9747 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
9748 that may be out of bounds on the stack) -- Purify found this.
9749 * ensure that TRACE is defined in lib_trace.c (to solve prototype
9751 * corrected scrolling-region size in 'mvcur_wrap()'
9752 * more spelling fixes
9753 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
9754 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
9755 core in init_acs()).
9756 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
9759 ### ncurses 1.8.8 -> 1.8.9
9761 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
9762 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
9763 non-portable use of "%x" for pointers, or for chtype data (which is declared
9765 * modified doupdate to ensure that typahead was turned on before attempting
9766 select-call (otherwise, some implementations hang).
9767 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
9768 resolution of traces.
9769 * improved bounds checking on several critical functions.
9770 * the data directory has been replaced by the new master terminfo file.
9771 * -F file-comparison option added to infocmp.
9772 * compatibility with XSI Curses is now documented in the man bages.
9773 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
9775 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
9776 memory_above, memory_below, and hard_copy are now used properly.
9777 * cursor-movement optimization has been completely rewritten.
9778 * vertical-movement optimization now uses hardware scrolling, il, dl.
9780 ### ncurses 1.8.7 -> 1.8.8
9781 * untic no longer exists, infocmp replaces it.
9782 * tic can understand termcap now, especially if it is called captoinfo.
9783 * The Linux Standard Console terminfo entry is called linux insead of console.
9784 It also uses the kernel's new method of changing charsets.
9785 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
9786 you try to run on an undefined terminal.
9787 * I can get things running on AIX but tic can't compile terminfo. I have to
9788 compile entries on another machine. Volunteers to hunt this bug are welcome.
9789 * wbkgd() and wbkgdset() can be used to set a windows background to color.
9790 wclear()/werase() DO NOT use the current attribute to clear the screen.
9791 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
9792 though PDCurses 2.2 has been fixed.
9793 * cleaned up the test/ directory.
9794 * test/worm will segfault after quite a while.
9795 * many spelling corrections courtesy of Thomas E. Dickey
9797 ### ncurses 1.8.6 -> 1.8.7
9798 * cleaned up programs in test/ directory.
9799 * fixed wbkgdset() macro.
9800 * modified getstr() to stop it from advancing cursor in noecho mode.
9801 * modified linux terminfo entry to work with the latest kernel to get
9802 the correct alternate character set.
9803 * also added a linux-mono entry for those running on monochrome screens.
9804 * changed initscr() so that it behaves like the man page says it does.
9805 this fixes the problem with programs in test/ crashing with SIGSEV if
9806 a terminal is undefined.
9807 * modified addch() to avoid using any term.h #define's
9808 * removed duplicate tgoto() in lib_tparm.c
9809 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
9810 * modified delwin() to correctly handle deleting subwindows.
9811 * fixed Makefile.dist to stop installing an empty curses.h
9812 * fixed a couple of out-of-date notes in man pages.
9814 ### ncurses 1.8.5 -> 1.8.6
9815 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
9816 * The handling of attributes has been improved and now does not turn off color
9817 if other attributes are turned off.
9818 * scrolling code is improved. Scrolling in subwindows is still broken.
9819 * Fixes to several bugs that manifest them on platforms other than Linux.
9820 * The default to meta now depends on the status of the terminal when ncurses
9822 * The interface to the tracing facility has changed. Instead of the pair of
9823 functions traceon() and traceoff(), there is just one function trace() which
9824 takes a trace mask argument. The trace masks, defined in curses.h, are
9827 #define TRACE_DISABLE 0x00 /* turn off tracing */
9828 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
9829 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
9830 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
9832 More trace masks may be added, or these may be changed, in future releases.
9833 * The pad code has been improved and the pad test code in test/ncurses.c has
9835 * The prototype ansi entry has been changed to work with a wider variety
9837 * Fix to the prototype ansi entry that enables it to work with PC emulators
9838 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
9839 break operation with any emulators.
9840 * There are now working infocmp, captoinfo, tput, and tclear utilities.
9841 * tic can now compile entries in termcap syntax.
9842 * Core-dump bug in pnoutrefresh fixed.
9843 * We now recognize and compile all the nonstandard capabilities in Ross
9844 Ridge's mytinfo package (rendering it obsolete).
9845 * General cleanup and documentation improvements.
9846 * Fixes and additions to the installation-documentation files.
9847 * Take cursor to normal mode on endwin.
9849 ### ncurses 1.8.4 -> 1.8.5
9850 * serious bugs in updating screen which caused erratic non-display,
9852 * fixed initialization for getch() related variable which cause
9853 unpredictable results.
9854 * fixed another doupdate bug which only appeared if you have
9856 * implemented redrawln() and redrawwin().
9857 * implemented winsnstr() and related functions.
9858 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
9859 * changed Makefile.dist so that installation of man pages will
9860 take note of the terminfo directory.
9861 * fixed Configure (removed the mysterious 'X').
9862 * Eric S. Raymond fixed the script.* files so that they work with
9865 #### ncurses 1.8.3 -> 1.8.4 #### ####
9866 * fixed bug in refreshing the screen after return from shell_mode.
9867 There are still problems but they don't manifest themselves on
9868 my machine (Linux 0.99.14f).
9869 * added wgetnstr() and modified things accordingly.
9870 * fixed the script.src script.test to work with awk not just gawk.
9871 * Configure can now take an argument of the target system.
9872 * added test/ncurses.c which replaces several other programs and
9873 performs more testing.
9874 [Thanks to Eric S Raymond for the last 4]
9875 * more fixes to lib_overlay.c and added test/over.c to illustrate
9877 * fixed ungetch() to take int instead of ch.
9878 * fixes to cure wgetch() if flushinp() is called.
9880 One note I forgot to mention in 1.8.3 is that tracing is off by
9881 default starting in the version. If you want tracing output, put
9882 traceon(); in your code and link with -ldcurses.
9884 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
9886 1) The order of capabilities has been changed in order to achieve
9887 binary compatibility with SVR4 terminfo database. This has the
9888 unfortunate effect of breaking application currently linked with
9889 ncurses. To ensure correct behavior, recompile all such programs.
9890 Most programs using color or newer capabilities will break, others
9891 will probably continue to work ok.
9893 2) Pavel Curtis has renounced his copyright to the public domain.
9894 This means that his original sources (posted to comp.sources.unix,
9895 volume 1) are now in the public domain. The current sources are
9896 NOT in the public domain, they are copyrighted by me. I'm
9897 entertaining ideas on what the new terms ncurses is released under.
9899 3) Eric S. Raymond has supplied a complete set of man pages for
9900 ncurses in ?roff format. They will eventually replace most of the
9901 current docs. Both sets are included in this release.
9903 Other changes and notes from 1.8.2 include:
9904 * SIGSEGV during scrolling no longer occurs.
9905 * Other problems with scrolling and use of idl have been corrected.
9906 * lib_getch.c has been re-written and should perform flawlessly.
9907 please use test/getch.c and any other programs to test this.
9908 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
9909 changed accordingly.
9910 * I've added support for terminals that scroll if you write in the
9911 bottom-right corner.
9912 * fixed more bugs in pads code. If anybody has a program that uses
9913 pads I'd love a copy.
9914 * correct handling for terminal with back_color_erase capability
9915 (such as Linux console, and most PC terminals)
9916 * ^Z handling apparently didn't work (I should never trust code
9917 sent me to me without extensive testing). It now seems to be
9918 fixed. Let me know if you have problems.
9919 * I've added support for Apollo and NeXT, but it may still be
9920 incomplete, especially when dealing with the lack of POSIX
9922 * scrolling should be more efficient on terminals with idl
9923 capabilities. Please see src/lib_scroll.c for more notes.
9924 * The line drawing routines were offset by 1 at both ends. This
9926 * added a few missing prototypes and macros (e.g. setterm())
9927 * fixed code in src/lib_overlay.c which used to crash.
9928 * added a few more programs in test/ The ones from the PDCurses
9929 package are useful, especially if you have SVR4 proper. I'm
9930 interested in the results you get on such a systems (Eric? ;-).
9931 They already exposed certain bugs in ncurses.
9932 * See src/README for porting notes.
9933 * The C++ code should really replace ncurses.h instead of working
9934 around it. It should avoid name-space clashes with nterm.h (use
9935 rows instead of lines, etc.)
9936 * The C++ should compile ok. I've added explicit rules to the
9937 Makefile because no C++ defaults are documented on the suns.
9938 * The docs say that echo() and nocbreak() are mutually exclusive.
9939 At the moment ncurses will switch to cbreak() if the case above
9940 occurs. Should it continue to do so? How about echo() and noraw()?
9941 * PDCurses seem to assume that wclear() will use current attribute
9942 when clearing the screen. According to Eric this is not the case
9944 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
9945 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
9946 * I've also found out that the src/script.* rely on gawk and will not
9947 work with stock awk or even with nawk. Any changes are welcome.
9948 * Linux is more tolerant of NULL dereferences than most systems. This
9949 fact was exposed by hanoi.
9950 * ncurses still seems inefficient in drawing the screen on a serial
9951 link between Linux and suns. The padding may be the culprit.
9952 * There seems to be one lingering problem with doupdate() after shelling
9953 out. Despite the fact the it is sending out the correct information
9954 to the terminal, nothing takes effect until you press ^L or another
9955 refresh takes place. And yes, output does get flushed.
9957 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
9959 * added support for SVR4 and BSDI's BSD/386.
9960 * major update and fix to scrolling routine.
9961 * MORE fixes to stuff in lib_getch.c.
9962 * cleaned-up configuration options and can now generate
9963 Config.* files through an awk script.
9964 * changed setupterm() so it can be called more than once,
9965 add added set_curterm(), del_curterm().
9966 * a few minor cleanups.
9967 * added more prototypes in curses.h
9969 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
9971 * added support for NeXTStep 3.0
9972 * added termcap emulation (not well tested).
9973 * more complete C++ interface to ncurses.
9974 * fixed overlay(), overwrite(), and added copywin().
9975 * a couple of bug fixes.
9976 * a few code cleanups.
9978 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
9980 * The annoying message "can't open file." was due to missing
9981 terminfo entry for the used terminal. It has now been
9982 replaced by a hopefully more helpful message.
9983 * Problems with running on serial lines are now fixed.
9984 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
9985 386bsd/BSDI (if you have others send'em to me)
9987 * The documentation in manual.doc is now more uptodate.
9988 * update optimization and support for hp terminals, and 386bsd
9990 * mvcur optimization for terminals without cursor addressing
9991 (doesn't work on Linux)
9992 * if cursor moved since last update, getch() will refresh the
9993 screen before working.
9994 * getch() & alarm() can now live together. in 0.7.3 a signal
9995 interrupted getch() (bug or feature?) now the getch is
9997 * scanw() et all were sick, now fixed.
9998 * support for 8-bit input (use meta()).
9999 * added default screen size to all terminfos.
10000 * added c++ Ncursesw class.
10001 * several minor bug fixes.
10003 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
10005 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
10006 * more fixes to lib_getch.c
10007 * changes related to Config
10009 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
10011 * docs updated slightly (color usage is now documented).
10012 * yet another fix for getch(), this one fixes problems with ESC being swallowed
10013 if another character is typed before the 1 second timeout.
10014 * Hopefully, addstr() and addch() are 8-bit clean.
10015 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
10016 * order of capabilities changed to reflect that specified in SYSV
10017 this will allow for binary-compatibility with existing terminfo dbs.
10018 * added halfdelay()
10019 * fixed problems with asc_init()
10020 * added A_PROTECT and A_INVIS
10021 * cleaned up vidputs()
10022 * general cleanup of the code
10023 * more attention to portability to other systems
10024 * added terminfos for hp70092 (wont work until changes to lib_update.c are
10025 made) and 386BSD pcvt drivers.
10027 Thanks to Hellmuth Michaelis for his help.
10028 optimization code is slated for the next major release, stay tuned!
10030 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
10031 Please note that the next release will be called 1.8. If you want to know about
10032 the rationale drop me a line.
10034 Included are several test programs in test/.
10035 I've split up the panels library, reversi, tetris, sokoban. They are now
10036 available separately from netcom.com:pub/zmbenhal/
10038 * color and ACS support is now fully compatible with SYSV at the terminfo
10040 * Capabilities now includes as many SYSV caps I could find.
10041 * tigetflag,tigetnum,tigetstr functions added.
10042 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
10043 strnames, strfnames, strcodes arrays are now added.
10044 * keyname() is added.
10045 * All function keys can be defined in terminfo entries.
10046 * fixed lin_tparm.c to behave properly.
10047 * terminfo entries for vt* and xterm are included (improvements are welcome)
10048 * more automation in handling caps and keys.
10049 * included fixes from 0.6.1
10050 * added a few more missing functions.
10051 * fixed a couple of minor bugs.
10052 * updated docs JUST a little (still miles behind in documenting the newer
10055 #### ncurses 0.6 -> ncurses 0.61 ####
10057 1) Included the missing data/console.
10059 2) allow attributes when drawing boxes.
10061 3) corrected usage of win->_delay value.
10063 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
10064 simply return the last character in the sequence. The correct
10065 behavior is to return the entire sequence one character at a time.
10067 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
10068 * removed _numchngd from struct _win_st and made appropriate changes.
10069 * rewritten kgetch() to remove problems with interaction between alarm and
10070 read(). It caused SIGSEGV every now and then.
10071 * fixed a bug that miscounted the numbers of columns when updating.
10072 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
10073 * fixed a bug that cause the lower-right corner to be incorrect.
10074 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
10075 * made resize() and cleanup() static to lib_newterm.c
10076 * added notimeout().
10077 * added timeout() define in curses.h
10078 * added more function prototypes and fixed napms.
10080 * moved screen size detection to lib_setup.c.
10081 * fixed newterm() to confirm to prototype.
10082 * removed SIGWINCH support as SYSV does not define its semantics.
10083 * cleaned-up lib_touch.c
10084 * added waddnstr() and relatives.
10085 * added slk_* support.
10086 * fixed a bug in wdeleteln().
10087 * added PANEL library.
10088 * modified Makefile for smoother installation.
10089 * terminfo.h is really term.h
10091 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
10092 * changed _win_st structure to allow support for missing functionality.
10093 * Addition of terminfo support for all KEY_*.
10094 * Support for nodelay(), timeout(), notimeout().
10095 * fixed a bug with the keypad char reading that did not return ESC until
10096 another key is pressed.
10097 * nl mapping no longer occur on output (as should be)
10098 fixed bug '\n' no causing a LF.
10099 * fixed bug that reset terminal colors regardless of whether we use color
10101 * Better support for ACS (not quite complete).
10102 * fixed bug in wvline().
10103 * added curs_set().
10104 * changed from signal() to sigaction().
10105 * re-included the contents of important.patch into source.
10107 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
10108 * Addition of more KEY_* definitions.
10109 * Addition of function prototypes.
10110 * Addition of several missing functions.
10111 * No more crashes if screen size is undefined (use SIGWINCH handler).
10112 * added a handler to cleanup after SIGSEGV (hopefully never needed).
10113 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
10114 * renamed compile/dump to tic/untic.
10115 * New scrolling code.
10116 * fixed bug that reversed the sense of nl() and nonl().
10118 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
10119 * more support for color and graphics see test/ for examples.
10120 * fixed various files to allow correct update after shelling out.
10121 * more fixes for updates.
10122 * no more core dumps if you don't have a terminfo entry.
10123 * support for LINES and COLUMNS environment variables.
10124 * support for SIGWINCH signal.
10125 * added a handler for SIGINT for clean exits.
10127 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
10128 * support for color.
10129 * support for PC graphic characters.
10130 * lib_trace.c updated to use stdarg.h and vprintf routines.
10131 * added gdc.c (Great Digital Clock) as an example of using color.
10133 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
10134 * replacing sgtty stuff by termios stuff.
10135 * ANSIfication of some functions.
10136 * Disabling cost analysis 'cause it's incorrect.
10137 * A quick hack for a terminfo entry.