1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2006,2007 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.1162 2007/09/02 00:01:06 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 + remove a spurious newline from output of html.m4, which caused links
50 for Ada95 html to be incorrect for the files generated using m4.
51 + start investigating mutex's for SCREEN manipulation (incomplete).
52 + minor cleanup of codes.c/names.c for --enable-const
53 + expand/revise "Routine and Argument Names" section of ncurses manpage
54 to address report by David Givens in newsgroup discussion.
55 + fix interaction between --without-progs/--with-termcap configure
56 options (report by Michail Vidiassov).
57 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
60 + fix a sign-extension bug in infocmp's repair_acsc() function
62 + fix old configure script bug which prevented "--disable-warnings"
63 option from working (patch by Mike Frysinger).
66 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
67 + modify comp_hash.c's string output to avoid misinterpreting a null
68 "\0" followed by a digit.
69 + modify MKnames.awk and MKcodes.awk to support big-strings.
70 This only applies to the cases (broken linker, reentrant) where
71 the corresponding arrays are accessed via wrapper functions.
72 + split MKnames.awk into two scripts, eliminating the shell redirection
73 which complicated the make process and also the bogus timestamp file
74 which was introduced to fix "make -j".
75 + add test/test_opaque.c, test/test_arrays.c
76 + add wgetscrreg() and wgetparent() for applications that may need it
77 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
80 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
81 unless "-T" is given (cf: 981017).
82 + modify comp_captab.c generation to use big-strings.
83 + make _nc_capalias_table and _nc_infoalias_table private accessed via
84 _nc_get_alias_table() since the tables are used only within the tic
86 + modify configure script to skip Intel compiler in CF_C_INLINE.
87 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
88 _nc_get_hash_table() since the tables are used only within the tic
92 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
93 _nc_get_alias_table() since they are used only by parse_entry.c
94 + make _nc_key_names private since it is used only by lib_keyname.c
95 + add --disable-big-strings configure option to control whether
96 unctrl.c is generated using the big-string optimization - which may
97 use strings longer than supported by a given compiler.
98 + reduce relocation tables for tic, infocmp by changing type of
99 internal hash tables to short, and make those private symbols.
100 + eliminate large fixed arrays from progs/infocmp.c
103 + change winnstr() to stop at the end of the line (cf: 970315).
104 + add test/test_get_wstr.c
105 + add test/test_getstr.c
106 + add test/test_inwstr.c
107 + add test/test_instr.c
110 + restore a call to obtain screen-size in _nc_setupterm(), which
111 is used in tput and other non-screen applications via setupterm()
112 (Debian #433357, reported by Florent Bayle, Christian Ohm,
116 + add test/savescreen.c test-program
117 + add check to trace-file open, if the given name is a directory, add
118 ".log" to the name and try again.
119 + add konsole-256color entry -TD
120 + add extra gcc warning options from xterm.
121 + minor fixes for ncurses/hashmap test-program.
122 + modify configure script to quiet c++ build with libtool when the
123 --disable-echo option is used.
124 + modify configure script to disable ada95 if libtool is selected,
125 writing a warning message (addresses FreeBSD ports/114493).
126 + update config.guess, config.sub
129 + add continuous-move "M" to demo_panels to help test refresh changes.
130 + improve fix for refresh of window on top of multi-column characters,
131 taking into account some split characters on left/right window
135 + add "widec" row to _tracedump() output to help diagnose remaining
136 problems with multi-column characters.
137 + partial fix for refresh of window on top of multi-column characters
138 which are partly overwritten (report by Sadrul H Chowdhury).
139 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
140 multi-column extension bits are passed there.
141 + add setlocale() call to demo_panels.c, needed for wide-characters.
142 + add some output flags to _nc_trace_ttymode to help diagnose a bug
143 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
146 + add test/demo_panels.c
147 + implement opaque version of setsyx() and getsyx().
150 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
152 + split-out key_name() from MKkeyname.awk since it now depends upon
153 wunctrl() which is not in libtinfo (report by Rong-En Fan).
156 + add test/key_name.c
157 + add stdscr cases to test/inchs.c and test_inch_wide.c
158 + update test/configure
159 + correct formatting of DEL (0x7f) in _nc_vischar().
160 + null-terminate result of wunctrl().
161 + add null-pointer check in key_name() (report by Andreas Krennmair,
165 + adapt mouse-handling code from menu library in form-library
166 (discussion with Clive Nicolson).
167 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
168 illustrate how to use mvcur().
169 + modify wide-character flavor of SetAttr() to preserve the
170 WidecExt() value stored in the .attr field, e.g., in case it
171 is overwritten by chgat (report by Aleksi Torhamo).
172 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
173 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
176 + modify keyname() to use "^X" form only if meta() has been called, or
177 if keyname() is called without initializing curses, e.g., via
178 initscr() or newterm() (prompted by LinuxBase #1604).
179 + document some portability issues in man/curs_util.3x
180 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
181 broken by moving that data into SCREEN (cf: 20061230).
184 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
185 problem reported by Sadrul H Chowdhury with repainting parts of
187 + modify slk_init() so that if there are preceding calls to
188 ripoffline(), those affect the available lines for soft-keys (adapted
189 from patch by Clive Nicolson).
190 + document some portability issues in man/curs_getyx.3x
193 + fix a bug in Ada95/samples/ncurses which caused a variable to
194 become uninitialized in the "b" test.
195 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
196 movement of files, fix a few incorrect manpage references in the
198 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
200 + correct some functions in Ada95 binding which were using return value
201 from C where none was returned: idcok(), immedok() and wtimeout().
202 + amend recent changes for Ada95 binding to make it build with
203 Cygwin's linker, e.g., with configure options
204 --enable-broken-linker --with-ticlib
207 + add a configure check for gcc's options for inlining, use that to
208 quiet a warning message where gcc's default behavior changed from
210 + improve warning message when checking if GPM is linked to curses
211 library by not warning if its use of "wgetch" is via a weak symbol.
212 + add loader options when building with static libraries to ensure that
213 an installed shared library for ncurses does not conflict. This is
214 reported as problem with Tru64, but could affect other platforms
215 (report Martin Mokrejs, analysis by Tim Mooney).
216 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
217 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
218 + revert a change from 20070303 which commented out dependency of
219 SHLIB_LIST in form/menu/panel/c++ libraries.
220 + fix initialization of ripoff stack pointer (cf: 20070421).
223 + move most static variables into structures _nc_globals and
224 _nc_prescreen, to simplify storage.
225 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
226 type for data manipulated by signal handlers (prompted by comments
227 in mailing.openbsd.bugs newsgroup).
228 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
229 to the libtool create- and link-operations.
232 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
233 the installed aliases (report by Peter Santoro).
234 + fix configure script to not try to generate adacurses-config when
235 Ada95 tree is not built.
238 + add man/curs_legacy.3x, man/curs_opaque.3x
239 + fix acs_map binding for Ada95 when --enable-reentrant is used.
240 + add adacurses-config to the Ada95 install, based on version from
241 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
242 comment on comp.lang.ada newsgroup).
243 + fix includes in c++ binding to build with Intel compiler
245 + update install rule in Ada95 to use mkdirs.sh
246 > other fixes prompted by inspection for Coverity report:
247 + modify ifdef's for c++ binding to use try/catch/throw statements
248 + add a null-pointer check in tack/ansi.c request_cfss()
249 + fix a memory leak in ncurses/base/wresize.c
250 + corrected check for valid memu/meml capabilities in
251 progs/dump_entry.c when handling V_HPUX case.
252 > fixes based on Coverity report:
253 + remove dead code in test/bs.c
254 + remove dead code in test/demo_defkey.c
255 + remove an unused assignment in progs/infocmp.c
256 + fix a limit check in tack/ansi.c tools_charset()
257 + fix tack/ansi.c tools_status() to perform the VT320/VT420
258 tests in request_cfss(). The function had exited too soon.
259 + fix a memory leak in tic.c's make_namelist()
260 + fix a couple of places in tack/output.c which did not check for EOF.
261 + fix a loop-condition in test/bs.c
262 + add index checks in lib_color.c for color palettes
263 + add index checks in progs/dump_entry.c for version_filter() handling
265 + fix a possible null-pointer dereference in copywin()
266 + fix a possible null-pointer dereference in waddchnstr()
267 + add a null-pointer check in _nc_expand_try()
268 + add a null-pointer check in tic.c's make_namelist()
269 + add a null-pointer check in _nc_expand_try()
270 + add null-pointer checks in test/cardfile.c
271 + fix a double-free in ncurses/tinfo/trim_sgr0.c
272 + fix a double-free in ncurses/base/wresize.c
273 + add try/catch block to c++/cursesmain.cc
276 + modify Ada95 binding to build with --enable-reentrant by wrapping
277 global variables (bug: acs_map does not yet work).
278 + modify Ada95 binding to use the new access-functions, allowing it
279 to build/run when NCURSES_OPAQUE is set.
280 + add access-functions and macros to return properties of the WINDOW
281 structure, e.g., when NCURSES_OPAQUE is set.
282 + improved install-sh's quoting.
283 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
287 + eliminate part of the direct use of WINDOW data from Ada95 interface.
288 + fix substitutions for termlib filename to make configure option
289 --enable-reentrant work with --with-termlib.
290 + change a constructor for NCursesWindow to allow compiling with
291 NCURSES_OPAQUE set, since we cannot pass a reference to
295 + ignore --with-chtype=unsigned since unsigned is always added to
296 the type in curses.h; do the same for --with-mmask-t.
297 + change warning regarding --enable-ext-colors and wide-character
298 in the configure script to an error.
299 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
300 such as Darwin's libtool program (report by Michail Vidiassov)
301 + modify edit_man.sh to allow for multiple substitutions per line.
302 + set locale in misc/ncurses-config.in since it uses a range
303 + change permissions libncurses++.a install (report by Michail
305 + corrected length of temporary buffer in wide-character version
306 of set_field_buffer() (related to report by Bryan Christ).
309 + fix mk-1st.awk script install_shlib() function, broken in 20070224
310 changes for cygwin (report by Michail Vidiassov).
313 + increase size of array in _nc_visbuf2n() to make "tic -v" work
314 properly in its similar_sgr() function (report/analysis by Peter
316 + add --enable-reentrant configure option for ongoing changes to
317 implement a reentrant version of ncurses:
318 + libraries are suffixed with "t"
319 + wrap several global variables (curscr, newscr, stdscr, ttytype,
320 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
321 functions returning values stored in SCREEN or cur_term.
322 + move some initialization (LINES, COLS) from lib_setup.c,
323 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
326 + regenerated html documentation.
327 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
328 opaque in selected configurations.
329 + move the chunk in lib_acs.c which resets acs capabilities when
330 running on a terminal whose locale interferes with those into
331 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
332 identical (requested by Miroslav Lichvar).
333 + do not use configure variable SHLIB_LIBS for building libraries
334 outside the ncurses directory, since that symbol is customized
335 only for that directory, and using it introduces an unneeded
336 dependency on libdl (requested by Miroslav Lichvar).
337 + modify mk-1st.awk so the generated makefile rules for linking or
338 installing shared libraries do not first remove the library, in
339 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
341 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
342 (prompted by newsgroup comment by Nick Guenther).
345 + change internal return codes of _nc_wgetch() to check for cases
346 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
347 ungetch'd, and read by wget_wch().
348 + fix static-library build broken in 20070217 changes to remove "-ldl"
349 (report by Miroslav Lichvar).
350 + change makefile/scripts for cygwin to allow building termlib.
351 + use Form_Hook in manpages to match form.h
352 + use Menu_Hook in manpages, as well as a few places in menu.h
353 + correct form- and menu-manpages to use specific Field_Options,
354 Menu_Options and Item_Options types.
355 + correct prototype for _tracechar() in manpage (cf: 20011229).
356 + correct prototype for wunctrl() in manpage.
359 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
361 + modify relinking of shared libraries to apply only when rpath is
362 enabled, and add --disable-relink option which can be used to
363 disable the feature altogether (reports by Michail Vidiassov,
365 + fix --with-termlib option for wide-character configuration, stripping
366 the "w" suffix in one place (report by Miroslav Lichvar).
367 + remove "-ldl" from some library lists to reduce dependencies in
368 programs (report by Miroslav Lichvar).
369 + correct description of --enable-signed-char in configure --help
370 (report by Michail Vidiassov).
371 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
372 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
374 + remove "${DESTDIR}" from -install_name option used for linking
375 shared libraries on Darwin (report by Michail Vidiassov).
378 + add test/inchs.c, test_inch_wide.c, to test win_wchnstr().
379 + remove libdl from library list for termlib (report by Miroslav
381 + fix configure.in to allow --without-progs --with-termlib (patch by
383 + modify win_wchnstr() to ensure that only a base cell is returned
384 for each multi-column character (prompted by report by Wei Kong
385 regarding change in mvwin_wch() cf: 20041023).
388 + modify fix_wchnstr() in form library to strip attributes (and color)
389 from the cchar_t array (field cells) read from a field's window.
390 Otherwise, when copying the field cells back to the window, the
391 associated color overrides the field's background color (report by
393 + improve tracing for form library, showing created forms, fields, etc.
394 + ignore --enable-rpath configure option if --with-shared was omitted.
395 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
396 to allow leak-checking when both tic- and tinfo-libraries are built.
397 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
398 no longer relies on it.
399 + disallow combining configure script options --with-ticlib and
400 --enable-termcap (report by Rong-En Fan).
401 + remove tack from ncurses tree.
404 + fix typo in configure script that broke --with-termlib option
405 (report by Rong-En Fan).
408 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
409 to tgetent() (report by Rong-en Fan).
410 + update tack/HISTORY and tack/README to tell how to build it after
411 it is removed from the ncurses tree.
412 + fix configure check for libtool's version to trim blank lines
413 (report by sci-fi@hush.ai).
414 + review/eliminate other original-file artifacts in cursesw.cc, making
415 its license consistent with ncurses.
416 + use ncurses vw_scanw() rather than reading into a fixed buffer in
417 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
418 + eliminate fixed-buffer vsprintf() calls in c++ binding.
421 + add _nc_leaks_tic() to separate leak-checking of tic library from
422 term/ncurses libraries, and thereby eliminate a library dependency.
423 + fix test/mk-test.awk to ignore blank lines.
424 + correct paths in include/headers, for --srcdir (patch by Miroslav
428 + add a break-statement in misc/shlib to ensure that it exits on the
429 _first_ matched directory (report by Paul Novak).
430 + add tack/configure, which can be used to build tack outside the
432 + add --with-ticlib option, to build/install the tic-support functions
433 in a separate library (suggested by Miroslav Lichvar).
436 + change MKunctrl.awk to reduce relocation table for unctrl.o
437 + change MKkeyname.awk to reduce relocation table for keyname.o
438 (patch by Miroslav Lichvar).
441 + modify configure check for libtool's version to trim blank lines
442 (report by sci-fi@hush.ai).
443 + modify some modules to allow them to be reentrant if _REENTRANT is
444 defined: lib_baudrate.c, resizeterm.c (local data only)
445 + eliminate static data from some modules: add_tries.c, hardscroll.c,
446 lib_ttyflags.c, lib_twait.c
447 + improve manpage install to add aliases for the transformed program
448 names, e.g., from --program-prefix.
449 + used linklint to verify links in the HTML documentation, made fixes
450 to manpages as needed.
451 + fix a typo in curs_mouse.3x (report by William McBrine).
452 + fix install-rule for ncurses5-config to make the bin-directory.
455 + modify configure script to omit the tic (terminfo compiler) support
456 from ncurses library if --without-progs option is given.
457 + modify install rule for ncurses5-config to do this via "install.libs"
458 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
459 + update config.guess, config.sub
461 20061217 5.6 release for upload to ftp.gnu.org
464 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
465 definitions in <wchar.h>.
466 + revert the va_copy() change from 20061202, since it was neither
467 correct nor portable.
468 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
470 + ignore wide-acs line-drawing characters that wcwidth() claims are
471 not one-column. This is a workaround for Solaris' broken locale
475 + modify configure --with-gpm option to allow it to accept a parameter,
476 i.e., the name of the dynamic GPM library to load via dlopen()
477 (requested by Bryan Henderson).
478 + add configure option --with-valgrind, changes from vile.
479 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
480 'return' in preference to 'exit()'.
483 + change default for --with-develop back to "no".
484 + add XTABS to tracing of TTY bits.
485 + updated autoconf patch to ifdef-out the misfeature which declares
486 exit() for configure tests. This fixes a redefinition warning on
488 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
489 Solaris to help ensure that initialization sections are provided for
490 extra linkage requirements, e.g., of C++ applications (prompted by
491 comment by Casper Dik in newsgroup).
492 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
493 from the autoconf predefined symbol. There was no conflict,
494 since "$target" was used only in the generated edit_man.sh file,
495 but SuSE's rpm package contains a patch.
498 + update man/term.5 to reflect extended terminfo support and hashed
499 database configuration.
500 + updates for test/configure script.
501 + adapted from SuSE rpm package:
502 + remove long-obsolete workaround for broken-linker which declared
504 + improve error recovery in PUTC() macro when wcrtomb() does not
505 return usable results for an 8-bit character.
506 + patches from rpm package (SuSE):
507 + use va_copy() in extra varargs manipulation for tracing version
509 + use a va_list rather than a null in _nc_freeall()'s call to
511 + add some see-also references in manpages to show related
512 wide-character functions (suggested by Claus Fischer).
515 + add a check in lib_color.c to ensure caller does not increase COLORS
516 above max_colors, which is used as an array index (discussion with
518 + add ifdef's allowing ncurses to be built with tparm() using either
519 varargs (the existing status), or using a fixed-parameter list (to
523 + fix redrawing of windows other than stdscr using wredrawln() by
524 touching the corresponding rows in curscr (discussion with Dan
527 + add test/echochar.c
528 + review/cleanup manpage descriptions of error-returns for form- and
529 menu-libraries (prompted by FreeBSD docs/46196).
532 + add AUTHORS file -TD
533 + omit the -D options from output of the new config script --cflags
534 option (suggested by Ralf S Engelschall).
535 + make NCURSES_INLINE unconditionally defined in curses.h
538 + revert change to accommodate bash 3.2, since that breaks other
539 platforms, e.g., Solaris.
540 + minor fixes to NEWS file to simplify scripting to obtain list of
542 + improve some shared-library configure scripting for Linux, FreeBSD
543 and NetBSD to make "--with-shlib-version" work.
544 + change configure-script rules for FreeBSD shared libraries to allow
545 for rpath support in versions past 3.
546 + use $(DESTDIR) in makefile rules for installing/uninstalling the
547 package config script (reports/patches by Christian Wiese,
549 + fix a warning in the configure script for NetBSD 2.0, working around
550 spurious blanks embedded in its ${MAKEFLAGS} symbol.
551 + change test/Makefile to simplify installing test programs in a
552 different directory when --enable-rpath is used.
555 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
556 + add/install a package config script, e.g., "ncurses5-config" or
557 "ncursesw5-config", according to configuration options.
560 + add several GNU Screen terminfo variations with 16- and 256-colors,
561 and status line (Alain Bench).
562 + change the way shared libraries (other than libtool) are installed.
563 Rather than copying the build-tree's libraries, link the shared
564 objects into the install directory. This makes the --with-rpath
565 option work except with $(DESTDIR) (cf: 20000930).
568 + fix ifdef in c++/internal.h for QNX 6.1
569 + test-compiled with (old) egcs-1.1.2, modified configure script to
570 not unset the $CXX and related variables which would prevent this.
571 + fix a few terminfo.src typos exposed by improvments to "-f" option.
572 + improve infocmp/tic "-f" option formatting.
575 + make --disable-largefile option work (report by Thomas M Ott).
576 + updated html documentation.
577 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
578 + minor improvements to rxvt+pcfkeys -TD
581 + move static data from lib_mouse.c into SCREEN struct.
582 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
583 (report by Michail Vidiassov).
584 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
585 option (from lynx changes) -TD
586 + adapt AC_PROG_EGREP check, noting that this is likely to be another
587 place aggravated by POSIXLY_CORRECT.
588 + modify configure check for awk to ensure that it is found (prompted
589 by report by Christopher Parker).
593 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
594 + remove invis capability from klone+sgr, mainly used by linux entry,
595 since it does not really do this -TD
598 + correct logic in wadd_wch() and wecho_wch(), which did not guard
599 against passing the multi-column attribute into a call on waddch(),
600 e.g., using data returned by win_wch() (cf: 20041023)
601 (report by Sadrul H Chowdhury).
604 + fix kterm's acsc string -TD
605 + fix for change to tic/infocmp in 20060819 to ensure no blank is
606 embedded into a termcap description.
607 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
608 when using --with-termlib --with-trace options.
609 + improve tgetstr() by making the return value point into the user's
610 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
612 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
615 + add terminfo entries for xfce terminal (xfce) and multi gnome
617 + add test/foldkeys.c
620 + modify tic and infocmp to avoid writing trailing blanks on terminfo
621 source output (Debian #378783).
622 + modify configure script to ensure that if the C compiler is used
623 rather than the loader in making shared libraries, the $(CFLAGS)
624 variable is also used (Redhat Bugzilla #199369).
625 + port hashed-db code to db2 and db3.
626 + fix a bug in tgetent() from 20060625 and 20060715 changes
627 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
630 + updated xterm function-keys terminfo to match xterm #216 -TD
631 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
632 e.g., the db 1.8.5 interface).
635 + modify toe to access termcap data, e.g., via cgetent() functions,
636 or as a text file if those are not available.
637 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
638 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
639 can access termcap data when the terminfo database is disabled.
642 + widen the test for xterm kmous a little to allow for other strings
643 than \E[M, e.g., for xterm-sco functionality in xterm.
644 + update xterm-related terminfo entries to match xterm patch #216 -TD
645 + update config.guess, config.sub
648 + fix for install-rule in Ada95 to add terminal_interface.ads
649 and terminal_interface.ali (anonymous posting in comp.lang.ada).
650 + correction to manpage for getcchar() (report by William McBrine).
652 + modify wchgat() to mark updated cells as changed so a refresh will
653 repaint those cells (comments by Sadrul H Chowdhury and William
655 + split up dependency of names.c and codes.c in ncurses/Makefile to
656 work with parallel make (report/analysis by Joseph S Myers).
657 + suppress a warning message (which is ignored) for systems without
658 an ldconfig program (patch by Justin Hibbits).
659 + modify configure script --disable-symlinks option to allow one to
660 disable symlink() in tic even when link() does not work (report by
662 + modify MKfallback.sh to use tic -x when constructing fallback tables
663 to allow extended capabilities to be retrieved from a fallback entry.
664 + improve leak-checking logic in tgetent() from 20060625 to ensure that
665 it does not free the current screen (report by Miroslav Lichvar).
668 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
669 + correct _nc_free_entries() and related functions used for memory leak
673 + revert a minor change for magic-cookie support from 20060513, which
674 caused unexpected reset of attributes, e.g., when resizing test/view
676 + note in clear manpage that the program ignores command-line
677 parameters (prompted by Debian #371855).
678 + fixes to make lib_gen.c build properly with changes to the configure
679 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
680 + update/correct several terminfo entries -TD
681 + add some notes regarding copyright to terminfo.src -TD
684 + fixes to build Ada95 binding with gnat-4.1.0
685 + modify read_termtype() so the term_names data is always allocated as
686 part of the str_table, a better fix for a memory leak (cf: 20030809).
687 + reduce memory leaks in repeated calls to tgetent() by remembering the
688 last TERMINAL* value allocated to hold the corresponding data and
689 freeing that if the tgetent() result buffer is the same as the
690 previous call (report by "Matt" for FreeBSD gnu/98975).
691 + modify tack to test extended capability function-key strings.
692 + improved gnome terminfo entry (GenToo #122566).
693 + improved xterm-256color terminfo entry (patch by Alain Bench).
696 + fix two small memory leaks related to repeated tgetent() calls
697 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
698 + add --enable-signed-char to simplify Debian package.
699 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
701 + correct typo in curs_terminfo.3x (Debian #369168).
704 + enable the mouse in test/movewindow.c
705 + improve a limit-check in frm_def.c (John Heasley).
706 + minor copyright fixes.
707 + change configure script to produce test/Makefile from data file.
710 + add a configure option --enable-wgetch-events to enable
711 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
712 lib_twait.c (report by Bernd Jendrissek).
713 + remove include/nomacros.h from build, since the ifdef for
714 NCURSES_NOMACROS makes that obsolete.
715 + add entrypoints for some functions which were only provided as macros
716 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
717 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
719 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
720 definitions from curses.h, i.e., where a macro is defined to override
721 a function to improve performance. Allowing a developer to suppress
722 these definitions can simplify some application (discussion with
724 + improve description of memu/meml in terminfo manpage.
727 + if msgr is false, reset video attributes when doing an automargin
728 wrap to the next line. This makes the ncurses 'k' test work properly
730 + correct caching of keyname(), which was using only half of its table.
731 + minor fixes to memory-leak checking.
732 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
733 arrays, making ACS_LEN less visible to applications (suggested by
735 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
736 _screen_acs_map will have the same offset in both ncurses/ncursesw,
737 making the corresponding tinfo/tinfow libraries binary-compatible
738 (cf: 20041016, report by Stanislav Ievlev).
741 + improve debug-tracing for EmitRange().
742 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
743 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
744 suppression of the related hard-tabs and xmc-glitch features.
745 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
746 infocmp, terminfo as well as form, menu, panel.
747 + update config.guess, config.sub
748 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
749 (field_buffer returning null for a valid field). The 'r' test
750 appears to not work with that configuration since the new_fieldtype()
751 function is broken in that implementation.
754 + add hpterm-color terminfo entry -TD
755 + fixes to compile test-programs with HPUX 11.23
758 + add copyright notices to files other than those that are generated,
759 data or adapted from pdcurses (reports by William McBrine, David
761 + improve rendering on hpterm by not resetting attributes at the end
762 of doupdate() if the terminal has the magic-cookie feature (report
764 + add 256color variants of terminfo entries for programs which are
765 reported to implement this feature -TD
768 + fix typo in change to NewChar() macro from 20060311 changes, which
769 broke tab-expansion (report by Frederic L W Meunier).
772 + document -U option of tic and infocmp.
773 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
774 due to size limit, e.g., converting to termcap format. Also
775 suppress them if the output format does not contain acsc and it
776 was not VT100-like, i.e., a one-one mapping (Novell #163715).
777 + add configure check to ensure that SIGWINCH is defined on platforms
778 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
779 defined (report by Nicholas Cole)
782 + modify write_object() to not write coincidental extensions of an
783 entry made due to it being referenced in a use= clause (report by
785 + another fix for infocmp -i option, which did not ensure that some
786 escape sequences had comparable prefixes (report by Alain Bench).
789 + improve discussion of init/reset in terminfo and tput manpages
790 (report by Alain Bench).
791 + use is3 string for a fallback of rs3 in the reset program; it was
792 using is2 (report by Alain Bench).
793 + correct logic for infocmp -i option, which did not account for
794 multiple digits in a parameter (cf: 20040828) (report by Alain
796 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
797 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
798 + add copyright notices to test-programs as needed (report by William
802 + modify ncurses.c 'F' test to combine the wide-characters with color
803 and/or video attributes.
804 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
805 a test-screen (some commands used 'x' or 'q').
808 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
811 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
812 a null character is found (report by Igor Bogomazov).
813 + modify progs/Makefile.in to make "tput init" work properly with
814 cygwin, i.e., do not pass a ".exe" in the reference string used
815 in check_aliases (report by Samuel Thibault).
816 + add some checks to ensure current position is within scrolling
817 region before scrolling on a new line (report by Dan Gookin).
818 + change some NewChar() usage to static variables to work around
819 stack garbage introduced when cchar_t is not packed (Redhat #182024).
822 + workarounds to build test/movewindow with PDcurses 2.7.
823 + fix for nsterm-16color entry (patch by Alain Bench).
824 + correct a typo in infocmp manpage (Debian #354281).
827 + add nsterm-16color entry -TD
828 + updated mlterm terminfo entry -TD
829 + remove 970913 feature for copying subwindows as they are moved in
830 mvwin() (discussion with Bryan Christ).
831 + modify test/demo_menus.c to demonstrate moving a menu (both the
832 window and subwindow) using shifted cursor-keys.
833 + start implementing recursive mvwin() in movewindow.c (incomplete).
834 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
835 for movewindow.c (report by William McBrine).
836 + add help-message to test/movewindow.c
839 + add test/movewindow.c, to test mvderwin().
840 + fix ncurses soft-key test so color changes are shown immediately
842 + modify ncurses soft-key test to hide the keys when exiting the test
844 + fixes to build test programs with PDCurses 2.7, e.g., its headers
845 rely on autoconf symbols, and it declares stubs for nonfunctional
846 terminfo and termcap entrypoints.
849 + improved test/configure to build test/ncurses on HPUX 11 using the
851 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
852 benefit of developers who do not read INSTALL.
855 + correct form library Window_To_Buffer() change (cf: 20040516), which
856 should ignore the video attributes (report by Ricardo Cantu).
859 + minor fixes to xmc-glitch experimental code:
860 + suppress line-drawing
861 + implement max_attributes
863 + minor fixes for the database iterator.
864 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
868 + add toe -a option, to show all databases. This uses new private
869 interfaces in the ncurses library for iterating through the list of
871 + fix toe from 20000909 changes which made it not look at
873 + make toe's -v option parameter optional as per manpage.
874 + improve SIGWINCH handling by postponing its effect during newterm(),
875 etc., when allocating screens.
878 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
879 this in test/filter.c
880 + fix an error in filter() modification which caused some applications
884 + check if filter() was called when getting the screensize. Keep it
885 at 1 if so (based on Redhat #174498).
886 + add extension nofilter().
887 + refined the workaround for ACS mapping.
888 + make ifdef's consistent in curses.h for the extended colors so the
889 header file can be used for the normal curses library. The header
890 file installed for extended colors is a variation of the
891 wide-character configuration (report by Frederic L W Meunier).
894 + add a workaround to ACS mapping to allow applications such as
895 test/blue.c to use the "PC ROM" characters by masking them with
896 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
897 of legacy coding (report by Michael Deutschmann).
898 + add a null-pointer check in the wide-character version of
899 calculate_actual_width() (report by Victor Julien).
900 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
901 values to be set independently (patch by William McBrine).
902 + modify test/configure script to allow building test programs with
904 + modified test programs to allow some to work with NetBSD curses.
905 Several do not because NetBSD curses implements a subset of X/Open
906 curses, and also lacks much of SVr4 additions. But it's enough for
908 + update config.guess and config.sub
911 + use BSD-specific fix for return-value from cgetent() from CVS where
912 an unknown terminal type would be reportd as "database not found".
913 + make tgetent() return code more readable using new symbols
915 + remove references to non-existent "tctest" program.
916 + remove TESTPROGS from progs/Makefile.in (it was referring to code
917 that was never built in that directory).
918 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
921 + add use_legacy_coding() function to support lynx's font-switching
923 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
924 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
928 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
929 overwrite() and copywin() with different combinations of colors and
930 attributes (including background color) to make it easy to see the
931 effect of the different functions.
932 + corrections to menu/m_global.c for wide-characters (report by
936 + add configure option --without-dlsym, allowing developers to
937 configure GPM support without using dlsym() (discussion with Michael
939 + fix wins_nwstr(), which did not handle single-column non-8bit codes
943 + move prototypes for wide-character trace functions from curses.tail
944 to curses.wide to avoid accidental reference to those if
945 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
947 + add/use NCURSES_INLINE definition.
948 + change some internal functions to use int/unsigned rather than the
952 + remove a redundant check in lib_color.c (Debian #335655).
953 + use ld's -search_paths_first option on Darwin to work around odd
954 search rules on that platform (report by Christian Gennerat, analysis
956 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
957 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
958 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
961 + other minor fixes to cygwin based on tack -TD
962 + correct smacs in cygwin (Debian #338234, report by Baurzhan
963 Ismagulov, who noted that it was fixed in Cygwin).
966 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
967 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
968 since those record the state of multicolumn characters (Debian
970 + modify werase to clear multicolumn characters that extend into
971 a derived window (Debian #316663).
974 + move assignment from environment variable ESCDELAY from initscr()
975 down to newterm() so the environment variable affects timeouts for
976 terminals opened with newterm() as well.
977 + fix a memory leak in keyname().
978 + add test/demo_altkeys.c
979 + modify test/demo_defkey.c to exit from loop via 'q' to allow
980 leak-checking, as well as fix a buffer size in winnstr() call.
983 + correct order of use-clauses in rxvt-basic entry which made codes for
984 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
985 + suppress configure check for gnatmake if Ada95/Makefile.in is not
987 + correct a typo in configure --with-bool option for the case where
988 --without-cxx is used (report by Daniel Jacobowitz).
989 + add a note to INSTALL's discussion of --with-normal, pointing out
990 that one may wish to use --without-gpm to ensure a completely
991 static link (prompted by report by Felix von Leitner).
993 20051010 5.5 release for upload to ftp.gnu.org
996 + document in demo_forms.c some portability issues.
999 + document side-effect of werase() which sets the cursor position.
1000 + save/restore the current position in form field editing to make
1004 + correct header dependencies in progs, allowing parallel make (report
1005 by Daniel Jacobowitz).
1006 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1007 the configure check for --with-build-cc (report by Daniel Jacobowitz).
1008 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1010 + update config.guess and config.sub from
1011 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1014 + modify sed expression which computes path for /usr/lib/terminfo
1015 symbolic link in install to ensure that it does not change unexpected
1016 levels of the path (Gentoo #42336).
1017 + modify default for --disable-lp64 configure option to reduce impact
1018 on existing 64-bit builds. Enabling the _LP64 option may change the
1019 size of chtype and mmask_t. However, for ABI 6, it is enabled by
1020 default (report by Mike Frysinger).
1021 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1022 default if it is used.
1023 + improve configure script logic for bumping ABI to omit this if the
1024 --with-abi-version option was used.
1025 + update address for Free Software Foundation in tack's source.
1026 + correct wins_wch(), which was not marking the filler-cells of
1027 multi-column characters (cf: 20041023).
1030 + modify mouse initialization to ensure that Gpm_Open() is called only
1031 once. Otherwise GPM gets confused in its initialization of signal
1032 handlers (Debian #326709).
1035 + modify logic for backspacing in a multiline form field to ensure that
1036 it works even when the preceding line is full (report by Frank van
1038 + remove comment about BUGS section of ncurses manpage (Debian #325481)
1041 + document some workarounds for shared and libtool library
1042 configurations in INSTALL (see --with-shared and --with-libtool).
1043 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1044 cross-compilers which emit the platform name in their version
1046 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1047 (report by Frank van Vugt).
1050 + start updating documentation for upcoming 5.5 release.
1051 + fix to make libtool and libtinfo work together again (cf: 20050122).
1052 + fixes to allow building traces into libtinfo
1053 + add debug trace to tic that shows if/how ncurses will write to the
1054 lower corner of a terminal's screen.
1055 + update llib-l* files.
1058 + modify initializers in c++ binding to build with old versions of g++.
1059 + improve special case for 20050115 repainting fix, ensuring that if
1060 the first changed cell is not a character that the range to be
1061 repainted is adjusted to start at a character's beginning (Debian
1065 + fixes to build on QNX 6.1
1066 + improve configure script checks for Intel 9.0 compiler.
1067 + remove #include's for libc.h (obsolete).
1068 + adjust ifdef's in curses.priv.h so that when cross-compiling to
1069 produce comp_hash and make_keys, no dependency on wchar.h is needed.
1070 That simplifies the build-cppflags (report by Frank van Vugt).
1071 + move modules related to key-binding into libtinfo to fix linkage
1072 problem caused by 20050430 changes to MKkeyname.sh (report by
1073 Konstantin Andreev).
1076 + updates/fixes for configure script macros from vile -TD
1077 + make prism9's sgr string agree with the rest of the terminfo -TD
1078 + make vt220's sgr0 string consistent with sgr string, do this for
1079 several related cases -TD
1080 + improve translation to termcap by filtering the 'me' (sgr0) strings
1081 as in the runtime call to tgetent() (prompted by a discussion with
1083 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1084 resets line-drawing.
1087 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
1089 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
1090 allow it to be used by tic to provide information about the runtime
1091 changes that would be made to sgr0 for termcap applications.
1092 + modify make_sed.sh to make the group-name in the NAME section of
1093 form/menu library manpage agree with the TITLE string when renaming
1094 is done for Debian (Debian #78866).
1097 + modify parameter type in c++ binding for insch() and mvwinsch() to
1098 be consistent with underlying ncurses library (was char, is chtype).
1099 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
1101 + improve configure check for nanosleep(), checking that it works since
1102 some older systems such as AIX 4.3 have a nonworking version.
1105 + update config.guess and config.sub from
1106 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1107 + modify misc/shlib to work in test-directory.
1108 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
1109 allows cross-compiles to use the host's tic program to handle the
1110 "make install.data" step.
1111 + improve description of $LINES and $COLUMNS variables in manpages
1112 (prompted by report by Dave Ulrick).
1113 + improve description of cross-compiling in INSTALL
1114 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
1115 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
1116 + modify configure script to obtain soname for GPM library (discussion
1117 with Daniel Jacobowitz).
1118 + modify configure script so that --with-chtype option will still
1119 compute the unsigned literals suffix for constants in curses.h
1120 (report by Daniel Jacobowitz:
1121 + patches from Daniel Jacobowitz:
1122 + the man_db.renames entry for tack.1 was backwards.
1123 + tack.1 had some 1m's that should have been 1M's.
1124 + the section for curs_inwstr.3 was wrong.
1127 + correction to --with-chtype option (report by Daniel Jacobowitz).
1130 + move build-time edit_man.sh and edit_man.sed scripts to top directory
1131 to simplify reusing them for renaming tack's manpage (prompted by a
1132 review of Debian package).
1133 + revert minor optimization from 20041030 (Debian #313609).
1134 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
1135 1.5.10 and 1.5.18 (all work except as noted previously for the c++
1136 install using libtool 1.5.0):
1137 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
1139 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
1140 + add configure options --with-chtype and --with-mmask-t, to allow
1141 overriding of the non-LP64 model's use of the corresponding types.
1142 + revise test for size of chtype (and mmask_t), which always returned
1143 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
1146 + change _tracef's that used "%p" format for va_list values to ignore
1147 that, since on some platforms those are not pointers.
1148 + fixes for long-formats in printf's due to largefile support.
1151 + fixes for termcap support:
1152 + reset pointer to _nc_curr_token.tk_name when the input stream is
1153 closed, which could point to free memory (cf: 20030215).
1154 + delink TERMTYPE data which is used by the termcap reader, so that
1155 extended names data will be freed consistently.
1156 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
1158 + add some entrypoints for freeing permanently allocated data via
1159 _nc_freeall() when NO_LEAKS is defined.
1160 + amend 20041030 change to _nc_do_color to ensure that optimization is
1161 applied only when the terminal supports back_color_erase (bce).
1164 + add sun-color terminfo entry -TD
1165 + correct a missing assignment in c++ binding's method
1166 NCursesPanel::UserPointer() from 20050409 changes.
1167 + improve configure check for large-files, adding check for dirent64
1169 + minor change to configure script to improve linker options for the
1173 + document error conditions for ncurses library functions (report by
1175 + regenerated html documentation for ada binding.
1176 see ftp://invisible-island.net/ncurses/patches/gnathtml
1179 + regenerated html documentation for manpages.
1180 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
1181 ncurses/Makefile (Gentoo #89772).
1182 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
1183 (patch by Mike Frysinger).
1184 + modify tic to filter out long extended names when translating to
1185 termcap format. Only two characters are permissible for termcap
1189 + modify terminfo entries xterm-new and rxvt to add strings for
1190 shift-, control-cursor keys.
1191 + workaround to allow c++ binding to compile with g++ 2.95.3, which
1192 has a broken implementation of static_cast<> (patch by Jeff Chua).
1193 + modify initialization of key lookup table so that if an extended
1194 capability (tic -x) string is defined, and its name begins with 'k',
1195 it will automatically be treated as a key.
1196 + modify test/keynames.c to allow for the possibility of extended
1197 key names, e.g., via define_key(), or via "tic -x".
1198 + add test/demo_termcap.c to show the contents of given entry via the
1202 + minor fixes for vt100/vt52 entries -TD
1203 + add configure option --enable-largefile
1204 + corrected libraries used to build Ada95/gen/gen, found in testing
1208 + update config.guess, config.sub
1209 + modify configure script check for _XOPEN_SOURCE, disable that on
1210 Darwin whose header files have problems (patch by Chris Zubrzycki).
1211 + modify form library Is_Printable_String() to use iswprint() rather
1212 than wcwidth() for determining if a character is printable. The
1213 latter caused it to reject menu items containing non-spacing
1215 + modify ncurses test program's F-test to handle non-spacing characters
1216 by combining them with a reverse-video blank.
1217 + review/fix several gcc -Wconversion warnings.
1220 + correct an off-by-one error in m_driver() for mouse-clicks used to
1221 position the mouse to a particular item.
1222 + implement test/demo_menus.c
1223 + add some checks in lib_mouse to ensure SP is set.
1224 + modify C++ binding to make 20050403 changes work with the configure
1225 --enable-const option.
1228 + modify start_color() to return ERR if it cannot allocate memory.
1229 + address g++ compiler warnings in C++ binding by adding explicit
1230 member initialization, assignment operators and copy constructors.
1231 Most of the changes simply preserve the existing semantics of the
1232 binding, which can leak memory, etc., but by making these features
1233 visible, it provides a framework for improving the binding.
1234 + improve C++ binding using static_cast, etc.
1235 + modify configure script --enable-warnings to add options to g++ to
1236 correspond to the gcc --enable-warnings.
1237 + modify C++ binding to use some C internal functions to make it
1238 compile properly on Solaris (and other platforms).
1241 + amend change from 20050320 to limit it to configurations with a
1243 + fix a bug introduced in 20050320 which broke the translation of
1244 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
1247 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
1248 chtype and mmask_t, but add configure option --disable-lp64 in case
1249 anyone used that configuration.
1250 + update misc/shlib script to account for Mac OS X (report by Michail
1252 + correct comparison for wrapping multibyte characters in
1253 waddch_literal() (report by Takahashi Tamotsu).
1256 + add -c and -w options to tset to allow user to suppress ncurses'
1257 resizing of the terminal emulator window in the special case where it
1258 is not able to detect the true size (report by Win Delvaux, Debian
1260 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
1261 codes 128-159 as part of multibyte characters (report by Wang
1262 WenRui, Debian #300512).
1265 + modify ncurses.c 'd' test to make it work with 88-color
1266 configuration, i.e., by implementing scrolling.
1267 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
1271 + change tracemunch to use strict checking.
1272 + modify ncurses.c 'p' test to test line-drawing within a pad.
1273 + implement environment variable NCURSES_NO_UTF8_ACS to support
1274 miscellaneous terminal emulators which ignore alternate character
1275 set escape sequences when in UTF-8 mode.
1278 + change NCursesWindow::err_handler() to a virtual function (request by
1280 + modify fty_int.c and fty_num.c to handle wide characters (report by
1282 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1283 and wide characters inconsistently (report by Wolfgang Gutjahr).
1284 + update llib-* files to reflect internal interface additions/changes.
1287 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1289 + add aixterm-16color terminfo entry -TD
1290 + modified xterm-new terminfo entry to work with tgetent() changes -TD
1291 + extended changes in tgetent() from 20040710 to allow the substring of
1292 sgr0 which matches rmacs to be at the beginning of the sgr0 string
1293 (request by Thomas Wolff). Wolff says the visual effect in
1294 combination with pre-20040710 ncurses is improved.
1295 + fix off-by-one in winnstr() call which caused form field validation
1296 of multibyte characters to ignore the last character in a field.
1297 + correct logic in winsch() for inserting multibyte strings; the code
1298 would clear cells after the insertion rather than push them to the
1299 right (cf: 20040228).
1300 + fix an inconsistency in Check_Alpha_Field() between normal and wide
1301 character logic (report by Wolfgang Gutjahr).
1304 + fix a bug in editing wide-characters in form library: deleting a
1305 nonwide character modified the previous wide-character.
1306 + update manpage to describe NCURSES_MOUSE_VERSION 2.
1307 + correct manpage description of mouseinterval() (Debian #280687).
1308 + add a note to default_colors.3x explaining why this extension was
1309 added (Debian #295083).
1310 + add traces to panel library.
1313 + improve editing of wide-characters in form library: left/right
1314 cursor movement, and single-character deletions work properly.
1315 + disable GPM mouse support when $TERM happens to be prefixed with
1316 "xterm". Gpm_Open() would otherwise assert that it can deal with
1317 mouse events in this case.
1318 + modify GPM mouse support so it closes the server connection when
1319 the caller disables the mouse (report by Stanislav Ievlev).
1322 + add traces for callback functions in form library.
1323 + add experimental configure option --enable-ext-mouse, which defines
1324 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
1325 support wheel mice, which may transmit buttons 4 and 5. This works
1326 with xterm and similar X terminal emulators (prompted by question by
1327 Andreas Henningsson, this is also related to Debian #230990).
1328 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
1329 avoid redefinition warnings on cygwin.
1332 + merge remaining development changes for extended colors (mostly
1333 complete, does not appear to break other configurations).
1334 + add xterm-88color.dat (part of extended colors testing).
1335 + improve _tracedump() handling of color pairs past 96.
1336 + modify return-value from start_color() to return OK if colors have
1337 already been started.
1338 + modify curs_color.3x list error conditions for init_pair(),
1339 pair_content() and color_content().
1340 + modify pair_content() to return -1 for consistency with init_pair()
1341 if it corresponds to the default-color.
1342 + change internal representation of default-color to allow application
1343 to use color number 255. This does not affect the total number of
1344 color pairs which are allowed.
1345 + add a top-level tags rule.
1348 + add a null-pointer check in wgetch() in case it is called without
1349 first calling initscr().
1350 + add some null-pointer checks for SP, which is not set by libtinfo.
1351 + modify misc/shlib to ensure that absolute pathnames are used.
1352 + modify test/Makefile.in, etc., to link test programs only against the
1353 libraries needed, e.g., omit form/menu/panel library for the ones
1354 that are curses-specific.
1355 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
1356 libtinfo.so and libtinfow.so have the same ABI. The reason for this
1357 is that the corresponding data which belongs to the upper-level
1358 ncurses library has a different size in each model (report by
1362 + minor fixes to allow test-compiles with g++.
1363 + correct column value shown in tic's warnings, which did not account
1364 for leading whitespace.
1365 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
1366 where a following line begins in column 1.
1367 + modify _nc_save_str() to return a null pointer on buffer overflow.
1368 + improve repainting while scrolling wide-character data (Eungkyu Song).
1371 + merge some development changes to extend color capabilities.
1374 + merge some development changes to extend color capabilities.
1375 + fix manpage typo (FreeBSD report docs/75544).
1376 + update config.guess, config.sub
1377 > patches for configure script (Albert Chin-A-Young):
1378 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
1379 20030705), making vsscanf() prototype visible on IRIX64. Tested for
1380 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
1381 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
1382 + print the result of the --disable-home-terminfo option.
1383 + use -rpath when compiling with SGI C compiler.
1386 + add trace calls to remaining public functions in form and menu
1388 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
1389 + fix typo in test/ncurses.c 'c' test from 20041218.
1392 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
1393 and xterm-256color, added 'C' test using the wide-character color_set
1394 and attr_set functions.
1397 + modify configure script to work with Intel compiler.
1398 + fix an limit-check in wadd_wchnstr() which caused labels in the
1399 forms-demo to be one character short.
1400 + fix typo in curs_addchstr.3x (Jared Yanovich).
1401 + add trace calls to most functions in form and menu libraries.
1402 + update working-position for adding wide-characters when window is
1403 scrolled (prompted by related report by Eungkyu Song).
1406 + replace some references on Linux to wcrtomb() which use it to obtain
1407 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
1408 broken in glibc (see Debian #284260).
1409 + corrected length-computation in wide-character support for
1411 + some fixes to frm_driver.c to allow it to accept multibyte input.
1412 + modify configure script to work with Intel 8.0 compiler.
1415 + amend change to setupterm() in 20030405 which would reuse the value
1416 of cur_term if the same output was selected. This now reuses it only
1417 when setupterm() is called from tgetent(), which has no notion of
1418 separate SCREENs. Note that tgetent() must be called after initscr()
1419 or newterm() to use this feature (Redhat Bugzilla #140326).
1420 + add a check in CF_BUILD_CC macro to ensure that developer has given
1421 the --with-build-cc option when cross-compiling (report by Alexandre
1423 + improved configure script checks for _XOPEN_SOURCE and
1424 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
1426 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
1427 for consistency (comment by Dan Nelson).
1430 + update wsvt25 terminfo entry -TD
1431 + modify test/ins_wide.c to test all flavors of ins_wstr().
1432 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
1433 which consists of multi-column characters, since this function
1434 constructs them (cf: 20041023).
1435 + modify winnstr() to return multibyte character strings for the
1436 wide-character configuration.
1439 + fixes to make slk_set() and slk_wset() accept and store multibyte
1440 or multicolumn characters.
1443 + improve color optimization a little by making _nc_do_color() check
1444 if the old/new pairs are equivalent to the default pair 0.
1445 + modify assume_default_colors() to not require that
1446 use_default_colors() be called first.
1449 + modify term_attrs() to use termattrs(), add the extended attributes
1450 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
1451 + add logic in waddch_literal() to clear orphaned cells when one
1452 multi-column character partly overwrites another.
1453 + improved logic for clearing cells when a multi-column character
1454 must be wrapped to a new line.
1455 + revise storage of cells for multi-column characters to correct a
1456 problem with repainting. In the old scheme, it was possible for
1457 doupdate() to decide that only part of a multi-column character
1458 should be repainted since the filler cells stored only an attribute
1459 to denote them as fillers, rather than the character value and the
1463 + minor fixes for traces.
1464 + add SP->_screen_acs_map[], used to ensure that mapping of missing
1465 line-drawing characters is handled properly. For example, ACS_DARROW
1466 is absent from xterm-new, and it was coincidentally displayed the
1470 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
1471 and smacs strings as well. Also modify the check for screen's
1472 limitations in that area to allow the multi-character shift-in
1473 and shift-out which seem to work.
1474 + change GPM initialization, using dl library to load it dynamically
1475 at runtime (Debian #110586).
1478 + correct logic for color pair in setcchar() and getcchar() (patch by
1479 Marcin 'Qrczak' Kowalczyk).
1480 + add t/T commands to ncurses b/B tests to allow a different color to
1481 be tested for the attrset part of the test than is used in the
1485 + fix to make setcchar() to work when its wchar_t* parameter is
1486 pointing to a string which contains more data than can be converted.
1487 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
1488 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
1491 + remove check in wget_wch() added to fix an infinite loop, appears to
1492 have been working around a transitory glibc bug, and interferes
1493 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
1494 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
1495 information (report by Marcin 'Qrczak' Kowalczyk).
1496 + fix aclocal.m4 so that the wide-character version of ncurses gets
1497 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
1498 (adapted from patch by James J Ramsey).
1499 + change configure script for --with-caps option to indicate that it
1500 is no longer experimental.
1501 + change configure script to reflect the fact that --enable-widec has
1502 not been "experimental" since 5.3 (report by Bruno Lustosa).
1505 + add 'B' test to ncurses.c, to exercise some wide-character functions.
1508 + modify infocmp -i option to match 8-bit controls against its table
1509 entries, e.g., so it can analyze the xterm-8bit entry.
1510 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
1511 + correct translation of "%%" in terminfo format to termcap, e.g.,
1512 using "tic -C" (Redhat Bugzilla #130921).
1513 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
1514 it defines _POSIX_C_SOURCE, that it defines it to a specific value
1515 (comp.os.stratus newsgroup comment).
1518 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
1519 fatal, and gnat does not follow the guidelines for pragmas).
1520 However that did find a coding error in Assume_Default_Colors().
1521 + modify several terminfo entries to ensure xterm mouse and cursor
1522 visibility are reset in rs2 string: hurd, putty, gnome,
1523 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
1524 xterm entries are left alone - old ones for compatibility, and the
1525 new ones do not require this change. -TD
1528 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
1529 and window managers (Debian #265631).
1530 > terminfo updates -TD
1531 + remove dch/dch1 from rxvt because they are implemented inconsistently
1532 with the common usage of bce/ech
1533 + remove khome from vt220 (vt220's have no home key)
1537 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
1538 combinations of video attributes so that for instance bold and
1539 underline can be tested. This made the legend too crowded, added
1540 a help window as well.
1541 + modify test/ncurses.c 'b' test to cycle through default colors if
1542 the -d option is set.
1543 + update putty terminfo entry (Robert de Bath).
1546 + modify test/cardfile.c to allow it to read more data than can be
1548 + correct logic in resizeterm.c which kept it from processing all
1549 levels of window hierarchy (reports by Folkert van Heusden,
1553 + modify "tic -cv" to ignore delays when comparing strings. Also
1554 modify it to ignore a canceled sgr string, e.g., for terminals which
1555 cannot properly combine attributes in one control sequence.
1556 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
1557 patch by Hans de Goede)
1558 > terminfo updates -TD
1559 + make ncsa-m rmacs/smacs consistent with sgr
1560 + add sgr, rc/sc and ech to syscons entries
1561 + add function-keys to decansi
1562 + add sgr to mterm-ansi
1563 + add sgr, civis, cnorm to emu
1564 + correct/simplify cup in addrinfo
1567 > terminfo updates -TD
1568 + add xterm-pc-fkeys
1569 + review/update gnome and gnome-rh90 entries (prompted by Redhat
1571 + review/update konsole entries
1572 + add sgr, correct sgr0 for kterm and mlterm
1573 + correct tsl string in kterm
1576 + add configure option --without-xterm-new
1579 + add check in wget_wch() for printable bytes that are not part of a
1580 multibyte character.
1581 + modify wadd_wchnstr() to render text using window's background
1583 + improve tic's check to compare sgr and sgr0.
1584 + fix c++ directory's .cc.i rule.
1585 + modify logic in tgetent() which adjusts the termcap "me" string
1586 to work with ISO-2022 string used in xterm-new (cf: 20010908).
1587 + modify tic's check for conflicting function keys to omit that if
1588 converting termcap to termcap format.
1589 + add -U option to tic and infocmp.
1590 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
1591 > terminfo updates -TD
1592 + minor fixes for emu
1594 + change wyse acsc strings to use 'i' map rather than 'I'
1599 + use tic -x to install terminfo database -TD
1600 + add -x to infocmp's usage message.
1601 + correct field used for comparing O_ROWMAJOR in set_menu_format()
1602 (report/patch by Tony Li).
1603 + fix a missing nul check in set_field_buffer() from 20040508 changes.
1604 > terminfo updates -TD
1605 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
1607 + align with xterm patch #192's use of xterm-new -TD
1608 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
1609 + make xterm-new the default "xterm" entry -TD
1612 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
1613 cross-compiling from a separate directory tree (report/patch by
1615 + modify is_term_resized() to ensure that window sizes are nonzero,
1616 as documented in the manpage (report by Ian Collier).
1617 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
1618 (Debian #249214, report/patch by Jeff Bailey).
1619 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
1620 + update config.guess, config.sub
1621 > terminfo updates -TD
1623 + add xterm-xf86-v44
1624 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
1625 relies on G1 being used via an ISO-2022 escape sequence (report by
1630 + reconsidered winsnstr(), decided after comparing other
1631 implementations that wrapping is an X/Open documentation error.
1632 + modify test/inserts.c to test all flavors of insstr().
1635 + add setlocale() calls to a few test programs which may require it:
1636 demo_forms.c, filter.c, ins_wide.c, inserts.c
1637 + correct a few misspelled function names in ncurses-intro.html (report
1639 + correct internal name of key_defined() manpage, which conflicted with
1643 + correct size of internal pad used for holding wide-character
1644 field_buffer() results.
1645 + modify data_ahead() to work with wide-characters.
1648 + improve description of terminfo if-then-else expressions (suggested
1650 + improve test/ncurses.c 'd' test, allow it to use external file for
1651 initial palette (added xterm-16color.dat and linux-color.dat), and
1652 reset colors to the initial palette when starting/ending the test.
1653 + change limit-check in init_color() to allow r/g/b component to
1654 reach 1000 (cf: 20020928).
1657 + modify form library to use cchar_t's rather than char's in the
1658 wide-character configuration for storing data for field buffers.
1659 + correct logic of win_wchnstr(), which did not work for more than
1663 + replace memset/memcpy usage in form library with for-loops to
1664 simplify changing the datatype of FIELD.buf, part of wide-character
1666 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
1669 + modify menu library to account for actual number of columns used by
1670 multibyte character strings, in the wide-character configuration
1671 (adapted from patch by Philipp Tomsich).
1672 + add "-x" option to infocmp like tic's "-x", for use in "-F"
1673 comparisons. This modifies infocmp to only report extended
1674 capabilities if the -x option is given, making this more consistent
1675 with tic. Some scripts may break, since infocmp previous gave this
1676 information without an option.
1677 + modify termcap-parsing to retain 2-character aliases at the beginning
1678 of an entry if the "-x" option is used in tic.
1681 + minor compiler-warning and test-program fixes.
1684 + modify tic's missing-sgr warning to apply to terminfo only.
1685 + free some memory leaks in tic.
1686 + remove check in post_menu() that prevented menus from extending
1687 beyond the screen (request by Max J. Werner).
1688 + remove check in newwin() that prevents allocating windows
1689 that extend beyond the screen. Solaris curses does this.
1690 + add ifdef in test/color_set.c to allow it to compile with older
1692 + add napms() calls to test/dots.c to make it not be a CPU hog.
1695 + modify unctrl() to return null if its parameter does not correspond
1696 to an unsigned char.
1697 + add some limit-checks to guard isprint(), etc., from being used on
1698 values that do not fit into an unsigned char (report by Sami Farin).
1701 + fix a typo in the _nc_get_locale() change.
1704 + modify _nc_get_locale() to use setlocale() to query the program's
1705 current locale rather than using getenv(). This fixes a case in tin
1706 which relies on legacy treatment of 8-bit characters when the locale
1707 is not initialized (reported by Urs Jansen).
1708 + add sgr string to screen's and rxvt's terminfo entries -TD.
1709 + add a check in tic for terminfo entries having an sgr0 but no sgr
1710 string. This confuses Tru64 and HPUX curses when combined with
1711 color, e.g., making them leave line-drawing characters in odd places.
1712 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
1713 original definitions used in Debian package to fix PowerPC bug before
1714 20030802 (Debian #237629).
1717 + modify PutAttrChar() and PUTC() macro to improve use of
1718 A_ALTCHARSET attribute to prevent line-drawing characters from
1719 being lost in situations where the locale would otherwise treat the
1720 raw data as nonprintable (Debian #227879).
1723 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
1725 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
1726 some apropos script (Debian #237831).
1729 + modify ncurses.c 'r' test so editing commands, like inserted text,
1730 set the field background, and the state of insert/overlay editing
1731 mode is shown in that test.
1732 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
1733 + correct logic in test/ncurses.c 'b' for noncolor terminals which
1734 did not recognize a quit-command (cf: 20030419).
1737 + modify _nc_insert_ch() to allow for its input to be part of a
1739 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
1740 that this function performs wrapping, unlike all of the other
1741 insert-functions. Currently it does not wrap.
1742 + check for nl_langinfo(CODESET), use it if available (report by
1744 + split-out CF_BUILD_CC macro, actually did this for lynx first.
1745 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
1746 which happened to work with bash, but not with Bourne shell (report
1747 by Marco d'Itri via tin-dev).
1750 + some changes to adapt the form library to wide characters, incomplete
1751 (request by Mike Aubury).
1752 + add symbol to curses.h which can be used to suppress include of
1754 #define NCURSES_ENABLE_STDBOOL_H 0
1756 (discussion on XFree86 mailing list).
1759 + modify configure --with-termlib option to accept a value which sets
1760 the name of the terminfo library. This would allow a packager to
1761 build libtinfow.so renamed to coincide with libtinfo.so (discussion
1762 with Stanislav Ievlev).
1763 + improve documentation of --with-install-prefix, --prefix and
1764 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
1765 + add configure check if the compiler can use -c -o options to rename
1766 its output file, use that to omit the 'cd' command which was used to
1767 ensure object files are created in a separate staging directory
1768 (prompted by comments by Johnny Wezel, Martin Mokrejs).
1770 20040208 5.4 release for upload to ftp.gnu.org
1773 20040207 pre-release
1774 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
1775 and do not count %d if it follows a %p.
1776 + correct an inconsistency between handling of codes in the 128-255
1777 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
1778 locale, the latter did not show printable results, while the former
1780 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
1781 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
1782 verified by Scott Corscadden).
1784 20040131 pre-release
1785 + modify SCREEN struct to align it between normal/wide curses flavors
1786 to simplify future changes to build a single version of libtinfo
1787 (patch by Stanislav Ievlev).
1788 + document handling of carriage return by addch() in manpage.
1789 + document special features of unctrl() in manpage.
1790 + documented interface changes in INSTALL.
1791 + corrected control-char test in lib_addch.c to account for locale
1792 (Debian #230335, cf: 971206).
1793 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
1794 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
1795 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
1797 20040125 pre-release
1798 + amend change to PutAttrChar() from 20030614 which computed the number
1799 of cells for a possibly multi-cell character. The 20030614 change
1800 forced the cell to a blank if the result from wcwidth() was not
1801 greater than zero. However, wcwidth() called for parameters in the
1802 range 128-255 can give this return value. The logic now simply
1803 ensures that the number of cells is greater than zero without
1804 modifying the displayed value.
1806 20040124 pre-release
1807 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
1808 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
1809 that works better for cross-compiling.
1811 20040117 pre-release
1812 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
1813 work around core dump in Solaris 8's locale support, e.g., for
1814 zh_CN.GB18030 (report by Saravanan Bellan).
1815 + add includes for <stdarg.h> and <stdio.h> in configure script macro
1816 to make <wchar.h> check work with Tru64 4.0d.
1817 + add terminfo entry for U/Win -TD
1818 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
1820 + modify tput's error messages to prefix them with the program name
1821 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
1823 + correct a place in tack where exit_standout_mode was used instead of
1824 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
1825 + modify c++/cursesf.h to use const in the Enumeration_Field method.
1826 + remove an ambiguous (actually redundant) method from c++/cursesf.h
1827 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
1828 + improve sed script which extracts libtool's version in the
1829 CF_WITH_LIBTOOL macro.
1830 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
1831 simplify local patch for Albert Chin-A-Young)..
1832 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
1833 patch by Albert Chin-A-Young)..
1834 + fix a missing substitution in configure.in for "$target" needed for
1836 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
1837 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
1838 + make check for stdbool.h more specific, to ensure that including it
1839 will actually define/declare bool for the configured compiler.
1840 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
1841 intention of that is to #define NCURSES_BOOL as bool when the
1842 compiler declares bool, and to #define bool as NCURSES_BOOL when it
1843 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
1845 20040110 pre-release
1846 + change minor version to 4, i.e., ncurses 5.4
1847 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
1849 + simplified ncurses/base/version.c by defining the result from the
1850 configure script rather than using sprintf (suggested by Stanislav
1852 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
1854 + modify configure script so that when configuring for termlib, programs
1855 such as tic are not linked with the upper-level ncurses library
1856 (suggested by Stanislav Ievlev).
1857 + move version.c from ncurses/base to ncurses/tinfo to allow linking
1858 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
1861 + adjust -D's to build ncursesw on OpenBSD.
1862 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
1863 + add pecho_wchar().
1864 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
1865 available) on older platforms.
1868 + add -D's to build ncursew on FreeBSD 5.1.
1869 + modify shared library configuration for FreeBSD 4.x/5.x to add the
1870 soname information (request by Marc Glisse).
1871 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
1872 for limiting the length of a filename in the terminfo database.
1873 + modify termname() to return the terminal name used by setupterm()
1874 rather than $TERM, without truncating to 14 characters as documented
1875 by X/Open (report by Stanislav Ievlev, cf: 970719).
1876 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
1879 + add configure option --with-manpage-format=catonly to address
1880 behavior of BSDI, allow install of man+cat files on NetBSD, whose
1881 behavior has diverged by requiring both to be present.
1882 + remove leading blanks from comment-lines in manlinks.sed script to
1883 work with Tru64 4.0d.
1884 + add screen.linux terminfo entry (discussion on mutt-users mailing
1888 + add a check for tic to flag missing backslashes for termcap
1889 continuation lines. ncurses reads the whole entry, but termcap
1890 applications do not.
1891 + add configure option "--with-manpage-aliases" extending
1892 "--with-manpage-aliases" to provide the option of generating ".so"
1893 files rather than symbolic links for manpage aliases.
1894 + add bool definition in include/curses.h.in for configurations with no
1895 usable C++ compiler (cf: 20030607).
1896 + fix pathname of SigAction.h for building with --srcdir (reported by
1900 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
1901 since that header is used only within ncurses/tty/lib_tstp.c, for
1902 non-POSIX systems (discussion with Stanislav Ievlev).
1903 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
1904 <inger@altlinux.org>).
1905 + add test/background.c and test/color_set.c
1906 + modify color_set() function to work with color pair 0 (report by
1907 George Andreou <gbandreo@tem.uoc.gr>).
1908 + add configure option --with-trace, since defining TRACE seems too
1909 awkward for some cases.
1910 + remove a call to _nc_free_termtype() from read_termtype(), since the
1911 corresponding buffer contents were already zeroed by a memset (cf:
1913 + improve configure check for _XOPEN_SOURCE and related definitions,
1914 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
1915 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
1916 + small fixes to compile on Solaris and IRIX64 using cc.
1917 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
1921 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
1922 values (Philippe Blain).
1923 + improve the nanosleep() logic in napms() by checking for EINTR and
1924 restarting (Philippe Blain).
1925 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
1929 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
1930 + allow "\|" escape in terminfo; tic should not warn about this.
1931 + save the full pathname of the trace-file the first time it is opened,
1932 to avoid creating it in different directories if the application
1933 opens and closes it while changing its working directory.
1934 + modify configure script to provide a non-empty default for
1938 + add DJGPP to special case of DOS-style drive letters potentially
1939 appearing in TERMCAP environment variable.
1940 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
1942 + update config.guess, config.sub
1945 + fix a memory leak in error-return from setupterm() (report by
1946 Stanislav Ievlev <inger@altlinux.org>).
1947 + use EXEEXT and OBJEXT consistently in makefiles.
1948 + amend fixes for cross-compiling to use separate executable-suffix
1949 BUILD_EXEEXT (cf: 20031018).
1950 + modify MKkey_defs.sh to check for sort utility that does not
1951 recognize key options, e.g., busybox (report by Peter S Mazinger
1953 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
1954 David Krause using some of the new malloc debugging features
1955 under OpenBSD, patch by Ted Unangst).
1956 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
1957 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
1960 + update terminfo for xterm-xfree86 -TD
1961 + add check for multiple "tc=" clauses in a termcap to tic.
1962 + check for missing op/oc in tic.
1963 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
1964 tic to show cancelled capabilities. These functions were ignoring
1965 the state of the target entry, which should be untouched if cancelled.
1966 + correct comment in tack/output.c (Debian #215806).
1967 + add some null-pointer checks to lib_options.c (report by Michael
1969 + regenerated html documentation.
1970 + correction to tar-copy.sh, remove a trap command that resulted in
1971 leaving temporary files (cf: 20030510).
1972 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
1975 + updated test/configure to reflect changes for libtool (cf: 20030830).
1976 + fix several places in tack/pad.c which tested and used the parameter-
1977 and parameterless strings inconsistently, i.e., in pad_rin(),
1978 pad_il(), pad_indn() and pad_dl() (Debian #215805).
1979 + minor fixes for configure script and makefiles to cleanup executables
1980 generated when cross-compiling for DJGPP.
1981 + modify infocmp to omit check for $TERM for operations that do not
1982 require it, e.g., "infocmp -e" used to build fallback list (report by
1986 + add terminfo entries for DJGPP.
1987 + updated note about maintainer in ncurses-intro.html
1990 + update terminfo entries for gnome terminal.
1991 + modify tack to reset colors after each color test, correct a place
1992 where exit_standout_mode was used instead of exit_attribute_mode.
1993 + improve tack's bce test by making it set colors other than black
1995 + plug a potential recursion between napms() and _nc_timed_wait()
1996 (report by Philippe Blain).
1999 + add --with-rel-version option to allow workaround to allow making
2000 libtool on Darwin generate the "same" library names as with the
2001 --with-shared option. The Darwin ld program does not work well
2002 with a zero as the minor-version value (request by Chris Zubrzycki).
2003 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2004 + modify tack to allow it to run from fallback terminfo data.
2005 > patch by Philippe Blain:
2006 + improve PutRange() by adjusting call to EmitRange() and corresponding
2007 return-value to not emit unchanged characters on the end of the
2009 + improve a check for changed-attribute by exiting a loop when the
2011 + improve logic in TransformLine(), eliminating a duplicated comparison
2012 in the clr_bol logic.
2015 > patch by Philippe Blain:
2016 + in ncurses/tty/lib_mvcur.c,
2017 move the label 'nonlocal' just before the second gettimeofday() to
2018 be able to compute the diff time when 'goto nonlocal' used.
2019 Rename 'msec' to 'microsec' in the debug-message.
2020 + in ncurses/tty/lib_mvcur.c,
2021 Use _nc_outch() in carriage return/newline movement instead of
2022 putchar() which goes to stdout. Move test for xold>0 out of loop.
2023 + in ncurses/tinfo/setbuf.c,
2024 Set the flag SP->_buffered at the end of operations when all has been
2025 successful (typeMalloc can fail).
2026 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2029 + modify configure script to avoid using "head -1", which does not
2030 work if POSIXLY_CORRECT (sic) is set.
2031 + modify run_tic.in to avoid using wrong shared libraries when
2032 cross-compiling (Dan Kegel).
2035 + alter configure script help message to make it clearer that
2036 --with-build-cc does not specify a cross-compiler (suggested by Dan
2037 Kegel <dank@kegel.com>).
2038 + modify configure script to accommodate libtool 1.5, as well as add an
2039 parameter to the "--with-libtool" option which can specify the
2040 pathname of libtool (report by Chris Zubrzycki). We note that
2041 libtool 1.5 has more than one bug in its C++ support, so it is not
2042 able to install libncurses++, for instance, if $DESTDIR or the option
2043 --with-install-prefix is used.
2046 > patch by Philippe Blain:
2047 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2048 + make baudrate computation in delay_output() consistent with the
2049 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2052 + modify logic in waddch_literal() to take into account zh_TW.Big5
2053 whose multibyte sequences may contain "printable" characters, e.g.,
2054 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2055 + improve storage used by _nc_safe_strcpy() by ensuring that the size
2056 is reset based on the initialization call, in case it were called
2057 after other strcpy/strcat calls (report by Philippe Blain).
2058 > patch by Philippe Blain:
2059 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2060 + correct a place where _cup_cost was used rather than _cuu_cost
2063 + fix a small memory leak in _nc_free_termtype().
2064 + close trace-file if trace() is called with a zero parameter.
2065 + free memory allocated for soft-key strings, in delscreen().
2066 + fix an allocation size in safe_sprintf.c for the "*" format code.
2067 + correct safe_sprintf.c to not return a null pointer if the format
2068 happens to be an empty string. This applies to the "configure
2069 --enable-safe-sprintf" option (Redhat #101486).
2072 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2074 > patch by Philippe Blain:
2075 + change padding for change_scroll_region to not be proportional to
2076 the size of the scroll-region.
2077 + correct error-return in _nc_safe_strcat().
2080 + correct limit-checks in _nc_scroll_window() (report and test-case by
2081 Thomas Graf <graf@dms.at> cf: 20011020).
2082 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2086 + use clr_eol in preference to blanks for bce terminals, so select and
2087 paste will have fewer trailing blanks, e.g., when using xterm
2088 (request by Vincent Lefevre).
2089 + correct prototype for wunctrl() in manpage.
2090 + add configure --with-abi-version option (discussion with Charles
2092 > cygwin changes from Charles Wilson:
2093 + aclocal.m4: on cygwin, use autodetected prefix for import
2094 and static lib, but use "cyg" for DLL.
2095 + include/ncurses_dll.h: correct the comments to reflect current
2096 status of cygwin/mingw port. Fix compiler warning.
2097 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
2098 DLL, by adding the lib-directory to the PATH variable.
2099 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
2100 primary instead of nxterm, to match XFree86's xterm.terminfo
2101 usage and to prevent circular links.
2102 (rxvt): add additional codes from rxvt.org.
2103 (rxvt-color): new alias
2104 (rxvt-xpm): new alias
2105 (rxvt-cygwin): like rxvt, but with special acsc codes.
2106 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
2107 with a "native" MSWin GUI. Each takes different acsc codes,
2108 which are both different from the "normal" rxvt's acsc.
2109 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
2111 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
2115 + update config.guess, config.sub
2116 + add triples for configuring shared libraries with the Debian
2117 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
2120 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
2121 platforms have installed g++ along with the native C compiler, which
2122 would not accept gcc warning options.
2123 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
2124 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
2125 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
2126 + correct a sign-extension in wadd_wch() and wecho_wchar() from
2127 20030628 (report by Tomohiro Kubota).
2128 + work around omission of btowc() and wctob() from wide-character
2129 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
2131 + add portability note to curs_get_wstr.3x (Debian #199957).
2134 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
2135 respectively, to avoid calling waddch_noecho() with wide-character
2136 data, since that function assumes its input is 8-bit data.
2137 Similarly, modify waddnwstr() to call wadd_wch().
2138 + remove logic from waddnstr() which transformed multibyte character
2139 strings into wide-characters. Rewrite of waddch_literal() from
2140 20030621 assumes its input is raw multibyte data rather than wide
2141 characters (report by Tomohiro Kubota).
2144 + write getyx() and related 2-return macros in terms of getcury(),
2146 + modify waddch_literal() in case an application passes bytes of a
2147 multibyte character directly to waddch(). In this case, waddch()
2148 must reassemble the bytes into a wide-character (report by Tomohiro
2149 Kubota <kubota@debian.org>).
2152 + modify waddch_literal() in case a multibyte value occupies more than
2154 + modify PutAttrChar() to compute the number of character cells that
2155 are used in multibyte values. This fixes a problem displaying
2156 double-width characters (report/test by Mitsuru Chinen
2157 <mchinen@yamato.ibm.com>).
2158 + add a null-pointer check for result of keyname() in _tracechar()
2159 + modify _tracechar() to work around glibc sprintf bug.
2162 + add a call to setlocale() in cursesmain.cc, making demo display
2163 properly in a UTF-8 locale.
2164 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
2165 by discussion with Gabor Z Papp).
2166 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
2167 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
2168 + fix a redefinition of $RANLIB in the configure script when libtool
2169 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
2171 + simplify ifdef for bool declaration in curses.h.in (suggested by
2172 Albert Chin-A-Young).
2173 + remove configure script check to allow -Wconversion for older
2174 versions of gcc (suggested by Albert Chin-A-Young).
2177 + regenerated html manpages.
2178 + modify ifdef's in curses.h.in that disabled use of __attribute__()
2179 for g++, since recent versions implement the cases which ncurses uses
2181 + modify _nc_get_token() to handle a case where an entry has no
2182 description, and capabilities begin on the same line as the entry
2184 + fix a typo in ncurses_dll.h reported by gcc 3.3.
2185 + add an entry for key_defined.3x to man_db.renames.
2188 + modify setcchar() to allow converting control characters to complex
2189 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
2190 + add tkterm entry -TD
2191 + modify parse_entry.c to allow a terminfo entry with a leading
2192 2-character name (report by Don Libes).
2193 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
2194 + fix trace statements in read_entry.c to use lseek() rather than
2196 + fix signed/unsigned warnings from Sun's compiler (gcc should give
2197 these warnings, but it is unpredictable).
2198 + modify configure script to omit -Winline for gcc 3.3, since that
2200 + modify manlinks.sed to add a few functions that were overlooked since
2201 they return function pointers: field_init, field_term, form_init,
2202 form_term, item_init, item_term, menu_init and menu_term.
2205 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
2206 be switched between cooked/raw modes because it is not a TTY (report
2207 by Wolfgang Gutjahr <gutw@knapp.com>).
2208 + change parameter of define_key() and key_defined() to const (prompted
2210 + add a check in test/configure for ncurses extensions, since there
2211 are some older versions, etc., which would not compile with the
2212 current test programs.
2213 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
2214 convert wchar_t string to multibyte form before printing it.
2215 + corrections to lib_get_wstr.c:
2216 + null-terminate buffer passed to setcchar(), which occasionally
2218 + map special characters such as erase- and kill-characters into
2219 key-codes so those will work as expected even if they are not
2220 mentioned in the terminfo.
2221 + modify PUTC() and Charable() macros to make wide-character line
2222 drawing work for POSIX locale on Linux console (cf: 20021221).
2225 + make typography for program options in manpages consistent (report
2226 by Miloslav Trmac <mitr@volny.cz>).
2227 + correct dependencies in Ada95/src/Makefile.in, so the builds with
2228 "--srcdir" work (report by Warren L Dodge).
2229 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
2230 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
2231 + fix typos and whitespace in manpages (patch by Jason McIntyre
2232 <jmc@prioris.mini.pw.edu.pl>).
2235 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
2236 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
2237 the editing position before making modifications.
2238 + add test/demo_forms and associated test/edit_field.c demos.
2239 + modify test/configure.in to use test/modules for the list of objects
2240 to compile rather than using the list of programs.
2243 + modify logic of acsc to use the original character if no mapping is
2244 defined, noting that Solaris does this.
2245 + modify ncurses 'b' test to avoid using the acs_map[] array since
2246 20021231 changes it to no longer contain information from the acsc
2248 + modify makefile rules in c++, progs, tack and test to ensure that
2249 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
2250 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
2251 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
2252 not be shown when colors are used, i.e., if ncv#1 is set in the
2253 terminfo as is done in "screen".
2256 + add a test for slk_color(), in ncurses.c
2257 + fix some issues reported by valgrind in the slk_set() and slk_wset()
2258 code, from recent rewrite.
2259 + modify ncurses 'E' test to use show previous label via slk_label(),
2261 + modify wide-character versions of NewChar(), NewChar2() macros to
2262 ensure that the whole struct is initialized.
2265 + modify setupterm() to check if the terminfo and terminal-modes have
2266 already been read. This ensures that it does not reinvoke
2267 def_prog_mode() when an application calls more than one function,
2268 such as tgetent() and initscr() (report by Olaf Buddenhagen).
2271 + add 'E' test to ncurses.c, to exercise slk_wset().
2272 + correct handling of carriage-return in wgetn_wstr(), used in demo of
2274 + first draft of slk_wset() function.
2277 + improved warnings in tic when suppressing items to fit in termcap's
2279 + built a list in test/README showing which externals are being used
2280 by either programs in the test-directory or via internal library
2282 + adjust include-options in CF_ETIP_DEFINES to avoid missing
2283 ncurses_dll.h, fixing special definitions that may be needed for
2284 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2287 + minor fixes for cardfile.c, to make it write the updated fields to
2288 a file when ^W is given.
2289 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2293 + correct a case in _nc_remove_string(), used by define_key(), to avoid
2294 infinite loop if the given string happens to be a substring of other
2295 strings which are assigned to keys (report by John McCutchan).
2296 + add key_defined() function, to tell which keycode a string is bound
2297 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2298 + correct keybound(), which reported definitions in the wrong table,
2299 i.e., the list of definitions which are disabled by keyok().
2300 + modify demo_keydef.c to show the details it changes, and to check
2304 + restructured test/configure script, make it work for libncursesw.
2305 + add description of link_fieldtype() to manpage (report by
2306 L Dee Holtsclaw <dee@sunbeltsoft.com>).
2309 + corrected ifdef's relating to configure check for wchar_t, etc.
2310 + if the output is a socket or other non-tty device, use 1 millisecond
2311 for the cost in mvcur; previously it was 9 milliseconds because the
2312 baudrate was not known.
2313 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2314 glibc copies uninitialized data in that case, as noted by valgrind.
2315 + modify tput to use the same parameter analysis as tparm() does, to
2316 provide for user-defined strings, e.g., for xterm title, a
2317 corresponding capability might be
2319 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
2320 preprocessor. This works around Mac OS X's preprocessor, which
2321 insists on adding a blank on each side of the token (report/analysis
2322 by Kevin Murphy <murphy@genome.chop.edu>).
2325 + add configure check for wchar_t and wint_t types, rather than rely
2326 on preprocessor definitions. Also work around for gcc fixinclude
2327 bug which creates a shadow copy of curses.h if it sees these symbols
2328 apparently typedef'd.
2329 + if database is disabled, do not generate run_tic.sh
2330 + minor fixes for memory-leak checking when termcap is read.
2333 + add checking in tic for incomplete line-drawing character mapping.
2334 + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
2335 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
2336 Gerben Wierda <Sherlock@rna.nl>).
2337 + make return value from _nc_printf_string() consistent. Before,
2338 depending on whether --enable-safe-sprintf was used, it might not be
2339 cached for reallocating.
2342 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
2343 + correct a potentially-uninitialized value if _read_termtype() does
2344 not read as much data as expected (report by Wolfgang Rohdewald
2346 + correct several places where the aclocal.m4 macros relied on cache
2347 variable names which were incompatible (as usual) between autoconf
2348 2.13 and 2.5x, causing the test for broken-linker to give incorrect
2349 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
2350 <te@dbs.uni-hannover.de>).
2351 + do not try to open gpm mouse driver if standard output is not a tty;
2352 the gpm library does not make this check (bug report for dialog
2353 by David Oliveira <davidoliveira@develop.prozone.ws>).
2356 + modified emx.src to correspond more closely to terminfo.src, added
2357 emx-base to the latter -TD
2358 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
2359 implement support for that in lib_mouse.c, lib_getch.c
2362 + revert 20030105 change to can_clear_with(), does not work for the
2363 case where the update is made on cells which are blanks with
2364 attributes, e.g., reverse.
2365 + improve ifdef's to guard against redefinition of wchar_t and wint_t
2366 in curses.h (report by Urs Jansen).
2369 + improve mvcur() by checking if it is safe to move when video
2370 attributes are set (msgr), and if not, reset/restore attributes
2371 within that function rather than doing it separately in the GoTo()
2372 function in tty_update.c (suggested by Philippe Blain).
2373 + add a message in run_tic.in to explain more clearly what does not
2374 work when attempting to create a symbolic link for /usr/lib/terminfo
2375 on OS/2 and other platforms with no symbolic links (report by John
2377 + change several sed scripts to avoid using "\+" since it is not a BRE
2378 (basic regular expression). One instance caused terminfo.5 to be
2379 misformatted on FreeBSD (report by Kazuo Horikawa
2380 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
2381 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
2384 + improve description of terminfo operators, especially static/dynamic
2385 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
2386 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
2387 use the predefined TYPE_ALPHA field-type, and by defining a
2388 specialized type for the middle initial/name.
2389 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
2391 > patch by Philippe Blain:
2392 + optimize can_clear_with() a little by testing first if the parameter
2393 is indeed a "blank".
2394 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
2395 sections as small as one line.
2396 + improve ClrToEOL() by checking if clr_eos is available before trying
2398 + use tputs() rather than putp() in a few cases in tty_update.c since
2399 the corresponding delays are proportional to the number of lines
2400 affected: repeat_char, clr_eos, change_scroll_region.
2403 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
2404 global acs_map[] array; removed the lines that did the copying.
2407 + change some overlooked tputs() calls in scrolling code to use putp()
2408 (report by Philippe Blain).
2409 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
2410 is not a tty and consequently mode-changes do not work (report by
2411 <R.Chamberlin@querix.com>).
2412 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
2413 alternate-characters, i.e., to work with Linux console and UTF-8
2415 + correct line/column reference in adjust_window(), needed to make
2416 special windows such as curscr track properly when resizing (report
2417 by Lucas Gonze <lgonze@panix.com>).
2418 > patch by Philippe Blain:
2419 + correct the value used for blank in ClrBottom() (broken in 20000708).
2420 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
2423 + change several tputs() calls in scrolling code to use putp(), to
2424 enable padding which may be needed for some terminals (patch by
2426 + use '%' as sed substitute delimiter in run_tic script to avoid
2427 problems with pathname delimiters such as ':' and '@' (report by John
2429 + implement a workaround so that line-drawing works with screen's
2430 crippled UTF-8 support (tested with 3.9.13). This only works with
2431 the wide-character support (--enable-widec); the normal library will
2432 simply suppress line-drawing when running in a UTF-8 locale in screen.
2435 + allow BUILD_CC and related configure script variables to be
2436 overridden from the environment.
2437 + make build-tools variables in ncurses/Makefile.in consistent with
2438 the configure script variables (report by Maciej W Rozycki).
2439 + modify ncurses/modules to allow
2440 configure --disable-leaks --disable-ext-funcs
2441 to build (report by Gary Samuelson).
2442 + fix a few places in configure.in which lacked quotes (report by
2443 Gary Samuelson <gary.samuelson@verizon.com>).
2444 + correct handling of multibyte characters in waddch_literal() which
2445 force wrapping because they are started too late on the line (report
2446 by Sam Varshavchik).
2447 + small fix for CF_GNAT_VERSION to ignore the help-message which
2448 gnatmake adds to its version-message.
2449 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
2450 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
2452 + use $cross_compiling variable in configure script rather than
2453 comparing $host_alias and $target alias, since "host" is
2454 traditionally misused in autoconf to refer to the target platform.
2455 + change configure --help message to use "build" rather than "host"
2456 when referring to the --with-build-XXX options.
2459 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
2460 possible gnat versions such as 3.2 (report by Chris Lingard
2461 <chris@stockwith.co.uk>).
2462 + modify #define's for CKILL and other default control characters in
2463 tset to use the system's default values if they are defined.
2464 + correct interchanged defaults for kill and interrupt characters
2465 in tset, which caused it to report unnecessarily (Debian #171583).
2466 + repair check for missing C++ compiler, which is broken in autoconf
2467 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
2468 + update config.guess, config.sub (2002-11-30)
2469 + modify configure script to skip --with-shared, etc., when the
2470 --with-libtool option is given, since they would be ignored anyway.
2471 + fix to allow "configure --with-libtool --with-termlib" to build.
2472 + modify configure script to show version number of libtool, to help
2473 with bug reports. libtool still gets confused if the installed
2474 ncurses libraries are old, since it ignores the -L options at some
2475 point (tested with libtool 1.3.3 and 1.4.3).
2476 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
2477 prevent -I options in the user's environment from introducing
2478 conflicts with the build -I options (may be related to reports by
2479 Patrick Ash and George Goffe).
2480 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
2481 test/demo_keyok.c to allow building these with libtool.
2484 + add example program test/define_key.c for define_key().
2485 + add example program test/keyok.c for keyok().
2486 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
2487 + modify wins_wch() and wins_wstr() to interpret tabs by using the
2488 winsch() internal function.
2489 + modify setcchar() to allow for wchar_t input strings that have
2490 more than one spacing character.
2493 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
2494 + change type for *printw functions from NCURSES_CONST to const
2495 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
2496 but really from a note on X/Open's website stating that either is
2497 acceptable, and the latter will be used in a future revision).
2498 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
2499 lib_mouse.c (20021026) -TD
2500 + add screen-bce, screen-s entries from screen 3.9.13 (report by
2501 Adam Lazur <zal@debian.org>) -TD
2502 + add mterm terminfo entries -TD
2505 + split-out useful fragments in terminfo for vt100 and vt220 numeric
2506 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
2507 vt220+keypad. The last as embedded in various entries had ka3 and
2508 kb2 interchanged (report/discussion with Leonard den Ottolander
2509 <leonardjo@hetnet.nl>).
2510 + add check in tic for keypads consistent with vt100 layout.
2511 + improve checks in tic for color capabilities
2514 + check for missing/empty/illegal terminfo name in _nc_read_entry()
2515 (report by Martin Mokrejs, where $TERM was set to an empty string).
2516 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
2517 tab and other control characters consistently (report by Philippe
2519 + remove an #undef for KEY_EVENT from curses.tail used in the
2520 experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses
2521 dpkg's build script (Debian #165897).
2522 + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
2523 feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
2526 + implement logic in lib_mouse.c to handle position reports which are
2527 generated when XFree86 xterm is initialized with private modes 1002
2528 or 1003. These are returned to the application as the
2529 REPORT_MOUSE_POSITION mask, which was not implemented. Tested both
2530 with ncurses 'a' menu (prompted by discussion with Larry Riedel
2531 <Larry@Riedel.org>).
2532 + modify lib_mouse.c to look for "XM" terminfo string, which allows
2533 one to override the escape sequence used to enable/disable mouse
2534 mode. In particular this works for XFree86 xterm private modes
2535 1002 and 1003. If "XM" is missing (note that this is an extended
2536 name), lib_mouse uses the conventional private mode 1000.
2537 + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
2538 where it used screen_lines (report by Philippe Blain).
2539 + correct makefile rules for the case when both --with-libtool and
2540 --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
2541 + add note to terminfo manpage regarding the differences between
2542 setaf/setab and setf/setb capabilities (report by Pavel Roskin).
2545 + remove redundant initialization of TABSIZE in newterm(), since it is
2546 already done in setupterm() (report by Philippe Blain).
2547 + add test/inserts.c, to test winnstr() and winsch().
2548 + replace 'sort' in dist.mk with script that sets locale to POSIX.
2549 + update URLs in announce.html.in (patch by Frederic L W Meunier).
2550 + remove glibc add-on files, which are no longer needed (report by
2551 Frederic L W Meunier).
2553 20021012 5.3 release for upload to ftp.gnu.org
2554 + modify ifdef's in etip.h.in to allow the etip.h header to compile
2555 with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
2556 + add logic to setupterm() to make it like initscr() and newterm(),
2557 by checking for $NCURSES_TRACE environment variable and enabling
2558 the debug trace in that case.
2559 + modify setupterm() to ensure that it initializes the baudrate, for
2560 applications such as tput (report by Frank Henigman).
2561 + modify definition of bits used for command-line and library debug
2562 traces to avoid overlap, using new definition TRACE_SHIFT to relate
2564 + document tput's interpretation of parameterized strings according to
2565 whether parameters are given, etc. (discussion with Robert De Bath).
2567 20021005 pre-release
2568 + correct winnwstr() to account for non-character cells generated when
2569 a double-width character is added (report by Michael Bienia
2570 <michael@vorlon.ping.de>).
2571 + modify _nc_viswbuf2n() to provide better results using wctomb().
2572 + correct logic in _nc_varargs() which broke tracing of parameters for
2573 formats such as "%.*s".
2574 + correct scale factor in linux-c and linux-c-nc terminfo entries
2575 (report Floyd Davidson).
2576 + change tic -A option to -t, add the same option to infocmp for
2578 + correct "%c" implementation in lib_tparm.c, which did not map a null
2579 character to a 128 (cf: 980620) (patch by Frank Henigman
2580 <fjhenigman@mud.cgl.uwaterloo.ca>).
2582 20020928 pre-release
2583 + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
2584 it is found, to accommodate newer utility which dropped the
2585 compatibility support for +number options (reported by Andrey A
2587 + modify linux terminfo entry to use color palette feature from
2588 linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
2589 + restore original color definitions in endwin() if init_color() was
2590 used, and resume those colors on the next doupdate() or refresh()
2591 (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
2592 + improve debug-traces by modifying MKlib_gen.sh to generate calls
2593 to returnBool() and returnAttr().
2594 + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
2595 of waddnstr() and similar functions to match the parameters as used.
2596 + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
2597 + correct type used by _nc_retrace_chtype().
2598 + add debug traces to some functions in lib_mouse.c
2599 + modify lib_addch.c to handle non-spacing characters.
2600 + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
2601 demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
2602 + correct width computed in _tracedump(), which did not account for
2603 the attributes (broken in 20010602).
2604 + modify test/tracemunch to replace addresses for windows other than
2605 curscr, newscr and stdscr with window0, window1, etc.
2607 20020921 pre-release
2608 + redid fix for edit_man.sed path.
2609 + workaround for Cygwin bug which makes subprocess writes to stdout
2610 result in core dump.
2611 + documented getbegx(), etc.
2612 + minor fixes to configure script to use '%' consistently as a sed
2613 delimiter rather than '@'.
2614 > patch by Philippe Blain:
2615 + add check in lib_overlay.c to ensure that the windows to be merged
2616 actually overlap, and in copywin(), limit the area to be touched
2617 to the lines given for the destination window.
2619 20020914 pre-release
2620 + modified curses.h so that if the wide-character version is installed
2621 overwriting /usr/include/curses.h, and if it relied on libutf8.h,
2622 then applications that use that header for wide-character support
2623 must define HAVE_LIBUTF8_H.
2624 + modify putwin(), getwin() and dupwin() to allow them to operate on
2625 pads (request by Philippe Blain).
2626 + correct attribute-merging in wborder(), broken in 20020216 (report
2627 by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
2628 > patch by Philippe Blain:
2629 + corrected pop-counts in tparam_internal() to '!' and '~' cases.
2630 + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
2631 + remove some unused variables from mvcur test-driver.
2633 20020907 pre-release
2634 + change configure script to allow install of widec-character
2635 (ncursesw) headers to overwrite normal (ncurses) headers, since the
2636 latter is a compatible subset of the former.
2637 + fix path of edit_man.sed in configure script, needed to regenerate
2638 html manpages on Debian.
2639 + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
2640 + update README.emx to reflect current patch used for autoconf.
2641 + change web- and ftp-site to invisible-island.net
2642 > patch by Philippe Blain:
2643 + change case for 'P' in tparam_internal() to indicate that it pops
2644 a variable from the stack.
2645 + correct sense of precision and width in parse_format(), to avoid
2647 + modify lib_tparm.c, absorb really_get_space() into get_space().
2648 + modify getwin() and dupwin() to copy the _notimeout, _idlok and
2649 _idcok window fields.
2650 + better fix for _nc_set_type(), using typeMalloc().
2652 20020901 pre-release
2653 + change minor version to 3, i.e., ncurses 5.3
2654 + update config.guess, config.sub
2655 + retest build with each configure option; minor ifdef fixes.
2656 + make keyname() return a null pointer rather than "UNKNOWN STRING" to
2658 + modify handling of wide line-drawing character functions to use the
2659 normal line-drawing characters when not in UTF-8 locale.
2660 + add check/fix to comp_parse.c to suppress warning about missing acsc
2661 string. This happens in configurations where raw termcap information
2662 is processed; tic already does this and other checks.
2663 + modify tic's check for ich/ich1 versus rmir/smir to only warn about
2664 ich1, to match xterm patch #70 notes.
2665 + moved information for ripped-off lines into SCREEN struct to allow
2666 use in resizeterm().
2667 + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
2668 (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
2669 + amend check in kgetch() from 20020824 to look only for function-keys,
2670 otherwise escape sequences are not resolved properly.
2671 > patch by Philippe Blain:
2672 + removed redundant assignment to SP->_checkfd from newterm().
2673 + check return-value of setupterm() in restartterm().
2674 + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
2675 + prevent dupwin() from duplicating a pad.
2676 + prevent putwin() from writing a pad.
2677 + use typeRealloc() or typeMalloc() in preference to direct calls on
2681 + add a check in kgetch() for cooked characters in the fifo to avoid
2682 calling fifo_push() when a KEY_RESIZE is available (report/analysis
2683 by Sam Varshavchik <mrsam@courier-mta.com>).
2684 + fix an overlooked case for bugzilla #68199 (Philippe Blain).
2685 + ensure clearerr() is called before using ferror() e.g., in
2686 lib_screen.c (report by Philippe Blain).
2689 + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
2690 pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
2691 modify the global curscr/stdscr/newscr variables. Fixes Redhat
2692 bugzilla #68199 dated 2002-07-07.
2693 + add checks for null pointer in calls to tparm() and tgoto() based on
2694 FreeBSD bug report. If ncurses were built with termcap support, and
2695 the first call to tgoto() were a zero-length string, the result would
2696 be a null pointer, which was not handled properly.
2697 + correct a typo in terminfo.head, which gave the octal code for colon
2699 + remove the "tic -u" option from 20020810, since it did not account
2700 for nested "tc=" clauses, and when that was addressed, was still
2704 + add tic -A option to suppress capabilities which are commented out
2705 when translating to termcap.
2706 + add tic -u option to provide older behavior of "tc=" clauses.
2707 + modified tic to expand all but the final "tc=" clause in a termcap
2708 entry, to accommodate termcap libraries which do not handle multiple
2710 + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
2712 + remove a couple of redundant uses of A_ATTRIBUTES in expressions
2713 using AttrOf(), which already incorporates that mask (report by
2715 + document TABSIZE variable.
2716 + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
2717 override compiled-in default black-on-white assumption used in
2718 assume_default_colors().
2719 + correct an off-by-one comparison against max_colors in COLORFGBG
2721 + correct a use of uninitialized memory found by valgrind (reported by
2722 Olaf Buddenhagen <olafBuddenhagen@web.de>).
2723 + modified wresize() to ensure that a failed realloc will not corrupt
2724 the window structure, and to make subwindows fit within the resized
2725 window (completes Debian #87678, #101699)
2728 + fix an off-by-one in lib_pad.c check for limits of pad (patch by
2730 + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
2731 logic used by lib_getch.c's support for GPM or EMX mouse (report by
2733 + remove NCURSES_CONST from several prototypes in curses.wide, to make
2734 the --enable-const --enable-widec configure options to work together
2735 (report by George Goffe <grgoffe@yahoo.com>).
2738 + finish no-leak checking in cardfile.c, using this for testing changes
2740 + simplify _nc_freeall() using delscreen().
2743 + check error-return from _nc_set_tty_mode() in _nc_initscr() and
2744 reset_prog_mode() (report/patch by Philippe Blain).
2745 + regenerate configure using patch for autoconf 2.52, to address
2746 problem with identifying C++ bool type.
2747 + correct/improve logic to produce an exit status for errors in tput,
2748 which did not exit with an error when told to put a string not in the
2749 current terminfo entry (report by David Gomez <david@pleyades.net>).
2750 + modify configure script AC_OUTPUT() call to work around defect in
2751 autoconf 2.52 which adds an ifdef'd include to the generated
2752 configure definitions.
2753 + remove fstat() check from scr_init(), which also fixes a missing
2754 include for <sys/stat.h> from 20020713 (reported by David Ellement,
2755 fix suggested by Philippe Blain).
2756 + update curs_scanw.3x manpage to note that XSI curses differs from
2757 SVr4 curses: return-values are incompatible.
2758 + correct several prototypes in manpages which used const
2759 inconsistently with the curses.h file, and removed spurious const's
2760 in a few places from curses.h, e.g., for wbkgd() (report by Glenn
2761 Maynard <glenn@zewt.org>).
2762 + change internal type used by tparm() to long, to work with LP64 model.
2763 + modify nc_alloc.h to allow building with g++, for testing.
2766 + add resize-handling to cardfile.c test program.
2767 + altered resizeterm() to avoid having it fail when a child window
2768 cannot be resized because it would be larger than its parent. (More
2769 work must be done on this, but it works well enough to integrate).
2770 + improve a limit-check in lib_refresh.c
2771 + remove check in lib_screen.c relating dumptime to file's modification
2772 times, since that would not necessarily work for remotely mounted
2774 + modify lrtest to simplify debugging changes to resizeterm, e.g.,
2775 t/T commands to enable/disable tracing.
2776 + updated status of multibyte support in TO-DO.
2777 + update contact info in source-files (patch by Juergen Pfeifer).
2780 + add Caps.hpux11, as an example.
2781 + modify version_filter(), used to implement -R option for tic and
2782 infocmp, to use computed array offsets based on the Caps.* file which
2783 is actually configured, rather than constants which correspond to
2785 + reorganized lib_raw.c to avoid updating SP and cur_term state if the
2786 functions fail (reported by Philippe Blain).
2787 + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
2790 + correct parameters to setcchar() in ncurses.c (cf: 20020406).
2791 + set locale in most test programs (view.c and ncurses.c were the
2793 + add configure option --with-build-cppflags (report by Maksim A
2794 Nikulin <M.A.Nikulin@inp.nsk.su>).
2795 + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
2797 + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
2798 in UTF-8 locale. Wide-character functions use Unicode values, while
2799 narrow-character functions use the terminfo data.
2800 + fix a couple of places in Ada95/samples which did not compile with
2802 + modify mkinstalldirs so the DOS-pathname case is locale-independent.
2803 + fix locale problem in MKlib_gen.sh by forcing related variables to
2804 POSIX (C), using same approach as autoconf (set variables only if
2805 they were set before). Update MKterminfo.sh and MKtermsort.sh to
2809 + add charset to generated html.
2810 + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
2811 <dcrudy@pacbell.net> -TD
2812 + add rxvt-16color, ibm+16color entries -TD
2813 + modify check in --disable-overwrite option so that it is used by
2814 default unless the --prefix/$prefix value is not /usr, in attempt to
2815 work around packagers, e.g., for Sun's freeware, who do not read the
2819 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
2820 key code in get_wch().
2821 + extended resize-handling in test/ncurses 'a' menu to the entire
2822 stack of windows created with 'w' commands.
2823 + improve $COLORFGBG feature by interpreting an out-of-range color
2824 value as an SGR 39 or 49, for foreground/background respectively.
2825 + correct a typo in configure --enable-colorfgbg option, and move it
2826 to the experimental section (cf: 20011208).
2829 + add logic to dump_entry.c to remove function-key definitions that do
2830 not fit into the 1023-byte limit for generated termcaps. This makes
2832 + more improvements to tic's warnings, including logic to ignore
2833 differences between delay values in sgr strings.
2834 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
2835 accommodate Caps.osf1r5 which introduced a conflicting definition.
2838 + add simple resize-handling in test/ncurses.c 'a' menu.
2839 + fixes in keyname() and _tracechar() to handle negative values.
2840 + make tic's warnings about mismatches in sgr strings easier to follow.
2841 + correct tic checks for number of parameters in smgbp and smglp.
2842 + improve scoansi terminfo entry, and add scoansi-new entry -TD
2843 + add pcvt25-color terminfo entry -TD
2844 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
2845 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
2846 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
2847 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
2850 + correct and simplify logic for lib_pad.c change in 20020518 (reported
2854 + fix lib_pad.c for case of drawing a double-width character which
2855 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
2856 <lerdsuwa@users.sourceforge.net>)
2857 + modify configure script to work around broken gcc 3.1 "--version"
2858 option, which adds unnecessary trash to the requested information.
2859 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
2860 (reported by Ben Decker <deckerben@freenet.de>).
2863 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
2864 character versions as well.
2865 + implement erasewchar(), killwchar() based on erasechar() and
2867 + modify erasechar() and killchar() to return ERR if the value was
2869 + correct a bug in wresize() in handling subwindows (based on patch by
2870 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
2871 <scott@gossamer-threads.com>).
2872 + improve test/tclock.c by making the second-hand update more often
2873 if gettimeofday() is available.
2876 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
2877 Tsouladze <andyt@mypoints.com>).
2880 + correct return-value from getcchar(), making it consistent with
2882 + reorder loops that generate makefile rules for different models vs
2883 subsets so configure --with-termlib works again. This was broken by
2884 logic added to avoid duplicate rules in changes to accommodate cygwin
2885 dll's (reported by George.R.Goffe@seagate.com).
2886 + update config.guess, config.sub
2889 + modify ifdef's in write_entry.c to allow use of symbolic links on
2890 platforms with no hard links, e.g., BeOS.
2891 + modify a few includes to allow compile with BeOS, which has stdbool.h
2892 with a conflicting definition for 'bool' versus its OS.h definition.
2893 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
2894 alias for 'function'.
2897 + correct form of prototype for ripoffline().
2898 + modify MKlib_gen.sh to test that all functions marked as implemented
2902 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
2903 + implement wgetn_wstr().
2904 + implement win_wchnstr().
2905 + remove redefinition of unget_wch() in lib_gen.c (reported by
2906 Jungshik Shin <jshin@jtan.com>).
2909 + modified several of the test programs to allow them to compile with
2910 vendor curses implementations, e.g., Solaris, AIX -TD
2913 + modified test/configure to allow configuring against ncursesw.
2914 + change WACS_xxx definition to use address, to work like Tru64 curses.
2917 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
2918 effect of echo/noecho and meta modes.
2919 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
2921 + add manpage: curs_get_wch.3x
2922 + implement unget_wch().
2923 + implement wget_wch().
2926 + regenerated html manpages.
2927 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
2928 + implement wins_wch().
2929 + implement win_wch().
2930 + implement wins_nwstr(), wins_wstr().
2933 + add manpages: curs_addwstr.3x, curs_winwstr.3x
2934 + implement winnwstr(), winwstr().
2937 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
2938 + document wunctrl, key_name.
2939 + implement key_name().
2940 + remove const's in lib_box.c incorrectly leftover after splitting off
2942 + update llib-lncurses, llib-ncursesw, fix configure script related to
2946 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
2947 in spurious symlinks on install.
2950 + implement whline_set(), wvline_set(), add manpage curs_border_set.
2951 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
2952 box() and box_set() functions.
2953 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
2954 given UTF-8 string equivalents of WACS_xxx symbols.
2955 + minor fixes to several manpages based on groff -ww output.
2956 + add descriptions of external variables of termcap interface to
2957 the manpage (report by Bruce Evans <bde@zeta.org.au>).
2958 > patches by Bernhard Rosenkraenzer:
2959 + correct configure option --with-bool, which was executed as
2961 + add quotes for parameters of --with-bool and --with-ospeed configure
2963 > patch by Sven Verdoolaege (report by Gerhard Haering
2964 <haering_linux@gmx.de>):
2965 + correct typos in definitions of several wide-character macros:
2966 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
2968 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
2969 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
2972 + implement wide-acs characters for UTF-8 locales. When in UTF-8
2973 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
2975 + correct prototype in keybound manpage (noted from a Debian mailing
2979 + add several cases to the wscanw() example in testcurs.c, showing the
2981 + implement a simple vsscanf() fallback function which uses the %n
2982 conversion to help parse the input data (prompted by discussion with
2983 Albert Chin-A-Young).
2984 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
2985 shared libraries, and to use $(CFLAGS) when linking test programs
2986 (patch by Albert Chin-A-Young).
2987 + add a call to _nc_keypad() in keypad() to accommodate applications
2988 such as nvi, which use curses for output but not for input (fixes
2989 Debian #131263, cf: 20011215).
2990 + add entrypoints to resizeterm.c which provide better control over the
2991 process: is_term_resized() and resize_term(). The latter restores
2992 the original design of resizeterm() before KEY_RESIZE was added in
2993 970906. Do this to accommodate 20010922 changes to view.c, but allow
2994 for programs with their own sigwinch handler, such as lynx (reported
2995 by Russell Ruby <russ@math.orst.edu>).
2998 + fix a typo in change to mk-1st.awk, which broke the shared-library
2999 makefile rules (reported by Martin Mokrejs).
3002 + update config.guess, config.sub
3003 + finish changes needed to build dll's on cygwin.
3004 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
3007 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
3008 + correct missing sed-editing stage in manpage installs which is used
3009 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
3011 + remove -L$(libdir) from linker flags, probably not needed any more
3012 since HPUX is handled properly (reported by Niibe Yutaka
3014 + add configure check for mbstate_t, needed for wide-character
3015 configuration. On some platforms we must include <wchar.h> to
3016 define this (reported by Daniel Jacobowitz).
3017 + incorporate some of the changes needed to build dll's on cygwin.
3020 + workaround for awk did not work with mawk, adjusted shell script.
3023 + add Caps.osf1r5, as an example.
3024 + modify behavior of can_clear_with() so that if an application is
3025 running in a non-bce terminals with default colors enabled, it
3026 returns true, allowing the user to select/paste text without picking
3027 up extraneous trailing blanks (adapted from patch by Daniel
3028 Jacobowitz <dmj+@andrew.cmu.edu>).
3029 + modify generated curses.h to ifdef-out prototypes for extensions if
3030 they are disabled, and to define curses_version() as a string in that
3031 case. This is needed to make the programs such as tic build in that
3033 + modified generated headers.sh to remove a gzip'd version of the
3034 target file if it exists, in case non-gzip'd manpages are installed
3035 into a directory where gzip'd ones exist. In that case, the latter
3037 + corrected a redundant initialization of signal handlers from 20010922
3039 + clarified bug-reporting address in terminfo.src (report by John H
3040 DuBois III <spcecdt@armory.com>).
3041 > several fixes from Robert Joop:
3042 + do not use "-v" option of awk in MKkey_defs.sh because it does not
3043 work with SunOS nawk.
3044 + modify definitions for libutf8 in curses.h to avoid redefinition
3046 + quoted references to compiler in shell command in misc/Makefile, in
3047 case it uses multiple tokens.
3050 + restore special case from 20010922 changes to omit SA_RESTART when
3051 setting up SIGWINCH handler, which is needed to allow wgetch() to be
3052 interrupted by that signal.
3053 + update configure macro CF_WITH_PATHLIST, to omit some double quotes
3054 not needed with autoconf 2.52
3055 + revert configure script to autoconf 2.13 patched with
3056 autoconf-2.13-19990117.patch.gz (or later)
3058 ftp://invisible-island.net/autoconf/
3059 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
3060 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
3061 different problem configuring with Mac OS X (reported by Marc Smith
3062 <marc.a.smith@home.com>).
3065 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
3067 + move prototype for _nc_vsscanf() into curses.h.in to omit
3068 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
3069 ncurses_cfg.h file which is not installed.
3070 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
3071 to work with broken linker configuration, e.g., cygwin (report by
3072 Robert Joop <rj@rainbow.in-berlin.de>).
3073 + make napms() call _nc_timed_wait() rather than poll() or select(),
3074 to work around broken implementations of these on cygwin.
3077 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
3078 by Sven Verdoolaege's rewrite of wide-character support. This makes
3079 libncursesw incompatible again, but makes the header files almost the
3080 same as in the narrow-character configuration.
3081 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
3082 to eliminate differences between the wide/narrow versions of curses.h
3083 + correct typo in configure macro CF_FUNC_VSSCANF
3084 + correct location of call to _nc_keypad() from 20011215 changes which
3085 prevented keypad() from being disabled (reported by Lars Hecking).
3088 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
3089 better, e.g., by adding a 'w' command to create new windows which
3090 may have different keypad() settings.
3091 + corrected logic of keypad() by adding internal screen state to track
3092 whether the terminal's keypad-mode has been set. Use this in
3093 wgetch() to update the keypad-mode according to whether the
3094 associated window's keypad-mode has been set with keypad(). This
3095 corrects a related problem restoring terminal state after handling
3096 SIGTSTP (reported by Mike Castle).
3097 + regenerate configure using patch for autoconf 2.52
3098 autoconf-2.52-patch.gz
3100 ftp://invisible-island.net/autoconf/
3101 + update config.guess, config.sub from
3102 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3103 + minor changes to quoting in configure script to allow it to work
3107 + modify final checks in lib_setup.c for line and col values, making
3109 + modify acs_map[] if configure --broken-linker is specified, to make
3110 it use a function rather than an array (prompted by an incorrect
3111 implementation in cygwin package).
3112 + correct spelling of configure option --enable-colorfgbg, which
3113 happened to work if --with-develop was set (noted in cygwin package
3115 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
3116 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
3117 + add configure checks to see if ncurses' fallback vsscanf() will
3118 compile either of the special cases for FILE structs, and if not,
3119 force it to the case which simply returns an error (report by
3120 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
3121 64-bits does not allow access to FILE's fields).
3122 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
3123 the ncurses library if no better substitute for this can be found
3125 + modify the build to name dynamic libraries according to the
3126 convention used on OS X and Darwin. Rather than something like
3127 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
3128 There are a few additional minor fixes, such as setting the library
3129 version and compatibility version numbers (patch by Jason Evans
3130 <jevans@apple.com>).
3131 + use 'sh' to run mkinstalldirs, to work around problems with buggy
3132 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
3133 + correct typo in manpage description of curs_set() (Debian #121548).
3134 + replace the configure script existence-check for mkstemp() by one
3135 that checks if the function works, needed for older glibc and
3139 + modify script that generates fallbacks.c to compile a temporary
3140 copy of the terminfo source in case the host does not contain all of
3141 the entries requested for fallbacks (request by Greg Roelofs).
3142 + modify configure script to accommodate systems such as Mac OS X whose
3143 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
3144 which normally makes 'bool' consistent with C++. Include <stdbool.h>
3145 from curses.h to force consistent usage, define a new type
3146 NCURSES_BOOL and related that to the exported 'bool' as either a
3147 typedef or definition, according to whether <stdbool.h> is present
3148 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
3151 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
3154 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3155 (Benjamin C W Sittler).
3156 + add putty terminfo entry -TD
3157 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
3158 this may not otherwise be defined to make test/view.c compile.
3161 + review/correct several missing/generated items in curses.wide, sorted
3162 the lists to make subsequent diff's easier to track.
3165 + add manual pages for add_wch(), echo_wchar(), getcchar(),
3166 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
3167 + implement wecho_wchar()
3168 + modify _tracedump() to handle wide-characters by mapping them to '?'
3169 and control-characters to '.', to make the trace file readable. Also
3170 dynamically allocate the buffer used by _tracedump() for formatting
3172 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
3173 in a trace by using curly braces.
3174 + implement _nc_viscbuf(), for tracing cchar_t arrays.
3175 + correct trace-calls in setcchar() and getcchar() functions, which
3176 traced the return values but not the entry to each function.
3177 + correct usage message in test/view.c, which still mentioned -u flag.
3180 + modify configure script to allow building with termcap only, or with
3181 fallbacks only. In this case, we do not build tic and toe.
3182 + add configure --with-termpath option, to override default TERMPATH
3183 value of /etc/termcap:/usr/share/misc/termcap.
3184 + cosmetic change to tack: make menu descriptions agree with menu
3188 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
3189 to ensure that if the parameter of wscrl() is larger than the size of
3190 the scrolling region, then the scrolling region will be cleared
3191 (report by Ben Kohlen <bckohlen@yahoo.com>).
3192 + add trace/varargs.c, using this to trace parameters in lib_printw.c
3193 + implement _tracecchar_t2() and _tracecchar_t().
3194 + split-out trace/visbuf.c
3195 + correct typo in lib_printw.c changes from 20010922 (report by Mike
3199 + modify run_tic.sh to check if the build is a cross-compile. In that
3200 case, do not use the build's tic to install the terminfo database
3201 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
3202 + modify mouse click resolution so that mouseinterval(-1) will disable
3203 it, e.g., to handle touchscreens via a slow connection (request by
3204 Byron Stanoszek <gandalf@winds.org>).
3205 + correct mouseinterval() default value shown in curs_mouse.3x
3206 + remove conflicting definition of mouse_trafo() (reported by Lars
3207 Hecking, using gcc 2.95.3).
3210 + simpler fix for signal_name(), to replace the one overlooked in
3211 20010929 (reported by Larry Virden).
3214 + add -i option to view.c, to test ncurses' check for non-default
3215 signal handler for SIGINT, etc.
3216 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
3217 <bbraun@synack.net>).
3218 + modify tset to restore original I/O modes if an error is encountered.
3219 Also modify to use buffered stderr consistently rather than mixing
3221 + change signal_name() function to use if-then-else rather than case
3222 statement, since signal-values aren't really integers (reported by
3224 + add limit checks in wredrawln(), fixing a problem where lynx was
3225 repainting a pad which was much larger than the screen.
3228 + fix: PutRange() was counting the second part of a wide character as
3229 part of a run, resulting in a cursor position that was one too far
3230 (patch by Sven Verdoolaege).
3231 + modify resizeterm() to not queue a KEY_RESIZE if there was no
3232 SIGWINCH, thereby separating the two styles of SIGWINCH handling
3234 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
3235 + eliminate several static buffers in the terminfo compiler, using
3237 + modify MKkeyname.awk so that keyname() does not store its result into
3238 a static buffer that is overwritten by the next call.
3239 + reorganize the output of infocmp -E and -e options to compile cleanly
3240 with gcc -Wwrite-strings warnings.
3241 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
3244 + add label to test/view.c, showing the name of the last key or signal
3245 that made the screen repaint, to make it clearer when a sigwinch
3247 + use ExitProgram() consistently in the test-programs to make it
3248 simpler to test leaks with dmalloc, etc.
3249 + move hashtab static data out of hashmap.c into SCREEN struct.
3250 + make NO_LEAK code compile with revised WINDOWLIST structs.
3253 + modify tgetent() to check if exit_attribute_mode resets the alternate
3254 character set, and if so, attempt to adjust the copy of the termcap
3255 "me" string which it will return to eliminate that part. In
3256 particular, 'screen' would lose track of line-drawing characters
3257 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
3261 + specify DOCTYPE in html manpages.
3262 + add missing macros for several "generated" functions: attr_get(),
3263 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
3265 + modify view.c to agree with non-experimental status of ncurses'
3267 + change the sense of the -r option, making it default to ncurses'
3269 + add a note explaining what functions are unsafe in a signal
3271 + add a -c option, to set color display, for testing.
3272 + unset $data variable in MKterminfo.sh script, to address potential
3273 infinite loop if shell malfunction (report by Samuel Mikes
3274 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
3275 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
3276 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
3277 + correct logic for COLORFGBG environment variable: if rxvt is compiled
3278 with xpm support, the variable has three fields, making it slightly
3279 incompatible with itself. In either case, the background color is
3283 + move calls to def_shell_mode() and def_prog_mode() before loop with
3284 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
3285 the tty modes before saving them (patch by John David Anglin
3286 <dave@hiauly1.hia.nrc.ca>).
3287 + duplicate logic used to initialize trace in newterm(), in initscr()
3288 to avoid confusing trace of initscr().
3289 + simplify allocation of WINDOW and WINDOWLIST structs by making the
3290 first a part of the second rather than storing a pointer. This saves
3291 a call to malloc for each window (discussion with Philippe Blain).
3292 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
3294 + modify c++/Makefile.in to accommodate archive programs that are
3295 different for C++ than for C, and add cases for vendor's C++
3296 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
3297 + correct manpage description of criteria for deciding if the terminal
3298 supports xterm mouse controls.
3299 + add several configure script options to aid with cross-compiling:
3300 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
3301 --with-build-libs (request by Greg Roelofs).
3302 + change criteria for deciding if configure is cross-compiling from
3303 host/build mismatch to host/target mismatch (request by Greg Roelofs
3304 <greg.roelofs@philips.com>).
3305 + correct logic for infocmp -e and -E options which writes the data for
3306 the ext_Names[] array. This is needed if one constructs a fallback
3307 table for a terminfo entry which uses extended termcap names, e.g.,
3308 AX in a color xterm.
3309 + fix undefined NCURSES_PATHSEP when configure --disable-database
3313 + fix for VALID_BOOLEAN() macro when char is not signed.
3314 + modify 'clean' rule for C++ binding to work with Sun compiler, which
3315 caches additional information in a subdirectory of the objects.
3316 + added llib-ncursesw.
3319 + add Caps.keys example for experimental extended function keys
3320 (adapted from a patch by Ilya Zakharevich).
3321 + correct parameter types of vidputs() and vidattr() to agree with
3322 header files (report by William P Setzer).
3323 + fix typos in several man-pages (patch by William P Setzer).
3324 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
3325 macro, which made ncurses C++ binding fail to build with other
3326 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
3327 + workaround for bug in HPUX 11.x C compiler: add a blank after
3328 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
3329 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
3330 Albert Chin-A-Young).
3331 + correct definition of key_end in Caps.aix4, which left KEY_END
3332 undefined (report by Albert Chin-A-Young).
3333 + remove a QNX-specific fallback prototype for vsscanf(), which is
3334 obsolete with QNX RTP.
3335 + review/fix some of the T() and TR() macro calls, having noticed that
3336 there was no data for delwin() in a trace of dialog because there was
3337 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
3338 now selected under TRACE_IEVENT rather than TRACE_CALLS.
3341 + add a _nc_access() check before opening files listed via $TERMPATH.
3342 + using modified man2html, regenerate some of the html manpages to fix
3343 broken HREF's where the link was hyphenated.
3346 + add some limit/pointer checks to -S option of tputs.
3347 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3348 (Benjamin C W Sittler).
3349 + add a note in curs_termcap.3x regarding a defect in the XSI
3350 description of tgetent (based on a discussion with Urs Jansen
3351 regarding the HPUX 11.x implementation, whose termcap interface is
3352 not compatible with existing termcap programs).
3353 + modify manhtml rule in dist.mk to preserve copyright notice on the
3354 generated files, as well as to address HTML style issues reported by
3355 tidy and weblint. Regenerated/updated corresponding html files.
3356 + comment out use of Protected_Character and related rarely used
3357 attributes in ncurses Ada95 test/demo to compile with wide-character
3361 + implement a simple example in C++ demo to test scanw().
3362 + corrected stdio function used to implement scanw() in cursesw.cc
3363 + correct definition of RemAttr() macro from 20010602 changes, which
3364 caused C++ SillyDemo to not show line-drawing characters.
3365 + modify C++ binding, adding getKey() which can be overridden by user
3366 to substitute functions other than getch() for keyboard processing
3367 of forms and menus (patch by Juergen Pfeifer).
3370 + fix some of the trace calls which needed modification to work with
3371 new wide-character structures.
3372 + modify magic-cookie code in tty_update.c to compile with new
3373 wide-character structures (report by <George.R.Goffe@seagate.com>).
3374 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
3375 compiling for wide-character configuration.
3376 + make addwnstr() handle non-spacing characters (patch by Sven
3380 + add configure check to define _GNU_SOURCE, needed to prop up glibc
3382 + split-out include/curses.wide to solve spurious redefinitions caused
3383 by defining _GNU_SOURCE, and move includes for <signal.h> before
3384 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
3386 + extended ospeed change to NetBSD and OpenBSD -TD
3387 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
3388 work properly for termcap applications (patch by Andrey A Chernov).
3391 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
3392 <eugene@anime.net>, Sven Verdoolaege).
3393 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
3396 + change overlooked several CharOf/UChar instances.
3397 > several patches from Sven Verdoolaege:
3398 + correct a typo in wunctrl(), which made it appear that botwc() was
3399 needed (no such function: use btowc()).
3400 + reimplement wide-character demo in test/view.c, using new functions.
3401 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
3402 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
3405 + add parentheses in macros for malloc in test.priv.h, fixes an
3406 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
3407 + add Caps.uwin, as an example.
3408 + change the way curses.h is generated, making the list of function
3409 key definitions extracted from the Caps file.
3410 + add #undef's before possible redefinition of ERR and OK in curses.h
3411 + modify logic in tic, toe, tput and tset which checks for basename of
3412 argv[0] to work properly on systems such as OS/2 which have
3413 case-independent filenames and/or program suffixes, e.g., ".ext".
3416 + add a configure check, if --enable-widec is specified, for putwc(),
3417 which may be in libutf8.
3418 + remove some unnecessary text from curs_extend.3x and
3419 default_colors.3x which caused man-db to make incorrect symbolic
3420 links (Debian bug report #99550).
3421 + add configure check if cast for _IO_va_list is needed to compile
3422 C++ vscan code (Debian bug report #97945).
3423 > several patches from Sven Verdoolaege:
3424 + correct code that used non-standard auto-initialization of a struct,
3425 which gcc allows (report by Larry Virden).
3426 + use putwc() in PUTC() macro.
3427 + make addstr() work for the special case where the codeset is
3428 non-stateful (eg. UTF-8), as well as stateful codesets.
3431 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
3432 from 20010602 (report by Mike Castle).
3435 + modify mvcur() to avoid emitting newline characters when nonl() mode
3436 is set. Normally this is not a problem since the actual terminal
3437 mode is set to suppress nl/crlf translations, however it is useful to
3438 allow the caller to manipulate the terminal mode to avoid staircasing
3439 effects after spawning a process which writes messages (for lynx
3441 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
3442 + remove redundant type-conversion in fifo_push()
3443 + correct definition of addwstr() macro in curses.h.in
3444 + remove _nc_utf8_outch()
3445 + rename most existing uses of CharOf() to UChar(), e.g., where it is
3446 used to prevent sign-extension in ctype macros.
3447 + change some chtype's to attr_t's where the corresponding variables
3448 are used to manipulate attributes.
3449 + UpdateAttr() was applied to both attributes (attr_t) and characters
3450 (chtype). Modify macro and calls to it to make these distinct.
3451 + add CharEq() macro, use in places where wide-character configuration
3452 implementation uses a struct for cchar_t.
3453 + moved struct ldat into curses.priv.h, to hide implementation details.
3454 + change CharOf() macro to use it for masking A_CHARTEXT data from
3456 + add L() macro to curses.priv.h, for long-character literals.
3457 + replace several assignments from struct ldat entries to chtype or
3458 char values with combinations of CharOf() and AttrOf() macros.
3459 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
3460 we are using chtype data.
3461 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
3463 + add/use SetChar() macro, to change a cchar_t based on a character and
3465 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
3466 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
3467 where a pointer would be more useful.
3468 + add stubs for tracing cchar_t values.
3469 + add/use macro ISBLANK()
3470 + add/use constructors for cchar_t's: NewChar(), NewChar2().
3471 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
3472 passing cchar_t's by address.
3473 + add/use PUTC_DATA, PUTC() macros.
3474 + for wide-character configuration, move the window background data to
3475 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
3476 is defined or not, the offsets in the struct will not change.
3477 + modify addch() to work with wide-characters.
3478 + mark several wide-character functions as generated in curses.h.in
3479 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
3480 wborder_set() and waddnwstr().
3483 + add experimental --with-caps=XXX option to customize to similar
3484 terminfo database formats such as AIX 4.x
3485 + add Caps.aix4 as an example.
3486 + modify Caps to add columns for the the KEY_xxx symbols.
3487 + modify configure --with-widec to suppress overwrite of libcurses.so
3489 + add checks to toe.c to avoid being confused by files and directories
3490 where we would expect the reverse, e.g., source-files in the
3491 top-level terminfo levels as is the case for AIX.
3494 + add top-level 'depend' rule for the C sources, assuming that the
3495 makedepend program is available. As a side-effect, this makes
3496 the generated sources, as in "make sources" (prompted by a report
3497 by Mike Castle that "make -j" fails because the resulting parallel
3498 processes race to generate ncurses/names.c).
3499 + modify configure script so that --disable-overwrite option's action
3500 to add a symbolic link for libcurses applies to the static library as
3501 well as the shared library when both are configured (report by Felix
3502 Natter <f.natter@ndh.net>).
3503 + add ELKS terminfo entries (Federico Bianchi
3504 <bianchi@www.arte.unipi.it>)
3505 + add u6 (CSR) to Eterm (Michael Jennings).
3508 + modify test/ncurses.c to work with xterm-256color, which has fewer
3509 color pairs than colors*colors (report by David Ellement
3510 <ellement@sdd.hp.com>).
3513 + corrected screen.xterm-xfree86 entry.
3514 + update comment in Caps regarding IBM (AIX) function-key definitions.
3517 + modify c++/Makefile.in to link with libncurses++w.a when configured
3518 for wide-characters (patch by Sven Verdoolaege).
3519 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
3520 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
3521 + update config.guess, config.sub from autoconf 2.49e (alpha).
3524 + add secondary check in tic.c, similar_sgr() to see if the reason
3525 for mismatch was that the individual capabilities used a time-delay
3526 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
3527 and remove time-delay from Apple_Terminal entries.
3528 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
3529 <bsittler@iname.com>).
3530 + correct definitions of shifted editing keys for xterm-xfree86 -TD
3531 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
3532 + prevent relative_move() from doing an overwrite if it detects 8-bit
3533 characters when configured for UTF-8 (reported by Sven Verdoolaege
3534 <skimo@kotnet.org>).
3537 + add configure checks for strstream.h vscan function, and similar
3538 stdio-based function which may be used in C++ binding for gcc 3.0
3539 (reports by George Goffe, Lars Hecking, Mike Castle).
3540 + rewrite parts of configure.in which used changequote(). That feature
3541 is broken in the latest autoconf alphas (e.g., 2.49d).
3542 + add a missing pathname for ncurses_dll.h, needed when building in
3543 a directory outside the source tree (patch by Sven Verdoolaege
3544 <skimo@kotnet.org>).
3545 > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
3546 + no ships were ever placed in the last row or in the last column.
3547 This made the game very easy to win, because you never had to waste
3548 any shots there, but the computer did.
3549 + the squares around a sunken ship that belonged to the player were not
3550 displayed as already hit by the computer, like it does for the
3554 + add some examples of customizing screen's terminfo:
3555 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
3556 + modify screen's terminfo entry to match the khome/kend in screen
3557 3.09.08 (Debian bug report #92215).
3558 + correct a memory leak in forms library (report by Stefan Vogtner
3559 <stefan@vogtner.de>) (patch by Juergen Pfeifer).
3562 + change symbols used to guard against repeated includes to begin
3563 consistently with "NCURSES_" rather than a leading underscore. There
3564 are other symbols defined in the header files which begin with a
3565 leading underscore, but they are part of the legacy interface.
3566 + reorder includes in c++ binding so that rcs identifiers can be
3568 + add .cc.ii rule to c++ makefile, to get preprocessor output for
3570 + correct configure script handling of @keyword@ substitutions when the
3571 --with-manpage-renames option is given (cf: 20000715, fixes Debian
3573 + report stack underflow/overflow in tparm() when tic -cv option is
3575 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
3576 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
3579 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
3580 2.95.2, and correcting some conflicting color pair initializations.
3581 + add missing copyright notice for cursesw.h
3582 + review, make minor fixes for use of '::' for referring to C-language
3583 interface from C++ binding.
3584 + modify configure check for g++ library slightly to accommodate
3585 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
3586 <rho@mipos2.intel.com>).
3587 + add configure check for c++ <sstream> header, replace hardcoded
3589 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
3590 vscan from strstreambuf to follow standard, use wrapper for C vscanf
3591 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
3592 <taggart@carmen.fc.hp.com>, fixes Debian .
3595 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
3596 to make quieter loading of /etc/termcap (patch by Todd C Miller).
3597 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
3598 (patch by Todd C Miller).
3601 + compiler-warning fixes (reported by Nelson Beebe).
3604 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
3608 + broaden patterns used to match OS/2 EMX in configure script to cover
3609 variant used in newer config.guess/config.sub
3610 + remove changequote() calls from configure script, since this feature
3611 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
3612 + remove macro callPutChar() from tty_update.c, since this is no longer
3613 needed (reported by Philippe Blain).
3614 + add a null-pointer check in tic.c to handle the case when the input
3615 file is really empty. Modify the next_char() function in comp_scan.c
3616 to allow arbitrarily long lines, and incidentally supply a newline to
3617 files that do not end in a newline. These changes improve tic's
3618 recovery from attempts to read binary files, e.g., its output from
3619 the terminfo database (reported by Bernhard Rosenkraenzer).
3622 + revert change to c++/demo.cc from 20001209, which changed definition
3623 of main() apparently to accommodate cygwin linker, but broke the demo
3625 + workaround for broken egcs 2.91.66 which calls member functions
3626 (i.e., lines() and colors() of NCursesWindow before calling its
3627 constructor. Add calls to initialize() in a few constructors which
3628 did not do this already.
3629 + use the GNAT preprocessor to make the necessary switch between TRACE
3630 and NO_TRACE configurations (patch by Juergen Pfeifer).
3631 > patches by Bernhard Rosenkraenzer:
3632 + modify kterm terminfo entry to use SCS sequence to support alternate
3633 character set (it does not work with SI/SO).
3634 + --with-ospeed=something didn't work. configure.in checked for a
3635 $enableval where it should check for $withval. Also,
3636 ncurses/llib-lncurses still had a hardcoded short.
3639 + correction to my merge of Tom Riddle's patch that broke tic in some
3640 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
3643 + modify view.c to test halfdelay(). Like other tests, this recognizes
3644 the 's' and space commands for stopping/starting polled input, shows
3645 a freerunning clock in the header. If given a parameter to 's', that
3646 makes view.c use halfdelay() with that parameter rather than
3648 + fix to allow compile with the experimental configure option
3650 + modify postprocess_termcap() to avoid overwriting key_backspace,
3651 key_left, key_down when processing a non-base entry (report/patch by
3653 + modify _nc_wrap_entry(), adding option to reallocate the string
3654 table, needed in _nc_merge_entry() when merging termcap entries.
3655 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
3656 + modify a few configure script macros to keep $CFLAGS used only for
3657 compiler options, preprocessor options in $CPPFLAGS.
3660 + correct marker positions in lrtest.c after receiving a sigwinch.
3661 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
3662 + fixes to tclock for resizing behavior, redundant computation (report
3663 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
3666 + improved scoansi terminfo entry -TD
3667 + modify configure script and makefile in Ada95/src to compile a stub
3668 for the trace functions when ncurses does not provide those.
3671 + add ncurses_dll.h and related definitions to support generating DLL's
3672 with cygwin (adapted from a patch by Charles Wilson
3673 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
3674 work with 'indent') -TD
3677 + correct prototypes for some functions in curs_termcap.3x, matching
3678 termcap.h, which matches X/Open.
3679 > patch by Juergen Pfeifer:
3680 + a revised version of the Ada enhancements sent in by "H.
3681 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
3683 - small fixes to the existing ncurses binding
3684 - addition of some more low-level functions to the binding, including
3685 termcap and terminfo functions
3686 - An Ada implementation of the "ncurses" test application originally
3690 + modify logic in lib_setup.c to allow either lines or columns value
3691 from terminfo to be used if the screen size cannot be determined
3692 dynamically rather than requiring both (patch by Ehud Karni
3693 <ehud@unix.simonwiesel.co.il>).
3694 + add check in lib_tgoto.c's is_termcap() function to reject null or
3695 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
3697 + add definition from configure script that denotes the path-separator,
3698 which is normally a colon. The path-separator is a semicolon on
3699 OS/2 EMX and similar systems which may use a colon within pathnames.
3700 + alter logic to set default for --disable-overwrite option to set it
3701 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
3702 accommodating the most common cause of problems: gcc's nonstandard
3703 search rules. Other locations such as /usr/local/ncurses will
3704 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
3707 + modify default for --disable-overwrite configure option to disable
3708 if the --prefix or $prefix value is not /usr.
3709 + add cygwin to systems for which ncurses is installed by default into
3710 /usr rather than /usr/local.
3713 + minor optimization in comp_error.c and lib_termname.c, using
3714 strncat() to replace strncpy() (patch by Solar Designer).
3715 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
3716 geteuid() to use_terminfo_vars() (patch by Solar Designer
3718 + improved cygwin terminfo entry, based on patch by
3719 <ernie_boyd@yahoo.com>.
3720 + modify _nc_write_entry() to allow for the possibility that linking
3721 aliases on a filesystem that ignores case would not succeed because
3722 the source and destination differ only by case, e.g., NCR260VT300WPP0
3723 on cygwin (report by Neil Zanella).
3724 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
3725 Rosenkraenzer <bero@redhat.de>).
3728 + add configure option --with-ospeed to assist packagers in transition
3729 to 5.3 change to ospeed type.
3730 + add/use CharOf() macro to suppress sign-extension of char type on
3731 platforms where this is a problem in ctype macros, e.g., Solaris.
3732 + change trace output to binary format.
3733 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
3734 macro, for OS/2 EMX configuration.
3735 + rearrange a few configure macros, moving preprocessor options to
3736 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
3737 use $CPPFLAGS in both the compile and preprocessor checks).
3738 + add a check in relative_move() to guard against buffer overflow in
3739 the overwrite logic.
3742 + add message to configure script showing g++ version.
3743 + resync config.guess, config.sub
3744 + modify lib_delwin.c, making it return ERR if the window did not exist
3745 (suggested by Neil Zanella).
3746 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
3747 to test/review ncurses library. (Would use lclint, but it doesn't
3749 + reorganized knight.c to avoid forward references. Correct screen
3750 updates when backtracking, especially to the first cell. Add F/B/a
3753 20001021 5.2 release for upload to ftp.gnu.org
3754 + update generated html files from manpages.
3755 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
3757 + fix an uninitialized pointer in read_termcap.c (report by Todd C
3758 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
3759 + correct help-message and array limit in knight.c (patch by Brian
3760 Raiter <breadbox@muppetlabs.com>).
3761 > patch by Juergen Pfeifer:
3762 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
3763 for some identifiers defined in the standard package.
3764 + cosmetic change to forms/fty_enum.c
3767 + correct an off-by-one position in test/railroad.c which could cause
3768 wrapping at the right margin.
3769 + test/repair some issues with libtool configuration. Make
3770 --disable-echo force libtool --silent. (Libtool does not work for
3771 OS/2 EMX, works partly for SCO - libtool is still very specific to
3773 + change default of --with-manpage-tbl to "no", since for most of the
3774 platforms which do have tbl installed, the system "man" program
3775 understands how to run tbl automatically.
3776 + minor improvement to force_bar() in comp_parse.c (Bernhard
3777 Rosenkraenzer <bero@redhat.de>).
3778 + modify lib_tparm.c to use get_space() before writing terminating
3779 null character, both for consistency as well as to ensure that if
3780 save_char() was called immediately before, that the allocated memory
3781 is enough (patch by Sergei Ivanov).
3782 + add note about termcap ML capability which is duplicated between two
3783 different capabilities: smgl and smglr (reported by Sergei Ivanov
3784 <svivanov@pdmi.ras.ru>).
3785 + correct parameter counts in include/Caps for dclk as well as some
3786 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
3787 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
3788 + add support for building with libtool (apparently version 1.3.5,
3789 since old versions do not handle -L../lib), using new configure
3790 option --with-libtool.
3791 + add configure option --with-manpage-tbl, which causes the manpages to
3792 be preprocessed by tbl(1) prior to installation,
3793 + add configure option --without-curses-h, which causes the
3794 installation process to install curses.h as ncurses.h and make
3795 appropriate changes to headers and manpages.
3798 + correct order of options/parameters in run_tic.in invocation of tic,
3799 which did not work with standard getopt() (reported by Ethan
3800 Butterfield <primus@veris.org>).
3801 + correct logic for 'reverse' variable in lib_vidattr.c, which was
3802 setting it true without checking if newmode had A_REVERSE set, e.g.,
3803 using $TERM=ansi on OS/2 EMX (see 20000917).
3804 > patch by Todd C Miller:
3805 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
3806 Previously, _nc_cgetset() would still get called on cp so the
3807 simplest thing is to set cp to NULL if !use_terminfo_vars().
3808 + added checks for an empty $HOME environment variable.
3809 > patches for OS/2 EMX (Ilya Zakharevich):
3810 + modify convert_configure.pl to support INSTALL. Change compiler
3811 options in that script to use multithreading, needed for the mouse.
3812 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
3813 to set up a 3-button mouse.
3814 + improve code for OS/2 mouse support, using _nc_timed_wait() to
3815 replace select() call.
3818 + change type of ospeed variable back to short to match its use in
3819 legacy applications (reported by Andrey A Chernov).
3820 + add case to configure script for --enable-rpath on IRIX (patch by
3821 Albert Chin-A-Young).
3822 + minor fix to position_check() function, to ensure it gets the whole
3823 cursor report before decoding.
3824 + add configure option --disable-assumed-color, to allow pre-5.1
3825 convention of default colors used for color-pair 0 to be configured
3826 (see assume_default_colors()).
3827 + rename configure option --enable-hashmap --disable-hashmap, and
3828 reorder the configure options, splitting the experimental and
3830 + add configure option --disable-root-environ, which tells ncurses to
3831 disregard $TERMINFO and similar environment variables if the current
3832 user is root, or running setuid/setgid (based on discussion with
3834 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
3835 $TERMINFO variable for installs.
3836 + add table entry for plab_norm to tput, so it passes in strings
3837 for that capability.
3838 + modify parse_format() in lib_tparm.c to ignore precision if it is
3839 longer than 10000 (report by Jouko Pynnonen).
3840 + rewrote limit checks in lib_mvcur.c using new functions
3841 _nc_safe_strcat(), etc. Made other related changes to check lengths
3842 used for strcat/strcpy (report by Jouko Pynnonen
3843 <jouko@solutions.fi>).
3846 + modify several descriptions, including those for setaf, setab, in
3847 include/Caps to indicate that the entries are parameterized. This
3848 information is used to tell which strings are translated when
3849 converting to termcap. Fixes a problem where the generated termcap
3850 would contain a spurious "%p1" for the terminfo "%p1%d".
3851 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
3852 absolute pathname for the build tree's lib directory (prompted by
3853 discussion with Albert Chin-A-Young).
3854 + modify "make install.man" and "make uninstall.man" to include tack's
3856 + various fixes for install scripts used to support configure --srcdir
3857 and --with-install-prefix (reported by Matthew Clarke
3858 <Matthew_Clarke@mindlink.bc.ca>).
3859 + make configure script checks on variables $GCC and $GXX consistently
3860 compare against 'yes' rather than test if they are nonnull, since
3861 either may be set to the corresponding name of the C or C++ compiler
3862 (report/patch by Albert Chin-A-Young).
3865 + modify rs2 capability in xterm-r6 and similar where cursor
3866 save/restore bracketed the sequence for resetting video attributes.
3867 The cursor restore would undo that (report by John Hawkinson
3868 <jhawk@MIT.EDU> (see NetBSD misc/11052)).
3869 + using parameter check added to tic, corrected 27 typos in
3871 + modify tic to verify that its inputs are really files, in case
3872 someone tries to read a directory (or /dev/zero).
3873 + add a check for empty buffers returned by fgets() in comp_scan.c
3874 next_char() function, in case tic is run on a non-text file (fixes
3875 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
3876 + add to railroad.c some code exercising tgoto(), providing an
3877 alternate form of display if the terminal supports cursor addressing.
3878 + split-out tgoto() again, this time into new file lib_tgoto.c, and
3879 implement a conventional BSD-style tgoto() which is used if the
3880 capability string does not contain terminfo-style padding or
3881 parameters (requested by Andrey A Chernov).
3882 + add check to tic which reports capabilities that do not reference
3883 the expected number of parameters.
3884 + add error checking to infocmp's -v and -m options to ensure that
3885 the option value is indeed a number.
3886 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
3887 handler is setup. Separated the old/new sigaction data for SIGTSTP
3888 from the other signals.
3891 + add S0, E0 extensions to screen's terminfo entry, which is another
3892 way to solve the misconfiguration issue -TD
3893 + completed special case for tgoto from 20000916
3896 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
3897 + add Matrix Orbital terminfo entries (from Eric Z Ayers
3899 + add special case to lib_tparm.c to allow 'screen' program to use a
3900 termcap-style parameter "%." to tgoto() for switching character sets.
3901 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
3903 + updated notes in README.emx regarding autoconf patches.
3904 + replace a lookup table in lib_vidattr.c used to decode no_color_video
3905 with a logic expression (suggested by Philippe Blain).
3906 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
3907 character set attribute from the displayed text.
3908 + correct inequality in parameter analysis of rewritten lib_tparm.c
3909 which had the effect of ignoring p9 in set_attributes (sgr), breaking
3910 alternate character set (reported by Piotr Majka <charvel@link.pl>).
3911 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
3912 with Sun WorkShop compilers since these tokens were empty (cf:
3913 20000902, reported by Albert Chin-A-Young).
3916 + correct an uninitialized parameter to open_tempfile() in tic.c which
3917 made "tic -I" give an ambiguous error message about tmpnam.
3918 + add special case in lib_vidattr.c to reset underline and standout for
3919 devices that have no sgr0 defined (patch by Don Lewis
3920 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
3921 mode, since there is no exit-bold-mode capability.
3922 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
3923 + modify tparm to disallow arithmetic on strings, analyze the varargs
3924 list to read strings as strings and numbers as numbers.
3925 + modify tparm's internal function spop() to treat a null pointer as
3927 + modify tput program so it can be renamed or invoked via a link as
3928 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
3930 + add private entrypoint _nc_basename(), use to consolidate related
3931 code in progs, as well as accommodating OS/2 EMX pathnames.
3932 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
3933 removal (except via AC_SUBST) from configure.in, making
3934 --enable-const work again (reported by Juergen Pfeifer).
3935 + regen'd configure to pick up "hpux*" change from 20000902.
3938 + modify tset.c to check for transformed "reset" program name, if any.
3939 + add a check for null pointer in Make_Enum_Type() (reported by Steven
3940 W Orr <steveo@world.std.com>).
3941 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
3942 using strtok(), because it is non-reentrant (reported by Andrey A
3943 Chernov <ache@nagual.pp.ru>).
3944 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
3945 This differed from the "hpux*" case by using reversed symbolic
3946 links, which made the 5.1 version not match the configuration of
3947 5.0 shared libraries (reported by Albert Chin-A-Young).
3948 + correct a dependency in Ada95/src/Makefile.in which prevented
3949 building with configure --srcdir (patch by H Nanosecond
3950 <aldomel@ix.netcom.com>).
3951 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
3952 GCC_SCANF was not previously defined (reported by Pavel Roskin
3954 + add MKncurses_def.sh to generate fallback definitions for
3955 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
3956 code to consistently use "#if" rather than "#ifdef".
3959 + add QNX qansi entries to terminfo -TD
3960 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
3961 + add configure option --with-database to allow specifying a different
3962 terminfo source-file to install. On OS/2 EMX, this defaults to
3964 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
3965 setting .exe extension on OS/2 EMX.
3966 + add .exe extension in Ada95/gen/Makefile.in,
3967 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
3968 <jmcoopr@webmail.bmi.net>).
3969 + add configure check for filesystems (such as OS/2 EMX) which do not
3970 distinguish between upper/lowercase filenames, use this to fix tags
3972 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
3973 only sets the revents members of that array when there is activity
3974 corresponding to the related file (report by Glenn Cooper
3975 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
3976 + change configure script to use AC_CANONICAL_SYSTEM rather than
3977 AC_CANONICAL_HOST, which means that configure --target will set
3978 a default program-prefix.
3979 + add note on cross-compiling to INSTALL (which does not rely on the
3980 AC_CANONICAL_* macros).
3983 + add cases for EMX OS/2 to config.guess, config.sub
3984 + new version of config.guess, config.sub from lynx 2.8.4dev.7
3985 + add definitions via transform.h to allow tic and tput to check for
3986 the transformed aliases rather than the original infotocap, etc.
3987 + simplify transform-expressions in progs/Makefile.in, make the
3988 uninstall rule work for transformed program names.
3989 + change symbol used by --install-prefix configure option from
3990 INSTALL_PREFIX to DESTDIR (the latter has become common usage
3991 although the name is misleading).
3992 + modify programs to use curses_version() string to report the version
3993 of ncurses with which they are compiled rather than the
3994 NCURSES_VERSION string. The function returns the patch level in
3995 addition to the major and minor version numbers.
3998 + modify CF_MAN_PAGES configure macro to make transformed program names
3999 a parameter to that macro rather than embedding them in the macro.
4000 + newer config.guess, config.sub (reference version used in lynx
4002 + add configure option --with-default-terminfo-dir=DIR to allow
4003 specifying the default terminfo database directory (request by Albert
4005 + minor updates for terminfo.src from FreeBSD termcap change-history.
4006 + correct notes in README and INSTALL regarding documentation files
4007 that were moved from misc directory to doc (report by Rich Kulawiec
4009 + change most remaining unquoted parameters of 'test' in configure
4010 script to use quotes, for instance fixing a problem in the
4011 --disable-database option (reported by Christian Mondrup
4012 <scancm@biobase.dk>).
4013 + minor adjustments to work around some of the incompatibilities/bugs
4014 in autoconf 2.29a alpha.
4015 + add -I/usr/local/include when --with-ncurses option is used in
4016 test/configure script.
4017 + correct logic in adjust_cancels(), which did not check both
4018 alternatives when reclassifying an extended name between boolean,
4019 number and string, causing an infinite loop in tic.
4022 + correct a missing backslash in curses.priv.h
4025 + change handling of non_dest_scroll_region in tty_update.c to clear
4026 text after it is shifted in rather than before shifting out. Also
4027 correct row computation (reported by Ruediger Kuhlmann
4028 <uck4@rz.uni-karlsruhe.de>).
4029 + add/use new trace function to display chtype values from winch() and
4031 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
4032 trace attribute changes under TRACE_CALLS to use this.
4033 + modify MKlib_gen.sh so that functions returning chtype will call
4035 + add returnChar() trace, for functions returning chtype.
4036 + change indent.pro to line up parenthesis.
4039 + fix a heap problem with the c++ binding (report by
4040 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
4041 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
4042 + modify the check for big-core to force a couple of memory accesses,
4043 which may work as needed for older/less-capable machines (if not,
4044 there's still the explicit configure option).
4045 > fixes based on diff's for Amiga and BeOS found at
4046 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
4047 + alter definition of NCURSES_CONST to make it non-empty.
4048 + add amiga-vnc terminfo entry.
4049 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
4050 an (unspecified) symbol conflict.
4051 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
4052 simplify working around implementations that define random
4053 combinations of the related macros to zero.
4054 + modify configure test for tcgetattr() to allow for old
4055 implementations, e.g., on BeOS, which only defined it as a macro.
4056 > patches by Bruno Haible:
4057 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
4058 locale, ignore those which are set to an empty value, as per SUSV2.
4059 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
4060 + modify _nc_utf8_outch() to avoid sign-extension when checking for
4064 + correct manlinks.sed script to avoid using ERE "\+", which is not
4065 understood by older versions of sed (patch by Albert Chin-A-Young).
4066 + implement configure script options that transform installed program
4067 names, e.g., --program-prefix, including the manpage names and cross
4068 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
4069 + correct several mismatches between manpage filename and ".TH"
4070 directives, renaming dft_fgbg.3x to default_colors.3x and
4071 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
4072 + correct missing includes for <string.h> in several places, including
4073 the C++ binding. This is not noted by gcc unless we use the
4074 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
4075 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
4076 interface if neither termio or termios is available. Tested this
4077 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
4080 20000708 5.1 release for upload to ftp.gnu.org
4081 + document configure options in INSTALL.
4082 + add man-page for ncurses trace functions.
4083 + correct return value shown in curs_touch.3x for is_linetouched() and
4084 is_wintouched(), in curs_initscr.3x for isendwin(), and in
4085 curs_termattr.3x for has_ic() and has_il().
4086 + add prototypes for touchline() and touchwin(), adding them to the
4087 list of generated functions.
4088 + modify fifo_push() to put ERR into the fifo just like other values to
4089 return from wgetch(). It was returning without doing that, making
4090 end-of-file condition incorrectly return a 0 (reported by Todd C
4092 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
4093 are needed for SCO OpenServer.
4094 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
4095 dynamic loaders on SCO and IRIX64.
4096 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
4098 + correct assignment in assume_default_colors() which tells ncurses
4099 whether to use default colors, or the assumed ones (reported by Gary
4100 Funck <gary@Intrepid.Com>).
4101 + review/correct logic in mk-1st.awk for making symbolic links for
4102 shared libraries, in particular for FreeBSD, etc.
4103 + regenerate misc/*.def files for OS/2 EMX dll's.
4104 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
4105 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
4106 Wemm) (err in 20000610).
4107 + minor updates to release notes, as well as adding/updating URLs for
4108 examples cited in announce.html
4109 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
4110 + correct placement of ifdef for NCURSES_XNAMES in function
4111 _nc_free_termtype(), fixes a memory leak.
4112 + add a call to _nc_synchook() to the end of function whline() like
4113 that in wvline() (difference was in 1.9.4).
4114 + make ClearScreen() a little faster by moving two instances of
4115 UpdateAttr() out of for-loops.
4116 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
4119 20000701 pre-release
4120 + change minor version to 1, i.e., ncurses 5.1
4121 + add experimental configure option --enable-colorfgbg to check for
4122 $COLORTERM variable as set by rxvt/aterm/Eterm.
4123 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
4124 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
4125 several manpages so manlinks.sed can find aliases for creating
4127 + add explanation to run_tic.sh regarding extended terminal
4129 + change message format for edit_cfg.sh, since some people interpret
4131 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
4132 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
4133 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
4134 support when poll() is used rather than select() (prompted by
4135 discussion with David Allen <DAllen24@aol.com>).
4137 20000624 pre-release
4138 + modify TransformLine() to check for cells with different color pairs
4139 that happen to render the same display colors.
4140 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
4141 + improve cost computation in PutRange() by accounting for the use
4142 of parm_right_cursor in mvcur().
4143 + correct cost computation in EmitRange(), which was not using the
4144 normalized value for cursor_address.
4145 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
4148 + update config.guess, config.sub (reference version used in PCRE 3.2).
4149 + resync changes to gnathtml against version 1.22, regenerated html
4150 files under doc/html/ada using this (1.22.1.1).
4151 + regenerated html files under doc/html/man after correcting top and
4152 bottom margin options for man2html in dist.mk
4153 + minor fixes to test programs ncurses 'i' and testcurs program to make
4154 the subwindow's background color cover the subwindow.
4155 + modify configure script so AC_MSG_ERROR is temporarily defined to a
4156 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
4157 without requiring user to add --without-cxx option (adapted from
4158 comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
4159 + modify headers.sh to avoid creating temporary files in the build
4160 directory when installing headers (reported by Sergei Pokrovsky
4164 + regenerated the html files under doc/html/ada/files and
4165 doc/html/ada/funcs with a slightly-improved gnathtml.
4166 + add kmous capability to linux terminfo entry to allow it to use
4167 xterm-style events provided by gpm patch by Joerg Schoen.
4168 + make the configure macro CF_SHARED_OPTS a little smarter by testing
4169 if -fPIC is supported by gcc rather than -fpic. The former option
4170 allows larger symbol tables.
4171 + update config.guess and config.sub (patches by
4172 Kevin Buettner <kev@primenet.com> (for elf64_ia64),
4173 Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
4174 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
4178 + modify echo() behavior of getch() to match Solaris curses for
4179 carriage return and backspace (reported by Neil Zanella).
4180 + change _nc_flush() to a function.
4181 + modify delscreen() to check if the output stream has been closed, and
4182 if so, free the buffer allocated for setbuf (this provides an
4183 ncurses-specific way to avoid a memory leak when repeatedly calling
4184 newterm reported by Chipp C <at_1@zdnetonebox.com>).
4185 + correct typo in curs_getch.3x manpage regarding noecho (reported by
4186 David Malone <dwmalone@maths.tcd.ie>).
4187 + add a "make libs" rule.
4188 + make the Ada95 interface build with configure --enable-widec.
4189 + if the configure --enable-widec option is given, append 'w' to names
4190 of the generated libraries (e.g., libncursesw.so) to avoid conflict
4191 with existing ncurses libraries.
4194 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
4195 is configured with the experimental wide-character support.
4196 + add a simple UTF-8 output driver to the experimental wide-character
4197 support. If any of the environment variables LC_ALL, LC_CTYPE or
4198 LANG contain the string "UTF-8", this driver will be used to
4199 translate the output to UTF-8. This works with XFree86 xterm.
4200 + modify configure script to allow building shared libraries on BeOS
4201 (from a patch by Valeriy E Ushakov).
4202 + modify lib_addch.c to allow repeated update to the lower-right
4203 corner, rather than displaying only the first character written until
4204 the cursor is moved. Recent versions of SVr4 curses can update the
4205 lower-right corner, and behave this way (reported by Neil Zanella).
4206 + add a limit-check in _nc_do_color(), to avoid using invalid color
4207 pair value (report by Brendan O'Dea <bod@compusol.com.au>).
4210 + the tack program knows how to use smcup and rmcup but the "show caps
4211 that can be tested" feature did not reflect this knowledge. Correct
4212 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
4213 + xterm-16color does allow bold+colors, removed ncv#32 from that
4217 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
4218 broke check for screen's AX capability (reported by Valeriy E Ushakov
4220 + change man2html rule in dist.mk to workaround bug in some
4221 man-programs that ignores locale when rendering hyphenation.
4222 + change web- and ftp-site to dickey.his.com
4225 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
4226 problem linking tack on MacOS X DP3.
4227 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
4228 (reported by Gerben Wierda <wierda@holmes.nl>).
4229 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
4231 + add -d option to ncurses.c, to turn on default-colors for testing.
4232 + add a check to _nc_makenew() to ensure that newwin() and newpad()
4233 calls do not silently fail by passing too-large limits.
4234 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
4235 internal window and pad sizes. Note that since this is visible in
4236 the WINDOW struct, it would be an ABI change to make this an 'int'
4237 (prompted by a question by Bastian Trompetter
4238 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
4241 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
4243 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
4244 example of an illegal ANSI resonse can be found using Microsoft's
4245 Telnet client. A correct display can be found using a VT-4xx
4246 terminal or XFree86 xterm with:
4247 XTerm*VT100*decTerminalID: 450
4248 (patch by Daniel Weaver).
4249 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
4250 for resume. Add '-n' option to force gdc's standard input to
4251 /dev/null, to both illustrate the use of newterm() for specifying
4252 alternate inputs as well as for testing signal handling.
4253 + minor fix for configure option --with-manpage-symlinks, for target
4254 directories that contain a period ('.') (reported by Larry Virden).
4257 + minor additions to beterm entry (feedback from Rico Tudor) -TD
4258 + corrections/updates for some IBM terminfo entries -TD
4259 + modify _nc_screen_wrap() so that when exiting curses mode with
4260 non-default colors, the last line on the screen will be cleared to
4261 the screen's default colors (request by Alexander V Lukyanov).
4262 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
4263 read for demonstrating the REQ_NEW_LINE operation (prompted by a
4264 question by Tony L Keith <tlkeith@keithconsulting.com>).
4265 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
4266 documented extension of ncurses which allows a zero pointer.
4267 + modify fmt_complex() to avoid buffer overflow in case of excess
4268 recursion, and to recognize "%e%?" as a synonym for else-if, which
4269 means that it will not recur for that special case.
4270 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
4271 is defined (patch by Todd C Miller).
4272 + modify one of the m4 files used to generate the Ada95 sources,
4273 to avoid using the token "symbols" (patch by Juergen Pfeifer).
4276 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
4277 + correct spelling error in terminfo entry name: bq300-rv was given as
4278 bg300-rv in esr's version.
4279 + modify redrawwin() macro so its parameter is fully parenthesized
4280 (fixes Debian bug report #61088).
4281 + correct formatting error in dump_entry() which set incorrect column
4282 value when no newline trimming was needed at the end of an entry,
4283 before appending "use=" clauses (cf: 960406).
4286 + add configure option --with-manpage-symlinks
4287 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
4288 + change makefiles so trace() function is provided only if TRACE is
4289 defined, e.g., in the debug library. Modify related calls to
4290 _tracechar() to use unctrl() instead.
4293 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
4294 terminfo entries, use presence of this as a check for a small
4295 improvement in setting default colors.
4296 + improve logic in _nc_do_color() implementing assume_default_colors()
4297 by passing in previous color pair info to eliminate redundant call to
4298 set_original_colors(). (Part of this is from a patch by Alexander
4300 + modify warning in _nc_trans_string() about a possibly too-long string
4301 to do this once only rather than for each character past the
4302 threshold (600). Change interface of _nc_trans_string() to allow
4303 check for buffer overflow.
4304 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
4305 struct each time before reading new data into it, rather than once
4306 per loop (cf: 990301). This affects multi-entry in-core operations
4307 such as "infocmp -Fa".
4310 + remove a spurious pointer increment in _nc_infotocap() changes from
4311 20000311. Add check for '.' in format of number, since that also
4312 is not permitted in termcap.
4313 + correct typo in rxvt-basic terminfo from temporary change made while
4314 integrating 20000318.
4317 + revert part of the vt220 change (request by Todd C Miller).
4318 + add ansi-* terminfo entries from ESR's version.
4319 + add -a option to tic and infocmp, which retains commented-out
4320 capabilities during source translation/comparison, e.g., captoinfo
4322 + modify cardfile.c to display an empty card if no input data file is
4323 found, fixes a core dump in that case (reported by Bruno Haible).
4324 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
4325 result for OS/2 EMX.
4326 + supply required parameter for _nc_resolve_uses() call in
4327 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
4328 > patches by Bruno Haible <haible@ilog.fr>:
4329 + fix a compiler warning in fty_enum.c
4330 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
4331 makefiles, which resulted in redundant linking (cf: 20000122).
4334 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
4335 + improved tack/README (patch by Daniel Weaver).
4336 + modify tput.c to ensure that unspecified parameters are passed to
4338 + add a few checks in infocmp to guard against buffer overflow when
4339 displaying string capabilities.
4340 + add check for zero-uses in infocmp's file_comparison() function
4341 before calling _nc_align_termtype(). Otherwise one parameter is
4342 indexed past the end of the uses-array.
4343 + add an option -q to infocmp to specify the less verbose output,
4344 keeping the existing format as the default, though not retaining the
4345 previous behavior that made the -F option compare each entry to
4347 + adapted patch by ESR to make infocmp -F less verbose -TD
4348 (the submitted patch was unusable because it did not compile
4350 + modify write_entry.c to ensure that absent or cancelled booleans
4351 are written as FALSE, for consistency with infocmp which now
4352 assumes this. Note that for the small-core configuration, tic
4353 may not produce the same result as before.
4354 + change some private library interfaces used by infocmp, e.g.,
4356 + add a check in _nc_infotocap() to ensure that cm-style capabilities
4357 accept only %d codes when converting the format from terminfo to
4359 + modify ENTRY struct to separate the data in 'parent' into the name
4360 and link values (the original idea to merge both into 'parent' was
4362 + discard repair_acsc(tterm);
4363 > patch by Juergen Pfeifer:
4364 + drop support for gnat 3.10
4365 + move generated documentation and html files under ./doc directory,
4366 adding makefile rules for this to dist.mk
4369 + correct conflicting use of tparm() in 20000226 change to tic, which
4370 made it check only one entry at a time.
4371 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
4373 + make the example in ncurses-intro.html do something plausible, and
4374 corrected misleading comment (reported by Neil Zanella).
4375 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
4376 to fix a case where the cursor position was not updated as in
4377 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
4378 + add a limit-check for wresize() to ensure that a subwindow does not
4379 address out of bounds.
4380 + correct offsets used for subwindows in wresize() (patch by Michael
4381 Andres <ma@suse.de>).
4382 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
4383 Juergen Pfeifer). This generated a file with a space in its name,
4385 + fix a few spelling errors in tack.
4386 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
4387 otherwise it does not build properly for older HPUX shared library
4389 + add several terminfo entries from esr's "11.0".
4392 + make 'tput flash' work properly for xterm by flushing output in
4393 delay_output() when using napms(), and modifying xterm's terminfo to
4394 specify no padding character. Otherwise, xterm's reported baud rate
4395 can mislead ncurses into producing too few padding characters
4397 + add a check to tic for consistency between sgr and the separate
4398 capabilities such as smso, use this to check/correct several
4399 terminfo entries (Debian #58530).
4400 + add a check to tic if cvvis is the same as cnorm, adjusted several
4401 terminfo entries to remove the conflict (Debian #58530).
4402 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
4404 + minor clarification for curs_set() and leaveok() manpages.
4405 + use mkstemp() for creating temporary file for tic's processing of
4406 $TERMCAP contents (fixes Debian #56465).
4407 + correct two errors from integrating Alexander's changes: did not
4408 handle the non-bce case properly in can_erase_with() (noted by
4409 Alexander), and left fg/bg uninitialized in the pair-zero case of
4410 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
4411 Ismael Cordeiro <ismael@cordeiro.com>).
4414 + store default-color code consistently as C_MASK, even if given as
4415 -1 for convenience (adapted from patches by Alexander V Lukyanov).
4416 > patches by Alexander V Lukyanov:
4417 + change can_clear_with() macro to accommodate logic for
4418 assume_default_colors(), making most of the FILL_BCE logic
4419 unnecessary. Made can_clear_with() an inline function to make it
4423 + corrected form of recent copyright dates.
4424 + minor corrections to xterm-xf86-v333 terminfo entry -TD
4425 > patches by Alexander V Lukyanov:
4426 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
4427 colors are white on black.
4428 + fix initialization of tstLine so that it is filled with current blank
4429 character in any case. Previously it was possible to have it filled
4430 with old blank. The wrong over-optimization was introduced in 991002
4431 patch. (it is not very critical as the only bad effect is not using
4432 clr_eos for clearing if blank has changed).
4435 + minor corrections/updates to several terminfo entries: rxvt-basic,
4436 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
4437 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
4438 allowing poll() to be used on Linux.
4439 + add CF_FUNC_POLL macro to check if poll() is able to select from
4440 standard input. If not we will not use it, preferring select()
4441 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
4442 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
4443 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
4444 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
4445 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
4448 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm -TD
4449 + modify CF_MATH_LIB configure macro to parameterize the test function
4450 used, for reuse in dialog and similar packages.
4451 + correct tests for file-descriptors in OS/2 EMX mouse support. A
4452 negative value could be used by FD_SET, causing the select() call
4453 to wait indefinitely.
4456 + additional fixes for non-bce terminals (handling of delete_character)
4457 to work when assume_default_colors() is not specified.
4458 + modify warning message from _nc_parse_entry() regarding extended
4459 capability names to print only if tic/infocmp/toe have the -v flag
4460 set, and not at all in ordinary user applications. Otherwise, this
4461 warning would be shown for screen's extended capabilities in programs
4462 that use the termcap interface (reported by Todd C Miller).
4463 + modify use of _nc_tracing from programs such as tic so their debug
4464 level is not in the same range as values set by trace() function.
4465 + small panel header cleanup (patch by Juergen Pfeifer).
4466 + add 'railroad' demo for termcap interface.
4467 + modify 'tic' to write its usage message to stderr (patch by Todd C
4471 + add prototype for erase() to curses.h.in, needed to make test
4472 programs build with c++/g++.
4473 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
4474 + correct install rule for tack.1; it assumed that file was in the
4475 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
4476 + modify terminfo/termcap translation to suppress acsc before trying
4477 sgr if the entry would be too large (patch by Todd C Miller).
4478 + document a special case of incompatiblity between ncurses 4.2 and
4479 5.0, add a section for this in INSTALL.
4480 + add TRACE_DATABASE flag for trace().
4483 + update mach, add mach-color terminfo entries based on Debian diffs
4485 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
4486 terminfo entries -TD
4487 + change OTrs capabilities to rs2 in terminfo.src -TD
4488 + add obsolete and extended capabilities to 'screen' terminfo -TD
4489 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
4490 + make conversion to termcap ug (underline glitch) more consistently
4492 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
4493 was in the original pre-1.9.7 version, when $HOME/.terminfo was
4495 + modify 'toe' to ignore terminfo directories to which it has no
4497 + modify read_termtype(), fixing 'toe', which could dump core when it
4498 found an incomplete entry such as "dumb" because it did not
4499 initialize its buffer for _nc_read_file_entry().
4500 + use -fPIC rather than -fpic for shared libraries on Linux, not
4501 needed for i386 but some ports (from Debian diffs for 5.0) -TD
4502 + use explicit VALID_NUMERIC() checks in a few places that had been
4503 overlooked, and add a check to ensure that init_tabs is nonzero,
4504 to avoid divide-by-zero (reported by Todd C Miller).
4505 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
4509 + reorder tests during mouse initialization to allow for gpm to run in
4510 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
4511 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
4512 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
4513 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
4514 stty lnext on systems such as FreeBSD (report by Bruce Evans
4515 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
4516 + fix a potential (but unlikely) buffer overflow in failed() function
4517 of tset.c (reported by Todd C Miller).
4518 + add manual-page for ncurses extensions, documented curses_version(),
4519 use_extended_names().
4522 + treat as untranslatable to termcap those terminfo strings which
4523 contain non-decimal formatting, e.g., hexadecimal or octal.
4524 + correct commented-out capabilities that cannot be translated to
4525 termcap, which did not check if a colon must be escaped.
4526 + correct termcap translation for "%>" and "%+", which did not check
4527 if a colon must be escaped, for instance.
4528 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
4529 buffer (originally for _nc_infotocap() in 960301 -TD).
4530 + correct expression used for terminfo equivalent of termcap %B,
4531 adjust regent100 entry which uses this.
4532 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
4533 + eliminate a fixed-buffer in tic, used for translating comments.
4534 + add manpage for infotocap
4537 + add kvt and gnome terminfo entries -TD
4538 + correct translation of "%%" by infotocap, which was emitted as "%".
4539 + add "obsolete" termcap strings to terminfo.src
4540 + modify infocmp to default to showing obsolete capabilities rather
4542 + modify write_entry.c so that if extended names (i.e., configure
4543 --enable-tcap-names) are active, then tic will also write "obsolete"
4544 capabilities that are present in the terminfo source.
4545 + modify tic so that when running as captoinfo or infotocap, it
4546 initializes the output format as in -C and -I options, respectively.
4547 + improve infocmp and tic -f option by splitting long strings that do
4548 not have if-then-else construct, but do have parameters, e.g., the
4549 initc for xterm-88color.
4550 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
4554 + additional fixes for non-bce terminals (handling of clear_screen,
4555 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
4557 + several small changes to xterm terminfo entries -TD.
4558 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
4559 SP, since it is part of that struct.
4560 + remove obsolete shlib-versions, which was unintentionally re-added
4562 + modify infocmp -e, -E options to ensure that generated fallback.c
4563 type for Booleans agrees with term.h (reported by Eric Norum
4564 <eric@cls.usask.ca>).
4565 + correct configure script's use of $LIB_PREFIX, which did not work
4566 for installing the c++ directory if $libdir did not end with "/lib"
4567 (reported by Huy Le <huyle@ugcs.caltech.edu>).
4568 + modify infocmp so -L and -f options work together.
4569 + modify the initialization of SP->_color_table[] in start_color() so
4570 that color_content() will return usable values for COLORS greater
4572 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
4573 xterm-88color, to limit the displayed/computed colors to 16.
4574 > patch by Juergen Pfeifer:
4575 + simplify coding of the panel library according to suggestions by
4577 + improve macro coding for a few macros in curses.priv.h
4580 + modify treatment of color pair 0 so that if ncurses is configured
4581 to support default colors, and they are not active, then ncurses
4582 will set that explicitly, not relying on orig_colors or orig_pair.
4583 + add new extension, assume_default_colors() to provide better control
4584 over the use of default colors.
4585 + modify test programs to use more-specific ifdef's for existence of
4586 wresize(), resizeterm() and use_default_colors().
4587 + modify configure script to add specific ifdef's for some functions
4588 that are included when --enable-ext-funcs is in effect, so their
4589 existence can be ifdef'd in the test programs.
4590 + reorder some configure options, moving those extensions that have
4591 evolved from experimental status into a new section.
4592 + change configure --enable-tcap-names to enable this by default.
4595 + install tack's manpage (reported by Robert Weiner
4596 <robert@progplus.com>)
4597 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
4598 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
4599 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
4602 + modify linux terminfo entry to indicate that dim does not mix with
4603 color (reported by Klaus Weide <kweide@enteract.com>).
4604 + correct several typos in terminfo entries related to missing '['
4606 + fix several compiler warnings in c++ binding (reported by Tim
4607 Mooney for alphaev56-dec-osf4.0f
4608 + rename parameter of _nc_free_entries() to accommodate lint.
4609 + correct lint rule for tack, used incorrect list of source files.
4610 + add case to config.guess, config.sub for Rhapsody.
4611 + improve configure tests for libg++ and libstdc++ by omitting the
4612 math library (which is missing on Rhapsody), and improved test for
4613 the math library itself (adapted from path by Nelson H. F. Beebe).
4614 + explicitly initialize to zero several data items which were
4615 implicitly initialized, e.g., cur_term. If not explicitly
4616 initialized, their storage type is C (common), and causes problems
4617 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
4619 + modify Ada95 binding to not include the linker option for Ada
4620 bindings in the Ada headers, but in the Makefiles instead (patch by
4623 19991023 5.0 release for upload to ftp.gnu.org
4624 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
4626 + add function curses_version(), to return ncurses library version
4627 (request by Bob van der Poel).
4628 + remove rmam, smam from cygwin terminfo entry.
4629 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
4630 as update ncv to indicate that 'dim' conflicts with colors.
4631 + modify configure script to use symbolic links for FreeBSD shared
4632 libraries by default.
4633 + correct ranf() function in rain and worm programs to ensure it does
4635 + hide the cursor in hanoi.c if it is running automatically.
4636 + amend lrtest.c to account for optimizations that exploit margin
4638 + add a simple terminfo demo, dots.c
4639 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
4640 tell it to use write() rather than putc(), since the latter is not
4641 safe in a signal handler according to POSIX.
4642 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
4643 of output-file pointer in ncurses library.
4644 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
4646 + correct CC_SHARED_OPTS for building shared libraries for SCO
4648 + remove usleep() from alternatives in napms(), since it may interact
4649 with alarm(), causing a process to be interrupted by SIGALRM (with
4650 advice from Bela Lubkin).
4651 + modify terminal_interface-curses-forms.ads.m4 to build/work with
4652 GNAT 3.10 (patch by Juergen Pfeifer).
4653 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
4654 work with gcc 2.7.2.3
4655 + minor fix to test/tclock.c to avoid beeping more than once per second
4656 + add 's' and ' ' decoding to test/rain.c
4659 + corrected BeOS code for lib_twait.c, making nodelay() function work.
4662 + correct ncurses' value for cursor-column in PutCharLR(), which was
4663 off-by-one in one case (patch by Ilya Zakharevich).
4664 + fix some minor errors in position_check() debugging code, found while
4665 using this to validate the PutCharLR() patch.
4666 + modify firework, lrtest, worm examples to be resizable, and to
4667 recognize 'q' for quit, 's' for single-step and ' ' for resume.
4668 + restore reverted change to terminal_interface-curses-forms.ads.m4,
4669 add a note on building with gnat 3.10p to Ada95/TODO.
4670 + add a copy of the standalone configure script for the test-directory
4671 to simplify testing on SCO and Solaris.
4674 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
4675 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
4676 Blain, comments by Alexander V Lukyanov).
4677 + simplify definition of PANEL and eliminate internal functions
4678 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
4679 (patch by Juergen Pfeifer, analysis by Philippe Blain
4681 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
4682 man_db.renames, since Debian is not concerned with 14-character
4683 filename limitation (Debian bug report by Josip Rodin
4684 <joy@cibalia.gkvk.hr>).
4685 + corrected scoansi terminfo entry by testing with scoterm and console.
4686 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
4687 since this does not work for gnat 3.10p
4688 + modify tclock example to be resizable (if ncurses' sigwinch handler
4689 is used), and in color.
4690 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
4691 shared library rules.
4694 + add newer NetBSD console terminfo entries
4695 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
4696 <Faroul@beyond.kn-bremen.de>)
4697 + remove -lcurses -ltermcap from configure script's check for the gpm
4698 library, since they are not really necessary (a properly configured
4699 gpm library has no dependency on any curses library), and if the
4700 curses library is not installed, this would cause the test to fail.
4701 + modify tic's -C option so that terminfo "use=" clauses are translated
4702 to "tc=" clauses even when running it as captoinfo.
4703 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
4704 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
4705 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
4706 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
4707 + correct a problem in libpanel, where the _nc_top_panel variable was
4708 not set properly when bottom_panel() is called to hide a panel which
4709 is the only one on the stack (report/analysis by Michael Andres
4710 <ma@suse.de>, patch by Juergen Pfeifer).
4713 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
4714 <j@interface-business.de>).
4715 + add top-level uninstall.data and uninstall.man makefile rules.
4716 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
4717 that hard-links work on Unix again.
4718 + change default value of cf_cv_builtin_bool to 1 (suggested by
4719 Jeremy Buhler), making it less likely that a conflicting declaration
4720 of bool will be seen when compiling with C++.
4723 + improved configure checks for builtin.h
4724 + minor changes to C++ binding (remove static initializations, and make
4725 configure-test for parameter initializations) for features not
4726 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
4727 applies to SGI, though I found SCO has the same characteristics).
4728 + corrected quoting of ETIP_xxx definitions which support old versions
4729 of g++, e.g., those using -lg++
4730 + remove 'L' code from safe_sprintf.c, since 'long double' is not
4731 widely portable. safe_sprintf.c is experimental, however, and
4732 exists mainly as a fallback for systems without snprintf (reported
4733 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
4734 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
4735 so that it is not unnecessarily made extern (Jeffrey C Honig).
4738 + move definition for builtin.h in configure tests to specific check
4739 for libg++, since qt uses the same filename incompatibly.
4740 + correct logic of lib_termcap.c tgetstr function, which did not copy
4741 the result to the buffer parameter. Testing shows Solaris does
4742 update this, though of course tgetent's buffer is untouched (reported
4743 in Peter Edwards <peter.edwards@ireland.com> in
4744 mpc.lists.freebsd.current newsgroup.
4745 + corrected beterm terminfo entry, which lists some capabilities which
4746 are not actually provided by the BeOS Terminal.
4747 + add special logic to replace select() calls on BeOS, whose select()
4748 function works only for sockets.
4749 + correct missing escape in mkterm.h.awk.in, which caused part
4750 of the copyright noticed to be omitted (reported by Peter
4751 Wemm <peter@netplex.com.au>).
4752 > several small changes to make the c++ binding and demo work on OS/2
4753 EMX (related to a clean reinstall of EMX):
4754 + correct library-prefix for c++ binding; none is needed.
4755 + add $x suffix to make_hash and make_keys so 'make distclean' works.
4756 + correct missing $x suffix for tack, c++ demo executables.
4757 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
4758 CF_STDCPP_LIBRARY (for -lstdc++)
4761 + add cygwin terminfo entry -TD
4762 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
4763 + add configure option --without-cxx-binding, modifying the existing
4764 --without-cxx option to check only for the C++ compiler
4765 characteristics. Whether or not the C++ binding is needed, the
4766 configure script checks for the size/type of bool, to make ncurses
4767 match. Otherwise C++ applications cannot use ncurses.
4770 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
4771 + minor corrections to beterm terminfo entry.
4772 + modify lib_setup.c to reject values of $TERM which have a '/' in
4774 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
4775 than one is on BeOS. That would break a switch statement.
4776 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
4777 nonfunctional link().
4778 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
4779 BeOS's bool, which is declared as an unsigned char.
4782 + add ms-vt100 terminfo entry -TD
4783 + minor fixes for misc/emx.src, based on testing with tack.
4784 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
4787 + minor correction for 'screen' terminfo entry.
4788 + clarify description of errret values for setupterm in manpage.
4789 + modify tput to allow it to emit capabilities for hardcopy terminals
4790 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
4791 + modify the 'o' (panel) test in ncurses.c to show the panels in color
4792 or at least in bold, to test Juergen's change to wrefresh().
4793 > patches by Juergen Pfeifer:
4794 + Fixes a problem using wbkgdset() with panels. It has actually
4795 nothing to with panels but is a problem in the implementation of
4796 wrefresh(). Whenever a window changes its background attribute to
4797 something different than newscr's background attribute, the whole
4798 window is touched to force a copy to newscr. This is an unwanted
4799 side-effect of wrefresh() and it is actually not necessary. A
4800 changed background attribute affects only further outputs of
4801 background it doesn't mean anything to the current content of the
4802 window. So there is no need to force a copy. (reported by Frank
4803 Heckenbach <frank@g-n-u.de>).
4804 + an upward compatible enhancement of the NCursesPad class in the C++
4805 binding. It allows one to add a "viewport" window to a pad and then
4806 to use panning to view the pad through the viewport window.
4809 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
4810 signal was received while not in curses mode, e.g., endwin() was
4811 called in preparation for spawning a shell command (reported by Frank
4812 Heckenbach <frank@g-n-u.de>)
4813 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
4814 + change test for xterm mouse capability: it now checks only if the
4815 user's $DISPLAY variable is set in conjunction with the kmous
4816 capability being present in the terminfo. Before, it checked if any
4817 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
4818 However, some emulators which are incompatible with xterm in other
4819 ways do support the xterm mouse capability.
4820 + reviewed and made minor changes in ncurses to quiet g++ warnings
4821 about shadowed or uninitialized variables. g++ incorrectly warns
4822 about uninitialized variables because it does not take into account
4823 short-circuit expression evaluation.
4824 + change ncurses 'b' test to start in color pair 0 and to show in the
4825 right margin those attributes which are suppressed by no_color_video,
4827 + modify ifdef's in curses.h so that __attribute__ is not redefined
4828 when compiling with g++, but instead disabled the macros derived for
4829 __attribute__ since g++ does not consistently recognize the same
4830 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
4831 + update dependencies for term.h in ncurses/modules (reported by
4835 + modify the form demo in ncurses.c to illustrate how to manipulate the
4836 field appearance, e.g, for highlighting or translating the field
4838 + correct logic in write_entry from split-out of home_terminfo in
4839 980919, which prevented update of $HOME/.terminfo (reported by Philip
4840 Spencer <pspencer@fields.utoronto.ca>).
4843 + modify linux terminfo description to make use of kernel 2.2.x mods
4844 that support cursor style, e.g., to implement cvvis (patch by Frank
4845 Heckenbach <frank@g-n-u.de>)
4846 + add special-case in setupterm to retain previously-saved terminal
4847 settings in cur_term, which happens when curses and termcap calls are
4848 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
4849 + suppress initialization of key-tries in _nc_keypad() if we are only
4850 disabling keypad mode, e.g., in endwin() called when keypad() was
4852 + modify the Ada95 makefile to ensure that always the Ada files from
4853 the development tree are used for building and not the eventually
4854 installed ones (patch by Juergen Pfeifer).
4857 + use TTY definition in tack/sysdep.c rather than struct termios
4858 (reported by Philippe De Muyter).
4859 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
4860 not present on sysV68 (reported by Philippe De Muyter).
4861 + correct definition in comp_hash.c to build with configure
4862 --with-rcs-ids option.
4865 + modified ifdef's for sigaction and sigvec to ensure we do not try to
4866 handle SIGTSTP if neither is available (from report by Philippe De
4868 > patch by Philippe De Muyter:
4869 + in tic.c, use `unlink' if `remove' is not available.
4870 + use only `unsigned' as fallback value for `speed_t'. Some files used
4874 + fix some compiler warnings in tack.
4875 + add a check for predefined bool type in CC, based on report that
4876 BeOS predefines a bool type.
4877 + correct logic for infocmp -e option, i.e., the configure
4878 --with-fallbacks option, which I'd not updated when implementing
4879 extended names (cf: 990301). The new implementation adds a "-E"
4880 option to infocmp -TD
4881 > patch by Juergen Pfeifer:
4882 + introduce the private type Curses_Bool in the Ada95 binding
4883 implementation. This is to clearly represent the use of "bool" also
4884 in the binding. It should have no effect on the generated code.
4885 + improve the man page for field_buffer() to tell the people, that the
4886 whole buffer including leading/trailing spaces is returned. This is
4887 a common source of confusion, so it's better to document it clearly.
4890 > patch by Juergen Pfeifer:
4891 + use pragma PreElaborate in several places.
4892 + change a few System.Address uses to more specific types.
4893 + change interface version-number to 1.0
4894 + regenerate Ada95 HTML files.
4897 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
4898 if it appears that curses was never initialized, e.g., by initscr().
4899 For instance, this guards against setting the terminal modes to
4900 strange values if endwin() is called after setupterm(). In the same
4901 context, Solaris curses will dump core.
4902 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
4903 equivalent values in rmso or rmul by ensuring we do not modify the
4904 data which would be returned by the terminfo or termcap interfaces
4905 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
4906 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
4908 + improve fallback declaration of 'bool' when the --without-cxx option
4909 is given, by using a 'char' on i386 and related hosts (prompted by
4910 discussion with Alexander V Lukyanov).
4913 + include time.h in lib_napms.c if nanosleep is used (patch by
4914 R Lindsay Todd <toddr@rpi.edu>).
4915 + add an "#undef bool" to curses.h, in case someone tries to define it,
4917 + add check to tparm to guard against divide by zero (reported by Aaron
4918 Campbell <aaron@ug.cs.dal.ca>).
4921 + minor fix to build tack on CLIX (mismatched const).
4922 > patch by Juergen Pfeifer:
4923 + change Juergen's old email address with new one in the files where it
4924 is referenced. The Ada95 HTML pages are regenerated.
4925 + update MANIFEST to list the tack files.
4928 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
4932 + add 'tack' program (which is GPL'd), updating it to work with the
4933 modified TERMTYPE struct and making a fix to support setaf/setab
4934 capabilities. Note that the tack program is not part of the
4935 ncurses libraries, but an application which can be distributed with
4936 ncurses. The configure script will ignore the directory if it is
4938 + modify gpm mouse support so that buttons 2 and 3 are used for
4939 select/paste only when shift key is pressed, making them available
4940 for use by an application (patch by Klaus Weide).
4941 + add complete list of function keys to scoansi terminfo entry - TD
4944 + add a simple test program cardfile.c to illustrate how to read form
4945 fields, and showing forms within panels.
4946 + change shared-library versioning for the Hurd to be like Linux rather
4947 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
4948 + add linux-lat terminfo entry.
4949 + back-out _nc_access check in read_termcap.c (both incorrect and
4950 unnecessary, except to guard against a small window where the file's
4951 ownership may change).
4954 + remove conflicting _nc_free_termtype() function from test module
4956 + use _nc_access check in read_termcap.c for termpaths[] array (noted
4957 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
4958 > patch by Juergen Pfeifer:
4959 + modify menu creation to not inherit status flag from the default menu
4960 which says that the associated marker string has been allocated and
4961 should be freed (bug reported by Marek Paliwoda"
4962 <paliwoda@kki.net.pl>)
4964 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
4965 + minor fixes to xterm-xfree86 terminfo entry - TD.
4966 + split up an expression in configure script check for ldconfig to
4967 workaround limitation of BSD/OS sh (reported by Jeff Haas
4968 <jmh@mail.msen.com>).
4969 + correct a typo in man/form_hook.3x (Todd C Miller).
4972 + parenthesize and undef 'index' symbol in c++ binding and demo, to
4973 accommodate its definition on NeXT (reported by Francisco A. Tomei
4975 + add sigismember() to base/sigaction.c compatibility to link on NeXT
4976 (reported by Francisco A. Tomei Torres).
4977 + further refinements to inequality in hashmap.c to cover a case with
4978 ^U in nvi (patch by Alexander V Lukyanov).
4981 + add fallback definition for getcwd, to link on NeXT.
4982 + add a copy of cur_term to tic.c to make it link properly on NeXT
4983 (reported by Francisco A. Tomei Torres).
4984 + change inequality in hashmap.c which checks the distance traveled by
4985 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
4986 scrolling logic (patch by Alexander V Lukyanov, reported by Jeffrey
4990 + modify lib_color.c to handle a special case where the curscr
4991 attributes have been made obsolete (patch by Alexander V Lukyanov).
4992 + update BSD/OS console terminfo entries to use klone+sgr and
4993 klone+color (patch by Jeffrey C Honig).
4994 + update glibc addon configure script for extended capabilities.
4995 + correct a couple of warnings in the --enable-const configuration.
4996 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
4997 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
5000 + correct typos in linux-c initc string - TD
5001 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
5002 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
5003 Alexander V Lukyanov).
5006 + back-out change to wgetch because it causes a problem with ^Z
5007 handling in lynx (reported by Kim DeVaughn).
5010 + add -G option to tic and infocmp, to reverse the -g option.
5011 + recode functions in name_match.c to avoid use of strncpy, which
5012 caused a 4-fold slowdown in tic (cf: 980530).
5013 + correct a few warnings about sign-extension in recent changes.
5014 > patch by Juergen Pfeifer:
5015 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
5016 + improved parameter checking in new_fieldtype().
5017 + fixed a typo in wgetch() timeout handling.
5018 + allow slk_init() to be called per newterm call. The internal SLK
5019 state is stored in the SCREEN struct after every newterm() and then
5020 reset for the next newterm.
5021 + fix the problem that a slk_refresh() refreshes stdscr if the
5022 terminal has true SLKs.
5023 + update HTML documentation for Ada binding.
5026 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
5027 such as "#if TRUE" work. This was originally done to allow for a C++
5028 compiler which would warn of implicit conversions between enum and
5029 int, but is not needed for g++ (reported by Kim DeVaughn).
5030 + add use_extended_names() function to allow applications to suppress
5031 read of the extended capabilities.
5032 + add configure option --enable-tcap-names to support logic which
5033 allows ncurses' tic to define new (i.e., extended) terminal
5034 capabilities. This is activated by the tic -x switch. The infocmp
5035 program automatically shows or compares extended capabilities.
5036 Note: This changes the Strings and similar arrays in the TERMTYPE
5037 struct so that applications which manipulate it must be recompiled.
5038 + use macros typeMalloc, typeCalloc and typeRealloc consistently
5039 throughout ncurses library.
5040 + add _nc_strdup() to doalloc.c.
5041 + modify define_key() to allow multiple strings to be bound to the
5043 + correct logic error in _nc_remove_string, from 990220.
5044 > patch for Ada95 binding (Juergen Pfeifer):
5045 + regenerate some of the html documentation
5046 + minor cleanup in terminal_interface-curses.adb
5049 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
5050 xterm and ncsa terminfo entries by removing the unneeded ones. Note
5051 that some entries will return kend & khome versus kslt and kfnd, for
5052 PC-style keyboards versus strict vt220 compatiblity - TD
5053 + add function keybound(), which returns the definition associated with
5055 + modify define_key() to undefine the given string when no keycode is
5057 + modify keyok() so it works properly if there is more than one string
5058 defined for a keycode.
5059 + add check to tic to warn about terminfo descriptions that contain
5060 more than one key assigned to the same string. This is shown only if
5061 the verbose (-v) option is given. Moved related logic (tic -v) from
5062 comp_parse.c into the tic program.
5063 + add/use _nc_trace_tries() to show the function keys that will be
5065 + rename init_acs to _nc_init_acs (request by Alexander V Lukyanov).
5066 > patch for Ada95 binding (Juergen Pfeifer):
5067 + remove all the *_adabind.c from ncurses, menu and form projects.
5068 Those little helper routines have all been implemented in Ada and are
5070 + The option handling routines in menu and form have been made more
5071 save. They now make sure that the unused bits in options are always
5073 + modify configuration scripts to
5074 + use gnatmake as default compiler name. This is a safer choice than
5075 gcc, because some GNAT implementations use other names for the
5076 compilerdriver to avoid conflicts.
5077 + use new default installation locations for the Ada files according
5078 to the proposed GNU Ada filesystem standard (for Linux).
5079 + simplify the Makefiles for the Ada binding
5080 + rename ada_include directory to src.
5083 + enable sigwinch handler by default.
5084 + disable logic that allows setbuf to be turned off/on, because some
5085 implementations will overrun the buffer after it has been disabled
5089 + suppress sc/rc capabilities from terminal description if they appear
5090 in smcup/rmcup. This affects only scrolling optimization, to fix a
5091 problem reported by several people with xterm's alternate screen,
5092 though the problem is more general.
5093 > patch for Ada95 binding (Juergen Pfeifer):
5094 + removed all pragma Preelaborate() stuff, because the just released
5095 gnat-3.11p complains on some constructs.
5096 + fixed some upper/lower case notations because gnat-3.11p found
5098 + used a new method to generate the HTML documentation of the Ada95
5099 binding. This invalidates nearly the whole ./Ada95/html subtree.
5100 Nearly all current files in this subtree are removed
5103 + cache last result from _nc_baudrate, for performance (suggested by
5104 Alexander V Lukyanov).
5105 + modify ClrUpdate() function to workaround a problem in nvi, which
5106 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
5107 ncurses repainted the screen with nulls before resuming normal
5108 operation (patch by Alexander V Lukyanov).
5109 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
5110 be any substring rather than the prefix.
5111 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
5112 not link a module if the only symbols exported from the module are
5113 uninitialized ones (patch by Ilya Zakharevich). Ilya says that he
5114 has seen messages claiming this behavior conforms to the standard.)
5115 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
5116 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
5117 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
5118 problem where ncurses applications which were run via a shell script
5119 would hang when given a ^Z. Also, check if the terminal's process
5120 group is consistent, i.e., a shell has not taken ownership of it,
5121 before deciding to save the current terminal settings in the SIGTSTP
5122 handler (patch by Klaus Weide).
5123 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
5124 der Poel <bvdpoel@kootenay.com>).
5125 + correct a couple of typos in the macros supporting the configure
5126 --with-shlib-version option.
5129 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
5130 by Kimio Ishii <ishii@csl.sony.co.jp>).
5131 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
5132 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
5133 + modify tput to accept termcap names as an alternative to terminfo
5134 names (patch by Jeffrey C Honig).
5135 + correct a typo in term.7 (Todd C Miller).
5136 + add configure --with-shlib-version option to allow installing shared
5137 libraries named according to release or ABI versions. This
5138 parameterizes some existing logic in the configure script, and is
5139 intended for compatiblity upgrades on Digital Unix, which used
5140 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
5141 + resync configure script against autoconf 2.13 + patches
5142 + minor improvements for teraterm terminfo entry based on the program's
5143 source distribution.
5146 + change default for configure --enable-big-core to assume machines do
5147 have enough memory to resolve terminfo.src in-memory.
5148 + correct name of ncurses library in TEST_ARGS when configuring with
5150 + minor fixes to compile ncurses library with broken-linker with g++.
5151 + add --enable-broken-linker configure option, default to environment
5152 variable $BROKEN_LINKER (request by Jeffrey C Honig).
5153 + change key_names[] array to static since it is not part of the curses
5154 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
5157 + add Tera Term terminfo entry - TD
5160 + reviewed/corrected macros in curses.h as per XSI document.
5161 + provide support for termcap PC variable by copying it from terminfo
5162 data and using it as the padding character in tputs (reported by
5163 Alexander V Lukyanov).
5164 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
5165 kf9-kf12 capabilities, as well as adding kcbt.
5166 + document the mouse handling mechanism in menu_driver and make a small
5167 change in menu_driver's return codes to provide more consistency
5168 (patch by Juergen Pfeifer).
5169 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
5170 by Uchiyama Yasushi <uch@nop.or.jp>).
5171 + move lib_restart.c to ncurses/base, since it uses curses functions
5172 directly, and therefore cannot be used in libtinfo.so
5173 + rename micro_char_size to micro_col_size, adding #define to retain
5175 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
5176 XSI and Solaris 2.5.
5177 + minor makefile files to build ncurses test_progs
5178 + update html files in misc directory to reflect changes since 4.2
5181 + disable scroll hints when hashmap is enabled (patch by Alexander
5183 + move logic for tic's verify of -e option versus -I and -C so that the
5184 terminfo data is not processed if we cannot handle -e (reported by
5185 Steven Schwartz <steves@unitrends.com>.
5186 + add test-driver traces to terminfo and termcap functions.
5187 + provide support for termcap ospeed variable by copying it from the
5188 internal cur_term member, and using ospeed as the baudrate reference
5189 for the delay_output and tputs functions. If an application does not
5190 set ospeed, the library behaves as before, except that _nc_timed_wait
5191 is no longer used, or needed, since ospeed always has a value. But
5192 the application can modify ospeed to adjust the output of padding
5193 characters (prompted by a bug report for screen 3.7.6 and email from
5194 Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
5195 + removed some unused ifdef's as part of Alexander's restructuring.
5196 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
5197 Version 2. This includes making some parameters NCURSES_CONST
5198 rather than const, e.g., in termcap.h.
5199 + change linux terminfo entry to use ncv#2, since underline does not
5203 + miscellaneous corrections for curses.h to match XSI.
5204 + change --enable-no-padding configure option to be normally enabled.
5205 + add section to ncurses manpage for environment variables.
5206 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
5207 changes, found no sign of problems on Linux (or on SunOS, Solaris)
5208 running screen built with ncurses.
5209 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
5210 Roskin <pavel_roskin@geocities.com>).
5211 + correct several font specification typos in man-pages.
5214 + correct default value for BUILD_CC (reported by Larry Virden).
5217 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
5218 it from changing the terminfo directory after chdir'ing to it.
5219 Otherwise, a relative path in $TERMINFO would confuse tic (prompted
5220 by a Debian bug report).
5221 + correct/update ncsa terminfo entry (report by Larry Virden).
5222 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
5224 + add Mathew Vernon's mach console entries to terminfo.src
5225 + more changes, moving functions, as part of Alexander's restructuring.
5226 + modify configure script for GNU/Hurd share-library support, introduce
5227 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
5231 + add environment variable NCURSES_NO_SETBUF to allow disabling the
5232 setbuf feature, for testing purposes.
5233 + correct ifdef's for termcap.h versus term.h that suppress redundant
5234 declarations of prototypes (reported by H.J.Lu).
5235 + modify Makefile.os2 to add linker flags which allow multiple copies
5236 of an application to coexist (reported by Ilya Zakharevich).
5237 + update Makefile.glibc and associated configure script so that ncurses
5238 builds as a glibc add-on with the new directory configuration
5239 (reported by H.J.Lu).
5242 + modify gen_reps() function in gen.c to work properly on SunOS
5243 (sparc), which is a left-to-right architecture.
5244 + modify relative_move and tputs to avoid an interaction with the
5245 BSD-style padding. The relative_move function could produce a string
5246 to replace on the screen which began with a numeric character, which
5247 was then interpreted by tputs as padding. Now relative_move will not
5248 generate a string with a leading digit in that case (overwrite).
5249 Also, tputs will only interpret padding if the string begins with a
5250 digit; as coded it permitted a string to begin with a decimal point
5251 or asterisk (reported by Larry Virden).
5252 > patches by Juergen Pfeifer:
5253 + fix a typo in m_driver.c mouse handling and improves the error
5255 + fix broken mouse handling in the Ada95 binding
5256 + make the Ada95 sample application menus work with the new menu mouse
5258 + improve the mouse handling introduced by Ilya; it now handles menus
5260 + repair a minor bug in the menu_driver code discovered during this
5262 + add new function wmouse_trafo() to hide implementation details of
5263 _yoffset member of WINDOW struct needed for mouse coordinate
5267 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
5268 some older implementations (e.g., SunOS 4.x) return the buffer
5269 address rather than its length.
5270 > patch by Rick Ohnemus:
5271 + modify demo.cc to get it to compile with newer versions of egcs.
5272 + trim a space that appears at the end of the table preprocessor lines
5273 ('\" t). This space prevents some versions of man from displaying
5274 the pages - changed to remove all trailing whitespace (TD)
5275 + finally, 'make clean' does not remove panel objects.
5276 > patches by Ilya Zakharevich:
5277 + allow remapping of OS/2 mouse buttons using environment variable
5278 MOUSE_BUTTONS_123 with the default value 132.
5279 + add mouse support to ncurses menus.
5282 + modify misc/makedef.cmd to report old-style .def file symbols, and to
5283 generate the .def files sorted by increasing names rather than the
5285 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
5286 from misc/*.old), and updated based on the entrypoint coding he used
5287 for an older version of ncurses.
5288 + add README.emx, to document how to build on OS/2 EMX.
5289 + updates for config.guess, config.sub from Lynx
5290 > patches by Ilya Zakharevich:
5291 + minor fixes for mouse handling mode:
5292 a) Do not initialize mouse if the request is to have no mouse;
5293 b) Allow switching of OS/2 VIO mouse on and off.
5294 + modify Makefile.os2 to support alternative means of generating
5295 configure script, by translating Unix script with Perl.
5296 > patches by Juergen Pfeifer:
5297 + Updates MANIFEST to reflect changes in source structure
5298 + Eliminates a problem introduced with my last patch for the C++
5299 binding in the panels code. It removes the update() call done in the
5301 + Changes in the Ada95 binding to better support systems where
5302 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
5305 + modify install-script for manpages to skip over .orig and .rej files
5306 (request by Larry Virden).
5307 > patches/discussion by Alexander V Lukyanov:
5308 + move base-library sources into ncurses/base and tty (serial terminal)
5309 sources into ncurses/tty, as part of Alexander V Lukyanov's proposed
5310 changes to ncurses library.
5311 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
5312 be linked into the normal ncurses library.
5313 + move macro winch to a function, to hide details of struct ldat
5314 > patches by Juergen Pfeifer:
5315 + fix a potential compile problem in cursesw.cc
5316 + some Ada95 cosmetics
5317 + fix a gen.c problem when compiling on 64-Bit machines
5318 + fix Ada95/gen/Makefile.in "-L" linker switch
5319 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
5322 + ifdef'd out lib_freeall.c when not configured.
5323 + rename _tracebits() to _nc_tracebits().
5324 + move terminfo-library sources into ncurses/tinfo, and trace-support
5325 functions into ncurses/trace as part of Alexander V Lukyanov's
5326 proposed changes to ncurses library.
5327 + modify generated term.h to always specify its own definitions for
5328 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
5329 broken configure scripts.
5332 + modify terminfo parsing to accept octal and hexadecimal constants,
5334 + remove an autoconf 2.10 artifact from the configure script's check
5335 for "-g" compiler options. (Though harmless, this confused someone
5336 at Debian, who recently issued a patch that results in the opposite
5338 + add configure option --with-ada-compiler to accommodate installations
5339 that do not use gcc as the driver for GNAT (patch by Juergen
5343 + ensure ./man exists in configure script, needed when configuring
5344 with --srcdir option.
5345 + modify infocmp "-r" option to remove limit on formatted termcap
5346 output, which makes it more like Solaris' version.
5347 + modify captoinfo to treat no-argument case more like Solaris'
5348 version, which uses the contents of $TERMCAP as the entry to format.
5349 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
5350 (patch by Alexander V Lukyanov).
5353 + modify --with-terminfo-dirs option so that the default value is the
5354 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
5355 rid of a hardcoded list of candidate directories in the configure
5357 + add some error-checking to _nc_read_file_entry() to ensure that
5358 strings are properly terminated (Todd C Miller).
5359 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
5360 correspond with contents (reported by Neil Zanella
5361 <nzanella@cs.mun.ca>).
5362 + remove redundant configure check for C++ which did not work when $CXX
5363 was specified with a full pathname (reported by Andreas Jaeger).
5364 + corrected bcopy/memmove check; the macro was not standalone.
5367 + remove unnecessary portion of OS/2 EMX mouse change from
5368 check_pending() (reported by Alexander V Lukyanov).
5371 + implement mouse support for OS/2 EMX (adapted from patch against
5372 4.2(?) by Ilya Zakharevich).
5373 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
5374 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
5375 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
5376 some older entries - TD
5377 + modify tic to compile into %'char' form in preference to %{number},
5378 since that is a little more efficient.
5379 + minor correction to infocmp to avoid displaying "difference" between
5380 two capabilities that are rendered in equivalent forms.
5381 + add -g option to tic/infocmp to force character constants to be
5382 displayed in quoted form. Otherwise their decimal values are shown.
5383 + modify setupterm so that cancelled strings are treated the same as
5384 absent strings, cancelled and absent booleans false (does not affect
5386 + modify tic, infocmp to discard redundant i3, r3 strings when output
5388 > patch by Alexander V Lukyanov:
5389 + improve performance of tparm, now it takes 19% instead of 25% when
5391 + rename maxlen/minlen to prec/width for better readability.
5392 + use format string for printing strings.
5393 + use len argument correctly in save_text, and pass it to save_number.
5396 + make test_progs compile (but hashmap does not function).
5397 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
5398 associated logic to avoid freeing the SP->_setbuf data.
5399 + add modules home_terminfo and getenv_num to libtinfo.
5400 + move write_entry to libtinfo, to work with termcap caching.
5401 + minor fixes to blue.c to build with atac.
5402 + remove softscroll.c module; no longer needed for testing.
5403 > patches by Todd C Miller:
5404 + use strtol(3) instead of atoi(3) when parsing env variables so we can
5405 detect a bogus (non-numeric) value.
5406 + check for terminal names > MAX_NAME_SIZE in a few more places when
5407 dealing with env variables again.
5408 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
5409 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
5410 string #define (compile time vs runtime).
5411 + when setting errno to ENOMEM, set it right before the return, not
5412 before code that could, possibly, set errno to a different value.
5413 > patches by Alexander V Lukyanov:
5414 + use default background in update_cost_from_blank()
5415 + disable scroll-hints when hashmap is configured.
5416 + improve integration of hashmap scrolling code, by adding oldhash and
5417 newhash data to SP struct.
5418 + invoke del_curterm from delscreen.
5419 + modify del_curterm to set cur_term to null if it matches the
5420 function's parameter which is deleted.
5421 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
5422 exit_insert_mode combination, adjusting InsCharCost to check
5423 enter_insert_mode, exit_insert_mode and insert_padding. Add
5424 insert_padding in insert mode after each char. This adds new costs
5428 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
5429 consistent treatment.
5430 + modify ncurses to restore output to unbuffered on endwin, and resume
5431 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
5432 + corrected HTML version numbers (according to the W3C validator, they
5433 never were HTML 2.0-compliant, but are acceptable 3.0).
5436 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
5437 capability name, as in SVr4.
5438 + modified term.h, termcap.h headers to avoid redundant declarations.
5439 + change 'u_int' type in tset.c to unsigned, making this compile on
5440 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
5443 + corrections to mailing addresses, and moving the magic line that
5444 causes the man program to invoke tbl to the first line of each
5445 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
5446 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
5447 (from J.J.G.Ripoll, with further integration by TD).
5448 + correct a typo in icl6404 terminfo entry.
5449 + add xtermm and xtermc terminfo entries.
5450 > from esr's terminfo version:
5451 + Added Francesco Potorti's tuned Wyse 99 entries.
5452 + dtterm enacs (from Alexander V Lukyanov).
5453 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
5456 + document AT&T acs characters in terminfo.5 manpage.
5457 + use EMX _scrsize() function if terminfo and environment do not
5458 declare the screen size (reported by Ilya Zakharevich
5459 <ilya@math.ohio-state.edu>).
5460 + remove spurious '\' characters from eterm and osborne terminfo
5461 entries (prompted by an old Debian bug report).
5462 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
5463 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
5464 + correct misplaced parenthesis which caused file-descriptor from
5465 opening termcap to be lost, from 980725 changes (reported by Andreas
5469 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
5470 when termios is not used (patch by Todd C Miller).
5471 + add function _nc_doalloc, to ensure that failed realloc calls do not
5472 leak memory (reported by Todd C Miller).
5473 + improved ncsa-telnet terminfo entry.
5476 + correct missing braces around a trace statement in read_entry.c,
5477 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
5481 + fix missing include <errno.h> in ditto.c (reported by Bernhard
5482 Rosenkraenzer <bero@k5.sucks.eu.org>)
5483 + add NCSA telnet terminfo entries from Francesco Potorti
5484 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
5485 + make handling of $LINES and $COLUMNS variables more compatible with
5486 Solaris by allowing them to individually override the window size
5487 as obtained via ioctl.
5490 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
5491 which may reset all attributes in the 'op' capability, so that colors
5492 are set before turning on bold and other attributes, but still after
5493 turning attributes off.
5494 + add 'ditto.c' to test directory to illustrate use of newterm for
5495 initializing multiple screens.
5496 + modify _nc_write_entry() to recover from failed attempt to link alias
5497 for a terminfo on a filesystem which does not preserve character case
5498 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
5501 + updated versions of config.guess and config.sub based on automake 1.3
5502 + change name-comparisons in lib_termcap to compare no more than 2
5503 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
5504 with Solaris curses).
5505 + fix typo in curs_insstr.3x (patch by Todd C Miller)
5506 + use 'access()' to check if ncurses library should be permitted to
5507 open or modify files with fopen/open/link/unlink/remove calls, in
5508 case the calling application is running in setuid mode (request by
5509 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
5510 <dps@io.stargate.co.uk>).
5511 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
5512 + qnxt2 and minitel terminfo entries from esr's version.
5515 + use -R option with ldconfig on FreeBSD because otherwise it resets
5516 the search path to /usr/lib (reported by Dan Nelson).
5517 + add -soname option when building shared libraries on OpenBSD 2.x
5518 (request by QingLong).
5519 + add configure options --with-manpage-format and
5520 --with-manpage-renames (request by QingLong).
5521 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
5522 omitting the high-order byte, producing a 254 in the compiled
5524 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
5525 tigetnum and tigetstr to be compatible with Solaris (gleaned from
5526 Debian distribution of 1.9.9g-8.8).
5527 + modify _nc_syserr_abort to abort only when compiled for debugging,
5528 otherwise simply exit with an error.
5531 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
5532 "_g" for a debug build).
5533 + update Ada95 'make clean' rule to include generics .ali files
5534 + add a configure test to ensure that if GNAT is found, that it can
5535 compile/link working Ada95 program.
5536 + flush output in beep and flash functions, fixing a problem with
5537 getstr (patch by Alexander V Lukyanov)
5538 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
5539 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
5540 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
5541 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
5545 + merge changes from current XFree86 xterm terminfo descriptions.
5546 + add configure option '--without-ada'.
5547 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
5548 corresponds to vt100.
5549 + change translation for termcap 'rs' to terminfo 'rs2', which is
5550 the documented equivalent, rather than 'rs1'.
5553 + slow 'worm' down a little, for very fast machines.
5554 + corrected firstchar/lastchar computation in lib_hline.c
5555 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
5556 CHANGED_TO_EOL macros.
5557 + modify init_pair so that if a color-pair is reinitialized, we will
5558 repaint the areas of the screen whose color changes, like SVr4 curses
5559 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
5560 + modify getsyx/setsyx macros to comply with SVr4 man-page which
5561 says that leaveok() affects their behavior (report by Darryl Miles,
5562 patch by Alexander V Lukyanov).
5565 + review terminfo.5 against Solaris 2.6 curses version, corrected
5566 several minor errors/omissions.
5567 + implement tparm %l format.
5568 + implement tparm printf-style width and precision for %s, %d, %x, %o
5570 + implement tparm dynamic variables (reported by Xiaodan Tang).
5573 + update man-page for for wattr_set, wattr_get (cf: 980509)
5574 + correct limits in hashtest, which would cause nonprinting characters
5575 to be written to large screens.
5576 + correct configure script, when --without-cxx was specified: the
5577 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
5578 2.8 tolerated the missing 'int'.
5579 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
5580 compiler's name might be something like "egcs" (patch by Juergen
5582 + correct curs_addch.3x, which implied that echochar could directly
5583 display control characters (patch by Alexander V Lukyanov).
5584 + fix typos in ncurses-intro.html (patch by Sidik Isani
5585 <isani@cfht.hawaii.edu>)
5588 + add configure test for conflicting use of exception in math.h and
5590 + minor optimization to 'hash()' function in hashmap.c, reduces its
5592 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
5593 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
5594 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
5595 > patch by Alexander V Lukyanov:
5596 + correct problem on Solaris (with poll() function) where getch could
5597 hang indefinitely even if timeout(x) was called. This turned out to
5598 be because milliseconds was not updated before 'goto retry' in
5600 + simplified the function _nc_timed_wait and fixed another bug, which
5601 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
5603 + removed the cycle on EINTR, as it seems to be useless.
5606 + add makefile-rule for test/keynames
5607 + modify run_tic.sh and shlib to ensure that user's .profile does not
5608 override the $PATH used to run tic (patch by Tim Mooney).
5609 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
5610 needed for HP-UX shared-library path (recommended by Tim Mooney).
5611 + remove special case of HP-UX -L options, use +b options to embed
5612 $(libdir) in the shared libraries (recommended by Tim Mooney).
5613 + add checks for some possible buffer overflows and unchecked
5614 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
5615 <Todd.Miller@courtesan.com>)
5618 + correct maxx/maxy expression for num_columns/num_lines in derwin
5619 (patch by Alexander V Lukyanov).
5620 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
5621 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
5622 configure option (suggested by Mike Hopkirk).
5623 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
5624 Hopkirk <hops@sco.com>).
5625 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
5626 Makefile.in, since this conflicts when g++ is used with HP-UX
5627 compiler (reported by Tim Mooney).
5628 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
5629 in some C++ implementations (reported by several people running
5630 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
5633 + modify write_entry.c so that it will not attempt to link aliases
5634 with embedded '/', but give only a warning.
5635 + put -L$(libdir) first when linking programs, except for HP-UX.
5636 + modify comp_scan.c to handle SVr4 terminfo description for att477,
5637 which contains a colon in the description field.
5638 + modify configure script to support SCO osr5.0.5 shared libraries,
5639 from comp.unix.sco.programmer newsgroup item (Mike Hopkirk).
5640 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
5642 + minor adjustments of const/NCURSES_CONST from IRIX compile.
5643 + add updates based on esr's 980509 version of terminfo.src.
5646 + correct macros for wattr_set, wattr_get, separate wattrset macro from
5647 these to preserve behavior that allows attributes to be combined with
5649 + add configure option --enable-no-padding, to allow environment
5650 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
5651 thereby making terminal emulators (e.g., for vt100) a little more
5652 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
5653 + modify configure script to embed ABI in shared libraries for HP-UX
5654 10.x (detailed request by Tim Mooney).
5655 + add test/example of the 'filter()' function.
5656 + add nxterm and xterm-color terminfo description (request by Cristian
5657 Gafton <gafton@redhat.com>).
5658 + modify rxvt terminfo description to clear alternate screen before
5659 switching back to normal screen, for compatibility with applications
5660 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
5661 + modify linux terminfo description to reset color palette (reported
5662 by Telford Tendys <telford@eng.uts.edu.au>).
5663 + correction to doupdate, for case where terminal does not support
5664 insert/delete character. The logic did not check that there was a
5665 difference in alignment of changes to old/new screens before
5666 repainting the whole non-blank portion of the line. Modified to fall
5667 through into logic that reduces by the portion which does not differ
5668 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
5669 + minor performance improvement to wnoutrefresh by moving some
5670 comparisons out of inner loop.
5673 + modify configure script to substitute NCURSES_CONST in curses.h
5674 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
5675 xterm-8bit to correspond to XFree86 3.9Ag.
5676 + remove restriction that forces ncurses to use setaf/setab if the
5677 number of colors is greater than 8. (see 970524 for xterm-16color).
5678 + change order of -L options (so that $(libdir) is searched first) when
5679 linking tic and other programs, to workaround HP's linker.
5680 Otherwise, the -L../lib is embedded when linking against shared
5681 libraries and the installed program does not run (reported by Ralf
5683 + modify configuration of shared libraries on Digital Unix so that
5684 versioning is embedded in the library, rather than implied by
5685 links (patch by Tim Mooney).
5688 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
5689 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
5690 <R.Hildebrandt@tu-bs.de>).
5691 + correct configure tests in CF_SHARED_OPTS which used $CC value to
5692 check for gcc, rather than autoconf's $GCC value. This did not
5693 work properly if the full pathname of the compiler were given
5694 (reported by Michael Yount <yount@csf.Colorado.edu>).
5695 + revise check for compiler options to force ANSI mode since repeating
5696 an option such as -Aa causes HP's compiler to fail on its own headers
5697 (reported by Clint Olsen <olsenc@ichips.intel.com>).
5700 + ifdef'd has_key() and mcprint() as extended functions.
5701 + modified several prototypes to correspond with 1997 version of
5702 X/Open Curses (affects ABI since developers have used attr_get).
5703 + remove spurious trailing blanks in glibc addon-scripts (patch by
5705 + insert a few braces at locations where gcc-2.8.x asks to use them to
5706 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
5707 by Juergen Pfeifer).
5710 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
5711 before -l to accommodate Solaris' linker (reported by Larry Virden).
5714 + modify lib_color.c to eliminate dependency on orig_colors and
5715 orig_pair, since SVr4 curses does not require these either, but
5716 uses them when they are available.
5717 + add detailed usage-message to infocmp.
5718 + correct a typo in att6386 entry (a "%?" which was "?").
5719 + add -f option to infocmp and tic, which formats the terminfo
5720 if/then/else/endif so that they are readable (with newlines and
5722 + fixes for glibc addon scripts (patch by H.J.Lu).
5725 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
5726 declared (from Adam J Richter <adam@yggdrasil.com>)
5727 + remove spurious curs_set() call from leaveok() (J T Conklin).
5728 + corrected handling leaveok() in doupdate() (patch by Alexander V.
5730 + improved version of wredrawln (patch by Alexander V. Lukyanov).
5731 + correct c++/Makefile.in so install target do not have embedded ../lib
5732 to confuse it (patch by Thomas Graf <graf@essi.fr>).
5733 + add warning to preinstall rule which checks if the installer would
5734 overwrite a curses.h or termcap.h that is not derived from ncurses.
5735 (The recommended configuration for developers who need both is to
5736 use --disable-overwrite).
5737 + modify preinstall rule in top-level Makefile to avoid implicit
5738 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
5739 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
5740 <te@informatik.uni-hannover.de>)
5741 + refine ifdef's for TRACE so that libncurses has fewer dependencies
5742 on libtinfo when TRACE is disabled.
5743 + modify configure script so that if the --with-termlib option is used
5744 to generate a separate terminfo library, we chain it to the ncurses
5745 library with a "-l" option (reported by Darryl Miles and Ian T.
5749 + correct limits and window in wredrawln function (reported/analysis by
5750 Alexander V. Lukyanov).
5751 + correct sed expression in configure script for --with-fallback
5752 option (patch by Jesse Thilo).
5753 + correct some places in configure script where $enableval was used
5754 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
5755 + modify some man-pages so no '.' or '..' falls between TH and SH
5756 macros, to accommodate man_db program (reported by Ian T. Zimmerman
5758 + terminfo.src 10.2.1 downloaded from ESR's webpage (ESR).
5759 > several changes by Juergen Pfeifer:
5760 + add copyright notices (and rcs id's) on remaining man-pages.
5761 + corrected prototypes for slk_* functions, using chtype rather than
5763 + implemented the wcolor_set() and slk_color() functions
5764 + the slk_attr_{set,off,on} functions need an additional void*
5765 parameter according to XSI.
5766 + fix the C++ and Ada95 binding as well as the man pages to
5767 reflect above enhancements.
5770 + use 'stat()' rather than 'access()' in toe.c to check for the
5771 existence of $HOME/.terminfo, since it may be a file.
5772 + suppress configure CF_CXX_LIBRARY check if we are not using g++
5773 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
5775 + turn on hashmap scrolling code by default, intend to remedy defects
5777 + minor corrections to terminfo.src changelog.
5779 980302 4.2 release for upload to prep.ai.mit.edu
5780 + correct Florian's email address in ncurses-intro.html
5781 + terminfo.src 10.2.0 (ESR).
5784 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
5785 QingLong <qinglong@Bolizm.ihep.su>).
5786 + minor documentation fixes (patch by Juergen Pfeifer).
5787 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
5788 <claesg@algonet.se>).
5789 + correct sign-extension in lib_insstr.c (reported by Sotiris
5790 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
5793 + regenerated some documentation overlooked in 980214 patch
5794 (ncurses-intro.doc, curs_outopts.3x.html)
5795 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
5797 + change maintainer's mailing address to florian@gnu.org, change
5798 tentative mailing list address to bug-ncurses-request@gnu.org (patch
5799 by Florian La Roche).
5800 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
5801 Hasse <gh@raditex.se>).
5802 + restore version numbers to Ada95 binding, accidentally deleted by
5803 copyright patch (patch by Juergen Pfeifer).
5806 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
5807 distributions, though it is retained in development.
5808 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
5810 + update mailing-list information (bug-ncurses@gnu.org).
5811 + update announcement for upcoming 4.2 release.
5812 + modify -lm test to check for 'sin()' rather than 'floor()'
5813 + remove spurious commas from terminfo.src descriptions.
5814 + change copyright notices to Free Software Foundation
5817 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
5819 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
5820 + ifdef-out true-return from _nc_mouse_inline() which depends on
5821 merge of QNX patch (pending 4.2 release).
5822 > patch to split off seldom-used modules in ncurses (J T Conklin):
5823 This reduces size by up to 2.6kb.
5824 + move functionality of _nc_usleep into napms, add configuration case
5826 + moved wchgat() from lib_addch.c to lib_chgat.c
5827 + moved clearok(), immedok(), leaveok(), and scrollok() from
5828 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
5830 + moved napms() from lib_kernel.c to lib_napms.c
5831 + moved echo() and noecho() from lib_raw.c to lib_echo.c
5832 + moved nl() and nonl() from lib_raw.c to lib_nl.c
5835 + corrected conversion in tclock.c (cf: 971018).
5836 + updates to Makefile.glibc and associated Linux configure script
5838 + workaround a quoting problem on SunOS with tar-copy.sh
5839 + correct init_pair() calls in worm.c to work when use_default_colors()
5841 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
5843 + add ncv capability to FreeBSD console (cons25w), making reverse
5845 + correct sense of configure-test for sys/time.h inclusion with
5847 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
5848 + remove unused/obsolete test-program rules from progs/Makefile.in
5849 (the rules in ncurses/Makefile.in work).
5850 + remove shared-library loader flags from test/Makefile.in, etc.
5851 + simplify test/configure.in using new version of autoconf to create
5853 + suppress suffix rules in test/Makefile.in, provide explicit
5854 dependency to work with --srcdir option and less capable 'make'
5856 > adapted from patch for QNX by Xiaodan Tang:
5857 + initialize %P and %g variables set/used in tparm, and also ensure
5858 that empty strings don't return a null result from tparam_internal
5859 + add QNX-specific prototype for vsscanf()
5860 + move initialization of SP->_keytry from init_keytry() to newterm() to
5861 avoid resetting it via a keyok() call by mouse_activate().
5862 + reorganized some functions in lib_mouse() to use case-statements.
5863 + remove sgr string from qnx terminfo entry since it is reported to
5864 turn off attributes inconsistently.
5867 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
5868 test for no_color_video.
5869 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
5871 + implement no_color_video attribute, and as a special case, reverse
5872 colors when the reverse attribute cannot be combined with color.
5873 + check for empty string in $TERM variable (reported by Brett Michaels
5875 > from reports by Fred Fish:
5876 + add configure-test for isascii
5877 + add configure-test for -lm library.
5878 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
5879 > patches by J.J.G.Ripoll
5880 + add configure/makefile variables to support .exe extension on
5881 OS/2 EMX (requires additional autoconf patches).
5882 + explicitly initialize variables in lib_data.c to appease OS/2 linker
5883 > patches by Fred Fish <fnf@ninemoons.com>
5884 + misc/Makefile.in (install.data): Avoid trying to install the CVS
5886 + aclocal.m4 (install.includes): Remove files in the include directory
5887 where we are going to install new ones, not the original source
5889 + misc/terminfo.src: Add entry for "beterm", derived from termcap
5890 distributed with BeOS PR2 using captoinfo.
5891 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
5892 + aclocal.m4: Assume bool types are unsigned.
5893 + progs/infocmp.c: workaround mwcc 32k function data limit
5896 + correct initialization of color-pair (cf: 970524) in xmas.c, which
5897 was using only one color-pair for all colors (reported by
5899 + add multithread options for objects build on EMX, for compatibility
5901 + split up an expression in MKlib_gen.sh to work around a problem on
5902 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
5903 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
5905 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
5906 + remove bold/underline from sun console entries since they're not
5908 + correct _tracef calls in _tracedump(), which did not separate format
5910 + correct getopt string for tic "-o" option, and add it to man-page
5911 synopsis (reported by Darren Hiebert <darren@hmi.com>).
5912 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
5913 optimization (Alexander V. Lukyanov).
5914 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
5915 Muyter <phdm@macqel.be>).
5916 > patches by Juergen Pfeifer:
5917 + Improve a feature of the forms driver. For invisible fields
5918 (O_VISIBLE off) only the contents but not the attributes are cleared.
5919 We now clear both. (Reported by Javier Kohan
5920 <jkohan@adan.fceia.unr.edu.ar>)
5921 + The man page form_field_opts.3x makes now clear, that invisible
5922 fields are also always inactive.
5923 + adjust ifdef's to compile the C++ binding with the just released
5924 gcc-2.8.0 c++ and the corresponding new C++ libraries.
5927 + correct "?" command in ncurses.c; it was performing non-screen writes
5928 while the program was in screen mode. (It "worked" in 1.9.9e because
5929 that version sets OPOST and OCRNL incorrectly).
5930 + return error from functions in lib_kernel, lib_raw and lib_ti if
5931 cur_term is null, or if underlying I/O fails.
5932 + amend change to tputs() so that it does not return an error if
5933 cur_term is null, since some applications depend on being able to use
5934 tputs without initializing the terminal (reported by Christian J.
5935 Robinson <infynity@cyberhighway.net>).
5938 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
5939 1.9.9e, together with fixes/additions for the "ansi" terminal type.
5940 + add tic check for save/restore cursor if change_scroll_region is
5941 defined (reference: O'Reilly book).
5942 + modify read_termcap.c to handle EMX-style pathnames (reported by
5944 + modify lib_raw.c to use EMX's setmode (patch from J.J.G.Ripoll).
5945 Ripoll says EMX's curses does this.
5946 + modify _nc_tic_expand() to generate \0 rather than \200.
5947 + move/revise 'expand()' from dump_entry.c to ncurses library as
5948 _nc_tic_expand(), for use by tack.
5949 + decode \a as \007 for terminfo, as per XSI.
5950 + correct translation of terminfo "^@", to \200, like \0.
5951 + modify next_char() to treat <cr><lf> the same as <newline>, for
5952 cross-platform compatibility.
5953 + use new version of autoconf (971230) to work around limited
5954 environment on CLIX, due to the way autoconf builds --help message.
5955 > patch by Juergen Pfeifer:
5956 + check that the Ada95 binding runs against the correct version of
5958 + insert constants about the library version into the main spec-file of
5962 + modify open/fopen calls to use binary mode, needed for EMX.
5963 + modify configure script to work with autoconf 2.10 mods for OS/2
5964 EMX (from J.J.G.Ripoll).
5965 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
5966 bypasses limited sed buffer length.
5967 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
5968 (J.J.G.Ripoll) to support OS/2 EMX:
5969 + add a _scrolling flag to SP, to set when we encounter a terminal
5970 that simply cannot scroll.
5971 + corrected logic in _nc_add_to_try(), by ensuring that strings with
5972 embedded \200 characters are matched.
5973 + don't assume the host has 'link()' function, for linking terminfo
5977 + if there's no ioctl's to support sigwinch handler, disable it.
5978 + add configure option --disable-ext-funcs to remove the extended
5979 functions from the build.
5980 + add configure option --with-termlib to generate the terminfo
5981 functions as a separate library.
5982 + add 'sources' rule to facilitate cross-compiling.
5983 + review/fix order of mostlyclean/clean/distclean rules.
5984 + modify install-rule for headers to first remove old header, in
5985 case there was a symbolic link that confuses the install script.
5986 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
5987 + add null pointer checks in wnoutrefresh(), overlap() (patch by
5988 Xiaodan Tang <xtang@qnx.com>)
5989 + correct tputs(), which could dereference a null cur_term if invoked
5990 before terminal is initialized (patch by Christopher Seawood
5992 > patch by Juergen Pfeifer:
5993 + makes better use of "pragma Inline" in the Ada95 binding
5994 + resynchronizes the generated html manpages
5997 + additional fixes for man-pages section-references
5998 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
6000 + remove hpa/vpa from rxvt terminal description because they are not
6001 implemented correctly, added sgr0.
6002 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
6003 Leitgeb <leitgeb@leland.stanford.edu>)
6006 + modify protection when installing libraries to (normally) not
6007 executable. HP-UX shared libraries are an exception.
6008 + add configure check for 'tack'.
6009 + implement script for renaming section-references in man-page install,
6010 for Debian configuration.
6011 + add validity-check for SP in trace code in baudrate() (reported by
6013 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
6014 + modify 'overlay()' so that copy applies target window background to
6016 + correct 'mvwin()' so that it does not clear the previous locations.
6017 + correct lib_acs.c so that 8-bit character is not sign expanded in
6018 case of wide characters in chtype.
6019 + correct control-char test in lib_addch.c for use with wide chars
6020 + use attribute in the chtype when adding a control character in
6021 lib_addch.c control char was added with current attribute
6024 + save/restore errno in _tracef() function
6025 + change treatment of initialize_color to use a range of 0..1000
6026 (recommended by Daniel Weaver).
6027 + set umask in mkinstalldirs, fixing problems reported by users who
6028 have set root's umask to 077.
6029 + correct bug in tic that caused capabilities to be reprinted at the
6030 end of output when they had embedded comments.
6031 + rewrote wredrawln to correspond to XSI, and split-out since it is
6032 not often used (from report by Alexander V. Lukyanov, 970825)
6033 + rewrote Dan Nelson's change to make it portable, as well as to
6034 correct logic for handling backslashes.
6035 + add code to _nc_tgetent() to make it work more like a real tgetent().
6036 It removes all empty fields, and removes all but the first in a group
6037 of duplicate caps. The code was pulled from the BSD libtermcap code
6038 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
6039 + don't include --enable-widec in the --with-develop configure option,
6040 since it is not binary-compatible with 4.1 (noted by Alexander V.
6042 > patch by Juergen Pfeifer:
6043 + further improvements of the usage of elaboration pragmas in the Ada95
6045 + enhanced Ada95 sample to use the user_data mechanism for panels.
6046 + a fix for the configuration script to make gnat-3.10 the required
6048 + resync of the html version of the manpages
6051 > fixes/updates for terminfo.src:
6052 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
6054 + add hds200 description (Walter Skorski)
6055 + add EMX 0.9b descriptions
6056 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
6057 + rename xhpterm back to hpterm.
6058 > patch by Juergen Pfeifer:
6059 + Improves the usage of elaboration pragmas for the Ada95 binding.
6060 + Adds a translation of the test/rain.c into Ada95 to the samples.
6061 This has been contributed to the project by Laurent Pautet
6065 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
6067 + correction & simplification of delay computation in tputs, based on
6068 comments from Daniel Weaver.
6069 + replace test for SCO with more precise header tests.
6070 + add configure test for unsigned literals, use in NCURSES_BITS macro.
6071 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
6072 since they probably are not needed, and are less efficient (noted by
6074 + add -L$(libdir) to loader options, after -L../lib so that loaders
6075 that record this information will tend to do the right thing if
6076 the programs are moved around after installing them (suggested by
6078 + add -R option to loader options for programs for Solaris if the
6079 --enable-rpath option is specified for the libraries.
6082 + correct installed filename for shared libraries on *BSD (reported by
6086 + cleanup logic for deciding when tputs() should call delay_output(),
6087 based on comments from Daniel Weaver.
6088 + modified tputs() to avoid use of float.
6089 + correct use of trailpad in tputs(), which used the wrong variable
6090 in call to delay_output().
6091 + correct inverted expression for null-count in delay_output()
6092 (analysis by Daniel Weaver).
6093 + apply --enable-rpath option to Solaris (requested by Larry Virden).
6094 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
6095 + correct check for error-return by _nc_tgetent(), which returns 0
6097 + add configure test for BSD 4.4 cgetent() function, modify
6098 read_termcap.c to use the host's version of that if found, using the
6099 terminal database on FreeBSD (reported by Peter Wemm).
6100 + add u8, u9 strings to sun-il description for Daniel Weaver.
6101 + use NCURSES_CONST in panel's user-pointer.
6102 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
6103 so that will work on NeXT.
6104 + use _nc_set_screen() rather than assignments to SP to fix port to
6105 NeXT (reported by Francisco A. Tomei Torres).
6108 + force mandatory padding in bell and flash_screen, as specified in
6110 + don't allow padding_baud_rate to override mandatory delays (reported
6112 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
6113 defined, or if the cur_term pointer is not initialized. XSI treats
6114 this as unspecified. (requested by Daniel Weaver).
6115 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
6116 when that feature is not configured.
6117 + remove _nc_err_abort() calls when write_entry.c finds a directory but
6118 cannot write to it, e.g., when translating part/all of /etc/termcap
6119 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
6120 (this dates back to 951102, in 1.9.7a).
6121 + minor ifdef fixes to compile with atac and glibc 2.0.5c
6122 + add check for -lgen when configuring regexpr.h
6123 + modify Solaris shared-library option "-d y" to "-dy" to workaround
6124 incompatibility of gcc 2.7.2 vs vendor's tools.
6127 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
6129 + remove dangling backslash in panel/Makefile.in
6130 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
6132 + correct length of allocation in _nc_add_to_try(), to allow for
6134 + correct logic in _nc_remove_key(), which was discarding too many
6135 nodes (patch by Alexander V. Lukyanov)
6138 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
6139 shared libraries link properly (see 970524).
6140 + modify Linux shared-library generation to include library
6141 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
6142 panel libraries (suggested by Juergen Pfeifer).
6143 + modify configure script to use config.guess and config.sub rather
6144 than uname, which is unreliable on some systems.
6145 + updated Makefile.glibc, test-built with glibc 2.0.5c
6146 + modify keyname() to return values consistent with SVr4 curses (patch
6148 > changes requested by Daniel Weaver:
6149 + modify delay_output() so that it uses the same output function as
6150 tputs() if called from that function.
6151 + move _baudrate from SCREEN to TERMINAL so that low-level use of
6152 tputs works when SP is not set.
6153 > patch by Juergen Pfeifer:
6154 + factor lib_menu and lib_form into smaller modules
6155 + clean up the interface between panel and SCREEN
6156 + minor changes to the Ada95 mouse support implemenation
6157 + minor bugfix in C++ binding to ripoff windows
6158 + fix a few Ada95 html documentation pages
6161 + split-out lib_ungetch.c, make runtime link to resizeterm() to
6162 decouple those modules from lib_restart.c
6163 + add xterm-xf86-v39t description to terminfo.src
6164 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
6165 endwin() to avoid unnecessary repainting if the application has
6166 established an atexit function, etc. Encountered this problem in
6167 the c++ demo, whose destructors repaint the screen.
6168 + combine _nc_get_screensize() and resizeterm() calls as new function
6169 _nc_update_screensize().
6170 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
6172 + implement install-rules for Ada95 makefiles.
6173 + use screen_lines or MAXLINES as needed where LINES was coded,
6174 as well as screen_columns for COLS, in the ncurses library.
6175 > patch by Alexander V. Lukyanov:
6176 + modify logic for ripped-off lines to handle several SCREENs.
6177 > patch by Juergen Pfeifer:
6178 + factors lib_slk.c into some smaller modules
6179 + factors panel.c into some smaller modules
6180 + puts the static information about the current panel stack into the
6181 SCREEN structure to allow different panel stacks on different
6183 + preliminary fix for an error adjusting LINES to account for
6187 + move _nc_max_click_interval and other mouse interface items to SCREEN
6188 struct so that they are associated with a single terminal, and also
6189 save memory when the application does not need a mouse (roughly 3k vs
6191 + modify mouseinterval() so that a negative parameter queries the
6192 click-interval without modifying it.
6193 + modify ncurses 'i' test to work with ncurses' apparent extension from
6194 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
6196 + add configure options --with-ada-includes and --with-ada-objects,
6197 to drive Ada95 binding install (not yet implemented).
6198 + install C++ binding as -lncurses++ and associated headers with the
6199 other ncurses headers.
6200 + fix header uninstall if configure --srcdir is used.
6201 > minor interface changes to support 'tack' program -TD
6202 (request by Daniel Weaver <danw@znyx.com>).
6203 + export functions _nc_trans_string() and _nc_msec_cost().
6204 + add variable _nc_nulls_sent, to record the number of padding
6205 characters output in delay_output().
6206 + move tests for generic_type and hard_copy terminals in setupterm()
6207 to the end of that function so that the library will still be
6208 initialized, though not generally useful for curses programs.
6209 > patches by Alexander V. Lukyanov:
6210 + modify ClrBottom() to avoid using clr_eos if there is only one line
6212 + typo in configure --help.
6213 > patch by J T Conklin (with minor resync against Juergen's changes)
6214 + split-out lib_flash.c from lib_beep.c
6215 + split-out lib_hline.c and lib_vline.c from lib_box.c
6216 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
6219 > patch by Juergen Pfeifer:
6220 + correct source/target of c++/edit_cfg.sh
6223 + add color, mouse support to kterm terminfo entry.
6224 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
6225 providing "xterm"-style mouse.
6226 + updated rxvt's terminfo description to correspond to 2.21b, with
6227 fixes for the acsc (the box1 capability is incorrect, ech1 does not
6229 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
6230 an entry from equivalents in XENIX or AIX. This lets ncurses handle
6231 the distribution copy of rxvt's terminfo.
6232 + modify acsc capability for linux and linux-koi8 terminfo descriptions
6233 (from Pavel Roskin <pavel@absolute.spb.su>).
6234 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
6235 rather than 'i' (see 970802).
6236 + updated terminfo.src with reformatted acsc entries, and repaired the
6237 trashed entries with spurious '\' characters that this exposed.
6238 + add logic to dump_entry.c to reformat acsc entries into canonical
6239 form (sorted, unique mapping).
6240 + add configure script to generate c++/etip.h
6241 + add configure --with-develop option, to enable by default most of the
6242 experimental options (requested by Alexander V. Lukyanov).
6243 + rename 'deinstall' to 'uninstall', following GNU convention
6244 (suggested by Alexander V. Lukyanov).
6245 > patches by Alexander V. Lukyanov:
6246 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
6247 line of the screen, since carriage return will not cause a newline.
6248 + remove clause from PutCharLR() that would try to use
6249 eat_newline_glitch since that apparently does not work on some
6250 terminals (e.g., M$ telnet).
6251 + correct a limit check in scroll_csr_backward()
6252 > patches by Juergen Pfeifer:
6253 + adds dummy implementations of methods above() and below() to the
6255 + fixes missing returncode in NCursesWindow::ripoffline()
6256 + fixes missing returncode in TestApplication::run() in demo.cc
6257 + We should at least give a comment in etip.h why it is currently a
6258 problem to install the C++ binding somewhere
6259 + makes the WINDOW* argument of wenclose() a const.
6260 + modifies several of the routines in lib_adabind.c to use a const
6264 + add 'deinstall' rules.
6265 + use explicit assignments in configure --without-progs option to
6266 work around autoconf bug which doesn't always set $withval.
6267 + check for ldconfig, don't try to run it if not found.
6268 + implement simple/unoptimized case in lib_doupdate.c to handle
6269 display with magic cookie glitch, tested with ncurses.c program.
6270 + correct missing _tracef in getmouse(), to balance the returnCode
6272 + simplify show_attr() in ncurses.c using termattrs().
6273 > patches by Juergen Pfeifer:
6274 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
6276 + fixes a typo in a comment of frm_driver.c
6277 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
6278 generics should be compiled. Proper fixes to the configuration
6279 scripts are also provided.
6282 + several modifications to the configure script (requested by Ward
6284 + add configure options --without-progs, to suppress the build of the
6285 utility programs, e.g., for cross-compiling.
6286 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
6287 Makefile.in, to simplify setup for cross compiling.
6288 + add logic in configure script to recognize "--target=vxworks", and
6289 generate load/install actions for VxWorks objects.
6290 + move typedef for sigaction_t into SigAction.h to work around problem
6291 generating lint library.
6292 + modify fty_regex.c to reflect renaming of ifdef's for regular
6294 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
6295 reside in <sys/ioctl.h>.
6296 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
6297 the more obscure tests, which rely upon color.
6298 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
6299 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
6300 implementation difference wrt SVr4 curses, allow 's' test to work.
6301 + add missing endwin() to testscanw.c program (reported by Fausto
6302 Saporito <fausap@itb.it>).
6303 + fixes/updates for Makefile.glibc and related files under sysdeps
6305 > patches by Juergen Pfeifer:
6306 + add checks for null pointers, especially WINDOW's throughout the
6308 + solve a problem with wrong calculation of panel overlapping (reported
6310 + make sure that a panel's window isn't a pad.
6311 + do more error checking in module lib_touch.c
6312 + missing files for Ada95 binding from the last patch
6313 + synch. of generated html pages (RCS-Id's were wrong in html files)
6314 + support for Key_Resize in Ada binding
6315 + changed documentation style in ./c++/cursesm.h
6316 > patches by Alexander V. Lukyanov:
6317 + undo attempt to do recursive inlining for PutChar(), noting that it
6318 did not improve timing measurably, but inflated the size of
6322 + modify rain.c to use color.
6323 + correct scroll_csr_backward() to match scroll_csr_forward().
6324 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
6325 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
6326 of configure cache variables in 970906.
6327 + correct logic involving changes to O_VISIBLE option in
6328 Synchronize_Options function in frm_driver.c (Tony Hoffmann
6329 <Tony.Hoffmann@hia.nrc.ca>)
6330 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
6331 cross compiling (suggested by Chris Johns).
6332 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
6333 use it to support screen-size calculation (reported by Chris Johns).
6334 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
6335 Chris Johns <cjohns@plessey.com.au>)
6336 > patches by Juergen Pfeifer:
6337 + simplified, made minor corrections to Ada95 binding to form
6339 + The C++ binding has been enhanced:
6340 + Improve NCursesWindow class: added additional methods to cover
6341 more ncurses functionality. Make refresh() and noutrefresh()
6342 virtual members to allow different implementation in the
6344 + CAUTION: changed order of parameters in vline() and hline() of
6345 NCursesWindow class.
6346 + Make refresh() in NCursesPanel non-static, it is now a
6347 reimplementation of refresh() in the base class. Added
6348 noutrefresh() to NCursesPanel.
6349 + Added NCursesForm and related classes to support libform
6351 + Moved most of configuration related stuff from cursesw.h to etip.h
6352 + Added NCursesApplication class to support easy configuration of
6353 menu and forms related attributes as well as ripped of title lines
6354 and Soft-Label-Keys for an application.
6355 + Support of Auto-Cleanup for a menu's fieldlist.
6356 + Change of return type for current_item() and operator[] for menus.
6358 + Fixed a bug in form/fld_def.c: take into account that copyarg and
6359 freearg for a fieldtype may be NULL, makearg must not be NULL
6360 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
6361 not be NULL, copyarg and freearg may be NULL.
6362 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
6363 already disconnected.
6364 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
6365 navigation requests.
6366 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
6367 case-insensitiva comparision routine.
6368 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
6369 forms field by index.
6370 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
6372 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
6373 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
6374 broken (didn't handle colors correctly).
6375 + Enhanced lib_mouse.c: added _nc_has_mouse() function
6376 + Added _nc_has_mouse() prototype to curses.priv.h
6377 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
6378 streamlined implementation of wbkgd()
6379 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
6380 move of subwindows. Fixed update behavior of movements of regular
6382 + Fixed lib_pad.c: make chtype argument of pechochar() const.
6383 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
6384 of the original. Subwindows become regular windows by doing a
6386 + Improved manpage form_fieldtype.3x
6387 > patches by Alexander V. Lukyanov:
6388 + simplify the PutChar() handling of exit_am_mode, because we already
6389 know that auto_right_margin is true.
6390 + add a check in PutChar() for ability to insert to the case of
6391 shifting character to LR corner.
6392 + in terminal initialization by _nc_screen_resume(), make sure that
6393 terminal right margin mode is known.
6394 + move logic that invokes touchline(), or does the equivalent, into
6395 _nc_scroll_window().
6396 + modify scrolling logic use of insert/delete line capability, assuming
6397 that they affect the screen contents only within the current
6399 + modify rain.c to demonstrate SIGWINCH handler.
6400 + remove logic from getch() that would return an ERR if the application
6401 called getch() when the cursor was at the lower-right corner of the
6402 physical screen, and the terminal does not have insert-character
6404 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
6405 is read, and modify logic in getch() so this fix will yield the
6406 desired behavior, i.e., the screen is repainted automatically when
6407 the terminal window is resized.
6410 + add configure option --enable-sigwinch
6411 + modify view.c to test KEY_RESIZE logic, with "-r" option.
6412 + modify testcurs.c to eliminate misleading display wrt cursor type
6413 by testing if the terminal supports cnorm, civis, cvvis.
6414 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
6415 _nc_curr_col variables into linked programs: move these variables,
6416 making new modules lib_cur_term and trace_buf (reported by Francisco
6417 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
6418 > patches by Alexander V. Lukyanov:
6419 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
6420 the SIGWINCH handler has been called since the last call to
6422 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
6423 + add SIGWINCH handler to ncurses library which is used if there is no
6424 application SIGWINCH handler in effect when the screen is
6426 + make linked list of all SCREEN structures.
6427 + move curses.h include before definition of SCREEN to use types in
6429 + correction to ensure that wgetstr uses only a newline to force a
6433 + add experimental configure option --enable-safe-sprintf; the normal
6434 mode now allocates a buffer as large as the screen for the
6435 lib_printw.c functions.
6436 + modify wgetch to refresh screen when reading ungetch'd characters,
6437 since the application may require this - SVr4 does this.
6438 + refine treatment of newline in wgetstr to echo only when this would
6439 force the screen to scroll.
6442 + remove override in wgetstr() that forces keypad(), since SVr4 does
6444 + correct y-reference for erasure in wgetstr() when a wrap forces a
6446 + correct x-position in waddch() after a wrap forces a scroll.
6447 + echo newline in wgetstr(), making testscanw.c scroll properly when
6449 + modify vwscanw() to avoid potential buffer overflow.
6450 + rewrote lib_printw.c to eliminate fixed-buffer limits.
6451 > patches by Alexander V. Lukyanov:
6452 + correct an error in handling cooked mode in wgetch(); processing
6453 was in the wrong order.
6454 + simplified logic in wgetch() that handles backspace, etc., by using
6456 + correct wechochar() so that it interprets the output character as
6458 + modify pechochar() to use prefresh() rather than doupdate(), since
6459 the latter does not guarantee immediate refresh of the pad.
6460 + modify pechochar() so that if called with a non-pad WINDOW, will
6461 invoke wechochar() instead.
6462 + modify fifo indices to allow fifo to be longer than 127 bytes.
6465 + add xterm-8bit to terminfo.src
6466 + moved logic for SP->_fifohold inside check_pending() to make it
6467 work properly when we add calls to that function.
6468 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
6469 are assigned to bool values (patch by H.J.Lu).
6470 > patches by Alexander V. Lukyanov:
6471 + several fixes to getch:
6472 1. Separate cooked and raw keys in fifo
6473 2. Fix the case of ungetch'ed KEY_MOUSE
6474 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
6475 4. correctly handle input errors (i.e., EINTR) without loss of raw
6477 5. recognize ESC KEY_LEFT and similar
6478 6. correctly handle the case of receiption of KEY_MOUSE from gpm
6479 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
6480 single mouse events (press/release) to be ignored in favor of
6481 composed events (click). Improves on a fix from integrating gpm
6483 + add another call to check_pending, before scrolling, for
6484 line-breakout optimization
6485 + improve hashmap.c by
6486 1. fixed loop condition in grow_hunks()
6487 2. not marking lines with offset 0
6488 3. fixed condition of 'too far' criteria, thus one-line hunks are
6489 ignored and two lines interchanged won't pass.
6490 + rewrote/simplified _nc_scroll_optimize() by separating into two
6491 passes, forward/backward, looking for chunks moving only in the given
6493 + move logic that emits sgr0 when initializing the screen to
6494 _nc_screen_init(), now invoked from newterm.
6495 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
6496 function and screen cleanup (i.e., color) into _nc_screen_wrap()
6498 + add new functions _nc_screen_init(), _nc_screen_resume() and
6500 + rename _nc_mvcur_scrolln() to _nc_scrolln().
6501 + add a copy of acs_map[] to the SCREEN structure, where it can be
6502 stored/retrieved via set_term().
6503 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
6507 + implement experimental _nc_perform_scroll().
6508 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
6509 initializing the screen, as does SVr4 (reported by Alexander V.
6511 + added test_progs rule to ncurses/Makefile.
6512 + modify test/configure.in to check if initscr is already in $LIBS
6513 before looking for (n)curses library.
6514 + correct version-number in configure script for OSF1 shared-library
6515 options (patch by Tim Mooney).
6516 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
6517 originally patched) since the c++ demo files do not necessarily
6518 include ncurses_cfg.h
6519 + supply default value for --enable-assertions option in configure
6520 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
6521 > patches by Alexander V. Lukyanov:
6522 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
6524 + optimize waddch_literal() and waddch_nosync() by factoring out
6525 common subexpressions.
6526 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
6527 + corrections to render_char(), to make handling of colored blanks
6528 match SVr4 curses, as well as to correct a bug that xor'd space
6529 against the background character.
6530 + replaced hash function with a faster one (timed it)
6531 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
6532 cost_effective() calls on the same lines.
6533 + modified cost_effective() so it is now slightly more precise.
6534 > patches for glibc integration (H.J.Lu):
6535 + add modules define_key, keyok, name_match, tries
6536 + add makefile rules for some of the unit tests in ncurses (mvcur,
6537 captoinfo, hardscroll, hashmap).
6538 + update Linux configure-script for wide-character definitions.
6541 + modify _tracebits() to show the character size (e.g., CS8).
6542 + modify tparm() to emit '\200' where the generated string would have a
6543 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
6544 terminal type ncr7900).
6545 + modify install process so that ldconfig is not invoked if the
6546 package is built with an install-prefix.
6547 + correct test program for chtype size (reported by Tim Mooney).
6548 + add configure option --disable-scroll-hints, using this to ifdef the
6549 logic that computes indices for _nc_scroll_optimize().
6550 + add module ncurses/softscroll.c, to perform single-stage computation
6551 of scroll indices used in _nc_scroll_optimize(). This is faster than
6552 the existing scrolling algorithm, but tends to make too-small hunks.
6553 + eliminate fixed buffer size in _nc_linedump().
6554 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
6555 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
6556 by Alexander V. Lukyanov).
6557 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
6558 + correct processing of "configure --enable-assertions" option (patch
6559 by Juergen Pfeifer).
6562 + add '-s' (single-step) option too test/hashtest.c, correct an error
6563 in loop limit for '-f' (footer option), toggle scrollok() when
6564 writing footer to avoid wrap at lower-right corner.
6565 + correct behavior of clrtoeol() immediately after wrapping cursor,
6566 which was not clearing the line at the cursor position (reported by
6567 Liviu Daia <daia@stoilow.imar.ro>).
6568 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
6569 (reported by Klaus Weide <kweide@tezcat.com>).
6570 + many corrections to make progs/capconvert work, as well as make it
6571 reasonably portable and integrated with ncurses 4.1 (reported by Dave
6572 Furstenau <df@ravine.binary.net>).
6575 + add flag SP->_fifohold, corresponding logic to modify the behavior of
6576 the line breakout logic so that if the application does not read
6577 input, refreshes will not be stopped, but only slowed.
6578 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
6579 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
6580 masks are identical with the A_xxx masks.
6581 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
6582 configuration of wide-characters.
6583 + modify tset to behave more like SVr4's tset, which does not modify
6584 the settings of intr, quit or erase unless they are given as command
6585 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
6586 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
6587 does not have getttynam().
6588 + extend baudrate table in tset.c to match baudrate() function.
6589 + add table entries for 230400 and 460800 bd to baudrate() function.
6590 + improve breakout logic by allowing it before the first line updated,
6591 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
6592 + correct initialization of vcost in relative_move(), for cursor-down
6593 case (patch by Alexander V. Lukyanov).
6594 > nits gleaned from Debian distribution of 1.9.9g-3:
6595 + install symbolic link for intotocap.
6596 + reference libc directly when making shared libraries.
6597 + correct renaming of curs_scr_dmp.3x in man_db.renames.
6598 + guard tgetflag() and other termcap functions against null cur_term
6602 + corrected initial state of software echo (error in 970405, reported
6603 by Alexander V. Lukyanov).
6604 + reviewed/added messages to configure script, so that all non-test
6605 options should be accompanied by a message.
6606 + add configure check for long filenames, using this to determine if
6607 it is safe to allow long aliases for terminal descriptions as does
6609 + add configure options for widec (wide character), hashmap (both
6611 > patch by Alexander V. Lukyanov:
6612 + hashmap.c - improved by heuristic, so that scroll test works much
6613 better when csr is not available.
6614 + hardscroll.c - patched so that it continues to scroll other chunks
6615 after failure to scroll one.
6616 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
6617 is avoided as it is relative costly. Fixed wrong coordinates in one
6618 case and wrong string in TRACE.
6619 > patch by Juergen Pfeifer:
6620 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
6624 + remove alternate character set from kterm terminfo entry; it uses the
6625 shift-out control for a purpose incompatible with curses, i.e., font
6627 + disentangle 'xterm' terminfo entry from some derived entries that
6628 should be based on xterm-r6 instead.
6629 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
6630 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
6631 + correct logic in lib_mvcur.c that uses back_tab.
6634 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
6635 contents of curscr are saved in newscr before clearing the screen.
6636 This is needed to make repainting work with the present logic of
6638 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
6641 + add limit checks to _nc_read_file_entry() to guard against overflow
6642 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
6643 + correct some loop-variable errors in xmc support in lib_doupdate.c
6644 + modify ncurses 'b' test to add gaps, specified by user, to allow
6645 investigation of interaction with xmc (magic cookie) code.
6646 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
6647 list from has_colors(), which gcc ignores, but SVr4 does not
6648 (reported by Larry Virden).
6649 + correct rmso capability in wy50-mc description.
6650 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
6652 > patch by Juergen Pfeifer:
6653 + Add bindings for keyok() and define_key() to the Ada95 packages.
6654 + Improve man pages menu_post.3x and menu_format.3x
6655 + Fix the HTML pages in the Ada95/html directory to reflect the above
6659 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
6660 pending changes to both curscr and newscr are flushed properly.
6661 This fixes a case where the first scrolling operation in nvi would
6662 cause the screen to be cleared unnecessarily and repainted before
6663 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
6665 + correct error in trans_string() which added embedded newlines in a
6666 terminfo description to the stored strings.
6667 + remove spurious newlines from sgr in wyse50 (and several other)
6668 terminfo descriptions.
6669 + add configure option for experimental xmc (magic cookie) code,
6670 "--enable-xmc-glitch". When disabled (the default), attributes that
6671 would store a magic cookie are suppressed in vidputs(). The magic
6672 cookie code is far from workable at this stage; the configuration
6673 option is a stopgap.
6674 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
6675 + correct path for invoking make_keys (a missing "./").
6678 + correct sign-extension problem with "infocmp -e", which corrupted
6679 acsc values computed for linux fallback data.
6680 + correct dependency on ncurses/names.c (a missing "./").
6681 + modify configure script to use '&&' even for cd'ing to existing
6682 directories to work around broken shell interpreters.
6683 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
6687 + restore logic in _nc_scroll_optimize() which marks as touched the
6688 lines in curscr that are shifted.
6689 + add new utility 'make_keys' to compute keys.tries as a table rather
6690 than a series of function calls.
6691 + correct include-dependency for tic.h used by name_match
6692 + removed buffer-allocation for name and description from m_item_new.c,
6693 since this might result in incompatibilities with SVr4. Also fixed
6694 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
6695 report by Avery Pennarun <apenwarr@foxnet.net>)
6696 + removed the mechanism to timestamp the generated Ada95 sources. This
6697 resulted always in generating patches for the HTML doc, even when
6698 nothing really changed (patch by Juergen Pfeifer).
6699 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
6702 + remove ech capability from rxvt description because it does not work.
6703 + add missing case logic for infocmp -I option (reported by Lorenzo M.
6704 Catucci <lorenzo@argon.roma2.infn.it>)
6705 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
6706 caused glitches in the ncurses 'p' test since the area outside the
6707 pad was not compared when setting up indices for _nc_scroll_optimize.
6708 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
6709 4.4, as well as to eliminate fixed-size buffer (reported by Chris
6710 Tanner <tannerc@aecl.ca>)
6711 + correct prototype for termattrs() as per XPG4 version 2.
6712 + add placeholder prototypes for color_set(), erasewchar(),
6713 term_attrs(), wcolor_set() as per XPG4 version 2.
6714 + correct attribution for progs/progs.priv.h and lib_twait.c
6715 + improve line-breakout logic by checking based on changed lines rather
6716 than total lines (patch by Alexander V. Lukyanov).
6717 + correct loop limits for table-lookup of enumerated value in form
6718 (patch by Juergen Pfeifer).
6719 + improve threshhold computation for determining when to call ClrToEOL
6720 (patch by Alexander V. Lukyanov).
6723 + add configure option --disable-database to force the library to
6724 use only the fallback data.
6725 + add configure option --with-fallbacks, to specify list of fallback
6726 terminal descriptions.
6727 + add a symbolic link for ncurses.h during install; too many programs
6728 still assume there's an ncurses.h
6729 + add new terminfo.src entry for xterm-xf86-v33.
6730 + restore terminfo.src entry for emu to using setf/setb, since it is
6731 not, after all, generating ANSI sequences. Corrected missing comma
6732 that caused setf/setb entries to merge.
6733 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
6734 that applications can disable ncurses' mouse and supply their own
6736 + add extensions keyok() and define_key(). These are designed to allow
6737 the user's application better control over the use of function keys,
6738 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
6739 a mailing-list thread started by Kenneth Albanowski
6740 <kjahds@kjahds.com> Nov'1995).
6741 + restore original behavior in ncurses 'g' test, i.e., explicitly
6742 set the keypad mode rather than use the default, since it confuses
6744 + rewrote the newdemo banner so it's readable (reported by Hugh
6746 + tidy up exit from hashtest (reported by Hugh Daniel).
6747 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
6749 + correct tput program, checking return-value of setupterm (patch by
6751 + correct logic in pnoutrefresh() and pechochar() functions (reported
6752 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
6753 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
6754 original implementation (1.9.6).
6755 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
6756 <rwuest@sire.vt.com>)
6757 + move calls of _nc_background() out of various loops, as its return
6758 value will be the same for the whole window being operated on (patch
6760 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
6761 SVr4 headers (patch by J T Conklin <jtc@NetBSD.ORG>)
6762 + modify glibc addon-configure scripts (patch by H.J.Lu).
6763 + correct a bug in hashmap.c: the size used for clearing the hashmap
6764 table was incorrect, causing stack corruption for large values of
6765 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
6766 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
6767 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
6769 > several changes by Juergen Pfeifer:
6770 + correct a missing error-return in form_driver.c when wrapping of a
6771 field is not possible.
6772 + correct logic in form_driver.c for configurations that do not have
6773 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
6774 + change several c++ binding functions to inline.
6775 + modify c++ menu binding to inherit from panels, for proper
6777 + correct freeing of menu items in c++ binding.
6778 + modify c++ binding to reflect removal of const from user data pointer
6779 in forms/menus libraries.
6782 + add description of xterm-16color.
6783 + modify name of shared-library on *BSD to end with $(REL_VERSION)
6784 rather than $(ABI_VERSION) to match actual convention on FreeBSD
6786 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
6787 (reported by Hugh Daniel <hugh@rat.toad.com>).
6788 + corrected include-dependency in menu/Makefile so that "make install"
6789 works properly w/o first doing "make".
6790 + add fallback definition for isascii, used in infocmp.
6791 + modify xmas to use color, and to exit right away when a key is
6793 + modify gdc so that the scrolled digits function as described (there
6794 was no time delay between the stages, and the digits overwrote the
6795 bounding box without tidying up).
6796 + modify lib_color.c to use setaf/setab only for the ANSI color codes
6797 0 through 7. Using 16 colors requires setf/setb.
6798 + modify ncurses 'c' test to work with 16 colors, as well as the normal
6800 + remove const qualifier from user data pointer in forms and menus
6801 libraries (patch by Juergen Pfeifer).
6802 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
6803 function, thereby not interpreting tabs, etc., as per spec (patch by
6804 Alexander V. Lukyanov).
6807 + suppress check for pre-existing ncurses header if the --prefix
6808 option is specified.
6809 + add configure options "--with-system-type" and
6810 "--with-system-release" to assist in checking the generated
6812 + add configure option "--enable-rpath" to allow installers to specify
6813 that programs linked against shared libraries will have their library
6814 path embedded, allowing installs into nonstandard locations.
6815 + add flags to OSF1 shared-library options to specify version and
6816 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
6817 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
6818 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
6819 + modify link flags to accommodate HP-UX linker which embeds absolute
6820 pathnames in executables linked against shared libraries (reported by
6821 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
6822 <ats@hubert.wustl.edu>).
6823 + drop unnecessary check for attribute-change in onscreen_mvcur() since
6824 mvcur() is the only caller within the library, and that check in turn
6825 is exercised only from lib_doupdate.c (patch by Alexander V.
6827 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
6828 can use the background of stdscr as a parameter to that function
6829 (patch by Alexander V. Lukyanov).
6830 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
6831 the latter's internal functions, as well as to eliminate unnecessary
6832 cursor save/restore operations (patch by Alexander V. Lukyanov).
6833 + omit parameter of ClrUpdate(), since it is called only for newscr,
6834 further optimized/reduced by using ClearScreen() and TransformLine()
6835 to get rid of duplicate code (patch by Alexander V. Lukyanov).
6836 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
6837 that are smaller than the distance to be moved (patch by Alexander V.
6839 + correct a place where the panel library was not ifdef'd in ncurses.c
6841 + documentation fixes (Juergen Pfeifer)
6843 970515 4.1 release for upload to prep.ai.mit.edu
6844 + re-tag changes since 970505 as 4.1 release.
6847 + modify ncurses 'g' test to allow mouse input
6848 + modify default xterm description to include mouse.
6849 + modify configure script to add -Wwrite-strings if gcc warnings are
6850 enabled while configuring --enable-const (and fixed related
6852 + add toggle, status display for keypad mode to ncurses 'g' test to
6853 verify that keypad and scrollok are not inherited from parent window
6854 during a call to newwin.
6855 + correction to MKexpanded.sh to make it work when configure --srcdir
6856 is used (reported by H.J.Lu).
6857 + revise test for bool-type, ensuring that it checks if builtin.h is
6858 available before including it, adding test for sizeof(bool) equal
6859 to sizeof(short), and warning user if the size cannot be determined
6860 (reported by Alexander V. Lukyanov).
6861 + add files to support configuration of ncurses as an add-on library
6862 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
6865 + correct buffer overrun in lib_traceatr.c
6866 + modify change to lib_vidattr.c to avoid redundant orig_pair.
6867 + turn on 'echo()' in hanoi.c, since it is initially off.
6868 + rename local 'errno' variable in etip.h to avoid conflict with global
6870 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
6873 970505 4.1 pre-release
6874 + regenerate the misc directory html dumps without the link list, which
6876 + correct dependency in form directory makefile which caused
6877 unnecessary recompiles.
6878 + correct substitution for ABI_VERSION in test-makefile
6879 + modify install rules for shared-library targets to remove the target
6880 before installing, since some install programs do not properly handle
6881 overwrite of symbolic links.
6882 + change order of top-level targets so that 'include' immediate
6883 precedes the 'ncurses' directory, reducing the time between new
6884 headers and new libraries (requested by Larry Virden).
6885 + modify lib_vidattr.c so that colors are turned off only before
6886 modifying other attributes, turned on after others. This makes the
6887 hanoi.c program display correctly on FreeBSD console.
6888 + modify debug code in panel library to print user-data addresses
6889 rather than the strings which they (may) point to.
6890 + add check to ensure that C++ binding and demo are not built with g++
6891 versions below 2.7, since the binding uses templates.
6892 + modify c++ binding and demo to build and run with SGI's c++ compiler.
6893 (It also compiles with the Sun SparcWorks compiler, but the demo does
6894 not link, due to a vtbl problem).
6895 + corrections to demo.cc, to fix out-of-scope variables (Juergen
6899 + correct memory leak in _nc_trace_buf().
6900 + add configure test for regexpr.h, for Unixware 1.x.
6901 + correct missing "./" prefixing names of generated files in ncurses
6903 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
6904 to workaround shell bug on FreeBSD 2.1.5
6905 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
6906 that caused incorrect result in ncurses_cfg.h
6907 + correct initialization in lib_trace.c, which omitted version info.
6908 + remove ech, el1 attributes from cons25w description; they appear to
6909 malfunction in FreeBSD 2.1.5
6910 + correct color attributes in terminfo.src and lib_color.c to match
6911 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
6913 + use curs_set() rather than checks via tigetstr() for test programs
6914 that hide the cursor: firework, rain, worm.
6915 + ensure that if the terminal lacks change_scroll_region, parm_index
6916 and parm_rindex are used only to scroll the whole screen (patch by
6918 + correct curs_set() logic, which did not return ERR if the requested
6919 attributes did not exist, nor did it assume an unknown initial state
6920 for the cursor (patch by Alexander V. Lukyanov).
6921 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
6922 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
6923 + correct hashmap.c, which did not update index information (patch by
6924 Alexander V. Lukyanov).
6925 + fixes for C++ binding and demo (see c++/NEWS) (Juergen Pfeifer).
6926 + correct index in lib_instr.c (Juergen Pfeifer).
6927 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
6928 (patch by Juergen Pfeifer).
6931 + corrected cost computation in PutRange(), which was using
6932 milliseconds compared to characters by adding two new members to the
6933 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
6934 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
6935 const array of strings (suggested by Alexander V. Lukyanov). The
6936 original suggestion in 970118 used a perl script.
6937 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
6938 well as noting the attributes that are not supported by a terminal.
6939 + trace the computation of cost values in lib_mvcur.c
6940 + modify _nc_visbuf() to use octal rather than hex, corrected sign
6941 extension bug in that function that caused buffer overflow.
6942 + modify trace in lib_acs.c to use _nc_visbuf().
6943 + suppress trace within _traceattr2().
6944 + correct logic of _tracechtype2(), which did not account for repeats
6945 or redefinition within an acsc string.
6946 + modify debug-library version baudrate() to use environment variable
6947 $BAUDRATE to override speed computation. This is needed for
6949 + correct problems shown by "weblint -pedantic".
6950 + update mailing-list information (now ncurses@bsdi.com).
6953 + Improve form_field_validation.3x manpage to better describe the
6954 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
6955 precise information how the range checking can be avoided. (patch by
6956 Juergen Pfeifer, reported by Bryan Henderson)
6957 + change type of min/max value of form types TYPE_INTEGER to long to
6958 match SVr4 documentation.
6959 + set the form window to stdscr in set_form_win() so that form_win()
6960 won't return null (patch by Juergen Pfeifer, reported by Bryan
6961 Henderson <bryanh@giraffe.netgate.net>).
6964 + corrected ifdef'ing of inline (cf: 970321) for TRACE vs C++.
6965 + corrected toggle_attr_off() macro (patch by Andries Brouwer).
6966 + modify treatment of empty token in $MANPATH to /usr/man (reported by
6967 <Andries.Brouwer@cwi.nl>)
6968 + modify traces that record functions-called so that chtype and attr_t
6969 values are expressed symbolically, to simplify reuse of generated
6970 test-scripts on SVr4 regression testing.
6971 + add new trace functions _traceattr2() and _tracechtype2()
6974 + add configure option --enable-const, to support the use of 'const'
6975 where XSI should have, but did not, specify. This defines
6976 NCURSES_CONST, which is an empty token otherwise, for strict
6978 + make processing of configure options more verbose by echoing the
6979 --enable/--with values.
6980 + add configure option --enable-big-core
6981 + set initial state of software echo off as per XSI.
6982 + check for C++ builtin.h header
6983 + correct computation of absolute-path for $INSTALL that dropped "-c"
6984 parameter from the expression.
6985 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
6986 ncurses is integrated into larger systems (adapted from diffs by
6988 + correct inequality in lib_doupdate.c that caused a single-char to not
6989 be updated when the char on the right-margin was not blank, idcok()
6990 was true (patch by Alexander V Lukyanov (in 970124), reported
6991 by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> in 970329).
6992 + modify 'clean' rule in include/Makefile so that files created by
6993 configure script are removed in 'distclean' rule instead.
6996 + correct array limit in tparam_internal(), add case to interpret "%x"
6997 (patch by Andreas Schwab)
6998 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
6999 value properly when non-numeric characters were given (reported by
7000 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7003 + move definition of __INTERNAL_CAPS_VISIBLE before include for
7004 progs.priv.h (patch by David MacKenzie).
7005 + add configuration summary, reordered check for default include
7006 directory to better accommodate a case where installer is configuring
7007 a second copy of ncurses (reported by Klaus Weide
7008 <kweide@tezcat.com>)
7009 + moved the #define for 'inline' as an empty token from the
7010 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
7011 (reported by Ward Horner).
7012 + modify test for bool builtin type to use 'unsigned' rather than
7013 'unknown' when cross-compiling (reported by Ward Horner).
7016 + add header dependencies so that "make install.libs" will succeed
7017 even if "make all" is not done first.
7018 + moved some macros from lib_doupdate.c to curses.priv.h to use in
7019 expanded functions with ATAC.
7020 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
7021 the winnstr functions can return more characters than will fit on one
7025 + modify script that generates lib_gen.c to support traces of called &
7027 + add new configure option "--disable-macros", for testing calls within
7029 + corrected logic that screens level-checking of called/return traces.
7032 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
7033 addressing request by Ward Horner.
7034 + check for cross-compiling before trying to invoke the autoconf
7035 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
7036 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
7037 a pointer-increment.
7038 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
7042 + add configure option --enable-expanded, together with code that
7043 implements an expanded form of certain complex macros, for testing
7045 + disable CHECK_POSITION unless --with-assertions is configured
7046 (Alexander V Lukyanov pointed out that this is redundant).
7047 + use keyname() to show traced chtype values where applicable rather
7048 than _tracechar(), which truncates the value to 8-bits.
7049 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
7050 + modify makefiles in progs and test directories to avoid using C
7051 preprocessor options on link commands (reported by Ward Horner)
7052 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
7054 + modify ifdef's to use configure-defined symbols consistently
7055 (reported by Ward Horner)
7056 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
7057 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
7058 + rename struct try to struct tries, to avoid name conflict with C++
7059 (reported by Gary Johnson).
7060 + modify worm.c to hide cursor while running.
7061 + add -Wcast-qual to gcc warnings, fix accordingly.
7062 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
7063 wrapping (Alexander V Lukyanov).
7064 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
7065 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
7066 + extend IRIX configuration to IRIX64
7067 + supply missing install.libs rule needed after restructuring
7071 + modify "make mostlyclean" to leave automatically-generated source
7072 in the ncurses directory, for use in cross-compiles.
7073 + autogenerated object-dependencies for test directory
7074 + add configure option --with-rcs-ids
7075 + modify configuration scripts to generate major/minor/patch versions
7076 (suggested by Alexander V Lukyanov).
7077 + supply missing va_end's in lib_scanw.c
7078 + use stream I/O for trace-output, to eliminate fixed-size buffer
7079 + add TRACE_ICALLS definition/support to lib_trace.c
7080 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
7083 + add/modify traces for called/return values to simplify extraction
7085 + changed _nc_visbuf to quote its result, and to dynamically allocate
7086 the returned buffer.
7087 + invoke ldconfig after installing shared library
7088 + modify install so that overwrite applies to shared library -lcurses
7089 in preference to static library (reported by Zeyd M Ben-Halim 960928).
7090 + correct missing ';' in 961221 mod to overwrite optional use of $(LN_S)
7092 + fixes to allow "make install" to work without first doing a "make
7093 all" (suggested by Larry Virden).
7096 + correct order of #ifdef for TABS_OK.
7097 + instrumented toe.c to test memory-leaks.
7098 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
7099 + include <sys/types.h> in configuration test for regex.h (patch by
7101 + make infocmp recognize -I option, for SVr4 compatibility (reported by
7102 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7105 + add extension 'use_default_colors()', modified test applications that
7106 use default background (firework, gdc, hanoi, knight, worm) to
7108 + correct some limit checks in lib_doupdate.c exposed while running
7110 + use typeCalloc macro for readability.
7111 + add/use definition for CONST to accommodate testing with Solaris
7112 (SVr4) curses, which doesn't use 'const' in its prototypes.
7113 + modify ifdef's in test/hashtest.c and test/view.c to compile with
7115 + modify _tracedump() to pad pad colors & attrs lines to match change
7116 in 970101 showing first/last changes.
7117 + corrected location of terminating null on dynamically allocated forms
7118 fields (patch by Per Foreby).
7121 + added headers to make view.c compile on SCO with the resizeterm()
7122 code (i.e., struct winsize) - though this compiles, I don't have a
7123 suitable test configuration since SIGWINCH doesn't pass my network to
7124 that machine - T.Dickey.
7125 + update test/configure.in to supply some default substitutions.
7126 + modify configure script to add -lncurses after -lgpm to fix problem
7127 linking against static libraries.
7128 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
7130 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
7131 <jbuhler@cs.washington.edu>)
7132 + modify headers to accommodate compilers that don't allow duplicate
7133 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
7135 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
7136 + modify lib_doupdate to make el, el1 and ed optimization use the
7137 can_clear_with macro, and change EmitRange to allow leaving cursor at
7138 the middle of interval, rather than always at the end (patch by
7139 Alexander V Lukyanov). This was originally 960929, resync 970106.
7142 + workaround defect in autoconf 2.12 (which terminates configuration
7143 if no C++ compiler is found) by adding an option --without-cxx.
7144 + modify several man-pages to use tbl, where .nf/.fi was used (reported
7146 + correct font-codes in some man-pages (patch by Jesse Thilo
7147 <Jesse.Thilo@pobox.com>)
7148 + use configure script's knowledge of existence of g++ library for the
7149 c++ Makefile (reported by Paul Jackson).
7150 + correct misleading description of --datadir configuration option
7151 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
7154 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
7156 > the logic for non_dest_scroll_region was interchanged between the
7157 forward & reverse scrolling cases.
7158 > multiple returns from the function allowed certain conditions to do
7159 part of an operation before discovering that it couldn't be
7160 completed, returning an error without restoring the cursor.
7161 > some returns were ERR, where the function had completed the
7162 operation, because the insert/delete line logic was improperly
7163 tested (this was probably the case Peter saw).
7164 > contrary to comments, some scrolling cases were tested after the
7165 insert/delete line method.
7166 + modify _tracedump() to show first/last changes.
7167 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
7168 refresh problem (reported by Peter Wemm) that caused nvi to not show
7169 result of ":r !ls" until a ^L was typed.
7171 961229 (internal alpha)
7172 + correct some of the writable-strings warnings (reported by Gary
7173 Johnson <gjohnson@season.com>). Note that most of the remaining ones
7174 are part of the XSI specification, and can't be "fixed".
7175 + improve include-dependencies in form, menu, panel directories.
7176 + correct logic of delay_output(), which would return early if
7177 there is data on stdin.
7178 + modify interface & logic of _nc_timed_wait() to support 2 file
7179 descriptors, needed for GPM.
7180 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
7181 support, correcting logic in wgetch() and _nc_mouse_parse() which
7182 prevented patch from working properly -TD
7183 + improve performance of panel algorithm (Juergen Pfeifer 961203).
7184 + strip RCS id's from generated .html files in Ada95 subtree.
7185 + resync with generated .html files (Juergen Pfeifer 961223).
7186 + terminfo.src 10.1.0 (ESR).
7189 + release as 4.0 to accommodate Linux ld.so.1.8.5
7190 + correct syntax/spelling, regenerated .doc files from .html using
7192 + refined forms/menus makefiles (Juergen Pfeifer 961223).
7195 + remove logic in read_entry.c that attempts to refine errno by using
7196 'access()' for the directory (from patch by Florian La Roche).
7197 + correct configure test/substitution that inhibits generating
7198 include-path to /usr/include if gcc is used (reported by Florian La
7200 + modify setupterm() to allocate new TERMINAL for each call, just as
7201 solaris' curses does (Alexander V Lukyanov 960829).
7202 + corrected memory leaks in read_entry.c
7203 + add configure options --with-dbmalloc, --with-dmalloc, and
7204 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
7205 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
7207 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
7208 i.e., set current directory before linking.
7209 + split-out panel.priv.h, improve dependencies for forms, menus
7210 (Juergen Pfeifer 961204).
7211 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
7212 freeing the corresponding WINDOW (found using Purify).
7213 + modify delwin() to return ERR if the window to be deleted has
7214 subwindows, needed as a side-effect of resizeterm() (found using
7215 Purify). Tested and found that SVr4 curses behaves this way.
7216 + implement logic for _nc_freeall(), bringing stub up to date.
7219 + modify wbkgd() so that it doesn't set nulls in the rendered text,
7220 even if its argument doesn't specify a character (fixes test case by
7221 Juergen Pfeifer for bug-report).
7222 + set window-attributes in wbkgd(), to simplify comparison against
7223 Solaris curses, which does this.
7226 + replace most constants in ncurses 'o' test by expressions, making it
7227 work with wider range of screen sizes.
7228 + add options to ncurses.c to specify 'e' test softkey format, and the
7229 number of header/footer lines to rip-off.
7230 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
7232 + add shell-out (!) command to ncurses 'p' test to allow test of
7233 resize between endwin/refresh.
7234 + correct line-wrap case in mvcur() by emitting carriage return,
7235 overlooked in 960928, but needed due to SVr4 compatibility changes to
7236 terminal modes in 960907.
7237 + correct logic in wresize that causes new lines to be allocated,
7238 broken for the special case of increasing rows only in 960907's fix
7240 + modify configure script to generate $(LDFLAGS) with -L and -l options
7241 in preference to explicit library filenames. (NOTE: this may
7242 require further amending, since I vaguely recall a dynamic loader
7243 that did not work properly without the full names, but it should be
7244 handled as an exception to the rule, since some linkers do bulk
7245 inclusion of libraries when given the full name - T.Dickey).
7246 + modify configure script to allow user-supplied $CFLAGS to set the
7247 debug-option in all libraries (requested by lots of people) -TD
7248 + use return consistently from main(), rather than exit (reported by
7250 + add --enable-getcap-cache option to configure, normally disabled
7251 (requested by Florian La Roche).
7252 + make configure test for gettimeofday() and possibly -lbsd more
7253 efficient (requested by Florian La Roche <florian@knorke.saar.de>)
7254 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
7255 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
7256 by Alexander V Lukyanov).
7259 + corrected README wrt Ada95 (Juergen Pfeifer)
7262 + integrate resizeterm() into doupdate(), so that if screen size
7263 changes between endwin/refresh, ncurses will resize windows to fit
7264 (this needs additional testing with pads and softkeys).
7265 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
7266 data used in ncurses library.
7267 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
7268 between initscr() and newwin() initialization (reported by
7269 Alexander V Lukyanov).
7270 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
7271 (set beta versions to those values -- NOTE that subsequent pre-4.0
7272 beta may not be interchangeable).
7273 + modify configure script to work with autoconf 2.12
7275 961130 1.9.9g release
7276 + add copyright notices to configuration scripts (written by Thomas
7280 > patch, mostly for panel (Juergen Pfeifer):
7281 + cosmetic improvement for a few routines in the ncurses core library
7282 to avoid warning messages.
7283 + the panel overlap detection was broken
7284 + the panel_window() function was not fool-proof.
7286 + Cosmetic changes (also to avoid warning messages when compiling with
7290 > patch by Juergen Pfeifer:
7291 + eliminates warning messages for the compile of libform.
7292 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
7293 + Updates man page and the Ada95 binding to reflect this.
7294 + Improves inlining in libmenu and libform.
7297 + improve the use of the "const" qualifier in the
7298 panel library (Juergen Pfeifer)
7299 + change set_panel_userptr() and panel_userptr() to use void*
7304 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
7306 + correct initialization of the stdscr pseudo panel in panel library
7308 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
7311 + typo in curs_termcap man page (reported by Hendrik Reichel
7312 <106065.2344@compuserve.com>)
7313 + change default xterm entry to xterm-r6.
7314 + add entry for color_xterm
7317 + lint found several functions that had only #define implementations
7318 (e.g., attr_off), modified curses.h.in to generate them as per XSI
7319 Curses requirement that every macro be available as a function.
7320 + add check in infocmp.c to guard against string compare of
7321 CANCELLED_STRING values.
7322 + modify firework.c, rain.c to hide cursor while running.
7323 + correct missing va_end in lib_tparm.c
7324 + modify hanoi.c to work on non-color terminals, and to use timing
7325 delays when in autoplay mode.
7326 + correct 'echochar()' to refresh immediately (reported by Adrian
7327 Garside <94ajg2@eng.cam.ac.uk>)
7329 + reorganize terminfo.src entries for xterm.
7332 + corrected error in line-breakout logic (lib_doupdate.c)
7333 + modified newdemo to use wgetch(win) rather than getch() to eliminate
7334 a spurious clear-screen.
7335 + corrected ifdef's for 'poll()' configuration.
7336 + added modules to ncurses, form, menu for Ada95 binding (Juergen
7338 + modify set_field_buffer() to allow assignment of string longer than
7339 the initial buffer length, and to return the complete string rather
7340 than only the initial size (Juergen Pfeifer and Per Foreby
7344 + configure for 'poll()' in preference to 'select()', since older
7345 systems are more likely to have a broken 'select()'.
7346 + modified render_char() to avoid OR'ing colors.
7347 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
7348 resize test, use wbkgd and corrected box() parameters.
7349 + make flushinp() test work in ncurses.c by using napms() instead of
7351 + undo ESR's changes to xterm-x11r6 (it no longer matched the X11R6.1
7352 distribution, as stated)
7353 + terminfo 9.13.18 resync (ESR)
7354 + check for getenv("HOME") returning null (ESR).
7355 + change buffer used to decode xterm-mouse commands to unsigned to
7356 handle displays wider than 128 chars (Juergen Pfeifer).
7357 + correct typo curs_outopts.3x (Juergen Pfeifer).
7358 + correct limit-checking in wenclose() (Juergen Pfeifer).
7359 + correction to Peter Wemm's newwin change (Thomas Fehr
7361 + corrections to logic that combines colors and attributes; they must
7362 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
7366 + reset flags in 'getwin()' that might cause refresh to attempt to
7367 manipulate the non-existent parent of a window that is read from a
7368 file (lib_screen.c).
7369 + restructure _nc_timed_wait() to log more information, and to try to
7370 recover from badly-behaved 'select()' calls (still testing this).
7371 + move define for GOOD_SELECT into configure script.
7372 + corrected extra '\' character inserted before ',' in comp_scan.c
7373 + corrected expansion of %-format characters in dump_entry.c; some were
7374 rendered as octal constants.
7375 + modify dump_entry.c to make terminfo output more readable and like
7376 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
7377 comma, "\^" and "\:" as well.
7378 + corrected some memory leaks in ncurses.c, and a minor logic error
7379 in the top-level command-parser.
7380 + correction for label format 4 (PC style with info line), a
7381 slk_clear(), slk_restore() sequence didn't redraw the info line
7383 + modified the slk window (if simulated) to inherit the background and
7384 default character attributes from stdscr (Juergen Pfeifer).
7385 + corrected limit-check in set_top_row (Juergen Pfeifer).
7388 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
7389 had '.lastchar' entry one beyond '._maxx'.
7390 + modify ncurses test-program to work with data piped to it.
7391 + corrected pathname computation in run_tic.sh, removing extra "../"
7392 (reported by Tim Mooney).
7393 + modified configure script to use previous install's location for
7395 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
7399 + revised xterm terminfo descriptions to reflect the several versions
7401 + corrected a pointer reference in dump_entry.c that didn't test if
7405 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
7406 + add -x option to hashtest to control whether it allows writes to the
7408 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
7409 simpler to construct tests (for double-check of _nc_hash_map tests).
7410 + correct ifdef's for c++ in curses.h
7411 + change default xterm type to xterm-x11r6.
7412 + correct quoting in configure that made man-pages installed with
7413 $datadir instead of actual terminfo path.
7414 + correct whitespace in include/Caps, which caused kf11, clr_eol and
7415 clr_end to be omitted from terminfo.5
7416 + fix memory leaks in delscreen() (adapted from Alexander V Lukyanov).
7417 + improve appearance of marker in multi-selection menu (Juergen
7419 + fix behavior for forms with all fields inactive (Juergen Pfeifer)
7420 + document 'field_index()' (Juergen Pfeifer)
7422 + add some more XENIX keycap translations to include/Caps.
7423 + modify newwin to set initial state of each line to 'touched'
7424 (from patch by Peter Wemm <peter@spinner.dialix.com>)
7425 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander V Lukyanov).
7428 + ifdef'd out _nc_hash_map (still slower)
7429 + add graphic characters to vt52 description.
7430 + use PutAttrChar in ClrToEOL to ensure proper background, position.
7431 + simplify/correct logic in 'mvcur()' that does wrapping; it was
7432 updating the position w/o actually moving the cursor, which broke
7434 + ensure that 'doupdate()' sets the .oldindex values back to a sane
7435 state; this was causing a spurious refresh in ncurses 'r'.
7436 + add logic to configure (from vile) to guard against builders who
7437 don't remove config.cache & config.status when doing new builds -TD
7438 + corrected logic for 'repeat_char' in EmitRange (cf: eric #317), which
7439 did not follow the 2-parameter scheme specified in XSI.
7440 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
7441 clearok work properly (report by Michael Elkins).
7442 + corrected problem with endwin introduced by #314 (removing the
7443 scrolling-region reset) that broke ncurses.c tests.
7444 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
7445 <fischman@math.ucla.edu>).
7446 + corrected formatting of terminfo.5 tables (Juergen Ehling)
7449 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
7450 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
7451 + reverse the default o configure --enable-termcap (consensus).
7453 + modified logic for clearok and related functions (from report by
7454 Michael Elkins) - untested
7456 + correction to #317.
7458 + re-add _nc_hash_map
7459 + modify EmitRange to maintain position as per original design.
7460 + add hashtest.c, program to time the hashmap optimization.
7462 + add logic to deal with magic-cookie (how was this tested?)
7464 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
7466 + merged Alexander V Lukyanov's patch to use ech and rep - untested
7468 + modified handling of interrupted system calls - untested
7469 (lib_getch.c, lib_twait.c).
7470 + new function _nc_mvcur_resume()
7471 + fix return value for 'overlay()', 'overwrite()'
7474 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
7476 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
7477 Ehling <eh@eclipse.aball.de>).
7478 + update xterm-color to reflect XFree86 3.1.3G release.
7479 + correct broken dtterm description from #314 patch (e.g., spurious
7480 newline. The 'pairs' change might work, but no one's tested it
7482 + clarify the documentation for the builtin form fieldtypes (Juergen
7485 + reset scroll region on startup rather than at wrapup time
7486 (enhancement suggested by Alexander V Lukyanov).
7487 + make storage of palette tables and their size counts per-screen for
7488 multi-terminal applications (suggested by Alexander V Lukyanov).
7489 + Improved error reporting for infotocap translation errors.
7490 + Update terminfo.src to 9.13.14.
7493 + rewrote wgetstr to make it erase control chars and also fix bogus use
7494 of _nc_outstr which caused the display to not wrap properly (display
7495 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
7496 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
7497 (and split up this screen to accommodate non-ANSI terminals).
7498 + test enter_insert_mode and exit_insert_mode in has_ic().
7499 + removed bogus logic in mvcur that assumes nl/nonl set output modes
7500 (XSI says they are input modes; SVr4 implements this).
7501 + added macros SET_TTY, GET_TTY to term.h
7502 + correct getstr() logic that altered terminal modes w/o restoring.
7503 + disable ICRNL, etc., during initialization to match SVr4, removing
7504 the corresponding logic from raw, cbreak, etc.
7505 + disable ONLCR during initialization, to match SVr4 (this is needed
7506 for cursor optimization when the cursor-down is a newline).
7507 + replaced ESR's imitation of wresize with my original (his didn't
7511 + memory leaks (Alexander V. Lukyanov).
7512 + modified pnoutrefresh() to be more tolerant of too-large screen
7513 size (reported by Michael Elkins).
7514 + correct handling of terminfo files with no strings (Philippe De
7516 + correct "tic -s" to take into account -I, -C options.
7517 + modify ncurses 'f' test to not print codes 80 through 9F, since they
7518 are considered control codes by ANSI terminals.
7521 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
7522 + make "--enable-getcap" configuration-option work (reported by
7523 Peter Wemm <peter@spinner.DIALix.COM>)
7526 + correct err in 960817 that changed return-value of tigetflag()
7527 (reported by Alexander V. Lukyanov).
7528 + modify infocmp to use library default search-path for terminfo
7529 directory (Alexander V. Lukyanov).
7532 + corrected an err in mvcur that broke resizing-behavior.
7533 + correct fall-thru behavior of _nc_read_entry(), which was not finding
7534 descriptions that existed in directories past the first one searched
7535 (reported by Alexander V. Lukyanov)
7536 + corrected typo in dtterm description.
7538 + add dtterm description
7539 + clarify ncurses 'i' test (drop vscanf subtest)
7542 + correct nl()/nonl() to work as per SVr4 & XSI.
7543 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
7544 + refine configure-test for -g option (Tim Mooney).
7545 + correct interaction between O_BLANK and NEW_LINE request in form
7546 library (Juergen Pfeifer)
7549 + revised fix to tparm; previous fix reversed parameter order.
7551 correct terminfo.src corrupted by #310
7553 + fix idlok() and idcok() and the default of the idlok switch.
7556 + corrected tparm to handle capability strings without explicit pop
7557 (reported by William P Setzer)
7558 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
7559 (reported by Tim Mooney).
7561 + documentation and prototyping errors for has_color, immedok and idcok
7562 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
7563 + updated qnx terminfo entry (by Michael Hunter)
7566 + eliminate quoted includes in ncurses subdirectory, ensure config.h
7568 + newterm initializes terminal settings the same as initscr (reported
7572 + call cbreak() in initscr(), as per XSI & SVr4.
7573 + turn off hardware echo in initscr() as per XSI & SVr4
7575 + terminfo changes (9.3.10), from BRL
7576 + add more checks to terminfo parser.
7577 + add more symbols to infocmp.
7580 + save previous-attribute in lib_vidattr.c if SP is null (reported by
7581 Juergen Fluk <louis@dachau.marco.de>)
7582 + corrected calls on _nc_render so that background character is set
7584 + corrected wbkgdset macro (XSI allows background character to be
7585 null), and tests that use it.
7586 + more corrections to terminfo (xterm & rxvt)
7587 + undid change to mcprint prototype (cannot use size_t in curses.h
7588 because not all systems declare it in the headers that we can safely
7590 + move the ifdefs for errno into curses.priv.h
7592 + terminfo changes (9.3.8)
7593 + modified logic of error-reporting in terminfo parser
7596 + always check for <sys/bsdtypes.h> since ISC needs it to declare
7597 fd_set (Juergen Pfeifer)
7598 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
7599 by Juergen Pfeifer, Mike Long)
7600 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
7601 + corrected prototype for delay_output() -- bump ABI to 3.2
7602 + terminfo patches #306/307 (ESR).
7603 + moved logic that filters out rmul and rmso from setupterm to newterm
7604 where it is less likely to interfere with termcap applications.
7607 + rollback ESR's #305 change to terminfo.src (it breaks existing
7608 applications, e.g., 'less 290').
7609 + correct path of edit_man.sh, and fix typo that made all man-pages
7611 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
7612 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
7613 Philippe De Muyter).
7616 + make lib_vidattr.c more readable using macros.
7617 + filter out rmul, rmso that conflict with sgr0 when reading terminal
7619 + added sanity-checking of various paired string attributes (ESR).
7620 + work around autoconf bug, force $INSTALL to absolute path
7622 + modify man-page install for BSDI to install preformatted .0 files
7623 (reported by David MacKenzie).
7624 + add/use gcc __attribute__ for printf and scanf in curses.h
7625 + added SGR attributes test-case to ncurses
7626 + revised ncurses 't' logic to show trace-disable effect in the menu.
7627 + use getopt in ncurses program to process -s and -t options.
7628 + make ncurses 'p' legend toggle with '?'
7629 + disable scrollok during the ncurses 'p' test; if it is enabled the
7630 stdscr will scroll when putting the box-corners in the lower-right
7634 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
7635 terminals with no scrolling-support (reported by Nikolay Shadrin
7636 <queen@qh.mirea.ac.ru>)
7637 + added ^S scrollok-toggle to ncurses 'g' test.
7638 + added ^T trace-toggle to ncurses tests.
7639 + modified ncurses test program to use ^Q or ESC consistently for
7640 terminating tests (rather than ^D), and to use control keys rather
7641 than function keys in 'g' test.
7642 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
7643 (reported by Philippe De Muyter).
7644 + modify lib_doupdate.c to use effective costs to tradeoff between
7645 delete-character/insert-character vs normal updating (reported by
7647 + compute effective costs for screen update operations (e.g., clr_eos,
7649 + corrected error in knight.c exposed by wrap fixes in 960622; the
7650 msgwin needed scrollok set.
7651 + corrected last change to IDcTransformLine logic to avoid conflict
7652 between PutRange and InsStr
7653 + modified run_tic.sh to not use /usr/tmp (reported by David
7654 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
7656 + corrected off-by-one in RoomFor call in read_entry.c
7659 + modified logic that wraps cursor in addch to follow the XSI spec,
7660 (implemented in SVr4) which states that the cursor position is
7661 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
7663 + added -s option to tic, to provide better diagnostics in run_tic.sh
7664 + improved error-recovery for tabset install.
7665 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
7666 _yoffset to WINDOW).
7667 + modified initialization of SP->_ofp so that init_acs() is called with
7668 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
7669 + documentation fixes (Juergen Pfeifer).
7670 + corrected, using new SCREEN and WINDOW members, the behavior of
7671 ncurses if one uses ripoffline() to remove a line from the top of the
7672 screen (Juergen Pfeifer).
7673 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
7674 ncurses (Juergen Pfeifer).
7675 + incorrect buffer-size in _nc_read_entry, reported by ESR.
7678 + corrected two logic errors in read_entry.c, write_entry.c (called by
7679 tic, the write/read of terminfo entries used inconsistent rules for
7680 locating the entries; the $TERMINFO_DIRS code would find only the
7681 first entry in a list).
7682 + refined pathname computation in run_tic.sh and shlib.
7683 + corrected initialization of $IP in misc/run_tic.sh
7686 + ifdef'd out _nc_hash_map() call because it does not improve speed.
7687 + display version of gcc if configure script identifies it.
7688 + modify configure script to use /usr as Linux's default prefix.
7689 + modify run_tic.sh to use shlib script, fixes some problems installing
7690 with a shared-library configuration.
7691 + adjusted configure script so that it doesn't run tests with the
7692 warnings turned on, which makes config.log hard to read.
7693 + added 'lint' rule to top-level Makefile.
7694 + added configure option '--with-install-prefix' for use by system
7695 builders to install into staging locations (requested by
7696 Charles Levert <charles@comm.polymtl.ca>).
7697 + corrected autoconfigure for Debian man program; it's not installed
7699 + set noecho in 'worm'; it was ifdef'd for debug only
7700 + updated test/configure.in for timing-display in ncurses 'p' test
7701 + corrected misspelled 'getbkgd()'.
7702 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
7703 to blank if no character given, copies attributes to window's
7705 + modified lib_doupdate.c to use lower-level SP's current_attr state
7706 instead of curscr's state, since it is redundant.
7707 + correction to IDcTransformLine logic which controls where InsStr is
7708 invoked (refined by Alexander V Lukyanov).
7710 + conditionally include Chris Torek's hash function _nc_hash_map().
7711 + better fix for nvi refresh-bug (Rick Marshall)
7712 + fix for bug in handling of interrupted keystroke waits,
7716 + auto-configure man-page compression-format and renames for Debian.
7717 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
7718 + re-order curses.priv.h for lint.
7719 + added rules for lintlib, lint
7720 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
7721 + corrected missing INSTALL_DATA in misc/Makefile.in
7722 + flush output when changing cursor-visibility (Rick Marshall)
7723 + fix a minor bug in the _nc_ripoff() routine and improve error
7724 checking when creating the label window (Juergen Pfeifer).
7725 + enhancement to the control over the new PC-style soft key format.
7726 allow caller now to select whether or not one wants to have
7727 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
7728 + typos, don't use inline with -g (Philippe De Muyter)
7729 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
7732 + removed --with-ticdir option altogether, maintain compatibility with
7733 existing applications via symbolic link in run_tic.sh
7734 + patch for termio.h, signal (Philippe De Muyter)
7735 + auto-configure gcc warning options rather than infer from version.
7736 + auto-configure __attribute__ for different gcc versions.
7737 + corrected special use of clearok() in hardscroll.c by resetting flag
7739 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
7740 + include sys/types.h in case stdlib.h does not declare size_t.
7741 + fixes for makefile (Tim Mooney)
7742 + fixes for menus & forms (Juergen Pfeifer)
7745 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
7746 + refined case in lib_doupdate.c for ClrToEOL().
7747 + corrected prior change for PutRange (Alexander V Lukyanov
7748 <lav@yars.free.net>).
7749 + autoconf mods (Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>).
7750 + locale fix for forms (Philippe De Muyter <phdemuyt@ulb.ac.be>)
7751 + renamed "--with-datadir" option to "--with-ticdir" to avoid
7752 confusion, and made this check for the /usr/lib/terminfo pre-existing
7754 > patches 299-301 (ESR):
7756 + mods to tracing, especially for ACS chars.
7757 + corrected off-by-one in IDCtransform.
7758 + corrected intermittent mouse bug by using return-value from read().
7759 + mods to parse_entry.c, for smarter defaults.
7762 + use getopt in 'tic'; added -L option and modified -e option to allow
7766 + don't use fixed buffer-size in tparm().
7767 + modified tic to create terminfo directory if it doesn't exist.
7768 + added -T options to tic and infocmp (for testing/analysis)
7769 + refined the length criteria for termcap and terminfo
7770 + optimize lib_doupdate with memcpy, PutRange
7771 > patches 297, 298 (ESR):
7772 + implement TERMINFO_DIRS, and -o option of tic
7773 + added TRACE_IEVENT
7774 + removed boolean version of 'getm'
7775 + added lib_print.c (for Rick Marshall)
7777 + added 't' to ncurses.c test.
7778 + moved delay_output() to lib_tputs.c
7779 + removed tparam() (was added in 1.9.9, but conflicts with emacs and
7780 is not part of X/Open Curses).
7781 + misc cursor & optimization fixes.
7784 + modified ncurses 'p' test to allow full-screen range for panner size.
7785 + fixes for locale (Philippe De Muyter <phdm@labauto1.ulb.ac.be>)
7786 + don't use fixed buffer-size in fmt_entry().
7787 + added usage-message to 'infocmp'.
7788 + modified install.includes rules to prepend subdirectory-name to
7789 "#include" if needed.
7792 + protect wrefresh, wnoutrefresh from invocation with pad argument.
7793 + corrected default CCFLAGS in test/Makefile.
7796 + implemented logic to support terminals with background color erase
7797 (e.g., rxvt and the newer color xterm).
7798 + improved screen update logic (off-by-one logic error; use clr_eos if
7802 + change ncurses 'a' test to run in raw mode.
7803 + make TIOCGWINSZ configure test less stringent, in case user
7804 configures via terminal that cannot get screen size.
7805 > patches 295, 296 (ESR):
7806 + new "-e" option of tic.
7807 + fix for "infocmp -e".
7808 + restore working-directory in read_termcap.c
7809 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
7810 overhead for programs that use only termcap features.
7814 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
7815 definitions via <termios.h>, modified macros in lib_raw.c to avoid
7816 K&R-style substitution)
7817 > patches 293, 294 (ESR):
7818 + mods to wgetch() in cooked mode
7819 + corrected askuser() logic in tset
7820 + correct interaction of endwin() with mouse processing
7821 + added trace support for TTY flags
7824 + fixes for NeXT, ISC and HPUX auto-configure
7825 + autogenerate development header-dependencies (config.h, *.priv.h)
7826 + corrected single-column formatting of "use=" (e.g., in tic)
7827 + modify tic to read full terminfo-names
7828 + corrected divide-by-zero that caused hang (or worse) when redirecting
7830 + modify tic to generate directories only as-needed (and corrected
7831 instance of use of data from function that had already returned).
7833 ### ncurses-1.9.8a -> 1.9.9e
7835 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
7836 copy-changed-lines behavior.
7837 * added and documented wresize() function.
7838 * more fixes to LOWER-RIGHT corner handling.
7839 * changed the line-breakout optimization code to allow some lines to be
7840 emitted before the first check.
7841 * added option for tic to use symbolic instead of hard links (for AFS)
7842 * fix to restore auto-wrap mode.
7843 * trace level can be controlled by environment variable.
7844 * better handling of NULs in terminal descriptions.
7845 * improved compatibility with observed SVR4 behavior.
7846 * the refresh behavior of over-lapping windows is now more efficient and
7848 * use autoconf 2.7, which results in a working setup for SCO 5.0.
7849 * support for ESCDELAY.
7850 * small fixes for menu/form code.
7851 * the test directory has its own configure.
7852 * fixes to pads when optimizing scrolling.
7853 * fixed several off-by-one bugs.
7854 * fixes for termcap->terminfo translation; less restrictions more correct
7857 ### ncurses-1.9.7 -> 1.9.8a
7859 * teach infocmp -i to recognize ECMA highlight sequences
7860 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
7861 * support infocmp -RBSD.
7862 * satisfy XSI Curses requirement that every macro be available as a function.
7863 * This represents the last big change to the public interface of ncurses. The
7864 ABI_VERSION has now been set at 3.0 and should stay there barring any great
7865 catastrophies or acts of God.
7866 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
7868 * libncurses now gets linked to libcurses to help seamless emulation
7869 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
7872 ### ncurses-1.9.6 -> 1.9.7
7874 * corrected return values of setupterm()
7875 * Fixed some bugs in tput (it does padding now)
7876 * fixed a bug in tic that made it do the wrong thing on entries with more than
7877 one `use' capability.
7878 * corrected the screen-size calculation at startup time to alter the
7879 numeric capabilities as per SVr4, not just LINES and COLS.
7880 * toe(1) introduced; does what infocmp -T used to.
7881 * tic(1) can now translate AIX box1 and font[0123] capabilities.
7882 * tic uses much less core, the dotic.sh kluge can go away now.
7883 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
7884 * Add $HOME/.terminfo as source/target directory for terminfo entries.
7885 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
7886 * added -h option to toe(1).
7887 * added -R option to tic(1) and infocmp(1).
7888 * added fallback-entry-list feature.
7889 * added -i option to infocmp(1).
7890 * do a better job at detecting if we're on SCO.
7892 ### ncurses-1.9.5 -> 1.9.6
7894 * handling of TERMCAP environment variables now works correctly.
7895 * various changes to shorten termcap translations to less that 1024 chars.
7897 * mouse support for xterm.
7898 * most data tables are now const and accordingly live in shareable text space.
7899 * Obey the XPG4/SVr4 practice that echo() is initally off.
7900 * tic is much better at translating XENIX and AIX termcap entries now.
7901 * tic can interpret ko capabilities now.
7902 * integrated Juergen Pfeifer's forms library.
7903 * taught write_entry() how not to write more than it needs to; this change
7904 reduces the size of the terminfo tree by a full 26%!
7905 * infocmp -T option added.
7906 * better warnings about historical tic quirks from tic.
7908 ### ncurses 1.9.4 -> 1.9.5
7910 * menus library is now included with documentation.
7911 * lib_mvcur has been carefully profiled and tuned.
7912 * Fixed a ^Z-handling bug that was tanking lynx(1).
7913 * HJ Lu's patches for ELF shared libraries under Linux
7914 * terminfo.src 9.8.2
7915 * tweaks for compiling in seperate directories.
7916 * Thomas Dickey's patches to support NeXT's brain-dead linker
7917 * Eric Raymond's patches to fix problems with long termcap entries.
7918 * more support for shared libraries under SunOS and IRIX.
7920 ### ncurses 1.9.3 -> 1.9.4
7922 * fixed an undefined-order-of-evaluation bug in lib_acs.c
7923 * systematically gave non-API public functions and data an _nc_ prefix.
7924 * integrated Juergen Pfeifer's menu code into the distribution.
7925 * totally rewrote the knight test game's interface
7927 ### ncurses 1.9.2c -> 1.9.3
7929 * fixed the TERMCAP_FILE Support.
7930 * fixed off-by-one errors in scrolling code
7931 * added tracemunch to the test tools
7932 * took steps to cut the running time of make install.data
7934 ### ncurses 1.9.2c -> 1.9.2d
7936 * revised 'configure' script to produce libraries for normal, debug,
7937 profile and shared object models.
7939 ### ncurses 1.9.1 -> 1.9.2
7941 * use 'autoconf' to implement 'configure' script.
7942 * panels support added
7943 * tic now checks for excessively long termcap entries when doing translation
7944 * first cut at eliminating namespace pollution.
7946 ### ncurses 1.8.9 -> 1.9
7948 * cleanup gcc warnings for the following: use size_t where 'int' is not
7949 appropriate, fixed some shadowed variables, change attr_t to compatible with
7950 chtype, use attr_t in some places where it was confused with 'int'.
7951 * use chtype/attr_t casts as appropriate to ensure portability of masking
7953 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
7954 * supplied missing prototypes in curses.h
7955 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
7956 are consistent (they weren't).
7957 * corrected prototype of tputs in <termcap.h>
7958 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
7959 that may be out of bounds on the stack) -- Purify found this.
7960 * ensure that TRACE is defined in lib_trace.c (to solve prototype
7962 * corrected scrolling-region size in 'mvcur_wrap()'
7963 * more spelling fixes
7964 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
7965 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
7966 core in init_acs()).
7967 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
7970 ### ncurses 1.8.8 -> 1.8.9
7972 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
7973 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
7974 non-portable use of "%x" for pointers, or for chtype data (which is declared
7976 * modified doupdate to ensure that typahead was turned on before attempting
7977 select-call (otherwise, some implementations hang).
7978 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
7979 resolution of traces.
7980 * improved bounds checking on several critical functions.
7981 * the data directory has been replaced by the new master terminfo file.
7982 * -F file-comparison option added to infocmp.
7983 * compatibility with XSI Curses is now documented in the man bages.
7984 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
7986 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
7987 memory_above, memory_below, and hard_copy are now used properly.
7988 * cursor-movement optimization has been completely rewritten.
7989 * vertical-movement optimization now uses hardware scrolling, il, dl.
7991 ### ncurses 1.8.7 -> 1.8.8
7992 * untic no longer exists, infocmp replaces it.
7993 * tic can understand termcap now, especially if it is called captoinfo.
7994 * The Linux Standard Console terminfo entry is called linux insead of console.
7995 It also uses the kernel's new method of changing charsets.
7996 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
7997 you try to run on an undefined terminal.
7998 * I can get things running on AIX but tic can't compile terminfo. I have to
7999 compile entries on another machine. Volunteers to hunt this bug are welcome.
8000 * wbkgd() and wbkgdset() can be used to set a windows background to color.
8001 wclear()/werase() DO NOT use the current attribute to clear the screen.
8002 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
8003 though PDCurses 2.2 has been fixed.
8004 * cleaned up the test/ directory.
8005 * test/worm will segfault after quite a while.
8006 * many spelling corrections courtesy of Thomas E. Dickey
8008 ### ncurses 1.8.6 -> 1.8.7
8009 * cleaned up programs in test/ directory.
8010 * fixed wbkgdset() macro.
8011 * modified getstr() to stop it from advancing cursor in noecho mode.
8012 * modified linux terminfo entry to work with the latest kernel to get
8013 the correct alternate character set.
8014 * also added a linux-mono entry for those running on monochrome screens.
8015 * changed initscr() so that it behaves like the man page says it does.
8016 this fixes the problem with programs in test/ crashing with SIGSEV if
8017 a terminal is undefined.
8018 * modified addch() to avoid using any term.h #define's
8019 * removed duplicate tgoto() in lib_tparm.c
8020 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
8021 * modified delwin() to correctly handle deleting subwindows.
8022 * fixed Makefile.dist to stop installing an empty curses.h
8023 * fixed a couple of out-of-date notes in man pages.
8025 ### ncurses 1.8.5 -> 1.8.6
8026 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
8027 * The handling of attributes has been improved and now does not turn off color
8028 if other attributes are turned off.
8029 * scrolling code is improved. Scrolling in subwindows is still broken.
8030 * Fixes to several bugs that manifest them on platforms other than Linux.
8031 * The default to meta now depends on the status of the terminal when ncurses
8033 * The interface to the tracing facility has changed. Instead of the pair of
8034 functions traceon() and traceoff(), there is just one function trace() which
8035 takes a trace mask argument. The trace masks, defined in curses.h, are
8038 #define TRACE_DISABLE 0x00 /* turn off tracing */
8039 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
8040 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
8041 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
8043 More trace masks may be added, or these may be changed, in future releases.
8044 * The pad code has been improved and the pad test code in test/ncurses.c has
8046 * The prototype ansi entry has been changed to work with a wider variety
8048 * Fix to the prototype ansi entry that enables it to work with PC emulators
8049 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
8050 break operation with any emulators.
8051 * There are now working infocmp, captoinfo, tput, and tclear utilities.
8052 * tic can now compile entries in termcap syntax.
8053 * Core-dump bug in pnoutrefresh fixed.
8054 * We now recognize and compile all the nonstandard capabilities in Ross
8055 Ridge's mytinfo package (rendering it obsolete).
8056 * General cleanup and documentation improvements.
8057 * Fixes and additions to the installation-documentation files.
8058 * Take cursor to normal mode on endwin.
8060 ### ncurses 1.8.4 -> 1.8.5
8061 * serious bugs in updating screen which caused erratic non-display,
8063 * fixed initialization for getch() related variable which cause
8064 unpredictable results.
8065 * fixed another doupdate bug which only appeared if you have
8067 * implemented redrawln() and redrawwin().
8068 * implemented winsnstr() and related functions.
8069 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
8070 * changed Makefile.dist so that installation of man pages will
8071 take note of the terminfo directory.
8072 * fixed Configure (removed the mysterious 'X').
8073 * Eric S. Raymond fixed the script.* files so that they work with
8076 #### ncurses 1.8.3 -> 1.8.4 #### ####
8077 * fixed bug in refreshing the screen after return from shell_mode.
8078 There are still problems but they don't manifest themselves on
8079 my machine (Linux 0.99.14f).
8080 * added wgetnstr() and modified things accordingly.
8081 * fixed the script.src script.test to work with awk not just gawk.
8082 * Configure can now take an argument of the target system.
8083 * added test/ncurses.c which replaces several other programs and
8084 performs more testing.
8085 [Thanks to Eric S Raymond for the last 4]
8086 * more fixes to lib_overlay.c and added test/over.c to illustrate
8088 * fixed ungetch() to take int instead of ch.
8089 * fixes to cure wgetch() if flushinp() is called.
8091 One note I forgot to mention in 1.8.3 is that tracing is off by
8092 default starting in the version. If you want tracing output, put
8093 traceon(); in your code and link with -ldcurses.
8095 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
8097 1) The order of capabilities has been changed in order to achieve
8098 binary compatibility with SVR4 terminfo database. This has the
8099 unfortunate effect of breaking application currently linked with
8100 ncurses. To ensure correct behavior, recompile all such programs.
8101 Most programs using color or newer capabilities will break, others
8102 will probably continue to work ok.
8104 2) Pavel Curtis has renounced his copyright to the public domain.
8105 This means that his original sources (posted to comp.sources.unix,
8106 volume 1) are now in the public domain. The current sources are
8107 NOT in the public domain, they are copyrighted by me. I'm
8108 entertaining ideas on what the new terms ncurses is released under.
8110 3) Eric S. Raymond has supplied a complete set of man pages for
8111 ncurses in ?roff format. They will eventually replace most of the
8112 current docs. Both sets are included in this release.
8114 Other changes and notes from 1.8.2 include:
8115 * SIGSEGV during scrolling no longer occurs.
8116 * Other problems with scrolling and use of idl have been corrected.
8117 * lib_getch.c has been re-written and should perform flawlessly.
8118 please use test/getch.c and any other programs to test this.
8119 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
8120 changed accordingly.
8121 * I've added support for terminals that scroll if you write in the
8122 bottom-right corner.
8123 * fixed more bugs in pads code. If anybody has a program that uses
8124 pads I'd love a copy.
8125 * correct handling for terminal with back_color_erase capability
8126 (such as Linux console, and most PC terminals)
8127 * ^Z handling apparently didn't work (I should never trust code
8128 sent me to me without extensive testing). It now seems to be
8129 fixed. Let me know if you have problems.
8130 * I've added support for Apollo and NeXT, but it may still be
8131 incomplete, especially when dealing with the lack of POSIX
8133 * scrolling should be more efficient on terminals with idl
8134 capabilities. Please see src/lib_scroll.c for more notes.
8135 * The line drawing routines were offset by 1 at both ends. This
8137 * added a few missing prototypes and macros (e.g. setterm())
8138 * fixed code in src/lib_overlay.c which used to crash.
8139 * added a few more programs in test/ The ones from the PDCurses
8140 package are useful, especially if you have SVR4 proper. I'm
8141 interested in the results you get on such a systems (Eric? ;-).
8142 They already exposed certain bugs in ncurses.
8143 * See src/README for porting notes.
8144 * The C++ code should really replace ncurses.h instead of working
8145 around it. It should avoid name-space clashes with nterm.h (use
8146 rows instead of lines, etc.)
8147 * The C++ should compile ok. I've added explicit rules to the
8148 Makefile because no C++ defaults are documented on the suns.
8149 * The docs say that echo() and nocbreak() are mutually exclusive.
8150 At the moment ncurses will switch to cbreak() if the case above
8151 occurs. Should it continue to do so? How about echo() and noraw()?
8152 * PDCurses seem to assume that wclear() will use current attribute
8153 when clearing the screen. According to Eric this is not the case
8155 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
8156 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
8157 * I've also found out that the src/script.* rely on gawk and will not
8158 work with stock awk or even with nawk. Any changes are welcome.
8159 * Linux is more tolerant of NULL dereferences than most systems. This
8160 fact was exposed by hanoi.
8161 * ncurses still seems inefficient in drawing the screen on a serial
8162 link between Linux and suns. The padding may be the culprit.
8163 * There seems to be one lingering problem with doupdate() after shelling
8164 out. Despite the fact the it is sending out the correct information
8165 to the terminal, nothing takes effect until you press ^L or another
8166 refresh takes place. And yes, output does get flushed.
8168 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
8170 * added support for SVR4 and BSDI's BSD/386.
8171 * major update and fix to scrolling routine.
8172 * MORE fixes to stuff in lib_getch.c.
8173 * cleaned-up configuration options and can now generate
8174 Config.* files through an awk script.
8175 * changed setupterm() so it can be called more than once,
8176 add added set_curterm(), del_curterm().
8177 * a few minor cleanups.
8178 * added more prototypes in curses.h
8180 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
8182 * added support for NeXTStep 3.0
8183 * added termcap emulation (not well tested).
8184 * more complete C++ interface to ncurses.
8185 * fixed overlay(), overwrite(), and added copywin().
8186 * a couple of bug fixes.
8187 * a few code cleanups.
8189 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
8191 * The annoying message "can't open file." was due to missing
8192 terminfo entry for the used terminal. It has now been
8193 replaced by a hopefully more helpful message.
8194 * Problems with running on serial lines are now fixed.
8195 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
8196 386bsd/BSDI (if you have others send'em to me)
8198 * The documentation in manual.doc is now more uptodate.
8199 * update optimization and support for hp terminals, and 386bsd
8201 * mvcur optimization for terminals without cursor addressing
8202 (doesn't work on Linux)
8203 * if cursor moved since last update, getch() will refresh the
8204 screen before working.
8205 * getch() & alarm() can now live together. in 0.7.3 a signal
8206 interrupted getch() (bug or feature?) now the getch is
8208 * scanw() et all were sick, now fixed.
8209 * support for 8-bit input (use meta()).
8210 * added default screen size to all terminfos.
8211 * added c++ Ncursesw class.
8212 * several minor bug fixes.
8214 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
8216 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
8217 * more fixes to lib_getch.c
8218 * changes related to Config
8220 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
8222 * docs updated slightly (color usage is now documented).
8223 * yet another fix for getch(), this one fixes problems with ESC being swallowed
8224 if another character is typed before the 1 second timeout.
8225 * Hopefully, addstr() and addch() are 8-bit clean.
8226 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
8227 * order of capabilities changed to reflect that specified in SYSV
8228 this will allow for binary-compatibility with existing terminfo dbs.
8230 * fixed problems with asc_init()
8231 * added A_PROTECT and A_INVIS
8232 * cleaned up vidputs()
8233 * general cleanup of the code
8234 * more attention to portability to other systems
8235 * added terminfos for hp70092 (wont work until changes to lib_update.c are
8236 made) and 386BSD pcvt drivers.
8238 Thanks to Hellmuth Michaelis for his help.
8239 optimization code is slated for the next major release, stay tuned!
8241 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
8242 Please note that the next release will be called 1.8. If you want to know about
8243 the rationale drop me a line.
8245 Included are several test programs in test/.
8246 I've split up the panels library, reversi, tetris, sokoban. They are now
8247 available separately from netcom.com:pub/zmbenhal/
8249 * color and ACS support is now fully compatible with SYSV at the terminfo
8251 * Capabilities now includes as many SYSV caps I could find.
8252 * tigetflag,tigetnum,tigetstr functions added.
8253 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
8254 strnames, strfnames, strcodes arrays are now added.
8255 * keyname() is added.
8256 * All function keys can be defined in terminfo entries.
8257 * fixed lin_tparm.c to behave properly.
8258 * terminfo entries for vt* and xterm are included (improvements are welcome)
8259 * more automation in handling caps and keys.
8260 * included fixes from 0.6.1
8261 * added a few more missing functions.
8262 * fixed a couple of minor bugs.
8263 * updated docs JUST a little (still miles behind in documenting the newer
8266 #### ncurses 0.6 -> ncurses 0.61 ####
8268 1) Included the missing data/console.
8270 2) allow attributes when drawing boxes.
8272 3) corrected usage of win->_delay value.
8274 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
8275 simply return the last character in the sequence. The correct
8276 behavior is to return the entire sequence one character at a time.
8278 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
8279 * removed _numchngd from struct _win_st and made appropriate changes.
8280 * rewritten kgetch() to remove problems with interaction between alarm and
8281 read(). It caused SIGSEGV every now and then.
8282 * fixed a bug that miscounted the numbers of columns when updating.
8283 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
8284 * fixed a bug that cause the lower-right corner to be incorrect.
8285 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
8286 * made resize() and cleanup() static to lib_newterm.c
8287 * added notimeout().
8288 * added timeout() define in curses.h
8289 * added more function prototypes and fixed napms.
8291 * moved screen size detection to lib_setup.c.
8292 * fixed newterm() to confirm to prototype.
8293 * removed SIGWINCH support as SYSV does not define its semantics.
8294 * cleaned-up lib_touch.c
8295 * added waddnstr() and relatives.
8296 * added slk_* support.
8297 * fixed a bug in wdeleteln().
8298 * added PANEL library.
8299 * modified Makefile for smoother installation.
8300 * terminfo.h is really term.h
8302 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
8303 * changed _win_st structure to allow support for missing functionality.
8304 * Addition of terminfo support for all KEY_*.
8305 * Support for nodelay(), timeout(), notimeout().
8306 * fixed a bug with the keypad char reading that did not return ESC until
8307 another key is pressed.
8308 * nl mapping no longer occur on output (as should be)
8309 fixed bug '\n' no causing a LF.
8310 * fixed bug that reset terminal colors regardless of whether we use color
8312 * Better support for ACS (not quite complete).
8313 * fixed bug in wvline().
8315 * changed from signal() to sigaction().
8316 * re-included the contents of important.patch into source.
8318 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
8319 * Addition of more KEY_* definitions.
8320 * Addition of function prototypes.
8321 * Addition of several missing functions.
8322 * No more crashes if screen size is undefined (use SIGWINCH handler).
8323 * added a handler to cleanup after SIGSEGV (hopefully never needed).
8324 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
8325 * renamed compile/dump to tic/untic.
8326 * New scrolling code.
8327 * fixed bug that reversed the sense of nl() and nonl().
8329 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
8330 * more support for color and graphics see test/ for examples.
8331 * fixed various files to allow correct update after shelling out.
8332 * more fixes for updates.
8333 * no more core dumps if you don't have a terminfo entry.
8334 * support for LINES and COLUMNS environment variables.
8335 * support for SIGWINCH signal.
8336 * added a handler for SIGINT for clean exits.
8338 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
8339 * support for color.
8340 * support for PC graphic characters.
8341 * lib_trace.c updated to use stdarg.h and vprintf routines.
8342 * added gdc.c (Great Digital Clock) as an example of using color.
8344 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
8345 * replacing sgtty stuff by termios stuff.
8346 * ANSIfication of some functions.
8347 * Disabling cost analysis 'cause it's incorrect.
8348 * A quick hack for a terminfo entry.