1 -------------------------------------------------------------------------------
2 -- Copyright (c) 1998-2007,2008 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.1289 2008/09/08 20:31:19 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 + change shared-library configuration for OpenBSD, make rpath work.
50 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
53 + corrected fix for --enable-weak-symbols (report by Frederic L W
57 + corrected gcc options for building shared libraries on IRIX64.
58 + add configure check for awk programs unable to handle big-strings,
59 use that to improve the default for --enable-big-strings option.
60 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
62 + update test/configure script.
63 + adapt ifdef's from library to make test/view.c build when mbrtowc()
64 is unavailable, e.g., with HPUX 10.20.
65 + add configure check for wcsrtombs, mbsrtowcs, which are used in
66 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
67 fixing build of ncursew for HPUX 11.00
70 + fixes to make Ada95 demo_panels() example work.
71 + modify Ada95 'rain' test program to accept keyboard commands like the
73 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
75 + add configure-check to see if the std namespace is legal for cerr
76 and endl, to fix a build issue with Tru64.
77 + consistently use NCURSES_BOOL in lib_gen.c
78 + filter #line's from lib_gen.c
79 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
80 substitution by IBM xlc to '#' as part of its extensions to digraphs.
81 + update config.guess, config.sub from
82 http://savannah.gnu.org/projects/config
83 (caveat - its maintainer removed support for older Linux systems).
86 + modify configure check for pthread library to work with OSF/1 5.1,
87 which uses #define's to associate its header and library.
88 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
89 makes threaded code work on HPUX 11.23
90 + fix a bug in demo_menus in freeing menus (cf: 20080804).
91 + modify configure script for the case where tic library is used (and
92 possibly renamed) to remove its dependency upon ncurses/ncursew
93 library (patch by Dr Werner Fink).
94 + correct manpage for menu_fore() which gave wrong default for
95 the attribute used to display a selected entry (report by Mike Gran).
96 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
100 + add configure option --enable-weak-symbols to turn on new feature.
101 + add configure-check for availability of weak symbols.
102 + modify linkage with pthread library to use weak symbols so that
103 applications not linked to that library will not use the mutexes,
104 etc. This relies on gcc, and may be platform-specific (patch by Dr
106 + add note to INSTALL to document limitation of renaming of tic library
107 using the --with-ticlib configure option (report by Dr Werner Fink).
108 + document (in manpage) why tputs does not detect I/O errors (prompted
109 by comments by Samuel Thibault).
110 + fix remaining warnings from Klocwork report.
113 + modify _nc_panelhook() data to account for a permanent memory leak.
114 + fix memory leaks in test/demo_menus
115 + fix most warnings from Klocwork tool (report by Larry Zhou).
116 + modify configure script CF_XOPEN_SOURCE macro to add case for
117 "dragonfly" from xterm #236 changes.
118 + modify configure script --with-hashed-db to let $LIBS override the
119 search for the db library (prompted by report by Samson Pierre).
122 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
126 + build-fix (reports by Christian Ebert, Funda Wang).
129 + compiler-warning fixes for Solaris.
132 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
133 make those work properly with the "--enable-ext-mouse" configuration
135 + improve documentation of build-cc options in INSTALL.
136 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
137 -static/-dynamic flags properly to linker, causing test/bs to
141 + correct some ifdef's needed for the broken-linker configuration.
142 + make debugging library's $BAUDRATE feature work for termcap
144 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
145 by comment on FreeBSD mailing list).
146 + add screen.mlterm terminfo entry -TD
147 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
150 + regenerated html documentation.
151 + expand manpage description of parameters for form_driver() and
152 menu_driver() (prompted by discussion with Adam Spragg).
153 + add null-pointer checks for cur_term in baudrate() and
154 def_shell_mode(), def_prog_mode()
155 + fix some memory leaks in delscreen() and wide acs.
158 + modify test/ditto.c to illustrate multi-threaded use_screen().
159 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
160 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
164 + finish changes to wgetch(), making it switch as needed to the
165 window's actual screen when calling wrefresh() and wgetnstr(). That
166 allows wgetch() to get used concurrently in different threads with
167 some minor restrictions, e.g., the application should not delete a
168 window which is being used in a wgetch().
169 + simplify mutex's, combining the window- and screen-mutex's.
172 + modify wgetch() to use the screen which corresponds to its window
173 parameter rather than relying on SP; some dependent functions still
175 + factor out most use of SP in lib_mouse.c, using parameter.
176 + add internal _nc_keyname(), replacing keyname() to associate with a
177 particular SCREEN rather than the global SP.
178 + add internal _nc_unctrl(), replacing unctrl() to associate with a
179 particular SCREEN rather than the global SP.
180 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
181 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
182 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
183 preference to the global _nc_globals.tracechr_buf buffer.
186 + modify _nc_keypad() to make it switch temporarily as needed to the
187 screen which must be updated.
188 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
189 always set the screen's copy of this variable in set_curterm().
190 + restore curs_set() state after endwin()/refresh() (report/patch
194 + modify configure script to note that --enable-ext-colors and
195 --enable-ext-mouse are not experimental, but extensions from
197 + corrected manpage description of setcchar() (discussion with
199 + fix for adding a non-spacing character at the beginning of a line
200 (report/patch by Miroslav Lichvar).
203 + modify screen.* terminfo entries using new screen+fkeys to fix
204 overridden keys in screen.rxvt (Debian #478094) -TD
205 + modify internal interfaces to reduce wgetch()'s dependency on the
207 + simplify some loops with macros each_screen(), each_window() and
211 + continue modifying test/ditto.c toward making it demonstrate
212 multithreaded use_screen(), using fifos to pass data between screens.
213 + fix typo in form.3x (report by Mike Gran).
216 + add screen.rxvt terminfo entry -TD
217 + modify tic -f option to format spaces as \s to prevent them from
218 being lost when that is read back in unformatted strings.
219 + improve test/ditto.c, using a "talk"-style layout.
222 + change test/ditto.c to use openpty() and xterm.
223 + add locks for copywin(), dupwin(), overlap(), overlay() on their
225 + add locks for initscr() and newterm() on updates to the SCREEN
227 + finish table in curs_thread.3x manpage.
230 + begin table in curs_thread.3x manpage describing the scope of data
231 used by each function (or symbol) for threading analysis.
232 + add null-pointer checks to setsyx() and getsyx() (prompted by
233 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
234 python-dev2 mailing list).
237 + add null-pointer checks in set_term() and delscreen().
238 + move _nc_windows into _nc_globals, since windows can be pads, which
239 are not associated with a particular screen.
240 + change use_screen() to pass the SCREEN* parameter rather than
241 stdscr to the callback function.
242 + force libtool to use tag for 'CC' in case it does not detect this,
243 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
244 (report/patch by Michael Haubenwallner).
245 + override OBJEXT to "lo" when building with libtool, to work on
246 platforms such as AIX where libtool may use a different suffix for
247 the object files than ".o" (report/patch by Michael Haubenwallner).
248 + add configure --with-pthread option, for building with the POSIX
252 + fill in extended-color pair two more places in wbkgrndset() and
253 waddch_nosync() (prompted by Sedeno's patch).
254 + fill in extended-color pair in _nc_build_wch() to make colors work
255 for wide-characters using extended-colors (patch by Alejandro R
257 + add x/X toggles to ncurses.c C color test to test/demo
258 wide-characters with extended-colors.
259 + add a/A toggles to ncurses.c c/C color tests.
260 + modify test/ditto.c to use use_screen().
261 + finish modifying test/rain.c to demonstrate threads.
264 + start modifying test/rain.c for threading demo.
265 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
266 that the 'F' accepts.
267 + modify test/worm.c to show trail in reverse-video when other threads
268 are working concurrently.
269 + fix a deadlock from improper nesting of mutexes for windowlist and
273 + fixes from 20080223 resolved issue with mutexes; change to use
274 recursive mutexes to fix memory leak in delwin() as called from
278 + fix a size-difference in _nc_globals which caused hanging of mutex
279 lock/unlock when termlib was built separately.
282 + avoid using nanosleep() in threaded configuration since that often
283 is implemented to suspend the entire process.
286 + update test programs to build/work with various UNIX curses for
287 comparisons. This was to reinvestigate statement in X/Open curses
288 that insnstr and winsnstr perform wrapping. None of the Unix-branded
289 implementations do this, as noted in manpage (cf: 20040228).
292 + modify _nc_setupscreen() to set the legacy-coding value the same
293 for both narrow/wide models. It had been set only for wide model,
294 but is needed to make unctrl() work with locale in the narrow model.
295 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
296 using unctrl() to display illegal bytes rather than trying to append
297 further bytes to make up a valid sequence (reported by Andrey A
299 + modify unctrl() to check codes in 128-255 range versus isprint().
300 If they are not printable, and locale was set, use a "M-" or "~"
304 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
305 handling). Now it hangs in napms(), no matter whether nanosleep()
306 or poll() or select() are used on Linux.
309 + fixes to build with --disable-ext-funcs
310 + add manpage for use_window and use_screen.
311 + add set_tabsize() and set_escdelay() functions.
314 + remove recursive-mutex definitions, finish threading demo for worm.c
315 + remove a redundant adjustment of lines in resizeterm.c's
316 adjust_window() which caused occasional misadjustment of stdscr when
320 + several improvements to terminfo entries based on xterm #230 -TD
321 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
322 "link_test" builds properly.
323 + fix for toe command-line options -u/-U to ensure filename is given.
324 + fix allocation-size for command-line parsing in infocmp from 20070728
325 (report by Miroslav Lichvar)
326 + improve resizeterm() by moving ripped-off lines, and repainting the
327 soft-keys (report by Katarina Machalkova)
328 + add clarification in wclear's manpage noting that the screen will be
329 cleared even if a subwindow is cleared (prompted by Christer Enfors
331 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
334 + continue implementing support for threading demo by adding mutex
338 + add several functions to C++ binding which wrap C functions that
339 pass a WINDOW* parameter (request by Chris Lee).
342 + add note about configure options needed for Berkeley database to the
344 + improve checks for version of Berkeley database libraries.
345 + amend fix for rpath to not modify LDFLAGS if the platform has no
346 applicable transformation (report by Christian Ebert, cf: 20071124).
349 + modify configure option --with-hashed-db to accept a parameter which
350 is the install-prefix of a given Berkeley Database (prompted by
352 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
353 used in the form library to determine the length of the buffer needed
354 by field_buffer (report by Alfred Fung).
355 + remove unneeded window-parameter from C++ binding for wresize (report
359 + modify the support for filesystems which do not support mixed-case to
360 generate 2-character (hexadecimal) codes for the lower-level of the
361 filesystem terminfo database (request by Michail Vidiassov).
362 + add configure option --enable-mixed-case, to allow overriding the
363 configure script's check if the filesystem supports mixed-case
365 + add wresize() to C++ binding (request by Chris Lee).
366 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
367 it simpler to tell if the extended functions and/or colors are
371 + update memory-leak checks for changes to names.c and codes.c
372 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
375 + continue implementing support for threading demo by adding mutex
377 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
379 + compile with FreeBSD "contemporary" TTY interface (patch by
383 + modify makefile rules to allow clear, tput and tset to be built
384 without libtic. The other programs (infocmp, tic and toe) rely on
386 + add/modify null-pointer checks in several functions for SP and/or
387 the WINDOW* parameter (report by Thorben Krueger).
388 + fixes for field_buffer() in formw library (see Redhat Bugzilla
389 #310071, patches by Miroslav Lichvar).
390 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
392 + update/improve mlterm and rxvt terminfo entries, e.g., for
393 the modified cursor- and keypad-keys -TD
396 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
397 changes the CharEq() macro to an inline function to allow comparing
398 cchar_t struct's without comparing gaps in a possibly unpacked
399 memory layout (report by Miroslav Lichvar).
402 + add new functions to lib_trace.c to setup mutex's for the _tracef()
403 calls within the ncurses library.
404 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
406 + start modifying test/worm.c to provide threading demo (incomplete).
407 + separated ifdef's for some BSD-related symbols in tset.c, to make
408 it compile on LynxOS (report by Greg Gemmer).
410 + modify Ada95/gen/Makefile to use shlib script, to simplify building
411 shared-library configuration on platforms lacking rpath support.
412 + build-fix for Ada95/src/Makefile to reflect changed dependency for
413 the terminal-interface-curses-aux.adb file which is now generated.
414 + restructuring test/worm.c, for use_window() example.
417 + add use_window() and use_screen() functions, to develop into support
418 for threaded library (incomplete).
419 + fix typos in man/curs_opaque.3x which kept the install script from
420 creating symbolic links to two aliases created in 20070818 (report by
424 + remove a spurious newline from output of html.m4, which caused links
425 for Ada95 html to be incorrect for the files generated using m4.
426 + start investigating mutex's for SCREEN manipulation (incomplete).
427 + minor cleanup of codes.c/names.c for --enable-const
428 + expand/revise "Routine and Argument Names" section of ncurses manpage
429 to address report by David Givens in newsgroup discussion.
430 + fix interaction between --without-progs/--with-termcap configure
431 options (report by Michail Vidiassov).
432 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
435 + fix a sign-extension bug in infocmp's repair_acsc() function
437 + fix old configure script bug which prevented "--disable-warnings"
438 option from working (patch by Mike Frysinger).
441 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
442 + modify comp_hash.c's string output to avoid misinterpreting a null
443 "\0" followed by a digit.
444 + modify MKnames.awk and MKcodes.awk to support big-strings.
445 This only applies to the cases (broken linker, reentrant) where
446 the corresponding arrays are accessed via wrapper functions.
447 + split MKnames.awk into two scripts, eliminating the shell redirection
448 which complicated the make process and also the bogus timestamp file
449 which was introduced to fix "make -j".
450 + add test/test_opaque.c, test/test_arrays.c
451 + add wgetscrreg() and wgetparent() for applications that may need it
452 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
455 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
456 unless "-T" is given (cf: 981017).
457 + modify comp_captab.c generation to use big-strings.
458 + make _nc_capalias_table and _nc_infoalias_table private accessed via
459 _nc_get_alias_table() since the tables are used only within the tic
461 + modify configure script to skip Intel compiler in CF_C_INLINE.
462 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
463 _nc_get_hash_table() since the tables are used only within the tic
467 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
468 _nc_get_alias_table() since they are used only by parse_entry.c
469 + make _nc_key_names private since it is used only by lib_keyname.c
470 + add --disable-big-strings configure option to control whether
471 unctrl.c is generated using the big-string optimization - which may
472 use strings longer than supported by a given compiler.
473 + reduce relocation tables for tic, infocmp by changing type of
474 internal hash tables to short, and make those private symbols.
475 + eliminate large fixed arrays from progs/infocmp.c
478 + change winnstr() to stop at the end of the line (cf: 970315).
479 + add test/test_get_wstr.c
480 + add test/test_getstr.c
481 + add test/test_inwstr.c
482 + add test/test_instr.c
485 + restore a call to obtain screen-size in _nc_setupterm(), which
486 is used in tput and other non-screen applications via setupterm()
487 (Debian #433357, reported by Florent Bayle, Christian Ohm,
491 + add test/savescreen.c test-program
492 + add check to trace-file open, if the given name is a directory, add
493 ".log" to the name and try again.
494 + add konsole-256color entry -TD
495 + add extra gcc warning options from xterm.
496 + minor fixes for ncurses/hashmap test-program.
497 + modify configure script to quiet c++ build with libtool when the
498 --disable-echo option is used.
499 + modify configure script to disable ada95 if libtool is selected,
500 writing a warning message (addresses FreeBSD ports/114493).
501 + update config.guess, config.sub
504 + add continuous-move "M" to demo_panels to help test refresh changes.
505 + improve fix for refresh of window on top of multi-column characters,
506 taking into account some split characters on left/right window
510 + add "widec" row to _tracedump() output to help diagnose remaining
511 problems with multi-column characters.
512 + partial fix for refresh of window on top of multi-column characters
513 which are partly overwritten (report by Sadrul H Chowdhury).
514 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
515 multi-column extension bits are passed there.
516 + add setlocale() call to demo_panels.c, needed for wide-characters.
517 + add some output flags to _nc_trace_ttymode to help diagnose a bug
518 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
521 + add test/demo_panels.c
522 + implement opaque version of setsyx() and getsyx().
525 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
527 + split-out key_name() from MKkeyname.awk since it now depends upon
528 wunctrl() which is not in libtinfo (report by Rong-En Fan).
531 + add test/key_name.c
532 + add stdscr cases to test/inchs.c and test_inch_wide.c
533 + update test/configure
534 + correct formatting of DEL (0x7f) in _nc_vischar().
535 + null-terminate result of wunctrl().
536 + add null-pointer check in key_name() (report by Andreas Krennmair,
540 + adapt mouse-handling code from menu library in form-library
541 (discussion with Clive Nicolson).
542 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
543 illustrate how to use mvcur().
544 + modify wide-character flavor of SetAttr() to preserve the
545 WidecExt() value stored in the .attr field, e.g., in case it
546 is overwritten by chgat (report by Aleksi Torhamo).
547 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
548 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
551 + modify keyname() to use "^X" form only if meta() has been called, or
552 if keyname() is called without initializing curses, e.g., via
553 initscr() or newterm() (prompted by LinuxBase #1604).
554 + document some portability issues in man/curs_util.3x
555 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
556 broken by moving that data into SCREEN (cf: 20061230).
559 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
560 problem reported by Sadrul H Chowdhury with repainting parts of
562 + modify slk_init() so that if there are preceding calls to
563 ripoffline(), those affect the available lines for soft-keys (adapted
564 from patch by Clive Nicolson).
565 + document some portability issues in man/curs_getyx.3x
568 + fix a bug in Ada95/samples/ncurses which caused a variable to
569 become uninitialized in the "b" test.
570 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
571 movement of files, fix a few incorrect manpage references in the
573 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
575 + correct some functions in Ada95 binding which were using return value
576 from C where none was returned: idcok(), immedok() and wtimeout().
577 + amend recent changes for Ada95 binding to make it build with
578 Cygwin's linker, e.g., with configure options
579 --enable-broken-linker --with-ticlib
582 + add a configure check for gcc's options for inlining, use that to
583 quiet a warning message where gcc's default behavior changed from
585 + improve warning message when checking if GPM is linked to curses
586 library by not warning if its use of "wgetch" is via a weak symbol.
587 + add loader options when building with static libraries to ensure that
588 an installed shared library for ncurses does not conflict. This is
589 reported as problem with Tru64, but could affect other platforms
590 (report Martin Mokrejs, analysis by Tim Mooney).
591 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
592 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
593 + revert a change from 20070303 which commented out dependency of
594 SHLIB_LIST in form/menu/panel/c++ libraries.
595 + fix initialization of ripoff stack pointer (cf: 20070421).
598 + move most static variables into structures _nc_globals and
599 _nc_prescreen, to simplify storage.
600 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
601 type for data manipulated by signal handlers (prompted by comments
602 in mailing.openbsd.bugs newsgroup).
603 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
604 to the libtool create- and link-operations.
607 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
608 the installed aliases (report by Peter Santoro).
609 + fix configure script to not try to generate adacurses-config when
610 Ada95 tree is not built.
613 + add man/curs_legacy.3x, man/curs_opaque.3x
614 + fix acs_map binding for Ada95 when --enable-reentrant is used.
615 + add adacurses-config to the Ada95 install, based on version from
616 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
617 comment on comp.lang.ada newsgroup).
618 + fix includes in c++ binding to build with Intel compiler
620 + update install rule in Ada95 to use mkdirs.sh
621 > other fixes prompted by inspection for Coverity report:
622 + modify ifdef's for c++ binding to use try/catch/throw statements
623 + add a null-pointer check in tack/ansi.c request_cfss()
624 + fix a memory leak in ncurses/base/wresize.c
625 + corrected check for valid memu/meml capabilities in
626 progs/dump_entry.c when handling V_HPUX case.
627 > fixes based on Coverity report:
628 + remove dead code in test/bs.c
629 + remove dead code in test/demo_defkey.c
630 + remove an unused assignment in progs/infocmp.c
631 + fix a limit check in tack/ansi.c tools_charset()
632 + fix tack/ansi.c tools_status() to perform the VT320/VT420
633 tests in request_cfss(). The function had exited too soon.
634 + fix a memory leak in tic.c's make_namelist()
635 + fix a couple of places in tack/output.c which did not check for EOF.
636 + fix a loop-condition in test/bs.c
637 + add index checks in lib_color.c for color palettes
638 + add index checks in progs/dump_entry.c for version_filter() handling
640 + fix a possible null-pointer dereference in copywin()
641 + fix a possible null-pointer dereference in waddchnstr()
642 + add a null-pointer check in _nc_expand_try()
643 + add a null-pointer check in tic.c's make_namelist()
644 + add a null-pointer check in _nc_expand_try()
645 + add null-pointer checks in test/cardfile.c
646 + fix a double-free in ncurses/tinfo/trim_sgr0.c
647 + fix a double-free in ncurses/base/wresize.c
648 + add try/catch block to c++/cursesmain.cc
651 + modify Ada95 binding to build with --enable-reentrant by wrapping
652 global variables (bug: acs_map does not yet work).
653 + modify Ada95 binding to use the new access-functions, allowing it
654 to build/run when NCURSES_OPAQUE is set.
655 + add access-functions and macros to return properties of the WINDOW
656 structure, e.g., when NCURSES_OPAQUE is set.
657 + improved install-sh's quoting.
658 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
662 + eliminate part of the direct use of WINDOW data from Ada95 interface.
663 + fix substitutions for termlib filename to make configure option
664 --enable-reentrant work with --with-termlib.
665 + change a constructor for NCursesWindow to allow compiling with
666 NCURSES_OPAQUE set, since we cannot pass a reference to
670 + ignore --with-chtype=unsigned since unsigned is always added to
671 the type in curses.h; do the same for --with-mmask-t.
672 + change warning regarding --enable-ext-colors and wide-character
673 in the configure script to an error.
674 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
675 such as Darwin's libtool program (report by Michail Vidiassov)
676 + modify edit_man.sh to allow for multiple substitutions per line.
677 + set locale in misc/ncurses-config.in since it uses a range
678 + change permissions libncurses++.a install (report by Michail
680 + corrected length of temporary buffer in wide-character version
681 of set_field_buffer() (related to report by Bryan Christ).
684 + fix mk-1st.awk script install_shlib() function, broken in 20070224
685 changes for cygwin (report by Michail Vidiassov).
688 + increase size of array in _nc_visbuf2n() to make "tic -v" work
689 properly in its similar_sgr() function (report/analysis by Peter
691 + add --enable-reentrant configure option for ongoing changes to
692 implement a reentrant version of ncurses:
693 + libraries are suffixed with "t"
694 + wrap several global variables (curscr, newscr, stdscr, ttytype,
695 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
696 functions returning values stored in SCREEN or cur_term.
697 + move some initialization (LINES, COLS) from lib_setup.c,
698 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
701 + regenerated html documentation.
702 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
703 opaque in selected configurations.
704 + move the chunk in lib_acs.c which resets acs capabilities when
705 running on a terminal whose locale interferes with those into
706 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
707 identical (requested by Miroslav Lichvar).
708 + do not use configure variable SHLIB_LIBS for building libraries
709 outside the ncurses directory, since that symbol is customized
710 only for that directory, and using it introduces an unneeded
711 dependency on libdl (requested by Miroslav Lichvar).
712 + modify mk-1st.awk so the generated makefile rules for linking or
713 installing shared libraries do not first remove the library, in
714 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
716 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
717 (prompted by newsgroup comment by Nick Guenther).
720 + change internal return codes of _nc_wgetch() to check for cases
721 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
722 ungetch'd, and read by wget_wch().
723 + fix static-library build broken in 20070217 changes to remove "-ldl"
724 (report by Miroslav Lichvar).
725 + change makefile/scripts for cygwin to allow building termlib.
726 + use Form_Hook in manpages to match form.h
727 + use Menu_Hook in manpages, as well as a few places in menu.h
728 + correct form- and menu-manpages to use specific Field_Options,
729 Menu_Options and Item_Options types.
730 + correct prototype for _tracechar() in manpage (cf: 20011229).
731 + correct prototype for wunctrl() in manpage.
734 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
736 + modify relinking of shared libraries to apply only when rpath is
737 enabled, and add --disable-relink option which can be used to
738 disable the feature altogether (reports by Michail Vidiassov,
740 + fix --with-termlib option for wide-character configuration, stripping
741 the "w" suffix in one place (report by Miroslav Lichvar).
742 + remove "-ldl" from some library lists to reduce dependencies in
743 programs (report by Miroslav Lichvar).
744 + correct description of --enable-signed-char in configure --help
745 (report by Michail Vidiassov).
746 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
747 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
749 + remove "${DESTDIR}" from -install_name option used for linking
750 shared libraries on Darwin (report by Michail Vidiassov).
753 + add test/inchs.c, test_inch_wide.c, to test win_wchnstr().
754 + remove libdl from library list for termlib (report by Miroslav
756 + fix configure.in to allow --without-progs --with-termlib (patch by
758 + modify win_wchnstr() to ensure that only a base cell is returned
759 for each multi-column character (prompted by report by Wei Kong
760 regarding change in mvwin_wch() cf: 20041023).
763 + modify fix_wchnstr() in form library to strip attributes (and color)
764 from the cchar_t array (field cells) read from a field's window.
765 Otherwise, when copying the field cells back to the window, the
766 associated color overrides the field's background color (report by
768 + improve tracing for form library, showing created forms, fields, etc.
769 + ignore --enable-rpath configure option if --with-shared was omitted.
770 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
771 to allow leak-checking when both tic- and tinfo-libraries are built.
772 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
773 no longer relies on it.
774 + disallow combining configure script options --with-ticlib and
775 --enable-termcap (report by Rong-En Fan).
776 + remove tack from ncurses tree.
779 + fix typo in configure script that broke --with-termlib option
780 (report by Rong-En Fan).
783 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
784 to tgetent() (report by Rong-en Fan).
785 + update tack/HISTORY and tack/README to tell how to build it after
786 it is removed from the ncurses tree.
787 + fix configure check for libtool's version to trim blank lines
788 (report by sci-fi@hush.ai).
789 + review/eliminate other original-file artifacts in cursesw.cc, making
790 its license consistent with ncurses.
791 + use ncurses vw_scanw() rather than reading into a fixed buffer in
792 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
793 + eliminate fixed-buffer vsprintf() calls in c++ binding.
796 + add _nc_leaks_tic() to separate leak-checking of tic library from
797 term/ncurses libraries, and thereby eliminate a library dependency.
798 + fix test/mk-test.awk to ignore blank lines.
799 + correct paths in include/headers, for --srcdir (patch by Miroslav
803 + add a break-statement in misc/shlib to ensure that it exits on the
804 _first_ matched directory (report by Paul Novak).
805 + add tack/configure, which can be used to build tack outside the
807 + add --with-ticlib option, to build/install the tic-support functions
808 in a separate library (suggested by Miroslav Lichvar).
811 + change MKunctrl.awk to reduce relocation table for unctrl.o
812 + change MKkeyname.awk to reduce relocation table for keyname.o
813 (patch by Miroslav Lichvar).
816 + modify configure check for libtool's version to trim blank lines
817 (report by sci-fi@hush.ai).
818 + modify some modules to allow them to be reentrant if _REENTRANT is
819 defined: lib_baudrate.c, resizeterm.c (local data only)
820 + eliminate static data from some modules: add_tries.c, hardscroll.c,
821 lib_ttyflags.c, lib_twait.c
822 + improve manpage install to add aliases for the transformed program
823 names, e.g., from --program-prefix.
824 + used linklint to verify links in the HTML documentation, made fixes
825 to manpages as needed.
826 + fix a typo in curs_mouse.3x (report by William McBrine).
827 + fix install-rule for ncurses5-config to make the bin-directory.
830 + modify configure script to omit the tic (terminfo compiler) support
831 from ncurses library if --without-progs option is given.
832 + modify install rule for ncurses5-config to do this via "install.libs"
833 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
834 + update config.guess, config.sub
836 20061217 5.6 release for upload to ftp.gnu.org
839 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
840 definitions in <wchar.h>.
841 + revert the va_copy() change from 20061202, since it was neither
842 correct nor portable.
843 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
845 + ignore wide-acs line-drawing characters that wcwidth() claims are
846 not one-column. This is a workaround for Solaris' broken locale
850 + modify configure --with-gpm option to allow it to accept a parameter,
851 i.e., the name of the dynamic GPM library to load via dlopen()
852 (requested by Bryan Henderson).
853 + add configure option --with-valgrind, changes from vile.
854 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
855 'return' in preference to 'exit()'.
858 + change default for --with-develop back to "no".
859 + add XTABS to tracing of TTY bits.
860 + updated autoconf patch to ifdef-out the misfeature which declares
861 exit() for configure tests. This fixes a redefinition warning on
863 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
864 Solaris to help ensure that initialization sections are provided for
865 extra linkage requirements, e.g., of C++ applications (prompted by
866 comment by Casper Dik in newsgroup).
867 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
868 from the autoconf predefined symbol. There was no conflict,
869 since "$target" was used only in the generated edit_man.sh file,
870 but SuSE's rpm package contains a patch.
873 + update man/term.5 to reflect extended terminfo support and hashed
874 database configuration.
875 + updates for test/configure script.
876 + adapted from SuSE rpm package:
877 + remove long-obsolete workaround for broken-linker which declared
879 + improve error recovery in PUTC() macro when wcrtomb() does not
880 return usable results for an 8-bit character.
881 + patches from rpm package (SuSE):
882 + use va_copy() in extra varargs manipulation for tracing version
884 + use a va_list rather than a null in _nc_freeall()'s call to
886 + add some see-also references in manpages to show related
887 wide-character functions (suggested by Claus Fischer).
890 + add a check in lib_color.c to ensure caller does not increase COLORS
891 above max_colors, which is used as an array index (discussion with
893 + add ifdef's allowing ncurses to be built with tparm() using either
894 varargs (the existing status), or using a fixed-parameter list (to
898 + fix redrawing of windows other than stdscr using wredrawln() by
899 touching the corresponding rows in curscr (discussion with Dan
902 + add test/echochar.c
903 + review/cleanup manpage descriptions of error-returns for form- and
904 menu-libraries (prompted by FreeBSD docs/46196).
907 + add AUTHORS file -TD
908 + omit the -D options from output of the new config script --cflags
909 option (suggested by Ralf S Engelschall).
910 + make NCURSES_INLINE unconditionally defined in curses.h
913 + revert change to accommodate bash 3.2, since that breaks other
914 platforms, e.g., Solaris.
915 + minor fixes to NEWS file to simplify scripting to obtain list of
917 + improve some shared-library configure scripting for Linux, FreeBSD
918 and NetBSD to make "--with-shlib-version" work.
919 + change configure-script rules for FreeBSD shared libraries to allow
920 for rpath support in versions past 3.
921 + use $(DESTDIR) in makefile rules for installing/uninstalling the
922 package config script (reports/patches by Christian Wiese,
924 + fix a warning in the configure script for NetBSD 2.0, working around
925 spurious blanks embedded in its ${MAKEFLAGS} symbol.
926 + change test/Makefile to simplify installing test programs in a
927 different directory when --enable-rpath is used.
930 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
931 + add/install a package config script, e.g., "ncurses5-config" or
932 "ncursesw5-config", according to configuration options.
935 + add several GNU Screen terminfo variations with 16- and 256-colors,
936 and status line (Alain Bench).
937 + change the way shared libraries (other than libtool) are installed.
938 Rather than copying the build-tree's libraries, link the shared
939 objects into the install directory. This makes the --with-rpath
940 option work except with $(DESTDIR) (cf: 20000930).
943 + fix ifdef in c++/internal.h for QNX 6.1
944 + test-compiled with (old) egcs-1.1.2, modified configure script to
945 not unset the $CXX and related variables which would prevent this.
946 + fix a few terminfo.src typos exposed by improvments to "-f" option.
947 + improve infocmp/tic "-f" option formatting.
950 + make --disable-largefile option work (report by Thomas M Ott).
951 + updated html documentation.
952 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
953 + minor improvements to rxvt+pcfkeys -TD
956 + move static data from lib_mouse.c into SCREEN struct.
957 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
958 (report by Michail Vidiassov).
959 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
960 option (from lynx changes) -TD
961 + adapt AC_PROG_EGREP check, noting that this is likely to be another
962 place aggravated by POSIXLY_CORRECT.
963 + modify configure check for awk to ensure that it is found (prompted
964 by report by Christopher Parker).
968 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
969 + remove invis capability from klone+sgr, mainly used by linux entry,
970 since it does not really do this -TD
973 + correct logic in wadd_wch() and wecho_wch(), which did not guard
974 against passing the multi-column attribute into a call on waddch(),
975 e.g., using data returned by win_wch() (cf: 20041023)
976 (report by Sadrul H Chowdhury).
979 + fix kterm's acsc string -TD
980 + fix for change to tic/infocmp in 20060819 to ensure no blank is
981 embedded into a termcap description.
982 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
983 when using --with-termlib --with-trace options.
984 + improve tgetstr() by making the return value point into the user's
985 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
987 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
990 + add terminfo entries for xfce terminal (xfce) and multi gnome
992 + add test/foldkeys.c
995 + modify tic and infocmp to avoid writing trailing blanks on terminfo
996 source output (Debian #378783).
997 + modify configure script to ensure that if the C compiler is used
998 rather than the loader in making shared libraries, the $(CFLAGS)
999 variable is also used (Redhat Bugzilla #199369).
1000 + port hashed-db code to db2 and db3.
1001 + fix a bug in tgetent() from 20060625 and 20060715 changes
1002 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1005 + updated xterm function-keys terminfo to match xterm #216 -TD
1006 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1007 e.g., the db 1.8.5 interface).
1010 + modify toe to access termcap data, e.g., via cgetent() functions,
1011 or as a text file if those are not available.
1012 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1013 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1014 can access termcap data when the terminfo database is disabled.
1017 + widen the test for xterm kmous a little to allow for other strings
1018 than \E[M, e.g., for xterm-sco functionality in xterm.
1019 + update xterm-related terminfo entries to match xterm patch #216 -TD
1020 + update config.guess, config.sub
1023 + fix for install-rule in Ada95 to add terminal_interface.ads
1024 and terminal_interface.ali (anonymous posting in comp.lang.ada).
1025 + correction to manpage for getcchar() (report by William McBrine).
1027 + modify wchgat() to mark updated cells as changed so a refresh will
1028 repaint those cells (comments by Sadrul H Chowdhury and William
1030 + split up dependency of names.c and codes.c in ncurses/Makefile to
1031 work with parallel make (report/analysis by Joseph S Myers).
1032 + suppress a warning message (which is ignored) for systems without
1033 an ldconfig program (patch by Justin Hibbits).
1034 + modify configure script --disable-symlinks option to allow one to
1035 disable symlink() in tic even when link() does not work (report by
1037 + modify MKfallback.sh to use tic -x when constructing fallback tables
1038 to allow extended capabilities to be retrieved from a fallback entry.
1039 + improve leak-checking logic in tgetent() from 20060625 to ensure that
1040 it does not free the current screen (report by Miroslav Lichvar).
1043 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1044 + correct _nc_free_entries() and related functions used for memory leak
1048 + revert a minor change for magic-cookie support from 20060513, which
1049 caused unexpected reset of attributes, e.g., when resizing test/view
1051 + note in clear manpage that the program ignores command-line
1052 parameters (prompted by Debian #371855).
1053 + fixes to make lib_gen.c build properly with changes to the configure
1054 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
1055 + update/correct several terminfo entries -TD
1056 + add some notes regarding copyright to terminfo.src -TD
1059 + fixes to build Ada95 binding with gnat-4.1.0
1060 + modify read_termtype() so the term_names data is always allocated as
1061 part of the str_table, a better fix for a memory leak (cf: 20030809).
1062 + reduce memory leaks in repeated calls to tgetent() by remembering the
1063 last TERMINAL* value allocated to hold the corresponding data and
1064 freeing that if the tgetent() result buffer is the same as the
1065 previous call (report by "Matt" for FreeBSD gnu/98975).
1066 + modify tack to test extended capability function-key strings.
1067 + improved gnome terminfo entry (GenToo #122566).
1068 + improved xterm-256color terminfo entry (patch by Alain Bench).
1071 + fix two small memory leaks related to repeated tgetent() calls
1072 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1073 + add --enable-signed-char to simplify Debian package.
1074 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1076 + correct typo in curs_terminfo.3x (Debian #369168).
1079 + enable the mouse in test/movewindow.c
1080 + improve a limit-check in frm_def.c (John Heasley).
1081 + minor copyright fixes.
1082 + change configure script to produce test/Makefile from data file.
1085 + add a configure option --enable-wgetch-events to enable
1086 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1087 lib_twait.c (report by Bernd Jendrissek).
1088 + remove include/nomacros.h from build, since the ifdef for
1089 NCURSES_NOMACROS makes that obsolete.
1090 + add entrypoints for some functions which were only provided as macros
1091 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
1092 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1094 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1095 definitions from curses.h, i.e., where a macro is defined to override
1096 a function to improve performance. Allowing a developer to suppress
1097 these definitions can simplify some application (discussion with
1099 + improve description of memu/meml in terminfo manpage.
1102 + if msgr is false, reset video attributes when doing an automargin
1103 wrap to the next line. This makes the ncurses 'k' test work properly
1105 + correct caching of keyname(), which was using only half of its table.
1106 + minor fixes to memory-leak checking.
1107 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1108 arrays, making ACS_LEN less visible to applications (suggested by
1110 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1111 _screen_acs_map will have the same offset in both ncurses/ncursesw,
1112 making the corresponding tinfo/tinfow libraries binary-compatible
1113 (cf: 20041016, report by Stanislav Ievlev).
1116 + improve debug-tracing for EmitRange().
1117 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
1118 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1119 suppression of the related hard-tabs and xmc-glitch features.
1120 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1121 infocmp, terminfo as well as form, menu, panel.
1122 + update config.guess, config.sub
1123 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1124 (field_buffer returning null for a valid field). The 'r' test
1125 appears to not work with that configuration since the new_fieldtype()
1126 function is broken in that implementation.
1129 + add hpterm-color terminfo entry -TD
1130 + fixes to compile test-programs with HPUX 11.23
1133 + add copyright notices to files other than those that are generated,
1134 data or adapted from pdcurses (reports by William McBrine, David
1136 + improve rendering on hpterm by not resetting attributes at the end
1137 of doupdate() if the terminal has the magic-cookie feature (report
1139 + add 256color variants of terminfo entries for programs which are
1140 reported to implement this feature -TD
1143 + fix typo in change to NewChar() macro from 20060311 changes, which
1144 broke tab-expansion (report by Frederic L W Meunier).
1147 + document -U option of tic and infocmp.
1148 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1149 due to size limit, e.g., converting to termcap format. Also
1150 suppress them if the output format does not contain acsc and it
1151 was not VT100-like, i.e., a one-one mapping (Novell #163715).
1152 + add configure check to ensure that SIGWINCH is defined on platforms
1153 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1154 defined (report by Nicholas Cole)
1157 + modify write_object() to not write coincidental extensions of an
1158 entry made due to it being referenced in a use= clause (report by
1160 + another fix for infocmp -i option, which did not ensure that some
1161 escape sequences had comparable prefixes (report by Alain Bench).
1164 + improve discussion of init/reset in terminfo and tput manpages
1165 (report by Alain Bench).
1166 + use is3 string for a fallback of rs3 in the reset program; it was
1167 using is2 (report by Alain Bench).
1168 + correct logic for infocmp -i option, which did not account for
1169 multiple digits in a parameter (cf: 20040828) (report by Alain
1171 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1172 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1173 + add copyright notices to test-programs as needed (report by William
1177 + modify ncurses.c 'F' test to combine the wide-characters with color
1178 and/or video attributes.
1179 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
1180 a test-screen (some commands used 'x' or 'q').
1183 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
1186 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
1187 a null character is found (report by Igor Bogomazov).
1188 + modify progs/Makefile.in to make "tput init" work properly with
1189 cygwin, i.e., do not pass a ".exe" in the reference string used
1190 in check_aliases (report by Samuel Thibault).
1191 + add some checks to ensure current position is within scrolling
1192 region before scrolling on a new line (report by Dan Gookin).
1193 + change some NewChar() usage to static variables to work around
1194 stack garbage introduced when cchar_t is not packed (Redhat #182024).
1197 + workarounds to build test/movewindow with PDcurses 2.7.
1198 + fix for nsterm-16color entry (patch by Alain Bench).
1199 + correct a typo in infocmp manpage (Debian #354281).
1202 + add nsterm-16color entry -TD
1203 + updated mlterm terminfo entry -TD
1204 + remove 970913 feature for copying subwindows as they are moved in
1205 mvwin() (discussion with Bryan Christ).
1206 + modify test/demo_menus.c to demonstrate moving a menu (both the
1207 window and subwindow) using shifted cursor-keys.
1208 + start implementing recursive mvwin() in movewindow.c (incomplete).
1209 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
1210 for movewindow.c (report by William McBrine).
1211 + add help-message to test/movewindow.c
1214 + add test/movewindow.c, to test mvderwin().
1215 + fix ncurses soft-key test so color changes are shown immediately
1216 rather than delayed.
1217 + modify ncurses soft-key test to hide the keys when exiting the test
1219 + fixes to build test programs with PDCurses 2.7, e.g., its headers
1220 rely on autoconf symbols, and it declares stubs for nonfunctional
1221 terminfo and termcap entrypoints.
1224 + improved test/configure to build test/ncurses on HPUX 11 using the
1226 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
1227 benefit of developers who do not read INSTALL.
1230 + correct form library Window_To_Buffer() change (cf: 20040516), which
1231 should ignore the video attributes (report by Ricardo Cantu).
1234 + minor fixes to xmc-glitch experimental code:
1235 + suppress line-drawing
1236 + implement max_attributes
1238 + minor fixes for the database iterator.
1239 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
1243 + add toe -a option, to show all databases. This uses new private
1244 interfaces in the ncurses library for iterating through the list of
1246 + fix toe from 20000909 changes which made it not look at
1248 + make toe's -v option parameter optional as per manpage.
1249 + improve SIGWINCH handling by postponing its effect during newterm(),
1250 etc., when allocating screens.
1253 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
1254 this in test/filter.c
1255 + fix an error in filter() modification which caused some applications
1259 + check if filter() was called when getting the screensize. Keep it
1260 at 1 if so (based on Redhat #174498).
1261 + add extension nofilter().
1262 + refined the workaround for ACS mapping.
1263 + make ifdef's consistent in curses.h for the extended colors so the
1264 header file can be used for the normal curses library. The header
1265 file installed for extended colors is a variation of the
1266 wide-character configuration (report by Frederic L W Meunier).
1269 + add a workaround to ACS mapping to allow applications such as
1270 test/blue.c to use the "PC ROM" characters by masking them with
1271 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
1272 of legacy coding (report by Michael Deutschmann).
1273 + add a null-pointer check in the wide-character version of
1274 calculate_actual_width() (report by Victor Julien).
1275 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
1276 values to be set independently (patch by William McBrine).
1277 + modify test/configure script to allow building test programs with
1279 + modified test programs to allow some to work with NetBSD curses.
1280 Several do not because NetBSD curses implements a subset of X/Open
1281 curses, and also lacks much of SVr4 additions. But it's enough for
1283 + update config.guess and config.sub
1286 + use BSD-specific fix for return-value from cgetent() from CVS where
1287 an unknown terminal type would be reportd as "database not found".
1288 + make tgetent() return code more readable using new symbols
1290 + remove references to non-existent "tctest" program.
1291 + remove TESTPROGS from progs/Makefile.in (it was referring to code
1292 that was never built in that directory).
1293 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
1296 + add use_legacy_coding() function to support lynx's font-switching
1298 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
1299 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
1303 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
1304 overwrite() and copywin() with different combinations of colors and
1305 attributes (including background color) to make it easy to see the
1306 effect of the different functions.
1307 + corrections to menu/m_global.c for wide-characters (report by
1311 + add configure option --without-dlsym, allowing developers to
1312 configure GPM support without using dlsym() (discussion with Michael
1314 + fix wins_nwstr(), which did not handle single-column non-8bit codes
1318 + move prototypes for wide-character trace functions from curses.tail
1319 to curses.wide to avoid accidental reference to those if
1320 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
1322 + add/use NCURSES_INLINE definition.
1323 + change some internal functions to use int/unsigned rather than the
1327 + remove a redundant check in lib_color.c (Debian #335655).
1328 + use ld's -search_paths_first option on Darwin to work around odd
1329 search rules on that platform (report by Christian Gennerat, analysis
1331 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
1332 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
1333 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
1336 + other minor fixes to cygwin based on tack -TD
1337 + correct smacs in cygwin (Debian #338234, report by Baurzhan
1338 Ismagulov, who noted that it was fixed in Cygwin).
1341 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
1342 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
1343 since those record the state of multicolumn characters (Debian
1345 + modify werase to clear multicolumn characters that extend into
1346 a derived window (Debian #316663).
1349 + move assignment from environment variable ESCDELAY from initscr()
1350 down to newterm() so the environment variable affects timeouts for
1351 terminals opened with newterm() as well.
1352 + fix a memory leak in keyname().
1353 + add test/demo_altkeys.c
1354 + modify test/demo_defkey.c to exit from loop via 'q' to allow
1355 leak-checking, as well as fix a buffer size in winnstr() call.
1358 + correct order of use-clauses in rxvt-basic entry which made codes for
1359 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
1360 + suppress configure check for gnatmake if Ada95/Makefile.in is not
1362 + correct a typo in configure --with-bool option for the case where
1363 --without-cxx is used (report by Daniel Jacobowitz).
1364 + add a note to INSTALL's discussion of --with-normal, pointing out
1365 that one may wish to use --without-gpm to ensure a completely
1366 static link (prompted by report by Felix von Leitner).
1368 20051010 5.5 release for upload to ftp.gnu.org
1371 + document in demo_forms.c some portability issues.
1374 + document side-effect of werase() which sets the cursor position.
1375 + save/restore the current position in form field editing to make
1379 + correct header dependencies in progs, allowing parallel make (report
1380 by Daniel Jacobowitz).
1381 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1382 the configure check for --with-build-cc (report by Daniel Jacobowitz).
1383 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1385 + update config.guess and config.sub from
1386 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1389 + modify sed expression which computes path for /usr/lib/terminfo
1390 symbolic link in install to ensure that it does not change unexpected
1391 levels of the path (Gentoo #42336).
1392 + modify default for --disable-lp64 configure option to reduce impact
1393 on existing 64-bit builds. Enabling the _LP64 option may change the
1394 size of chtype and mmask_t. However, for ABI 6, it is enabled by
1395 default (report by Mike Frysinger).
1396 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1397 default if it is used.
1398 + improve configure script logic for bumping ABI to omit this if the
1399 --with-abi-version option was used.
1400 + update address for Free Software Foundation in tack's source.
1401 + correct wins_wch(), which was not marking the filler-cells of
1402 multi-column characters (cf: 20041023).
1405 + modify mouse initialization to ensure that Gpm_Open() is called only
1406 once. Otherwise GPM gets confused in its initialization of signal
1407 handlers (Debian #326709).
1410 + modify logic for backspacing in a multiline form field to ensure that
1411 it works even when the preceding line is full (report by Frank van
1413 + remove comment about BUGS section of ncurses manpage (Debian #325481)
1416 + document some workarounds for shared and libtool library
1417 configurations in INSTALL (see --with-shared and --with-libtool).
1418 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1419 cross-compilers which emit the platform name in their version
1421 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1422 (report by Frank van Vugt).
1425 + start updating documentation for upcoming 5.5 release.
1426 + fix to make libtool and libtinfo work together again (cf: 20050122).
1427 + fixes to allow building traces into libtinfo
1428 + add debug trace to tic that shows if/how ncurses will write to the
1429 lower corner of a terminal's screen.
1430 + update llib-l* files.
1433 + modify initializers in c++ binding to build with old versions of g++.
1434 + improve special case for 20050115 repainting fix, ensuring that if
1435 the first changed cell is not a character that the range to be
1436 repainted is adjusted to start at a character's beginning (Debian
1440 + fixes to build on QNX 6.1
1441 + improve configure script checks for Intel 9.0 compiler.
1442 + remove #include's for libc.h (obsolete).
1443 + adjust ifdef's in curses.priv.h so that when cross-compiling to
1444 produce comp_hash and make_keys, no dependency on wchar.h is needed.
1445 That simplifies the build-cppflags (report by Frank van Vugt).
1446 + move modules related to key-binding into libtinfo to fix linkage
1447 problem caused by 20050430 changes to MKkeyname.sh (report by
1448 Konstantin Andreev).
1451 + updates/fixes for configure script macros from vile -TD
1452 + make prism9's sgr string agree with the rest of the terminfo -TD
1453 + make vt220's sgr0 string consistent with sgr string, do this for
1454 several related cases -TD
1455 + improve translation to termcap by filtering the 'me' (sgr0) strings
1456 as in the runtime call to tgetent() (prompted by a discussion with
1458 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1459 resets line-drawing.
1462 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
1464 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
1465 allow it to be used by tic to provide information about the runtime
1466 changes that would be made to sgr0 for termcap applications.
1467 + modify make_sed.sh to make the group-name in the NAME section of
1468 form/menu library manpage agree with the TITLE string when renaming
1469 is done for Debian (Debian #78866).
1472 + modify parameter type in c++ binding for insch() and mvwinsch() to
1473 be consistent with underlying ncurses library (was char, is chtype).
1474 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
1476 + improve configure check for nanosleep(), checking that it works since
1477 some older systems such as AIX 4.3 have a nonworking version.
1480 + update config.guess and config.sub from
1481 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1482 + modify misc/shlib to work in test-directory.
1483 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
1484 allows cross-compiles to use the host's tic program to handle the
1485 "make install.data" step.
1486 + improve description of $LINES and $COLUMNS variables in manpages
1487 (prompted by report by Dave Ulrick).
1488 + improve description of cross-compiling in INSTALL
1489 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
1490 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
1491 + modify configure script to obtain soname for GPM library (discussion
1492 with Daniel Jacobowitz).
1493 + modify configure script so that --with-chtype option will still
1494 compute the unsigned literals suffix for constants in curses.h
1495 (report by Daniel Jacobowitz:
1496 + patches from Daniel Jacobowitz:
1497 + the man_db.renames entry for tack.1 was backwards.
1498 + tack.1 had some 1m's that should have been 1M's.
1499 + the section for curs_inwstr.3 was wrong.
1502 + correction to --with-chtype option (report by Daniel Jacobowitz).
1505 + move build-time edit_man.sh and edit_man.sed scripts to top directory
1506 to simplify reusing them for renaming tack's manpage (prompted by a
1507 review of Debian package).
1508 + revert minor optimization from 20041030 (Debian #313609).
1509 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
1510 1.5.10 and 1.5.18 (all work except as noted previously for the c++
1511 install using libtool 1.5.0):
1512 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
1514 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
1515 + add configure options --with-chtype and --with-mmask-t, to allow
1516 overriding of the non-LP64 model's use of the corresponding types.
1517 + revise test for size of chtype (and mmask_t), which always returned
1518 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
1521 + change _tracef's that used "%p" format for va_list values to ignore
1522 that, since on some platforms those are not pointers.
1523 + fixes for long-formats in printf's due to largefile support.
1526 + fixes for termcap support:
1527 + reset pointer to _nc_curr_token.tk_name when the input stream is
1528 closed, which could point to free memory (cf: 20030215).
1529 + delink TERMTYPE data which is used by the termcap reader, so that
1530 extended names data will be freed consistently.
1531 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
1533 + add some entrypoints for freeing permanently allocated data via
1534 _nc_freeall() when NO_LEAKS is defined.
1535 + amend 20041030 change to _nc_do_color to ensure that optimization is
1536 applied only when the terminal supports back_color_erase (bce).
1539 + add sun-color terminfo entry -TD
1540 + correct a missing assignment in c++ binding's method
1541 NCursesPanel::UserPointer() from 20050409 changes.
1542 + improve configure check for large-files, adding check for dirent64
1544 + minor change to configure script to improve linker options for the
1548 + document error conditions for ncurses library functions (report by
1550 + regenerated html documentation for ada binding.
1551 see ftp://invisible-island.net/ncurses/patches/gnathtml
1554 + regenerated html documentation for manpages.
1555 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
1556 ncurses/Makefile (Gentoo #89772).
1557 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
1558 (patch by Mike Frysinger).
1559 + modify tic to filter out long extended names when translating to
1560 termcap format. Only two characters are permissible for termcap
1564 + modify terminfo entries xterm-new and rxvt to add strings for
1565 shift-, control-cursor keys.
1566 + workaround to allow c++ binding to compile with g++ 2.95.3, which
1567 has a broken implementation of static_cast<> (patch by Jeff Chua).
1568 + modify initialization of key lookup table so that if an extended
1569 capability (tic -x) string is defined, and its name begins with 'k',
1570 it will automatically be treated as a key.
1571 + modify test/keynames.c to allow for the possibility of extended
1572 key names, e.g., via define_key(), or via "tic -x".
1573 + add test/demo_termcap.c to show the contents of given entry via the
1577 + minor fixes for vt100/vt52 entries -TD
1578 + add configure option --enable-largefile
1579 + corrected libraries used to build Ada95/gen/gen, found in testing
1583 + update config.guess, config.sub
1584 + modify configure script check for _XOPEN_SOURCE, disable that on
1585 Darwin whose header files have problems (patch by Chris Zubrzycki).
1586 + modify form library Is_Printable_String() to use iswprint() rather
1587 than wcwidth() for determining if a character is printable. The
1588 latter caused it to reject menu items containing non-spacing
1590 + modify ncurses test program's F-test to handle non-spacing characters
1591 by combining them with a reverse-video blank.
1592 + review/fix several gcc -Wconversion warnings.
1595 + correct an off-by-one error in m_driver() for mouse-clicks used to
1596 position the mouse to a particular item.
1597 + implement test/demo_menus.c
1598 + add some checks in lib_mouse to ensure SP is set.
1599 + modify C++ binding to make 20050403 changes work with the configure
1600 --enable-const option.
1603 + modify start_color() to return ERR if it cannot allocate memory.
1604 + address g++ compiler warnings in C++ binding by adding explicit
1605 member initialization, assignment operators and copy constructors.
1606 Most of the changes simply preserve the existing semantics of the
1607 binding, which can leak memory, etc., but by making these features
1608 visible, it provides a framework for improving the binding.
1609 + improve C++ binding using static_cast, etc.
1610 + modify configure script --enable-warnings to add options to g++ to
1611 correspond to the gcc --enable-warnings.
1612 + modify C++ binding to use some C internal functions to make it
1613 compile properly on Solaris (and other platforms).
1616 + amend change from 20050320 to limit it to configurations with a
1618 + fix a bug introduced in 20050320 which broke the translation of
1619 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
1622 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
1623 chtype and mmask_t, but add configure option --disable-lp64 in case
1624 anyone used that configuration.
1625 + update misc/shlib script to account for Mac OS X (report by Michail
1627 + correct comparison for wrapping multibyte characters in
1628 waddch_literal() (report by Takahashi Tamotsu).
1631 + add -c and -w options to tset to allow user to suppress ncurses'
1632 resizing of the terminal emulator window in the special case where it
1633 is not able to detect the true size (report by Win Delvaux, Debian
1635 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
1636 codes 128-159 as part of multibyte characters (report by Wang
1637 WenRui, Debian #300512).
1640 + modify ncurses.c 'd' test to make it work with 88-color
1641 configuration, i.e., by implementing scrolling.
1642 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
1646 + change tracemunch to use strict checking.
1647 + modify ncurses.c 'p' test to test line-drawing within a pad.
1648 + implement environment variable NCURSES_NO_UTF8_ACS to support
1649 miscellaneous terminal emulators which ignore alternate character
1650 set escape sequences when in UTF-8 mode.
1653 + change NCursesWindow::err_handler() to a virtual function (request by
1655 + modify fty_int.c and fty_num.c to handle wide characters (report by
1657 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1658 and wide characters inconsistently (report by Wolfgang Gutjahr).
1659 + update llib-* files to reflect internal interface additions/changes.
1662 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1664 + add aixterm-16color terminfo entry -TD
1665 + modified xterm-new terminfo entry to work with tgetent() changes -TD
1666 + extended changes in tgetent() from 20040710 to allow the substring of
1667 sgr0 which matches rmacs to be at the beginning of the sgr0 string
1668 (request by Thomas Wolff). Wolff says the visual effect in
1669 combination with pre-20040710 ncurses is improved.
1670 + fix off-by-one in winnstr() call which caused form field validation
1671 of multibyte characters to ignore the last character in a field.
1672 + correct logic in winsch() for inserting multibyte strings; the code
1673 would clear cells after the insertion rather than push them to the
1674 right (cf: 20040228).
1675 + fix an inconsistency in Check_Alpha_Field() between normal and wide
1676 character logic (report by Wolfgang Gutjahr).
1679 + fix a bug in editing wide-characters in form library: deleting a
1680 nonwide character modified the previous wide-character.
1681 + update manpage to describe NCURSES_MOUSE_VERSION 2.
1682 + correct manpage description of mouseinterval() (Debian #280687).
1683 + add a note to default_colors.3x explaining why this extension was
1684 added (Debian #295083).
1685 + add traces to panel library.
1688 + improve editing of wide-characters in form library: left/right
1689 cursor movement, and single-character deletions work properly.
1690 + disable GPM mouse support when $TERM happens to be prefixed with
1691 "xterm". Gpm_Open() would otherwise assert that it can deal with
1692 mouse events in this case.
1693 + modify GPM mouse support so it closes the server connection when
1694 the caller disables the mouse (report by Stanislav Ievlev).
1697 + add traces for callback functions in form library.
1698 + add experimental configure option --enable-ext-mouse, which defines
1699 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
1700 support wheel mice, which may transmit buttons 4 and 5. This works
1701 with xterm and similar X terminal emulators (prompted by question by
1702 Andreas Henningsson, this is also related to Debian #230990).
1703 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
1704 avoid redefinition warnings on cygwin.
1707 + merge remaining development changes for extended colors (mostly
1708 complete, does not appear to break other configurations).
1709 + add xterm-88color.dat (part of extended colors testing).
1710 + improve _tracedump() handling of color pairs past 96.
1711 + modify return-value from start_color() to return OK if colors have
1712 already been started.
1713 + modify curs_color.3x list error conditions for init_pair(),
1714 pair_content() and color_content().
1715 + modify pair_content() to return -1 for consistency with init_pair()
1716 if it corresponds to the default-color.
1717 + change internal representation of default-color to allow application
1718 to use color number 255. This does not affect the total number of
1719 color pairs which are allowed.
1720 + add a top-level tags rule.
1723 + add a null-pointer check in wgetch() in case it is called without
1724 first calling initscr().
1725 + add some null-pointer checks for SP, which is not set by libtinfo.
1726 + modify misc/shlib to ensure that absolute pathnames are used.
1727 + modify test/Makefile.in, etc., to link test programs only against the
1728 libraries needed, e.g., omit form/menu/panel library for the ones
1729 that are curses-specific.
1730 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
1731 libtinfo.so and libtinfow.so have the same ABI. The reason for this
1732 is that the corresponding data which belongs to the upper-level
1733 ncurses library has a different size in each model (report by
1737 + minor fixes to allow test-compiles with g++.
1738 + correct column value shown in tic's warnings, which did not account
1739 for leading whitespace.
1740 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
1741 where a following line begins in column 1.
1742 + modify _nc_save_str() to return a null pointer on buffer overflow.
1743 + improve repainting while scrolling wide-character data (Eungkyu Song).
1746 + merge some development changes to extend color capabilities.
1749 + merge some development changes to extend color capabilities.
1750 + fix manpage typo (FreeBSD report docs/75544).
1751 + update config.guess, config.sub
1752 > patches for configure script (Albert Chin-A-Young):
1753 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
1754 20030705), making vsscanf() prototype visible on IRIX64. Tested for
1755 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
1756 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
1757 + print the result of the --disable-home-terminfo option.
1758 + use -rpath when compiling with SGI C compiler.
1761 + add trace calls to remaining public functions in form and menu
1763 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
1764 + fix typo in test/ncurses.c 'c' test from 20041218.
1767 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
1768 and xterm-256color, added 'C' test using the wide-character color_set
1769 and attr_set functions.
1772 + modify configure script to work with Intel compiler.
1773 + fix an limit-check in wadd_wchnstr() which caused labels in the
1774 forms-demo to be one character short.
1775 + fix typo in curs_addchstr.3x (Jared Yanovich).
1776 + add trace calls to most functions in form and menu libraries.
1777 + update working-position for adding wide-characters when window is
1778 scrolled (prompted by related report by Eungkyu Song).
1781 + replace some references on Linux to wcrtomb() which use it to obtain
1782 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
1783 broken in glibc (see Debian #284260).
1784 + corrected length-computation in wide-character support for
1786 + some fixes to frm_driver.c to allow it to accept multibyte input.
1787 + modify configure script to work with Intel 8.0 compiler.
1790 + amend change to setupterm() in 20030405 which would reuse the value
1791 of cur_term if the same output was selected. This now reuses it only
1792 when setupterm() is called from tgetent(), which has no notion of
1793 separate SCREENs. Note that tgetent() must be called after initscr()
1794 or newterm() to use this feature (Redhat Bugzilla #140326).
1795 + add a check in CF_BUILD_CC macro to ensure that developer has given
1796 the --with-build-cc option when cross-compiling (report by Alexandre
1798 + improved configure script checks for _XOPEN_SOURCE and
1799 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
1801 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
1802 for consistency (comment by Dan Nelson).
1805 + update wsvt25 terminfo entry -TD
1806 + modify test/ins_wide.c to test all flavors of ins_wstr().
1807 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
1808 which consists of multi-column characters, since this function
1809 constructs them (cf: 20041023).
1810 + modify winnstr() to return multibyte character strings for the
1811 wide-character configuration.
1814 + fixes to make slk_set() and slk_wset() accept and store multibyte
1815 or multicolumn characters.
1818 + improve color optimization a little by making _nc_do_color() check
1819 if the old/new pairs are equivalent to the default pair 0.
1820 + modify assume_default_colors() to not require that
1821 use_default_colors() be called first.
1824 + modify term_attrs() to use termattrs(), add the extended attributes
1825 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
1826 + add logic in waddch_literal() to clear orphaned cells when one
1827 multi-column character partly overwrites another.
1828 + improved logic for clearing cells when a multi-column character
1829 must be wrapped to a new line.
1830 + revise storage of cells for multi-column characters to correct a
1831 problem with repainting. In the old scheme, it was possible for
1832 doupdate() to decide that only part of a multi-column character
1833 should be repainted since the filler cells stored only an attribute
1834 to denote them as fillers, rather than the character value and the
1838 + minor fixes for traces.
1839 + add SP->_screen_acs_map[], used to ensure that mapping of missing
1840 line-drawing characters is handled properly. For example, ACS_DARROW
1841 is absent from xterm-new, and it was coincidentally displayed the
1845 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
1846 and smacs strings as well. Also modify the check for screen's
1847 limitations in that area to allow the multi-character shift-in
1848 and shift-out which seem to work.
1849 + change GPM initialization, using dl library to load it dynamically
1850 at runtime (Debian #110586).
1853 + correct logic for color pair in setcchar() and getcchar() (patch by
1854 Marcin 'Qrczak' Kowalczyk).
1855 + add t/T commands to ncurses b/B tests to allow a different color to
1856 be tested for the attrset part of the test than is used in the
1860 + fix to make setcchar() to work when its wchar_t* parameter is
1861 pointing to a string which contains more data than can be converted.
1862 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
1863 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
1866 + remove check in wget_wch() added to fix an infinite loop, appears to
1867 have been working around a transitory glibc bug, and interferes
1868 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
1869 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
1870 information (report by Marcin 'Qrczak' Kowalczyk).
1871 + fix aclocal.m4 so that the wide-character version of ncurses gets
1872 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
1873 (adapted from patch by James J Ramsey).
1874 + change configure script for --with-caps option to indicate that it
1875 is no longer experimental.
1876 + change configure script to reflect the fact that --enable-widec has
1877 not been "experimental" since 5.3 (report by Bruno Lustosa).
1880 + add 'B' test to ncurses.c, to exercise some wide-character functions.
1883 + modify infocmp -i option to match 8-bit controls against its table
1884 entries, e.g., so it can analyze the xterm-8bit entry.
1885 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
1886 + correct translation of "%%" in terminfo format to termcap, e.g.,
1887 using "tic -C" (Redhat Bugzilla #130921).
1888 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
1889 it defines _POSIX_C_SOURCE, that it defines it to a specific value
1890 (comp.os.stratus newsgroup comment).
1893 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
1894 fatal, and gnat does not follow the guidelines for pragmas).
1895 However that did find a coding error in Assume_Default_Colors().
1896 + modify several terminfo entries to ensure xterm mouse and cursor
1897 visibility are reset in rs2 string: hurd, putty, gnome,
1898 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
1899 xterm entries are left alone - old ones for compatibility, and the
1900 new ones do not require this change. -TD
1903 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
1904 and window managers (Debian #265631).
1905 > terminfo updates -TD
1906 + remove dch/dch1 from rxvt because they are implemented inconsistently
1907 with the common usage of bce/ech
1908 + remove khome from vt220 (vt220's have no home key)
1912 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
1913 combinations of video attributes so that for instance bold and
1914 underline can be tested. This made the legend too crowded, added
1915 a help window as well.
1916 + modify test/ncurses.c 'b' test to cycle through default colors if
1917 the -d option is set.
1918 + update putty terminfo entry (Robert de Bath).
1921 + modify test/cardfile.c to allow it to read more data than can be
1923 + correct logic in resizeterm.c which kept it from processing all
1924 levels of window hierarchy (reports by Folkert van Heusden,
1928 + modify "tic -cv" to ignore delays when comparing strings. Also
1929 modify it to ignore a canceled sgr string, e.g., for terminals which
1930 cannot properly combine attributes in one control sequence.
1931 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
1932 patch by Hans de Goede)
1933 > terminfo updates -TD
1934 + make ncsa-m rmacs/smacs consistent with sgr
1935 + add sgr, rc/sc and ech to syscons entries
1936 + add function-keys to decansi
1937 + add sgr to mterm-ansi
1938 + add sgr, civis, cnorm to emu
1939 + correct/simplify cup in addrinfo
1942 > terminfo updates -TD
1943 + add xterm-pc-fkeys
1944 + review/update gnome and gnome-rh90 entries (prompted by Redhat
1946 + review/update konsole entries
1947 + add sgr, correct sgr0 for kterm and mlterm
1948 + correct tsl string in kterm
1951 + add configure option --without-xterm-new
1954 + add check in wget_wch() for printable bytes that are not part of a
1955 multibyte character.
1956 + modify wadd_wchnstr() to render text using window's background
1958 + improve tic's check to compare sgr and sgr0.
1959 + fix c++ directory's .cc.i rule.
1960 + modify logic in tgetent() which adjusts the termcap "me" string
1961 to work with ISO-2022 string used in xterm-new (cf: 20010908).
1962 + modify tic's check for conflicting function keys to omit that if
1963 converting termcap to termcap format.
1964 + add -U option to tic and infocmp.
1965 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
1966 > terminfo updates -TD
1967 + minor fixes for emu
1969 + change wyse acsc strings to use 'i' map rather than 'I'
1974 + use tic -x to install terminfo database -TD
1975 + add -x to infocmp's usage message.
1976 + correct field used for comparing O_ROWMAJOR in set_menu_format()
1977 (report/patch by Tony Li).
1978 + fix a missing nul check in set_field_buffer() from 20040508 changes.
1979 > terminfo updates -TD
1980 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
1982 + align with xterm patch #192's use of xterm-new -TD
1983 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
1984 + make xterm-new the default "xterm" entry -TD
1987 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
1988 cross-compiling from a separate directory tree (report/patch by
1990 + modify is_term_resized() to ensure that window sizes are nonzero,
1991 as documented in the manpage (report by Ian Collier).
1992 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
1993 (Debian #249214, report/patch by Jeff Bailey).
1994 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
1995 + update config.guess, config.sub
1996 > terminfo updates -TD
1998 + add xterm-xf86-v44
1999 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2000 relies on G1 being used via an ISO-2022 escape sequence (report by
2005 + reconsidered winsnstr(), decided after comparing other
2006 implementations that wrapping is an X/Open documentation error.
2007 + modify test/inserts.c to test all flavors of insstr().
2010 + add setlocale() calls to a few test programs which may require it:
2011 demo_forms.c, filter.c, ins_wide.c, inserts.c
2012 + correct a few misspelled function names in ncurses-intro.html (report
2014 + correct internal name of key_defined() manpage, which conflicted with
2018 + correct size of internal pad used for holding wide-character
2019 field_buffer() results.
2020 + modify data_ahead() to work with wide-characters.
2023 + improve description of terminfo if-then-else expressions (suggested
2025 + improve test/ncurses.c 'd' test, allow it to use external file for
2026 initial palette (added xterm-16color.dat and linux-color.dat), and
2027 reset colors to the initial palette when starting/ending the test.
2028 + change limit-check in init_color() to allow r/g/b component to
2029 reach 1000 (cf: 20020928).
2032 + modify form library to use cchar_t's rather than char's in the
2033 wide-character configuration for storing data for field buffers.
2034 + correct logic of win_wchnstr(), which did not work for more than
2038 + replace memset/memcpy usage in form library with for-loops to
2039 simplify changing the datatype of FIELD.buf, part of wide-character
2041 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2044 + modify menu library to account for actual number of columns used by
2045 multibyte character strings, in the wide-character configuration
2046 (adapted from patch by Philipp Tomsich).
2047 + add "-x" option to infocmp like tic's "-x", for use in "-F"
2048 comparisons. This modifies infocmp to only report extended
2049 capabilities if the -x option is given, making this more consistent
2050 with tic. Some scripts may break, since infocmp previous gave this
2051 information without an option.
2052 + modify termcap-parsing to retain 2-character aliases at the beginning
2053 of an entry if the "-x" option is used in tic.
2056 + minor compiler-warning and test-program fixes.
2059 + modify tic's missing-sgr warning to apply to terminfo only.
2060 + free some memory leaks in tic.
2061 + remove check in post_menu() that prevented menus from extending
2062 beyond the screen (request by Max J. Werner).
2063 + remove check in newwin() that prevents allocating windows
2064 that extend beyond the screen. Solaris curses does this.
2065 + add ifdef in test/color_set.c to allow it to compile with older
2067 + add napms() calls to test/dots.c to make it not be a CPU hog.
2070 + modify unctrl() to return null if its parameter does not correspond
2071 to an unsigned char.
2072 + add some limit-checks to guard isprint(), etc., from being used on
2073 values that do not fit into an unsigned char (report by Sami Farin).
2076 + fix a typo in the _nc_get_locale() change.
2079 + modify _nc_get_locale() to use setlocale() to query the program's
2080 current locale rather than using getenv(). This fixes a case in tin
2081 which relies on legacy treatment of 8-bit characters when the locale
2082 is not initialized (reported by Urs Jansen).
2083 + add sgr string to screen's and rxvt's terminfo entries -TD.
2084 + add a check in tic for terminfo entries having an sgr0 but no sgr
2085 string. This confuses Tru64 and HPUX curses when combined with
2086 color, e.g., making them leave line-drawing characters in odd places.
2087 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2088 original definitions used in Debian package to fix PowerPC bug before
2089 20030802 (Debian #237629).
2092 + modify PutAttrChar() and PUTC() macro to improve use of
2093 A_ALTCHARSET attribute to prevent line-drawing characters from
2094 being lost in situations where the locale would otherwise treat the
2095 raw data as nonprintable (Debian #227879).
2098 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2100 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2101 some apropos script (Debian #237831).
2104 + modify ncurses.c 'r' test so editing commands, like inserted text,
2105 set the field background, and the state of insert/overlay editing
2106 mode is shown in that test.
2107 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2108 + correct logic in test/ncurses.c 'b' for noncolor terminals which
2109 did not recognize a quit-command (cf: 20030419).
2112 + modify _nc_insert_ch() to allow for its input to be part of a
2114 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
2115 that this function performs wrapping, unlike all of the other
2116 insert-functions. Currently it does not wrap.
2117 + check for nl_langinfo(CODESET), use it if available (report by
2119 + split-out CF_BUILD_CC macro, actually did this for lynx first.
2120 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2121 which happened to work with bash, but not with Bourne shell (report
2122 by Marco d'Itri via tin-dev).
2125 + some changes to adapt the form library to wide characters, incomplete
2126 (request by Mike Aubury).
2127 + add symbol to curses.h which can be used to suppress include of
2129 #define NCURSES_ENABLE_STDBOOL_H 0
2131 (discussion on XFree86 mailing list).
2134 + modify configure --with-termlib option to accept a value which sets
2135 the name of the terminfo library. This would allow a packager to
2136 build libtinfow.so renamed to coincide with libtinfo.so (discussion
2137 with Stanislav Ievlev).
2138 + improve documentation of --with-install-prefix, --prefix and
2139 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2140 + add configure check if the compiler can use -c -o options to rename
2141 its output file, use that to omit the 'cd' command which was used to
2142 ensure object files are created in a separate staging directory
2143 (prompted by comments by Johnny Wezel, Martin Mokrejs).
2145 20040208 5.4 release for upload to ftp.gnu.org
2148 20040207 pre-release
2149 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2150 and do not count %d if it follows a %p.
2151 + correct an inconsistency between handling of codes in the 128-255
2152 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
2153 locale, the latter did not show printable results, while the former
2155 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2156 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2157 verified by Scott Corscadden).
2159 20040131 pre-release
2160 + modify SCREEN struct to align it between normal/wide curses flavors
2161 to simplify future changes to build a single version of libtinfo
2162 (patch by Stanislav Ievlev).
2163 + document handling of carriage return by addch() in manpage.
2164 + document special features of unctrl() in manpage.
2165 + documented interface changes in INSTALL.
2166 + corrected control-char test in lib_addch.c to account for locale
2167 (Debian #230335, cf: 971206).
2168 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2169 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2170 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2172 20040125 pre-release
2173 + amend change to PutAttrChar() from 20030614 which computed the number
2174 of cells for a possibly multi-cell character. The 20030614 change
2175 forced the cell to a blank if the result from wcwidth() was not
2176 greater than zero. However, wcwidth() called for parameters in the
2177 range 128-255 can give this return value. The logic now simply
2178 ensures that the number of cells is greater than zero without
2179 modifying the displayed value.
2181 20040124 pre-release
2182 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
2183 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
2184 that works better for cross-compiling.
2186 20040117 pre-release
2187 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
2188 work around core dump in Solaris 8's locale support, e.g., for
2189 zh_CN.GB18030 (report by Saravanan Bellan).
2190 + add includes for <stdarg.h> and <stdio.h> in configure script macro
2191 to make <wchar.h> check work with Tru64 4.0d.
2192 + add terminfo entry for U/Win -TD
2193 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
2195 + modify tput's error messages to prefix them with the program name
2196 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
2198 + correct a place in tack where exit_standout_mode was used instead of
2199 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
2200 + modify c++/cursesf.h to use const in the Enumeration_Field method.
2201 + remove an ambiguous (actually redundant) method from c++/cursesf.h
2202 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
2203 + improve sed script which extracts libtool's version in the
2204 CF_WITH_LIBTOOL macro.
2205 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
2206 simplify local patch for Albert Chin-A-Young)..
2207 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
2208 patch by Albert Chin-A-Young)..
2209 + fix a missing substitution in configure.in for "$target" needed for
2211 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
2212 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
2213 + make check for stdbool.h more specific, to ensure that including it
2214 will actually define/declare bool for the configured compiler.
2215 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
2216 intention of that is to #define NCURSES_BOOL as bool when the
2217 compiler declares bool, and to #define bool as NCURSES_BOOL when it
2218 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
2220 20040110 pre-release
2221 + change minor version to 4, i.e., ncurses 5.4
2222 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
2224 + simplified ncurses/base/version.c by defining the result from the
2225 configure script rather than using sprintf (suggested by Stanislav
2227 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
2229 + modify configure script so that when configuring for termlib, programs
2230 such as tic are not linked with the upper-level ncurses library
2231 (suggested by Stanislav Ievlev).
2232 + move version.c from ncurses/base to ncurses/tinfo to allow linking
2233 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
2236 + adjust -D's to build ncursesw on OpenBSD.
2237 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
2238 + add pecho_wchar().
2239 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
2240 available) on older platforms.
2243 + add -D's to build ncursew on FreeBSD 5.1.
2244 + modify shared library configuration for FreeBSD 4.x/5.x to add the
2245 soname information (request by Marc Glisse).
2246 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
2247 for limiting the length of a filename in the terminfo database.
2248 + modify termname() to return the terminal name used by setupterm()
2249 rather than $TERM, without truncating to 14 characters as documented
2250 by X/Open (report by Stanislav Ievlev, cf: 970719).
2251 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
2254 + add configure option --with-manpage-format=catonly to address
2255 behavior of BSDI, allow install of man+cat files on NetBSD, whose
2256 behavior has diverged by requiring both to be present.
2257 + remove leading blanks from comment-lines in manlinks.sed script to
2258 work with Tru64 4.0d.
2259 + add screen.linux terminfo entry (discussion on mutt-users mailing
2263 + add a check for tic to flag missing backslashes for termcap
2264 continuation lines. ncurses reads the whole entry, but termcap
2265 applications do not.
2266 + add configure option "--with-manpage-aliases" extending
2267 "--with-manpage-aliases" to provide the option of generating ".so"
2268 files rather than symbolic links for manpage aliases.
2269 + add bool definition in include/curses.h.in for configurations with no
2270 usable C++ compiler (cf: 20030607).
2271 + fix pathname of SigAction.h for building with --srcdir (reported by
2275 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
2276 since that header is used only within ncurses/tty/lib_tstp.c, for
2277 non-POSIX systems (discussion with Stanislav Ievlev).
2278 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
2279 <inger@altlinux.org>).
2280 + add test/background.c and test/color_set.c
2281 + modify color_set() function to work with color pair 0 (report by
2282 George Andreou <gbandreo@tem.uoc.gr>).
2283 + add configure option --with-trace, since defining TRACE seems too
2284 awkward for some cases.
2285 + remove a call to _nc_free_termtype() from read_termtype(), since the
2286 corresponding buffer contents were already zeroed by a memset (cf:
2288 + improve configure check for _XOPEN_SOURCE and related definitions,
2289 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
2290 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
2291 + small fixes to compile on Solaris and IRIX64 using cc.
2292 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
2296 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
2297 values (Philippe Blain).
2298 + improve the nanosleep() logic in napms() by checking for EINTR and
2299 restarting (Philippe Blain).
2300 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
2304 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
2305 + allow "\|" escape in terminfo; tic should not warn about this.
2306 + save the full pathname of the trace-file the first time it is opened,
2307 to avoid creating it in different directories if the application
2308 opens and closes it while changing its working directory.
2309 + modify configure script to provide a non-empty default for
2313 + add DJGPP to special case of DOS-style drive letters potentially
2314 appearing in TERMCAP environment variable.
2315 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
2317 + update config.guess, config.sub
2320 + fix a memory leak in error-return from setupterm() (report by
2321 Stanislav Ievlev <inger@altlinux.org>).
2322 + use EXEEXT and OBJEXT consistently in makefiles.
2323 + amend fixes for cross-compiling to use separate executable-suffix
2324 BUILD_EXEEXT (cf: 20031018).
2325 + modify MKkey_defs.sh to check for sort utility that does not
2326 recognize key options, e.g., busybox (report by Peter S Mazinger
2328 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
2329 David Krause using some of the new malloc debugging features
2330 under OpenBSD, patch by Ted Unangst).
2331 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
2332 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
2335 + update terminfo for xterm-xfree86 -TD
2336 + add check for multiple "tc=" clauses in a termcap to tic.
2337 + check for missing op/oc in tic.
2338 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
2339 tic to show cancelled capabilities. These functions were ignoring
2340 the state of the target entry, which should be untouched if cancelled.
2341 + correct comment in tack/output.c (Debian #215806).
2342 + add some null-pointer checks to lib_options.c (report by Michael
2344 + regenerated html documentation.
2345 + correction to tar-copy.sh, remove a trap command that resulted in
2346 leaving temporary files (cf: 20030510).
2347 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
2350 + updated test/configure to reflect changes for libtool (cf: 20030830).
2351 + fix several places in tack/pad.c which tested and used the parameter-
2352 and parameterless strings inconsistently, i.e., in pad_rin(),
2353 pad_il(), pad_indn() and pad_dl() (Debian #215805).
2354 + minor fixes for configure script and makefiles to cleanup executables
2355 generated when cross-compiling for DJGPP.
2356 + modify infocmp to omit check for $TERM for operations that do not
2357 require it, e.g., "infocmp -e" used to build fallback list (report by
2361 + add terminfo entries for DJGPP.
2362 + updated note about maintainer in ncurses-intro.html
2365 + update terminfo entries for gnome terminal.
2366 + modify tack to reset colors after each color test, correct a place
2367 where exit_standout_mode was used instead of exit_attribute_mode.
2368 + improve tack's bce test by making it set colors other than black
2370 + plug a potential recursion between napms() and _nc_timed_wait()
2371 (report by Philippe Blain).
2374 + add --with-rel-version option to allow workaround to allow making
2375 libtool on Darwin generate the "same" library names as with the
2376 --with-shared option. The Darwin ld program does not work well
2377 with a zero as the minor-version value (request by Chris Zubrzycki).
2378 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2379 + modify tack to allow it to run from fallback terminfo data.
2380 > patch by Philippe Blain:
2381 + improve PutRange() by adjusting call to EmitRange() and corresponding
2382 return-value to not emit unchanged characters on the end of the
2384 + improve a check for changed-attribute by exiting a loop when the
2386 + improve logic in TransformLine(), eliminating a duplicated comparison
2387 in the clr_bol logic.
2390 > patch by Philippe Blain:
2391 + in ncurses/tty/lib_mvcur.c,
2392 move the label 'nonlocal' just before the second gettimeofday() to
2393 be able to compute the diff time when 'goto nonlocal' used.
2394 Rename 'msec' to 'microsec' in the debug-message.
2395 + in ncurses/tty/lib_mvcur.c,
2396 Use _nc_outch() in carriage return/newline movement instead of
2397 putchar() which goes to stdout. Move test for xold>0 out of loop.
2398 + in ncurses/tinfo/setbuf.c,
2399 Set the flag SP->_buffered at the end of operations when all has been
2400 successful (typeMalloc can fail).
2401 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2404 + modify configure script to avoid using "head -1", which does not
2405 work if POSIXLY_CORRECT (sic) is set.
2406 + modify run_tic.in to avoid using wrong shared libraries when
2407 cross-compiling (Dan Kegel).
2410 + alter configure script help message to make it clearer that
2411 --with-build-cc does not specify a cross-compiler (suggested by Dan
2412 Kegel <dank@kegel.com>).
2413 + modify configure script to accommodate libtool 1.5, as well as add an
2414 parameter to the "--with-libtool" option which can specify the
2415 pathname of libtool (report by Chris Zubrzycki). We note that
2416 libtool 1.5 has more than one bug in its C++ support, so it is not
2417 able to install libncurses++, for instance, if $DESTDIR or the option
2418 --with-install-prefix is used.
2421 > patch by Philippe Blain:
2422 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2423 + make baudrate computation in delay_output() consistent with the
2424 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2427 + modify logic in waddch_literal() to take into account zh_TW.Big5
2428 whose multibyte sequences may contain "printable" characters, e.g.,
2429 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2430 + improve storage used by _nc_safe_strcpy() by ensuring that the size
2431 is reset based on the initialization call, in case it were called
2432 after other strcpy/strcat calls (report by Philippe Blain).
2433 > patch by Philippe Blain:
2434 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2435 + correct a place where _cup_cost was used rather than _cuu_cost
2438 + fix a small memory leak in _nc_free_termtype().
2439 + close trace-file if trace() is called with a zero parameter.
2440 + free memory allocated for soft-key strings, in delscreen().
2441 + fix an allocation size in safe_sprintf.c for the "*" format code.
2442 + correct safe_sprintf.c to not return a null pointer if the format
2443 happens to be an empty string. This applies to the "configure
2444 --enable-safe-sprintf" option (Redhat #101486).
2447 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2449 > patch by Philippe Blain:
2450 + change padding for change_scroll_region to not be proportional to
2451 the size of the scroll-region.
2452 + correct error-return in _nc_safe_strcat().
2455 + correct limit-checks in _nc_scroll_window() (report and test-case by
2456 Thomas Graf <graf@dms.at> cf: 20011020).
2457 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2461 + use clr_eol in preference to blanks for bce terminals, so select and
2462 paste will have fewer trailing blanks, e.g., when using xterm
2463 (request by Vincent Lefevre).
2464 + correct prototype for wunctrl() in manpage.
2465 + add configure --with-abi-version option (discussion with Charles
2467 > cygwin changes from Charles Wilson:
2468 + aclocal.m4: on cygwin, use autodetected prefix for import
2469 and static lib, but use "cyg" for DLL.
2470 + include/ncurses_dll.h: correct the comments to reflect current
2471 status of cygwin/mingw port. Fix compiler warning.
2472 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
2473 DLL, by adding the lib-directory to the PATH variable.
2474 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
2475 primary instead of nxterm, to match XFree86's xterm.terminfo
2476 usage and to prevent circular links.
2477 (rxvt): add additional codes from rxvt.org.
2478 (rxvt-color): new alias
2479 (rxvt-xpm): new alias
2480 (rxvt-cygwin): like rxvt, but with special acsc codes.
2481 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
2482 with a "native" MSWin GUI. Each takes different acsc codes,
2483 which are both different from the "normal" rxvt's acsc.
2484 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
2486 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
2490 + update config.guess, config.sub
2491 + add triples for configuring shared libraries with the Debian
2492 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
2495 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
2496 platforms have installed g++ along with the native C compiler, which
2497 would not accept gcc warning options.
2498 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
2499 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
2500 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
2501 + correct a sign-extension in wadd_wch() and wecho_wchar() from
2502 20030628 (report by Tomohiro Kubota).
2503 + work around omission of btowc() and wctob() from wide-character
2504 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
2506 + add portability note to curs_get_wstr.3x (Debian #199957).
2509 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
2510 respectively, to avoid calling waddch_noecho() with wide-character
2511 data, since that function assumes its input is 8-bit data.
2512 Similarly, modify waddnwstr() to call wadd_wch().
2513 + remove logic from waddnstr() which transformed multibyte character
2514 strings into wide-characters. Rewrite of waddch_literal() from
2515 20030621 assumes its input is raw multibyte data rather than wide
2516 characters (report by Tomohiro Kubota).
2519 + write getyx() and related 2-return macros in terms of getcury(),
2521 + modify waddch_literal() in case an application passes bytes of a
2522 multibyte character directly to waddch(). In this case, waddch()
2523 must reassemble the bytes into a wide-character (report by Tomohiro
2524 Kubota <kubota@debian.org>).
2527 + modify waddch_literal() in case a multibyte value occupies more than
2529 + modify PutAttrChar() to compute the number of character cells that
2530 are used in multibyte values. This fixes a problem displaying
2531 double-width characters (report/test by Mitsuru Chinen
2532 <mchinen@yamato.ibm.com>).
2533 + add a null-pointer check for result of keyname() in _tracechar()
2534 + modify _tracechar() to work around glibc sprintf bug.
2537 + add a call to setlocale() in cursesmain.cc, making demo display
2538 properly in a UTF-8 locale.
2539 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
2540 by discussion with Gabor Z Papp).
2541 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
2542 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
2543 + fix a redefinition of $RANLIB in the configure script when libtool
2544 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
2546 + simplify ifdef for bool declaration in curses.h.in (suggested by
2547 Albert Chin-A-Young).
2548 + remove configure script check to allow -Wconversion for older
2549 versions of gcc (suggested by Albert Chin-A-Young).
2552 + regenerated html manpages.
2553 + modify ifdef's in curses.h.in that disabled use of __attribute__()
2554 for g++, since recent versions implement the cases which ncurses uses
2556 + modify _nc_get_token() to handle a case where an entry has no
2557 description, and capabilities begin on the same line as the entry
2559 + fix a typo in ncurses_dll.h reported by gcc 3.3.
2560 + add an entry for key_defined.3x to man_db.renames.
2563 + modify setcchar() to allow converting control characters to complex
2564 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
2565 + add tkterm entry -TD
2566 + modify parse_entry.c to allow a terminfo entry with a leading
2567 2-character name (report by Don Libes).
2568 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
2569 + fix trace statements in read_entry.c to use lseek() rather than
2571 + fix signed/unsigned warnings from Sun's compiler (gcc should give
2572 these warnings, but it is unpredictable).
2573 + modify configure script to omit -Winline for gcc 3.3, since that
2575 + modify manlinks.sed to add a few functions that were overlooked since
2576 they return function pointers: field_init, field_term, form_init,
2577 form_term, item_init, item_term, menu_init and menu_term.
2580 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
2581 be switched between cooked/raw modes because it is not a TTY (report
2582 by Wolfgang Gutjahr <gutw@knapp.com>).
2583 + change parameter of define_key() and key_defined() to const (prompted
2585 + add a check in test/configure for ncurses extensions, since there
2586 are some older versions, etc., which would not compile with the
2587 current test programs.
2588 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
2589 convert wchar_t string to multibyte form before printing it.
2590 + corrections to lib_get_wstr.c:
2591 + null-terminate buffer passed to setcchar(), which occasionally
2593 + map special characters such as erase- and kill-characters into
2594 key-codes so those will work as expected even if they are not
2595 mentioned in the terminfo.
2596 + modify PUTC() and Charable() macros to make wide-character line
2597 drawing work for POSIX locale on Linux console (cf: 20021221).
2600 + make typography for program options in manpages consistent (report
2601 by Miloslav Trmac <mitr@volny.cz>).
2602 + correct dependencies in Ada95/src/Makefile.in, so the builds with
2603 "--srcdir" work (report by Warren L Dodge).
2604 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
2605 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
2606 + fix typos and whitespace in manpages (patch by Jason McIntyre
2607 <jmc@prioris.mini.pw.edu.pl>).
2610 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
2611 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
2612 the editing position before making modifications.
2613 + add test/demo_forms and associated test/edit_field.c demos.
2614 + modify test/configure.in to use test/modules for the list of objects
2615 to compile rather than using the list of programs.
2618 + modify logic of acsc to use the original character if no mapping is
2619 defined, noting that Solaris does this.
2620 + modify ncurses 'b' test to avoid using the acs_map[] array since
2621 20021231 changes it to no longer contain information from the acsc
2623 + modify makefile rules in c++, progs, tack and test to ensure that
2624 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
2625 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
2626 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
2627 not be shown when colors are used, i.e., if ncv#1 is set in the
2628 terminfo as is done in "screen".
2631 + add a test for slk_color(), in ncurses.c
2632 + fix some issues reported by valgrind in the slk_set() and slk_wset()
2633 code, from recent rewrite.
2634 + modify ncurses 'E' test to use show previous label via slk_label(),
2636 + modify wide-character versions of NewChar(), NewChar2() macros to
2637 ensure that the whole struct is initialized.
2640 + modify setupterm() to check if the terminfo and terminal-modes have
2641 already been read. This ensures that it does not reinvoke
2642 def_prog_mode() when an application calls more than one function,
2643 such as tgetent() and initscr() (report by Olaf Buddenhagen).
2646 + add 'E' test to ncurses.c, to exercise slk_wset().
2647 + correct handling of carriage-return in wgetn_wstr(), used in demo of
2649 + first draft of slk_wset() function.
2652 + improved warnings in tic when suppressing items to fit in termcap's
2654 + built a list in test/README showing which externals are being used
2655 by either programs in the test-directory or via internal library
2657 + adjust include-options in CF_ETIP_DEFINES to avoid missing
2658 ncurses_dll.h, fixing special definitions that may be needed for
2659 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2662 + minor fixes for cardfile.c, to make it write the updated fields to
2663 a file when ^W is given.
2664 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2668 + correct a case in _nc_remove_string(), used by define_key(), to avoid
2669 infinite loop if the given string happens to be a substring of other
2670 strings which are assigned to keys (report by John McCutchan).
2671 + add key_defined() function, to tell which keycode a string is bound
2672 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2673 + correct keybound(), which reported definitions in the wrong table,
2674 i.e., the list of definitions which are disabled by keyok().
2675 + modify demo_keydef.c to show the details it changes, and to check
2679 + restructured test/configure script, make it work for libncursesw.
2680 + add description of link_fieldtype() to manpage (report by
2681 L Dee Holtsclaw <dee@sunbeltsoft.com>).
2684 + corrected ifdef's relating to configure check for wchar_t, etc.
2685 + if the output is a socket or other non-tty device, use 1 millisecond
2686 for the cost in mvcur; previously it was 9 milliseconds because the
2687 baudrate was not known.
2688 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2689 glibc copies uninitialized data in that case, as noted by valgrind.
2690 + modify tput to use the same parameter analysis as tparm() does, to
2691 provide for user-defined strings, e.g., for xterm title, a
2692 corresponding capability might be
2694 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
2695 preprocessor. This works around Mac OS X's preprocessor, which
2696 insists on adding a blank on each side of the token (report/analysis
2697 by Kevin Murphy <murphy@genome.chop.edu>).
2700 + add configure check for wchar_t and wint_t types, rather than rely
2701 on preprocessor definitions. Also work around for gcc fixinclude
2702 bug which creates a shadow copy of curses.h if it sees these symbols
2703 apparently typedef'd.
2704 + if database is disabled, do not generate run_tic.sh
2705 + minor fixes for memory-leak checking when termcap is read.
2708 + add checking in tic for incomplete line-drawing character mapping.
2709 + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
2710 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
2711 Gerben Wierda <Sherlock@rna.nl>).
2712 + make return value from _nc_printf_string() consistent. Before,
2713 depending on whether --enable-safe-sprintf was used, it might not be
2714 cached for reallocating.
2717 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
2718 + correct a potentially-uninitialized value if _read_termtype() does
2719 not read as much data as expected (report by Wolfgang Rohdewald
2721 + correct several places where the aclocal.m4 macros relied on cache
2722 variable names which were incompatible (as usual) between autoconf
2723 2.13 and 2.5x, causing the test for broken-linker to give incorrect
2724 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
2725 <te@dbs.uni-hannover.de>).
2726 + do not try to open gpm mouse driver if standard output is not a tty;
2727 the gpm library does not make this check (bug report for dialog
2728 by David Oliveira <davidoliveira@develop.prozone.ws>).
2731 + modified emx.src to correspond more closely to terminfo.src, added
2732 emx-base to the latter -TD
2733 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
2734 implement support for that in lib_mouse.c, lib_getch.c
2737 + revert 20030105 change to can_clear_with(), does not work for the
2738 case where the update is made on cells which are blanks with
2739 attributes, e.g., reverse.
2740 + improve ifdef's to guard against redefinition of wchar_t and wint_t
2741 in curses.h (report by Urs Jansen).
2744 + improve mvcur() by checking if it is safe to move when video
2745 attributes are set (msgr), and if not, reset/restore attributes
2746 within that function rather than doing it separately in the GoTo()
2747 function in tty_update.c (suggested by Philippe Blain).
2748 + add a message in run_tic.in to explain more clearly what does not
2749 work when attempting to create a symbolic link for /usr/lib/terminfo
2750 on OS/2 and other platforms with no symbolic links (report by John
2752 + change several sed scripts to avoid using "\+" since it is not a BRE
2753 (basic regular expression). One instance caused terminfo.5 to be
2754 misformatted on FreeBSD (report by Kazuo Horikawa
2755 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
2756 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
2759 + improve description of terminfo operators, especially static/dynamic
2760 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
2761 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
2762 use the predefined TYPE_ALPHA field-type, and by defining a
2763 specialized type for the middle initial/name.
2764 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
2766 > patch by Philippe Blain:
2767 + optimize can_clear_with() a little by testing first if the parameter
2768 is indeed a "blank".
2769 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
2770 sections as small as one line.
2771 + improve ClrToEOL() by checking if clr_eos is available before trying
2773 + use tputs() rather than putp() in a few cases in tty_update.c since
2774 the corresponding delays are proportional to the number of lines
2775 affected: repeat_char, clr_eos, change_scroll_region.
2778 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
2779 global acs_map[] array; removed the lines that did the copying.
2782 + change some overlooked tputs() calls in scrolling code to use putp()
2783 (report by Philippe Blain).
2784 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
2785 is not a tty and consequently mode-changes do not work (report by
2786 <R.Chamberlin@querix.com>).
2787 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
2788 alternate-characters, i.e., to work with Linux console and UTF-8
2790 + correct line/column reference in adjust_window(), needed to make
2791 special windows such as curscr track properly when resizing (report
2792 by Lucas Gonze <lgonze@panix.com>).
2793 > patch by Philippe Blain:
2794 + correct the value used for blank in ClrBottom() (broken in 20000708).
2795 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
2798 + change several tputs() calls in scrolling code to use putp(), to
2799 enable padding which may be needed for some terminals (patch by
2801 + use '%' as sed substitute delimiter in run_tic script to avoid
2802 problems with pathname delimiters such as ':' and '@' (report by John
2804 + implement a workaround so that line-drawing works with screen's
2805 crippled UTF-8 support (tested with 3.9.13). This only works with
2806 the wide-character support (--enable-widec); the normal library will
2807 simply suppress line-drawing when running in a UTF-8 locale in screen.
2810 + allow BUILD_CC and related configure script variables to be
2811 overridden from the environment.
2812 + make build-tools variables in ncurses/Makefile.in consistent with
2813 the configure script variables (report by Maciej W Rozycki).
2814 + modify ncurses/modules to allow
2815 configure --disable-leaks --disable-ext-funcs
2816 to build (report by Gary Samuelson).
2817 + fix a few places in configure.in which lacked quotes (report by
2818 Gary Samuelson <gary.samuelson@verizon.com>).
2819 + correct handling of multibyte characters in waddch_literal() which
2820 force wrapping because they are started too late on the line (report
2821 by Sam Varshavchik).
2822 + small fix for CF_GNAT_VERSION to ignore the help-message which
2823 gnatmake adds to its version-message.
2824 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
2825 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
2827 + use $cross_compiling variable in configure script rather than
2828 comparing $host_alias and $target alias, since "host" is
2829 traditionally misused in autoconf to refer to the target platform.
2830 + change configure --help message to use "build" rather than "host"
2831 when referring to the --with-build-XXX options.
2834 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
2835 possible gnat versions such as 3.2 (report by Chris Lingard
2836 <chris@stockwith.co.uk>).
2837 + modify #define's for CKILL and other default control characters in
2838 tset to use the system's default values if they are defined.
2839 + correct interchanged defaults for kill and interrupt characters
2840 in tset, which caused it to report unnecessarily (Debian #171583).
2841 + repair check for missing C++ compiler, which is broken in autoconf
2842 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
2843 + update config.guess, config.sub (2002-11-30)
2844 + modify configure script to skip --with-shared, etc., when the
2845 --with-libtool option is given, since they would be ignored anyway.
2846 + fix to allow "configure --with-libtool --with-termlib" to build.
2847 + modify configure script to show version number of libtool, to help
2848 with bug reports. libtool still gets confused if the installed
2849 ncurses libraries are old, since it ignores the -L options at some
2850 point (tested with libtool 1.3.3 and 1.4.3).
2851 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
2852 prevent -I options in the user's environment from introducing
2853 conflicts with the build -I options (may be related to reports by
2854 Patrick Ash and George Goffe).
2855 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
2856 test/demo_keyok.c to allow building these with libtool.
2859 + add example program test/define_key.c for define_key().
2860 + add example program test/keyok.c for keyok().
2861 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
2862 + modify wins_wch() and wins_wstr() to interpret tabs by using the
2863 winsch() internal function.
2864 + modify setcchar() to allow for wchar_t input strings that have
2865 more than one spacing character.
2868 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
2869 + change type for *printw functions from NCURSES_CONST to const
2870 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
2871 but really from a note on X/Open's website stating that either is
2872 acceptable, and the latter will be used in a future revision).
2873 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
2874 lib_mouse.c (20021026) -TD
2875 + add screen-bce, screen-s entries from screen 3.9.13 (report by
2876 Adam Lazur <zal@debian.org>) -TD
2877 + add mterm terminfo entries -TD
2880 + split-out useful fragments in terminfo for vt100 and vt220 numeric
2881 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
2882 vt220+keypad. The last as embedded in various entries had ka3 and
2883 kb2 interchanged (report/discussion with Leonard den Ottolander
2884 <leonardjo@hetnet.nl>).
2885 + add check in tic for keypads consistent with vt100 layout.
2886 + improve checks in tic for color capabilities
2889 + check for missing/empty/illegal terminfo name in _nc_read_entry()
2890 (report by Martin Mokrejs, where $TERM was set to an empty string).
2891 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
2892 tab and other control characters consistently (report by Philippe
2894 + remove an #undef for KEY_EVENT from curses.tail used in the
2895 experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses
2896 dpkg's build script (Debian #165897).
2897 + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
2898 feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
2901 + implement logic in lib_mouse.c to handle position reports which are
2902 generated when XFree86 xterm is initialized with private modes 1002
2903 or 1003. These are returned to the application as the
2904 REPORT_MOUSE_POSITION mask, which was not implemented. Tested both
2905 with ncurses 'a' menu (prompted by discussion with Larry Riedel
2906 <Larry@Riedel.org>).
2907 + modify lib_mouse.c to look for "XM" terminfo string, which allows
2908 one to override the escape sequence used to enable/disable mouse
2909 mode. In particular this works for XFree86 xterm private modes
2910 1002 and 1003. If "XM" is missing (note that this is an extended
2911 name), lib_mouse uses the conventional private mode 1000.
2912 + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
2913 where it used screen_lines (report by Philippe Blain).
2914 + correct makefile rules for the case when both --with-libtool and
2915 --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
2916 + add note to terminfo manpage regarding the differences between
2917 setaf/setab and setf/setb capabilities (report by Pavel Roskin).
2920 + remove redundant initialization of TABSIZE in newterm(), since it is
2921 already done in setupterm() (report by Philippe Blain).
2922 + add test/inserts.c, to test winnstr() and winsch().
2923 + replace 'sort' in dist.mk with script that sets locale to POSIX.
2924 + update URLs in announce.html.in (patch by Frederic L W Meunier).
2925 + remove glibc add-on files, which are no longer needed (report by
2926 Frederic L W Meunier).
2928 20021012 5.3 release for upload to ftp.gnu.org
2929 + modify ifdef's in etip.h.in to allow the etip.h header to compile
2930 with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
2931 + add logic to setupterm() to make it like initscr() and newterm(),
2932 by checking for $NCURSES_TRACE environment variable and enabling
2933 the debug trace in that case.
2934 + modify setupterm() to ensure that it initializes the baudrate, for
2935 applications such as tput (report by Frank Henigman).
2936 + modify definition of bits used for command-line and library debug
2937 traces to avoid overlap, using new definition TRACE_SHIFT to relate
2939 + document tput's interpretation of parameterized strings according to
2940 whether parameters are given, etc. (discussion with Robert De Bath).
2942 20021005 pre-release
2943 + correct winnwstr() to account for non-character cells generated when
2944 a double-width character is added (report by Michael Bienia
2945 <michael@vorlon.ping.de>).
2946 + modify _nc_viswbuf2n() to provide better results using wctomb().
2947 + correct logic in _nc_varargs() which broke tracing of parameters for
2948 formats such as "%.*s".
2949 + correct scale factor in linux-c and linux-c-nc terminfo entries
2950 (report Floyd Davidson).
2951 + change tic -A option to -t, add the same option to infocmp for
2953 + correct "%c" implementation in lib_tparm.c, which did not map a null
2954 character to a 128 (cf: 980620) (patch by Frank Henigman
2955 <fjhenigman@mud.cgl.uwaterloo.ca>).
2957 20020928 pre-release
2958 + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
2959 it is found, to accommodate newer utility which dropped the
2960 compatibility support for +number options (reported by Andrey A
2962 + modify linux terminfo entry to use color palette feature from
2963 linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
2964 + restore original color definitions in endwin() if init_color() was
2965 used, and resume those colors on the next doupdate() or refresh()
2966 (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
2967 + improve debug-traces by modifying MKlib_gen.sh to generate calls
2968 to returnBool() and returnAttr().
2969 + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
2970 of waddnstr() and similar functions to match the parameters as used.
2971 + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
2972 + correct type used by _nc_retrace_chtype().
2973 + add debug traces to some functions in lib_mouse.c
2974 + modify lib_addch.c to handle non-spacing characters.
2975 + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
2976 demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
2977 + correct width computed in _tracedump(), which did not account for
2978 the attributes (broken in 20010602).
2979 + modify test/tracemunch to replace addresses for windows other than
2980 curscr, newscr and stdscr with window0, window1, etc.
2982 20020921 pre-release
2983 + redid fix for edit_man.sed path.
2984 + workaround for Cygwin bug which makes subprocess writes to stdout
2985 result in core dump.
2986 + documented getbegx(), etc.
2987 + minor fixes to configure script to use '%' consistently as a sed
2988 delimiter rather than '@'.
2989 > patch by Philippe Blain:
2990 + add check in lib_overlay.c to ensure that the windows to be merged
2991 actually overlap, and in copywin(), limit the area to be touched
2992 to the lines given for the destination window.
2994 20020914 pre-release
2995 + modified curses.h so that if the wide-character version is installed
2996 overwriting /usr/include/curses.h, and if it relied on libutf8.h,
2997 then applications that use that header for wide-character support
2998 must define HAVE_LIBUTF8_H.
2999 + modify putwin(), getwin() and dupwin() to allow them to operate on
3000 pads (request by Philippe Blain).
3001 + correct attribute-merging in wborder(), broken in 20020216 (report
3002 by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
3003 > patch by Philippe Blain:
3004 + corrected pop-counts in tparam_internal() to '!' and '~' cases.
3005 + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
3006 + remove some unused variables from mvcur test-driver.
3008 20020907 pre-release
3009 + change configure script to allow install of widec-character
3010 (ncursesw) headers to overwrite normal (ncurses) headers, since the
3011 latter is a compatible subset of the former.
3012 + fix path of edit_man.sed in configure script, needed to regenerate
3013 html manpages on Debian.
3014 + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
3015 + update README.emx to reflect current patch used for autoconf.
3016 + change web- and ftp-site to invisible-island.net
3017 > patch by Philippe Blain:
3018 + change case for 'P' in tparam_internal() to indicate that it pops
3019 a variable from the stack.
3020 + correct sense of precision and width in parse_format(), to avoid
3022 + modify lib_tparm.c, absorb really_get_space() into get_space().
3023 + modify getwin() and dupwin() to copy the _notimeout, _idlok and
3024 _idcok window fields.
3025 + better fix for _nc_set_type(), using typeMalloc().
3027 20020901 pre-release
3028 + change minor version to 3, i.e., ncurses 5.3
3029 + update config.guess, config.sub
3030 + retest build with each configure option; minor ifdef fixes.
3031 + make keyname() return a null pointer rather than "UNKNOWN STRING" to
3033 + modify handling of wide line-drawing character functions to use the
3034 normal line-drawing characters when not in UTF-8 locale.
3035 + add check/fix to comp_parse.c to suppress warning about missing acsc
3036 string. This happens in configurations where raw termcap information
3037 is processed; tic already does this and other checks.
3038 + modify tic's check for ich/ich1 versus rmir/smir to only warn about
3039 ich1, to match xterm patch #70 notes.
3040 + moved information for ripped-off lines into SCREEN struct to allow
3041 use in resizeterm().
3042 + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
3043 (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
3044 + amend check in kgetch() from 20020824 to look only for function-keys,
3045 otherwise escape sequences are not resolved properly.
3046 > patch by Philippe Blain:
3047 + removed redundant assignment to SP->_checkfd from newterm().
3048 + check return-value of setupterm() in restartterm().
3049 + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
3050 + prevent dupwin() from duplicating a pad.
3051 + prevent putwin() from writing a pad.
3052 + use typeRealloc() or typeMalloc() in preference to direct calls on
3056 + add a check in kgetch() for cooked characters in the fifo to avoid
3057 calling fifo_push() when a KEY_RESIZE is available (report/analysis
3058 by Sam Varshavchik <mrsam@courier-mta.com>).
3059 + fix an overlooked case for bugzilla #68199 (Philippe Blain).
3060 + ensure clearerr() is called before using ferror() e.g., in
3061 lib_screen.c (report by Philippe Blain).
3064 + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
3065 pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
3066 modify the global curscr/stdscr/newscr variables. Fixes Redhat
3067 bugzilla #68199 dated 2002-07-07.
3068 + add checks for null pointer in calls to tparm() and tgoto() based on
3069 FreeBSD bug report. If ncurses were built with termcap support, and
3070 the first call to tgoto() were a zero-length string, the result would
3071 be a null pointer, which was not handled properly.
3072 + correct a typo in terminfo.head, which gave the octal code for colon
3074 + remove the "tic -u" option from 20020810, since it did not account
3075 for nested "tc=" clauses, and when that was addressed, was still
3079 + add tic -A option to suppress capabilities which are commented out
3080 when translating to termcap.
3081 + add tic -u option to provide older behavior of "tc=" clauses.
3082 + modified tic to expand all but the final "tc=" clause in a termcap
3083 entry, to accommodate termcap libraries which do not handle multiple
3085 + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
3087 + remove a couple of redundant uses of A_ATTRIBUTES in expressions
3088 using AttrOf(), which already incorporates that mask (report by
3090 + document TABSIZE variable.
3091 + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
3092 override compiled-in default black-on-white assumption used in
3093 assume_default_colors().
3094 + correct an off-by-one comparison against max_colors in COLORFGBG
3096 + correct a use of uninitialized memory found by valgrind (reported by
3097 Olaf Buddenhagen <olafBuddenhagen@web.de>).
3098 + modified wresize() to ensure that a failed realloc will not corrupt
3099 the window structure, and to make subwindows fit within the resized
3100 window (completes Debian #87678, #101699)
3103 + fix an off-by-one in lib_pad.c check for limits of pad (patch by
3105 + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
3106 logic used by lib_getch.c's support for GPM or EMX mouse (report by
3108 + remove NCURSES_CONST from several prototypes in curses.wide, to make
3109 the --enable-const --enable-widec configure options to work together
3110 (report by George Goffe <grgoffe@yahoo.com>).
3113 + finish no-leak checking in cardfile.c, using this for testing changes
3115 + simplify _nc_freeall() using delscreen().
3118 + check error-return from _nc_set_tty_mode() in _nc_initscr() and
3119 reset_prog_mode() (report/patch by Philippe Blain).
3120 + regenerate configure using patch for autoconf 2.52, to address
3121 problem with identifying C++ bool type.
3122 + correct/improve logic to produce an exit status for errors in tput,
3123 which did not exit with an error when told to put a string not in the
3124 current terminfo entry (report by David Gomez <david@pleyades.net>).
3125 + modify configure script AC_OUTPUT() call to work around defect in
3126 autoconf 2.52 which adds an ifdef'd include to the generated
3127 configure definitions.
3128 + remove fstat() check from scr_init(), which also fixes a missing
3129 include for <sys/stat.h> from 20020713 (reported by David Ellement,
3130 fix suggested by Philippe Blain).
3131 + update curs_scanw.3x manpage to note that XSI curses differs from
3132 SVr4 curses: return-values are incompatible.
3133 + correct several prototypes in manpages which used const
3134 inconsistently with the curses.h file, and removed spurious const's
3135 in a few places from curses.h, e.g., for wbkgd() (report by Glenn
3136 Maynard <glenn@zewt.org>).
3137 + change internal type used by tparm() to long, to work with LP64 model.
3138 + modify nc_alloc.h to allow building with g++, for testing.
3141 + add resize-handling to cardfile.c test program.
3142 + altered resizeterm() to avoid having it fail when a child window
3143 cannot be resized because it would be larger than its parent. (More
3144 work must be done on this, but it works well enough to integrate).
3145 + improve a limit-check in lib_refresh.c
3146 + remove check in lib_screen.c relating dumptime to file's modification
3147 times, since that would not necessarily work for remotely mounted
3149 + modify lrtest to simplify debugging changes to resizeterm, e.g.,
3150 t/T commands to enable/disable tracing.
3151 + updated status of multibyte support in TO-DO.
3152 + update contact info in source-files (patch by Juergen Pfeifer).
3155 + add Caps.hpux11, as an example.
3156 + modify version_filter(), used to implement -R option for tic and
3157 infocmp, to use computed array offsets based on the Caps.* file which
3158 is actually configured, rather than constants which correspond to
3160 + reorganized lib_raw.c to avoid updating SP and cur_term state if the
3161 functions fail (reported by Philippe Blain).
3162 + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
3165 + correct parameters to setcchar() in ncurses.c (cf: 20020406).
3166 + set locale in most test programs (view.c and ncurses.c were the
3168 + add configure option --with-build-cppflags (report by Maksim A
3169 Nikulin <M.A.Nikulin@inp.nsk.su>).
3170 + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
3172 + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
3173 in UTF-8 locale. Wide-character functions use Unicode values, while
3174 narrow-character functions use the terminfo data.
3175 + fix a couple of places in Ada95/samples which did not compile with
3177 + modify mkinstalldirs so the DOS-pathname case is locale-independent.
3178 + fix locale problem in MKlib_gen.sh by forcing related variables to
3179 POSIX (C), using same approach as autoconf (set variables only if
3180 they were set before). Update MKterminfo.sh and MKtermsort.sh to
3184 + add charset to generated html.
3185 + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
3186 <dcrudy@pacbell.net> -TD
3187 + add rxvt-16color, ibm+16color entries -TD
3188 + modify check in --disable-overwrite option so that it is used by
3189 default unless the --prefix/$prefix value is not /usr, in attempt to
3190 work around packagers, e.g., for Sun's freeware, who do not read the
3194 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
3195 key code in get_wch().
3196 + extended resize-handling in test/ncurses 'a' menu to the entire
3197 stack of windows created with 'w' commands.
3198 + improve $COLORFGBG feature by interpreting an out-of-range color
3199 value as an SGR 39 or 49, for foreground/background respectively.
3200 + correct a typo in configure --enable-colorfgbg option, and move it
3201 to the experimental section (cf: 20011208).
3204 + add logic to dump_entry.c to remove function-key definitions that do
3205 not fit into the 1023-byte limit for generated termcaps. This makes
3207 + more improvements to tic's warnings, including logic to ignore
3208 differences between delay values in sgr strings.
3209 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
3210 accommodate Caps.osf1r5 which introduced a conflicting definition.
3213 + add simple resize-handling in test/ncurses.c 'a' menu.
3214 + fixes in keyname() and _tracechar() to handle negative values.
3215 + make tic's warnings about mismatches in sgr strings easier to follow.
3216 + correct tic checks for number of parameters in smgbp and smglp.
3217 + improve scoansi terminfo entry, and add scoansi-new entry -TD
3218 + add pcvt25-color terminfo entry -TD
3219 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
3220 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
3221 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
3222 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
3225 + correct and simplify logic for lib_pad.c change in 20020518 (reported
3229 + fix lib_pad.c for case of drawing a double-width character which
3230 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
3231 <lerdsuwa@users.sourceforge.net>)
3232 + modify configure script to work around broken gcc 3.1 "--version"
3233 option, which adds unnecessary trash to the requested information.
3234 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
3235 (reported by Ben Decker <deckerben@freenet.de>).
3238 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
3239 character versions as well.
3240 + implement erasewchar(), killwchar() based on erasechar() and
3242 + modify erasechar() and killchar() to return ERR if the value was
3244 + correct a bug in wresize() in handling subwindows (based on patch by
3245 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
3246 <scott@gossamer-threads.com>).
3247 + improve test/tclock.c by making the second-hand update more often
3248 if gettimeofday() is available.
3251 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
3252 Tsouladze <andyt@mypoints.com>).
3255 + correct return-value from getcchar(), making it consistent with
3257 + reorder loops that generate makefile rules for different models vs
3258 subsets so configure --with-termlib works again. This was broken by
3259 logic added to avoid duplicate rules in changes to accommodate cygwin
3260 dll's (reported by George.R.Goffe@seagate.com).
3261 + update config.guess, config.sub
3264 + modify ifdef's in write_entry.c to allow use of symbolic links on
3265 platforms with no hard links, e.g., BeOS.
3266 + modify a few includes to allow compile with BeOS, which has stdbool.h
3267 with a conflicting definition for 'bool' versus its OS.h definition.
3268 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
3269 alias for 'function'.
3272 + correct form of prototype for ripoffline().
3273 + modify MKlib_gen.sh to test that all functions marked as implemented
3277 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
3278 + implement wgetn_wstr().
3279 + implement win_wchnstr().
3280 + remove redefinition of unget_wch() in lib_gen.c (reported by
3281 Jungshik Shin <jshin@jtan.com>).
3284 + modified several of the test programs to allow them to compile with
3285 vendor curses implementations, e.g., Solaris, AIX -TD
3288 + modified test/configure to allow configuring against ncursesw.
3289 + change WACS_xxx definition to use address, to work like Tru64 curses.
3292 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
3293 effect of echo/noecho and meta modes.
3294 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
3296 + add manpage: curs_get_wch.3x
3297 + implement unget_wch().
3298 + implement wget_wch().
3301 + regenerated html manpages.
3302 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
3303 + implement wins_wch().
3304 + implement win_wch().
3305 + implement wins_nwstr(), wins_wstr().
3308 + add manpages: curs_addwstr.3x, curs_winwstr.3x
3309 + implement winnwstr(), winwstr().
3312 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
3313 + document wunctrl, key_name.
3314 + implement key_name().
3315 + remove const's in lib_box.c incorrectly leftover after splitting off
3317 + update llib-lncurses, llib-ncursesw, fix configure script related to
3321 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
3322 in spurious symlinks on install.
3325 + implement whline_set(), wvline_set(), add manpage curs_border_set.
3326 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
3327 box() and box_set() functions.
3328 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
3329 given UTF-8 string equivalents of WACS_xxx symbols.
3330 + minor fixes to several manpages based on groff -ww output.
3331 + add descriptions of external variables of termcap interface to
3332 the manpage (report by Bruce Evans <bde@zeta.org.au>).
3333 > patches by Bernhard Rosenkraenzer:
3334 + correct configure option --with-bool, which was executed as
3336 + add quotes for parameters of --with-bool and --with-ospeed configure
3338 > patch by Sven Verdoolaege (report by Gerhard Haering
3339 <haering_linux@gmx.de>):
3340 + correct typos in definitions of several wide-character macros:
3341 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
3343 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
3344 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
3347 + implement wide-acs characters for UTF-8 locales. When in UTF-8
3348 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
3350 + correct prototype in keybound manpage (noted from a Debian mailing
3354 + add several cases to the wscanw() example in testcurs.c, showing the
3356 + implement a simple vsscanf() fallback function which uses the %n
3357 conversion to help parse the input data (prompted by discussion with
3358 Albert Chin-A-Young).
3359 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
3360 shared libraries, and to use $(CFLAGS) when linking test programs
3361 (patch by Albert Chin-A-Young).
3362 + add a call to _nc_keypad() in keypad() to accommodate applications
3363 such as nvi, which use curses for output but not for input (fixes
3364 Debian #131263, cf: 20011215).
3365 + add entrypoints to resizeterm.c which provide better control over the
3366 process: is_term_resized() and resize_term(). The latter restores
3367 the original design of resizeterm() before KEY_RESIZE was added in
3368 970906. Do this to accommodate 20010922 changes to view.c, but allow
3369 for programs with their own sigwinch handler, such as lynx (reported
3370 by Russell Ruby <russ@math.orst.edu>).
3373 + fix a typo in change to mk-1st.awk, which broke the shared-library
3374 makefile rules (reported by Martin Mokrejs).
3377 + update config.guess, config.sub
3378 + finish changes needed to build dll's on cygwin.
3379 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
3382 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
3383 + correct missing sed-editing stage in manpage installs which is used
3384 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
3386 + remove -L$(libdir) from linker flags, probably not needed any more
3387 since HPUX is handled properly (reported by Niibe Yutaka
3389 + add configure check for mbstate_t, needed for wide-character
3390 configuration. On some platforms we must include <wchar.h> to
3391 define this (reported by Daniel Jacobowitz).
3392 + incorporate some of the changes needed to build dll's on cygwin.
3395 + workaround for awk did not work with mawk, adjusted shell script.
3398 + add Caps.osf1r5, as an example.
3399 + modify behavior of can_clear_with() so that if an application is
3400 running in a non-bce terminals with default colors enabled, it
3401 returns true, allowing the user to select/paste text without picking
3402 up extraneous trailing blanks (adapted from patch by Daniel
3403 Jacobowitz <dmj+@andrew.cmu.edu>).
3404 + modify generated curses.h to ifdef-out prototypes for extensions if
3405 they are disabled, and to define curses_version() as a string in that
3406 case. This is needed to make the programs such as tic build in that
3408 + modified generated headers.sh to remove a gzip'd version of the
3409 target file if it exists, in case non-gzip'd manpages are installed
3410 into a directory where gzip'd ones exist. In that case, the latter
3412 + corrected a redundant initialization of signal handlers from 20010922
3414 + clarified bug-reporting address in terminfo.src (report by John H
3415 DuBois III <spcecdt@armory.com>).
3416 > several fixes from Robert Joop:
3417 + do not use "-v" option of awk in MKkey_defs.sh because it does not
3418 work with SunOS nawk.
3419 + modify definitions for libutf8 in curses.h to avoid redefinition
3421 + quoted references to compiler in shell command in misc/Makefile, in
3422 case it uses multiple tokens.
3425 + restore special case from 20010922 changes to omit SA_RESTART when
3426 setting up SIGWINCH handler, which is needed to allow wgetch() to be
3427 interrupted by that signal.
3428 + update configure macro CF_WITH_PATHLIST, to omit some double quotes
3429 not needed with autoconf 2.52
3430 + revert configure script to autoconf 2.13 patched with
3431 autoconf-2.13-19990117.patch.gz (or later)
3433 ftp://invisible-island.net/autoconf/
3434 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
3435 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
3436 different problem configuring with Mac OS X (reported by Marc Smith
3437 <marc.a.smith@home.com>).
3440 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
3442 + move prototype for _nc_vsscanf() into curses.h.in to omit
3443 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
3444 ncurses_cfg.h file which is not installed.
3445 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
3446 to work with broken linker configuration, e.g., cygwin (report by
3447 Robert Joop <rj@rainbow.in-berlin.de>).
3448 + make napms() call _nc_timed_wait() rather than poll() or select(),
3449 to work around broken implementations of these on cygwin.
3452 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
3453 by Sven Verdoolaege's rewrite of wide-character support. This makes
3454 libncursesw incompatible again, but makes the header files almost the
3455 same as in the narrow-character configuration.
3456 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
3457 to eliminate differences between the wide/narrow versions of curses.h
3458 + correct typo in configure macro CF_FUNC_VSSCANF
3459 + correct location of call to _nc_keypad() from 20011215 changes which
3460 prevented keypad() from being disabled (reported by Lars Hecking).
3463 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
3464 better, e.g., by adding a 'w' command to create new windows which
3465 may have different keypad() settings.
3466 + corrected logic of keypad() by adding internal screen state to track
3467 whether the terminal's keypad-mode has been set. Use this in
3468 wgetch() to update the keypad-mode according to whether the
3469 associated window's keypad-mode has been set with keypad(). This
3470 corrects a related problem restoring terminal state after handling
3471 SIGTSTP (reported by Mike Castle).
3472 + regenerate configure using patch for autoconf 2.52
3473 autoconf-2.52-patch.gz
3475 ftp://invisible-island.net/autoconf/
3476 + update config.guess, config.sub from
3477 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3478 + minor changes to quoting in configure script to allow it to work
3482 + modify final checks in lib_setup.c for line and col values, making
3484 + modify acs_map[] if configure --broken-linker is specified, to make
3485 it use a function rather than an array (prompted by an incorrect
3486 implementation in cygwin package).
3487 + correct spelling of configure option --enable-colorfgbg, which
3488 happened to work if --with-develop was set (noted in cygwin package
3490 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
3491 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
3492 + add configure checks to see if ncurses' fallback vsscanf() will
3493 compile either of the special cases for FILE structs, and if not,
3494 force it to the case which simply returns an error (report by
3495 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
3496 64-bits does not allow access to FILE's fields).
3497 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
3498 the ncurses library if no better substitute for this can be found
3500 + modify the build to name dynamic libraries according to the
3501 convention used on OS X and Darwin. Rather than something like
3502 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
3503 There are a few additional minor fixes, such as setting the library
3504 version and compatibility version numbers (patch by Jason Evans
3505 <jevans@apple.com>).
3506 + use 'sh' to run mkinstalldirs, to work around problems with buggy
3507 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
3508 + correct typo in manpage description of curs_set() (Debian #121548).
3509 + replace the configure script existence-check for mkstemp() by one
3510 that checks if the function works, needed for older glibc and
3514 + modify script that generates fallbacks.c to compile a temporary
3515 copy of the terminfo source in case the host does not contain all of
3516 the entries requested for fallbacks (request by Greg Roelofs).
3517 + modify configure script to accommodate systems such as Mac OS X whose
3518 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
3519 which normally makes 'bool' consistent with C++. Include <stdbool.h>
3520 from curses.h to force consistent usage, define a new type
3521 NCURSES_BOOL and related that to the exported 'bool' as either a
3522 typedef or definition, according to whether <stdbool.h> is present
3523 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
3526 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
3529 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3530 (Benjamin C W Sittler).
3531 + add putty terminfo entry -TD
3532 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
3533 this may not otherwise be defined to make test/view.c compile.
3536 + review/correct several missing/generated items in curses.wide, sorted
3537 the lists to make subsequent diff's easier to track.
3540 + add manual pages for add_wch(), echo_wchar(), getcchar(),
3541 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
3542 + implement wecho_wchar()
3543 + modify _tracedump() to handle wide-characters by mapping them to '?'
3544 and control-characters to '.', to make the trace file readable. Also
3545 dynamically allocate the buffer used by _tracedump() for formatting
3547 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
3548 in a trace by using curly braces.
3549 + implement _nc_viscbuf(), for tracing cchar_t arrays.
3550 + correct trace-calls in setcchar() and getcchar() functions, which
3551 traced the return values but not the entry to each function.
3552 + correct usage message in test/view.c, which still mentioned -u flag.
3555 + modify configure script to allow building with termcap only, or with
3556 fallbacks only. In this case, we do not build tic and toe.
3557 + add configure --with-termpath option, to override default TERMPATH
3558 value of /etc/termcap:/usr/share/misc/termcap.
3559 + cosmetic change to tack: make menu descriptions agree with menu
3563 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
3564 to ensure that if the parameter of wscrl() is larger than the size of
3565 the scrolling region, then the scrolling region will be cleared
3566 (report by Ben Kohlen <bckohlen@yahoo.com>).
3567 + add trace/varargs.c, using this to trace parameters in lib_printw.c
3568 + implement _tracecchar_t2() and _tracecchar_t().
3569 + split-out trace/visbuf.c
3570 + correct typo in lib_printw.c changes from 20010922 (report by Mike
3574 + modify run_tic.sh to check if the build is a cross-compile. In that
3575 case, do not use the build's tic to install the terminfo database
3576 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
3577 + modify mouse click resolution so that mouseinterval(-1) will disable
3578 it, e.g., to handle touchscreens via a slow connection (request by
3579 Byron Stanoszek <gandalf@winds.org>).
3580 + correct mouseinterval() default value shown in curs_mouse.3x
3581 + remove conflicting definition of mouse_trafo() (reported by Lars
3582 Hecking, using gcc 2.95.3).
3585 + simpler fix for signal_name(), to replace the one overlooked in
3586 20010929 (reported by Larry Virden).
3589 + add -i option to view.c, to test ncurses' check for non-default
3590 signal handler for SIGINT, etc.
3591 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
3592 <bbraun@synack.net>).
3593 + modify tset to restore original I/O modes if an error is encountered.
3594 Also modify to use buffered stderr consistently rather than mixing
3596 + change signal_name() function to use if-then-else rather than case
3597 statement, since signal-values aren't really integers (reported by
3599 + add limit checks in wredrawln(), fixing a problem where lynx was
3600 repainting a pad which was much larger than the screen.
3603 + fix: PutRange() was counting the second part of a wide character as
3604 part of a run, resulting in a cursor position that was one too far
3605 (patch by Sven Verdoolaege).
3606 + modify resizeterm() to not queue a KEY_RESIZE if there was no
3607 SIGWINCH, thereby separating the two styles of SIGWINCH handling
3609 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
3610 + eliminate several static buffers in the terminfo compiler, using
3612 + modify MKkeyname.awk so that keyname() does not store its result into
3613 a static buffer that is overwritten by the next call.
3614 + reorganize the output of infocmp -E and -e options to compile cleanly
3615 with gcc -Wwrite-strings warnings.
3616 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
3619 + add label to test/view.c, showing the name of the last key or signal
3620 that made the screen repaint, to make it clearer when a sigwinch
3622 + use ExitProgram() consistently in the test-programs to make it
3623 simpler to test leaks with dmalloc, etc.
3624 + move hashtab static data out of hashmap.c into SCREEN struct.
3625 + make NO_LEAK code compile with revised WINDOWLIST structs.
3628 + modify tgetent() to check if exit_attribute_mode resets the alternate
3629 character set, and if so, attempt to adjust the copy of the termcap
3630 "me" string which it will return to eliminate that part. In
3631 particular, 'screen' would lose track of line-drawing characters
3632 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
3636 + specify DOCTYPE in html manpages.
3637 + add missing macros for several "generated" functions: attr_get(),
3638 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
3640 + modify view.c to agree with non-experimental status of ncurses'
3642 + change the sense of the -r option, making it default to ncurses'
3644 + add a note explaining what functions are unsafe in a signal
3646 + add a -c option, to set color display, for testing.
3647 + unset $data variable in MKterminfo.sh script, to address potential
3648 infinite loop if shell malfunction (report by Samuel Mikes
3649 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
3650 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
3651 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
3652 + correct logic for COLORFGBG environment variable: if rxvt is compiled
3653 with xpm support, the variable has three fields, making it slightly
3654 incompatible with itself. In either case, the background color is
3658 + move calls to def_shell_mode() and def_prog_mode() before loop with
3659 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
3660 the tty modes before saving them (patch by John David Anglin
3661 <dave@hiauly1.hia.nrc.ca>).
3662 + duplicate logic used to initialize trace in newterm(), in initscr()
3663 to avoid confusing trace of initscr().
3664 + simplify allocation of WINDOW and WINDOWLIST structs by making the
3665 first a part of the second rather than storing a pointer. This saves
3666 a call to malloc for each window (discussion with Philippe Blain).
3667 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
3669 + modify c++/Makefile.in to accommodate archive programs that are
3670 different for C++ than for C, and add cases for vendor's C++
3671 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
3672 + correct manpage description of criteria for deciding if the terminal
3673 supports xterm mouse controls.
3674 + add several configure script options to aid with cross-compiling:
3675 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
3676 --with-build-libs (request by Greg Roelofs).
3677 + change criteria for deciding if configure is cross-compiling from
3678 host/build mismatch to host/target mismatch (request by Greg Roelofs
3679 <greg.roelofs@philips.com>).
3680 + correct logic for infocmp -e and -E options which writes the data for
3681 the ext_Names[] array. This is needed if one constructs a fallback
3682 table for a terminfo entry which uses extended termcap names, e.g.,
3683 AX in a color xterm.
3684 + fix undefined NCURSES_PATHSEP when configure --disable-database
3688 + fix for VALID_BOOLEAN() macro when char is not signed.
3689 + modify 'clean' rule for C++ binding to work with Sun compiler, which
3690 caches additional information in a subdirectory of the objects.
3691 + added llib-ncursesw.
3694 + add Caps.keys example for experimental extended function keys
3695 (adapted from a patch by Ilya Zakharevich).
3696 + correct parameter types of vidputs() and vidattr() to agree with
3697 header files (report by William P Setzer).
3698 + fix typos in several man-pages (patch by William P Setzer).
3699 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
3700 macro, which made ncurses C++ binding fail to build with other
3701 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
3702 + workaround for bug in HPUX 11.x C compiler: add a blank after
3703 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
3704 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
3705 Albert Chin-A-Young).
3706 + correct definition of key_end in Caps.aix4, which left KEY_END
3707 undefined (report by Albert Chin-A-Young).
3708 + remove a QNX-specific fallback prototype for vsscanf(), which is
3709 obsolete with QNX RTP.
3710 + review/fix some of the T() and TR() macro calls, having noticed that
3711 there was no data for delwin() in a trace of dialog because there was
3712 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
3713 now selected under TRACE_IEVENT rather than TRACE_CALLS.
3716 + add a _nc_access() check before opening files listed via $TERMPATH.
3717 + using modified man2html, regenerate some of the html manpages to fix
3718 broken HREF's where the link was hyphenated.
3721 + add some limit/pointer checks to -S option of tputs.
3722 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3723 (Benjamin C W Sittler).
3724 + add a note in curs_termcap.3x regarding a defect in the XSI
3725 description of tgetent (based on a discussion with Urs Jansen
3726 regarding the HPUX 11.x implementation, whose termcap interface is
3727 not compatible with existing termcap programs).
3728 + modify manhtml rule in dist.mk to preserve copyright notice on the
3729 generated files, as well as to address HTML style issues reported by
3730 tidy and weblint. Regenerated/updated corresponding html files.
3731 + comment out use of Protected_Character and related rarely used
3732 attributes in ncurses Ada95 test/demo to compile with wide-character
3736 + implement a simple example in C++ demo to test scanw().
3737 + corrected stdio function used to implement scanw() in cursesw.cc
3738 + correct definition of RemAttr() macro from 20010602 changes, which
3739 caused C++ SillyDemo to not show line-drawing characters.
3740 + modify C++ binding, adding getKey() which can be overridden by user
3741 to substitute functions other than getch() for keyboard processing
3742 of forms and menus (patch by Juergen Pfeifer).
3745 + fix some of the trace calls which needed modification to work with
3746 new wide-character structures.
3747 + modify magic-cookie code in tty_update.c to compile with new
3748 wide-character structures (report by <George.R.Goffe@seagate.com>).
3749 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
3750 compiling for wide-character configuration.
3751 + make addwnstr() handle non-spacing characters (patch by Sven
3755 + add configure check to define _GNU_SOURCE, needed to prop up glibc
3757 + split-out include/curses.wide to solve spurious redefinitions caused
3758 by defining _GNU_SOURCE, and move includes for <signal.h> before
3759 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
3761 + extended ospeed change to NetBSD and OpenBSD -TD
3762 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
3763 work properly for termcap applications (patch by Andrey A Chernov).
3766 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
3767 <eugene@anime.net>, Sven Verdoolaege).
3768 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
3771 + change overlooked several CharOf/UChar instances.
3772 > several patches from Sven Verdoolaege:
3773 + correct a typo in wunctrl(), which made it appear that botwc() was
3774 needed (no such function: use btowc()).
3775 + reimplement wide-character demo in test/view.c, using new functions.
3776 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
3777 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
3780 + add parentheses in macros for malloc in test.priv.h, fixes an
3781 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
3782 + add Caps.uwin, as an example.
3783 + change the way curses.h is generated, making the list of function
3784 key definitions extracted from the Caps file.
3785 + add #undef's before possible redefinition of ERR and OK in curses.h
3786 + modify logic in tic, toe, tput and tset which checks for basename of
3787 argv[0] to work properly on systems such as OS/2 which have
3788 case-independent filenames and/or program suffixes, e.g., ".ext".
3791 + add a configure check, if --enable-widec is specified, for putwc(),
3792 which may be in libutf8.
3793 + remove some unnecessary text from curs_extend.3x and
3794 default_colors.3x which caused man-db to make incorrect symbolic
3795 links (Debian bug report #99550).
3796 + add configure check if cast for _IO_va_list is needed to compile
3797 C++ vscan code (Debian bug report #97945).
3798 > several patches from Sven Verdoolaege:
3799 + correct code that used non-standard auto-initialization of a struct,
3800 which gcc allows (report by Larry Virden).
3801 + use putwc() in PUTC() macro.
3802 + make addstr() work for the special case where the codeset is
3803 non-stateful (eg. UTF-8), as well as stateful codesets.
3806 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
3807 from 20010602 (report by Mike Castle).
3810 + modify mvcur() to avoid emitting newline characters when nonl() mode
3811 is set. Normally this is not a problem since the actual terminal
3812 mode is set to suppress nl/crlf translations, however it is useful to
3813 allow the caller to manipulate the terminal mode to avoid staircasing
3814 effects after spawning a process which writes messages (for lynx
3816 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
3817 + remove redundant type-conversion in fifo_push()
3818 + correct definition of addwstr() macro in curses.h.in
3819 + remove _nc_utf8_outch()
3820 + rename most existing uses of CharOf() to UChar(), e.g., where it is
3821 used to prevent sign-extension in ctype macros.
3822 + change some chtype's to attr_t's where the corresponding variables
3823 are used to manipulate attributes.
3824 + UpdateAttr() was applied to both attributes (attr_t) and characters
3825 (chtype). Modify macro and calls to it to make these distinct.
3826 + add CharEq() macro, use in places where wide-character configuration
3827 implementation uses a struct for cchar_t.
3828 + moved struct ldat into curses.priv.h, to hide implementation details.
3829 + change CharOf() macro to use it for masking A_CHARTEXT data from
3831 + add L() macro to curses.priv.h, for long-character literals.
3832 + replace several assignments from struct ldat entries to chtype or
3833 char values with combinations of CharOf() and AttrOf() macros.
3834 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
3835 we are using chtype data.
3836 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
3838 + add/use SetChar() macro, to change a cchar_t based on a character and
3840 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
3841 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
3842 where a pointer would be more useful.
3843 + add stubs for tracing cchar_t values.
3844 + add/use macro ISBLANK()
3845 + add/use constructors for cchar_t's: NewChar(), NewChar2().
3846 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
3847 passing cchar_t's by address.
3848 + add/use PUTC_DATA, PUTC() macros.
3849 + for wide-character configuration, move the window background data to
3850 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
3851 is defined or not, the offsets in the struct will not change.
3852 + modify addch() to work with wide-characters.
3853 + mark several wide-character functions as generated in curses.h.in
3854 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
3855 wborder_set() and waddnwstr().
3858 + add experimental --with-caps=XXX option to customize to similar
3859 terminfo database formats such as AIX 4.x
3860 + add Caps.aix4 as an example.
3861 + modify Caps to add columns for the the KEY_xxx symbols.
3862 + modify configure --with-widec to suppress overwrite of libcurses.so
3864 + add checks to toe.c to avoid being confused by files and directories
3865 where we would expect the reverse, e.g., source-files in the
3866 top-level terminfo levels as is the case for AIX.
3869 + add top-level 'depend' rule for the C sources, assuming that the
3870 makedepend program is available. As a side-effect, this makes
3871 the generated sources, as in "make sources" (prompted by a report
3872 by Mike Castle that "make -j" fails because the resulting parallel
3873 processes race to generate ncurses/names.c).
3874 + modify configure script so that --disable-overwrite option's action
3875 to add a symbolic link for libcurses applies to the static library as
3876 well as the shared library when both are configured (report by Felix
3877 Natter <f.natter@ndh.net>).
3878 + add ELKS terminfo entries (Federico Bianchi
3879 <bianchi@www.arte.unipi.it>)
3880 + add u6 (CSR) to Eterm (Michael Jennings).
3883 + modify test/ncurses.c to work with xterm-256color, which has fewer
3884 color pairs than colors*colors (report by David Ellement
3885 <ellement@sdd.hp.com>).
3888 + corrected screen.xterm-xfree86 entry.
3889 + update comment in Caps regarding IBM (AIX) function-key definitions.
3892 + modify c++/Makefile.in to link with libncurses++w.a when configured
3893 for wide-characters (patch by Sven Verdoolaege).
3894 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
3895 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
3896 + update config.guess, config.sub from autoconf 2.49e (alpha).
3899 + add secondary check in tic.c, similar_sgr() to see if the reason
3900 for mismatch was that the individual capabilities used a time-delay
3901 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
3902 and remove time-delay from Apple_Terminal entries.
3903 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
3904 <bsittler@iname.com>).
3905 + correct definitions of shifted editing keys for xterm-xfree86 -TD
3906 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
3907 + prevent relative_move() from doing an overwrite if it detects 8-bit
3908 characters when configured for UTF-8 (reported by Sven Verdoolaege
3909 <skimo@kotnet.org>).
3912 + add configure checks for strstream.h vscan function, and similar
3913 stdio-based function which may be used in C++ binding for gcc 3.0
3914 (reports by George Goffe, Lars Hecking, Mike Castle).
3915 + rewrite parts of configure.in which used changequote(). That feature
3916 is broken in the latest autoconf alphas (e.g., 2.49d).
3917 + add a missing pathname for ncurses_dll.h, needed when building in
3918 a directory outside the source tree (patch by Sven Verdoolaege
3919 <skimo@kotnet.org>).
3920 > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
3921 + no ships were ever placed in the last row or in the last column.
3922 This made the game very easy to win, because you never had to waste
3923 any shots there, but the computer did.
3924 + the squares around a sunken ship that belonged to the player were not
3925 displayed as already hit by the computer, like it does for the
3929 + add some examples of customizing screen's terminfo:
3930 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
3931 + modify screen's terminfo entry to match the khome/kend in screen
3932 3.09.08 (Debian bug report #92215).
3933 + correct a memory leak in forms library (report by Stefan Vogtner
3934 <stefan@vogtner.de>) (patch by Juergen Pfeifer).
3937 + change symbols used to guard against repeated includes to begin
3938 consistently with "NCURSES_" rather than a leading underscore. There
3939 are other symbols defined in the header files which begin with a
3940 leading underscore, but they are part of the legacy interface.
3941 + reorder includes in c++ binding so that rcs identifiers can be
3943 + add .cc.ii rule to c++ makefile, to get preprocessor output for
3945 + correct configure script handling of @keyword@ substitutions when the
3946 --with-manpage-renames option is given (cf: 20000715, fixes Debian
3948 + report stack underflow/overflow in tparm() when tic -cv option is
3950 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
3951 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
3954 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
3955 2.95.2, and correcting some conflicting color pair initializations.
3956 + add missing copyright notice for cursesw.h
3957 + review, make minor fixes for use of '::' for referring to C-language
3958 interface from C++ binding.
3959 + modify configure check for g++ library slightly to accommodate
3960 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
3961 <rho@mipos2.intel.com>).
3962 + add configure check for c++ <sstream> header, replace hardcoded
3964 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
3965 vscan from strstreambuf to follow standard, use wrapper for C vscanf
3966 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
3967 <taggart@carmen.fc.hp.com>, fixes Debian .
3970 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
3971 to make quieter loading of /etc/termcap (patch by Todd C Miller).
3972 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
3973 (patch by Todd C Miller).
3976 + compiler-warning fixes (reported by Nelson Beebe).
3979 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
3983 + broaden patterns used to match OS/2 EMX in configure script to cover
3984 variant used in newer config.guess/config.sub
3985 + remove changequote() calls from configure script, since this feature
3986 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
3987 + remove macro callPutChar() from tty_update.c, since this is no longer
3988 needed (reported by Philippe Blain).
3989 + add a null-pointer check in tic.c to handle the case when the input
3990 file is really empty. Modify the next_char() function in comp_scan.c
3991 to allow arbitrarily long lines, and incidentally supply a newline to
3992 files that do not end in a newline. These changes improve tic's
3993 recovery from attempts to read binary files, e.g., its output from
3994 the terminfo database (reported by Bernhard Rosenkraenzer).
3997 + revert change to c++/demo.cc from 20001209, which changed definition
3998 of main() apparently to accommodate cygwin linker, but broke the demo
4000 + workaround for broken egcs 2.91.66 which calls member functions
4001 (i.e., lines() and colors() of NCursesWindow before calling its
4002 constructor. Add calls to initialize() in a few constructors which
4003 did not do this already.
4004 + use the GNAT preprocessor to make the necessary switch between TRACE
4005 and NO_TRACE configurations (patch by Juergen Pfeifer).
4006 > patches by Bernhard Rosenkraenzer:
4007 + modify kterm terminfo entry to use SCS sequence to support alternate
4008 character set (it does not work with SI/SO).
4009 + --with-ospeed=something didn't work. configure.in checked for a
4010 $enableval where it should check for $withval. Also,
4011 ncurses/llib-lncurses still had a hardcoded short.
4014 + correction to my merge of Tom Riddle's patch that broke tic in some
4015 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
4018 + modify view.c to test halfdelay(). Like other tests, this recognizes
4019 the 's' and space commands for stopping/starting polled input, shows
4020 a freerunning clock in the header. If given a parameter to 's', that
4021 makes view.c use halfdelay() with that parameter rather than
4023 + fix to allow compile with the experimental configure option
4025 + modify postprocess_termcap() to avoid overwriting key_backspace,
4026 key_left, key_down when processing a non-base entry (report/patch by
4028 + modify _nc_wrap_entry(), adding option to reallocate the string
4029 table, needed in _nc_merge_entry() when merging termcap entries.
4030 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
4031 + modify a few configure script macros to keep $CFLAGS used only for
4032 compiler options, preprocessor options in $CPPFLAGS.
4035 + correct marker positions in lrtest.c after receiving a sigwinch.
4036 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
4037 + fixes to tclock for resizing behavior, redundant computation (report
4038 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
4041 + improved scoansi terminfo entry -TD
4042 + modify configure script and makefile in Ada95/src to compile a stub
4043 for the trace functions when ncurses does not provide those.
4046 + add ncurses_dll.h and related definitions to support generating DLL's
4047 with cygwin (adapted from a patch by Charles Wilson
4048 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
4049 work with 'indent') -TD
4052 + correct prototypes for some functions in curs_termcap.3x, matching
4053 termcap.h, which matches X/Open.
4054 > patch by Juergen Pfeifer:
4055 + a revised version of the Ada enhancements sent in by "H.
4056 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
4058 - small fixes to the existing ncurses binding
4059 - addition of some more low-level functions to the binding, including
4060 termcap and terminfo functions
4061 - An Ada implementation of the "ncurses" test application originally
4065 + modify logic in lib_setup.c to allow either lines or columns value
4066 from terminfo to be used if the screen size cannot be determined
4067 dynamically rather than requiring both (patch by Ehud Karni
4068 <ehud@unix.simonwiesel.co.il>).
4069 + add check in lib_tgoto.c's is_termcap() function to reject null or
4070 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
4072 + add definition from configure script that denotes the path-separator,
4073 which is normally a colon. The path-separator is a semicolon on
4074 OS/2 EMX and similar systems which may use a colon within pathnames.
4075 + alter logic to set default for --disable-overwrite option to set it
4076 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
4077 accommodating the most common cause of problems: gcc's nonstandard
4078 search rules. Other locations such as /usr/local/ncurses will
4079 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
4082 + modify default for --disable-overwrite configure option to disable
4083 if the --prefix or $prefix value is not /usr.
4084 + add cygwin to systems for which ncurses is installed by default into
4085 /usr rather than /usr/local.
4088 + minor optimization in comp_error.c and lib_termname.c, using
4089 strncat() to replace strncpy() (patch by Solar Designer).
4090 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
4091 geteuid() to use_terminfo_vars() (patch by Solar Designer
4093 + improved cygwin terminfo entry, based on patch by
4094 <ernie_boyd@yahoo.com>.
4095 + modify _nc_write_entry() to allow for the possibility that linking
4096 aliases on a filesystem that ignores case would not succeed because
4097 the source and destination differ only by case, e.g., NCR260VT300WPP0
4098 on cygwin (report by Neil Zanella).
4099 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
4100 Rosenkraenzer <bero@redhat.de>).
4103 + add configure option --with-ospeed to assist packagers in transition
4104 to 5.3 change to ospeed type.
4105 + add/use CharOf() macro to suppress sign-extension of char type on
4106 platforms where this is a problem in ctype macros, e.g., Solaris.
4107 + change trace output to binary format.
4108 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
4109 macro, for OS/2 EMX configuration.
4110 + rearrange a few configure macros, moving preprocessor options to
4111 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
4112 use $CPPFLAGS in both the compile and preprocessor checks).
4113 + add a check in relative_move() to guard against buffer overflow in
4114 the overwrite logic.
4117 + add message to configure script showing g++ version.
4118 + resync config.guess, config.sub
4119 + modify lib_delwin.c, making it return ERR if the window did not exist
4120 (suggested by Neil Zanella).
4121 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
4122 to test/review ncurses library. (Would use lclint, but it doesn't
4124 + reorganized knight.c to avoid forward references. Correct screen
4125 updates when backtracking, especially to the first cell. Add F/B/a
4128 20001021 5.2 release for upload to ftp.gnu.org
4129 + update generated html files from manpages.
4130 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
4132 + fix an uninitialized pointer in read_termcap.c (report by Todd C
4133 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
4134 + correct help-message and array limit in knight.c (patch by Brian
4135 Raiter <breadbox@muppetlabs.com>).
4136 > patch by Juergen Pfeifer:
4137 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
4138 for some identifiers defined in the standard package.
4139 + cosmetic change to forms/fty_enum.c
4142 + correct an off-by-one position in test/railroad.c which could cause
4143 wrapping at the right margin.
4144 + test/repair some issues with libtool configuration. Make
4145 --disable-echo force libtool --silent. (Libtool does not work for
4146 OS/2 EMX, works partly for SCO - libtool is still very specific to
4148 + change default of --with-manpage-tbl to "no", since for most of the
4149 platforms which do have tbl installed, the system "man" program
4150 understands how to run tbl automatically.
4151 + minor improvement to force_bar() in comp_parse.c (Bernhard
4152 Rosenkraenzer <bero@redhat.de>).
4153 + modify lib_tparm.c to use get_space() before writing terminating
4154 null character, both for consistency as well as to ensure that if
4155 save_char() was called immediately before, that the allocated memory
4156 is enough (patch by Sergei Ivanov).
4157 + add note about termcap ML capability which is duplicated between two
4158 different capabilities: smgl and smglr (reported by Sergei Ivanov
4159 <svivanov@pdmi.ras.ru>).
4160 + correct parameter counts in include/Caps for dclk as well as some
4161 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
4162 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
4163 + add support for building with libtool (apparently version 1.3.5,
4164 since old versions do not handle -L../lib), using new configure
4165 option --with-libtool.
4166 + add configure option --with-manpage-tbl, which causes the manpages to
4167 be preprocessed by tbl(1) prior to installation,
4168 + add configure option --without-curses-h, which causes the
4169 installation process to install curses.h as ncurses.h and make
4170 appropriate changes to headers and manpages.
4173 + correct order of options/parameters in run_tic.in invocation of tic,
4174 which did not work with standard getopt() (reported by Ethan
4175 Butterfield <primus@veris.org>).
4176 + correct logic for 'reverse' variable in lib_vidattr.c, which was
4177 setting it true without checking if newmode had A_REVERSE set, e.g.,
4178 using $TERM=ansi on OS/2 EMX (see 20000917).
4179 > patch by Todd C Miller:
4180 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
4181 Previously, _nc_cgetset() would still get called on cp so the
4182 simplest thing is to set cp to NULL if !use_terminfo_vars().
4183 + added checks for an empty $HOME environment variable.
4184 > patches for OS/2 EMX (Ilya Zakharevich):
4185 + modify convert_configure.pl to support INSTALL. Change compiler
4186 options in that script to use multithreading, needed for the mouse.
4187 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
4188 to set up a 3-button mouse.
4189 + improve code for OS/2 mouse support, using _nc_timed_wait() to
4190 replace select() call.
4193 + change type of ospeed variable back to short to match its use in
4194 legacy applications (reported by Andrey A Chernov).
4195 + add case to configure script for --enable-rpath on IRIX (patch by
4196 Albert Chin-A-Young).
4197 + minor fix to position_check() function, to ensure it gets the whole
4198 cursor report before decoding.
4199 + add configure option --disable-assumed-color, to allow pre-5.1
4200 convention of default colors used for color-pair 0 to be configured
4201 (see assume_default_colors()).
4202 + rename configure option --enable-hashmap --disable-hashmap, and
4203 reorder the configure options, splitting the experimental and
4205 + add configure option --disable-root-environ, which tells ncurses to
4206 disregard $TERMINFO and similar environment variables if the current
4207 user is root, or running setuid/setgid (based on discussion with
4209 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
4210 $TERMINFO variable for installs.
4211 + add table entry for plab_norm to tput, so it passes in strings
4212 for that capability.
4213 + modify parse_format() in lib_tparm.c to ignore precision if it is
4214 longer than 10000 (report by Jouko Pynnonen).
4215 + rewrote limit checks in lib_mvcur.c using new functions
4216 _nc_safe_strcat(), etc. Made other related changes to check lengths
4217 used for strcat/strcpy (report by Jouko Pynnonen
4218 <jouko@solutions.fi>).
4221 + modify several descriptions, including those for setaf, setab, in
4222 include/Caps to indicate that the entries are parameterized. This
4223 information is used to tell which strings are translated when
4224 converting to termcap. Fixes a problem where the generated termcap
4225 would contain a spurious "%p1" for the terminfo "%p1%d".
4226 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
4227 absolute pathname for the build tree's lib directory (prompted by
4228 discussion with Albert Chin-A-Young).
4229 + modify "make install.man" and "make uninstall.man" to include tack's
4231 + various fixes for install scripts used to support configure --srcdir
4232 and --with-install-prefix (reported by Matthew Clarke
4233 <Matthew_Clarke@mindlink.bc.ca>).
4234 + make configure script checks on variables $GCC and $GXX consistently
4235 compare against 'yes' rather than test if they are nonnull, since
4236 either may be set to the corresponding name of the C or C++ compiler
4237 (report/patch by Albert Chin-A-Young).
4240 + modify rs2 capability in xterm-r6 and similar where cursor
4241 save/restore bracketed the sequence for resetting video attributes.
4242 The cursor restore would undo that (report by John Hawkinson
4243 <jhawk@MIT.EDU> (see NetBSD misc/11052)).
4244 + using parameter check added to tic, corrected 27 typos in
4246 + modify tic to verify that its inputs are really files, in case
4247 someone tries to read a directory (or /dev/zero).
4248 + add a check for empty buffers returned by fgets() in comp_scan.c
4249 next_char() function, in case tic is run on a non-text file (fixes
4250 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
4251 + add to railroad.c some code exercising tgoto(), providing an
4252 alternate form of display if the terminal supports cursor addressing.
4253 + split-out tgoto() again, this time into new file lib_tgoto.c, and
4254 implement a conventional BSD-style tgoto() which is used if the
4255 capability string does not contain terminfo-style padding or
4256 parameters (requested by Andrey A Chernov).
4257 + add check to tic which reports capabilities that do not reference
4258 the expected number of parameters.
4259 + add error checking to infocmp's -v and -m options to ensure that
4260 the option value is indeed a number.
4261 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
4262 handler is setup. Separated the old/new sigaction data for SIGTSTP
4263 from the other signals.
4266 + add S0, E0 extensions to screen's terminfo entry, which is another
4267 way to solve the misconfiguration issue -TD
4268 + completed special case for tgoto from 20000916
4271 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
4272 + add Matrix Orbital terminfo entries (from Eric Z Ayers
4274 + add special case to lib_tparm.c to allow 'screen' program to use a
4275 termcap-style parameter "%." to tgoto() for switching character sets.
4276 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
4278 + updated notes in README.emx regarding autoconf patches.
4279 + replace a lookup table in lib_vidattr.c used to decode no_color_video
4280 with a logic expression (suggested by Philippe Blain).
4281 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
4282 character set attribute from the displayed text.
4283 + correct inequality in parameter analysis of rewritten lib_tparm.c
4284 which had the effect of ignoring p9 in set_attributes (sgr), breaking
4285 alternate character set (reported by Piotr Majka <charvel@link.pl>).
4286 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
4287 with Sun WorkShop compilers since these tokens were empty (cf:
4288 20000902, reported by Albert Chin-A-Young).
4291 + correct an uninitialized parameter to open_tempfile() in tic.c which
4292 made "tic -I" give an ambiguous error message about tmpnam.
4293 + add special case in lib_vidattr.c to reset underline and standout for
4294 devices that have no sgr0 defined (patch by Don Lewis
4295 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
4296 mode, since there is no exit-bold-mode capability.
4297 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
4298 + modify tparm to disallow arithmetic on strings, analyze the varargs
4299 list to read strings as strings and numbers as numbers.
4300 + modify tparm's internal function spop() to treat a null pointer as
4302 + modify tput program so it can be renamed or invoked via a link as
4303 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
4305 + add private entrypoint _nc_basename(), use to consolidate related
4306 code in progs, as well as accommodating OS/2 EMX pathnames.
4307 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
4308 removal (except via AC_SUBST) from configure.in, making
4309 --enable-const work again (reported by Juergen Pfeifer).
4310 + regen'd configure to pick up "hpux*" change from 20000902.
4313 + modify tset.c to check for transformed "reset" program name, if any.
4314 + add a check for null pointer in Make_Enum_Type() (reported by Steven
4315 W Orr <steveo@world.std.com>).
4316 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
4317 using strtok(), because it is non-reentrant (reported by Andrey A
4318 Chernov <ache@nagual.pp.ru>).
4319 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
4320 This differed from the "hpux*" case by using reversed symbolic
4321 links, which made the 5.1 version not match the configuration of
4322 5.0 shared libraries (reported by Albert Chin-A-Young).
4323 + correct a dependency in Ada95/src/Makefile.in which prevented
4324 building with configure --srcdir (patch by H Nanosecond
4325 <aldomel@ix.netcom.com>).
4326 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
4327 GCC_SCANF was not previously defined (reported by Pavel Roskin
4329 + add MKncurses_def.sh to generate fallback definitions for
4330 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
4331 code to consistently use "#if" rather than "#ifdef".
4334 + add QNX qansi entries to terminfo -TD
4335 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
4336 + add configure option --with-database to allow specifying a different
4337 terminfo source-file to install. On OS/2 EMX, this defaults to
4339 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
4340 setting .exe extension on OS/2 EMX.
4341 + add .exe extension in Ada95/gen/Makefile.in,
4342 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
4343 <jmcoopr@webmail.bmi.net>).
4344 + add configure check for filesystems (such as OS/2 EMX) which do not
4345 distinguish between upper/lowercase filenames, use this to fix tags
4347 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
4348 only sets the revents members of that array when there is activity
4349 corresponding to the related file (report by Glenn Cooper
4350 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
4351 + change configure script to use AC_CANONICAL_SYSTEM rather than
4352 AC_CANONICAL_HOST, which means that configure --target will set
4353 a default program-prefix.
4354 + add note on cross-compiling to INSTALL (which does not rely on the
4355 AC_CANONICAL_* macros).
4358 + add cases for EMX OS/2 to config.guess, config.sub
4359 + new version of config.guess, config.sub from lynx 2.8.4dev.7
4360 + add definitions via transform.h to allow tic and tput to check for
4361 the transformed aliases rather than the original infotocap, etc.
4362 + simplify transform-expressions in progs/Makefile.in, make the
4363 uninstall rule work for transformed program names.
4364 + change symbol used by --install-prefix configure option from
4365 INSTALL_PREFIX to DESTDIR (the latter has become common usage
4366 although the name is misleading).
4367 + modify programs to use curses_version() string to report the version
4368 of ncurses with which they are compiled rather than the
4369 NCURSES_VERSION string. The function returns the patch level in
4370 addition to the major and minor version numbers.
4373 + modify CF_MAN_PAGES configure macro to make transformed program names
4374 a parameter to that macro rather than embedding them in the macro.
4375 + newer config.guess, config.sub (reference version used in lynx
4377 + add configure option --with-default-terminfo-dir=DIR to allow
4378 specifying the default terminfo database directory (request by Albert
4380 + minor updates for terminfo.src from FreeBSD termcap change-history.
4381 + correct notes in README and INSTALL regarding documentation files
4382 that were moved from misc directory to doc (report by Rich Kulawiec
4384 + change most remaining unquoted parameters of 'test' in configure
4385 script to use quotes, for instance fixing a problem in the
4386 --disable-database option (reported by Christian Mondrup
4387 <scancm@biobase.dk>).
4388 + minor adjustments to work around some of the incompatibilities/bugs
4389 in autoconf 2.29a alpha.
4390 + add -I/usr/local/include when --with-ncurses option is used in
4391 test/configure script.
4392 + correct logic in adjust_cancels(), which did not check both
4393 alternatives when reclassifying an extended name between boolean,
4394 number and string, causing an infinite loop in tic.
4397 + correct a missing backslash in curses.priv.h
4400 + change handling of non_dest_scroll_region in tty_update.c to clear
4401 text after it is shifted in rather than before shifting out. Also
4402 correct row computation (reported by Ruediger Kuhlmann
4403 <uck4@rz.uni-karlsruhe.de>).
4404 + add/use new trace function to display chtype values from winch() and
4406 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
4407 trace attribute changes under TRACE_CALLS to use this.
4408 + modify MKlib_gen.sh so that functions returning chtype will call
4410 + add returnChar() trace, for functions returning chtype.
4411 + change indent.pro to line up parenthesis.
4414 + fix a heap problem with the c++ binding (report by
4415 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
4416 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
4417 + modify the check for big-core to force a couple of memory accesses,
4418 which may work as needed for older/less-capable machines (if not,
4419 there's still the explicit configure option).
4420 > fixes based on diff's for Amiga and BeOS found at
4421 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
4422 + alter definition of NCURSES_CONST to make it non-empty.
4423 + add amiga-vnc terminfo entry.
4424 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
4425 an (unspecified) symbol conflict.
4426 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
4427 simplify working around implementations that define random
4428 combinations of the related macros to zero.
4429 + modify configure test for tcgetattr() to allow for old
4430 implementations, e.g., on BeOS, which only defined it as a macro.
4431 > patches by Bruno Haible:
4432 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
4433 locale, ignore those which are set to an empty value, as per SUSV2.
4434 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
4435 + modify _nc_utf8_outch() to avoid sign-extension when checking for
4439 + correct manlinks.sed script to avoid using ERE "\+", which is not
4440 understood by older versions of sed (patch by Albert Chin-A-Young).
4441 + implement configure script options that transform installed program
4442 names, e.g., --program-prefix, including the manpage names and cross
4443 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
4444 + correct several mismatches between manpage filename and ".TH"
4445 directives, renaming dft_fgbg.3x to default_colors.3x and
4446 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
4447 + correct missing includes for <string.h> in several places, including
4448 the C++ binding. This is not noted by gcc unless we use the
4449 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
4450 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
4451 interface if neither termio or termios is available. Tested this
4452 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
4455 20000708 5.1 release for upload to ftp.gnu.org
4456 + document configure options in INSTALL.
4457 + add man-page for ncurses trace functions.
4458 + correct return value shown in curs_touch.3x for is_linetouched() and
4459 is_wintouched(), in curs_initscr.3x for isendwin(), and in
4460 curs_termattr.3x for has_ic() and has_il().
4461 + add prototypes for touchline() and touchwin(), adding them to the
4462 list of generated functions.
4463 + modify fifo_push() to put ERR into the fifo just like other values to
4464 return from wgetch(). It was returning without doing that, making
4465 end-of-file condition incorrectly return a 0 (reported by Todd C
4467 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
4468 are needed for SCO OpenServer.
4469 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
4470 dynamic loaders on SCO and IRIX64.
4471 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
4473 + correct assignment in assume_default_colors() which tells ncurses
4474 whether to use default colors, or the assumed ones (reported by Gary
4475 Funck <gary@Intrepid.Com>).
4476 + review/correct logic in mk-1st.awk for making symbolic links for
4477 shared libraries, in particular for FreeBSD, etc.
4478 + regenerate misc/*.def files for OS/2 EMX dll's.
4479 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
4480 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
4481 Wemm) (err in 20000610).
4482 + minor updates to release notes, as well as adding/updating URLs for
4483 examples cited in announce.html
4484 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
4485 + correct placement of ifdef for NCURSES_XNAMES in function
4486 _nc_free_termtype(), fixes a memory leak.
4487 + add a call to _nc_synchook() to the end of function whline() like
4488 that in wvline() (difference was in 1.9.4).
4489 + make ClearScreen() a little faster by moving two instances of
4490 UpdateAttr() out of for-loops.
4491 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
4494 20000701 pre-release
4495 + change minor version to 1, i.e., ncurses 5.1
4496 + add experimental configure option --enable-colorfgbg to check for
4497 $COLORTERM variable as set by rxvt/aterm/Eterm.
4498 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
4499 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
4500 several manpages so manlinks.sed can find aliases for creating
4502 + add explanation to run_tic.sh regarding extended terminal
4504 + change message format for edit_cfg.sh, since some people interpret
4506 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
4507 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
4508 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
4509 support when poll() is used rather than select() (prompted by
4510 discussion with David Allen <DAllen24@aol.com>).
4512 20000624 pre-release
4513 + modify TransformLine() to check for cells with different color pairs
4514 that happen to render the same display colors.
4515 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
4516 + improve cost computation in PutRange() by accounting for the use
4517 of parm_right_cursor in mvcur().
4518 + correct cost computation in EmitRange(), which was not using the
4519 normalized value for cursor_address.
4520 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
4523 + update config.guess, config.sub (reference version used in PCRE 3.2).
4524 + resync changes to gnathtml against version 1.22, regenerated html
4525 files under doc/html/ada using this (1.22.1.1).
4526 + regenerated html files under doc/html/man after correcting top and
4527 bottom margin options for man2html in dist.mk
4528 + minor fixes to test programs ncurses 'i' and testcurs program to make
4529 the subwindow's background color cover the subwindow.
4530 + modify configure script so AC_MSG_ERROR is temporarily defined to a
4531 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
4532 without requiring user to add --without-cxx option (adapted from
4533 comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
4534 + modify headers.sh to avoid creating temporary files in the build
4535 directory when installing headers (reported by Sergei Pokrovsky
4539 + regenerated the html files under doc/html/ada/files and
4540 doc/html/ada/funcs with a slightly-improved gnathtml.
4541 + add kmous capability to linux terminfo entry to allow it to use
4542 xterm-style events provided by gpm patch by Joerg Schoen.
4543 + make the configure macro CF_SHARED_OPTS a little smarter by testing
4544 if -fPIC is supported by gcc rather than -fpic. The former option
4545 allows larger symbol tables.
4546 + update config.guess and config.sub (patches by
4547 Kevin Buettner <kev@primenet.com> (for elf64_ia64),
4548 Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
4549 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
4553 + modify echo() behavior of getch() to match Solaris curses for
4554 carriage return and backspace (reported by Neil Zanella).
4555 + change _nc_flush() to a function.
4556 + modify delscreen() to check if the output stream has been closed, and
4557 if so, free the buffer allocated for setbuf (this provides an
4558 ncurses-specific way to avoid a memory leak when repeatedly calling
4559 newterm reported by Chipp C <at_1@zdnetonebox.com>).
4560 + correct typo in curs_getch.3x manpage regarding noecho (reported by
4561 David Malone <dwmalone@maths.tcd.ie>).
4562 + add a "make libs" rule.
4563 + make the Ada95 interface build with configure --enable-widec.
4564 + if the configure --enable-widec option is given, append 'w' to names
4565 of the generated libraries (e.g., libncursesw.so) to avoid conflict
4566 with existing ncurses libraries.
4569 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
4570 is configured with the experimental wide-character support.
4571 + add a simple UTF-8 output driver to the experimental wide-character
4572 support. If any of the environment variables LC_ALL, LC_CTYPE or
4573 LANG contain the string "UTF-8", this driver will be used to
4574 translate the output to UTF-8. This works with XFree86 xterm.
4575 + modify configure script to allow building shared libraries on BeOS
4576 (from a patch by Valeriy E Ushakov).
4577 + modify lib_addch.c to allow repeated update to the lower-right
4578 corner, rather than displaying only the first character written until
4579 the cursor is moved. Recent versions of SVr4 curses can update the
4580 lower-right corner, and behave this way (reported by Neil Zanella).
4581 + add a limit-check in _nc_do_color(), to avoid using invalid color
4582 pair value (report by Brendan O'Dea <bod@compusol.com.au>).
4585 + the tack program knows how to use smcup and rmcup but the "show caps
4586 that can be tested" feature did not reflect this knowledge. Correct
4587 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
4588 + xterm-16color does allow bold+colors, removed ncv#32 from that
4592 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
4593 broke check for screen's AX capability (reported by Valeriy E Ushakov
4595 + change man2html rule in dist.mk to workaround bug in some
4596 man-programs that ignores locale when rendering hyphenation.
4597 + change web- and ftp-site to dickey.his.com
4600 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
4601 problem linking tack on MacOS X DP3.
4602 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
4603 (reported by Gerben Wierda <wierda@holmes.nl>).
4604 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
4606 + add -d option to ncurses.c, to turn on default-colors for testing.
4607 + add a check to _nc_makenew() to ensure that newwin() and newpad()
4608 calls do not silently fail by passing too-large limits.
4609 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
4610 internal window and pad sizes. Note that since this is visible in
4611 the WINDOW struct, it would be an ABI change to make this an 'int'
4612 (prompted by a question by Bastian Trompetter
4613 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
4616 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
4618 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
4619 example of an illegal ANSI resonse can be found using Microsoft's
4620 Telnet client. A correct display can be found using a VT-4xx
4621 terminal or XFree86 xterm with:
4622 XTerm*VT100*decTerminalID: 450
4623 (patch by Daniel Weaver).
4624 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
4625 for resume. Add '-n' option to force gdc's standard input to
4626 /dev/null, to both illustrate the use of newterm() for specifying
4627 alternate inputs as well as for testing signal handling.
4628 + minor fix for configure option --with-manpage-symlinks, for target
4629 directories that contain a period ('.') (reported by Larry Virden).
4632 + minor additions to beterm entry (feedback from Rico Tudor) -TD
4633 + corrections/updates for some IBM terminfo entries -TD
4634 + modify _nc_screen_wrap() so that when exiting curses mode with
4635 non-default colors, the last line on the screen will be cleared to
4636 the screen's default colors (request by Alexander V Lukyanov).
4637 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
4638 read for demonstrating the REQ_NEW_LINE operation (prompted by a
4639 question by Tony L Keith <tlkeith@keithconsulting.com>).
4640 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
4641 documented extension of ncurses which allows a zero pointer.
4642 + modify fmt_complex() to avoid buffer overflow in case of excess
4643 recursion, and to recognize "%e%?" as a synonym for else-if, which
4644 means that it will not recur for that special case.
4645 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
4646 is defined (patch by Todd C Miller).
4647 + modify one of the m4 files used to generate the Ada95 sources,
4648 to avoid using the token "symbols" (patch by Juergen Pfeifer).
4651 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
4652 + correct spelling error in terminfo entry name: bq300-rv was given as
4653 bg300-rv in esr's version.
4654 + modify redrawwin() macro so its parameter is fully parenthesized
4655 (fixes Debian bug report #61088).
4656 + correct formatting error in dump_entry() which set incorrect column
4657 value when no newline trimming was needed at the end of an entry,
4658 before appending "use=" clauses (cf: 960406).
4661 + add configure option --with-manpage-symlinks
4662 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
4663 + change makefiles so trace() function is provided only if TRACE is
4664 defined, e.g., in the debug library. Modify related calls to
4665 _tracechar() to use unctrl() instead.
4668 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
4669 terminfo entries, use presence of this as a check for a small
4670 improvement in setting default colors.
4671 + improve logic in _nc_do_color() implementing assume_default_colors()
4672 by passing in previous color pair info to eliminate redundant call to
4673 set_original_colors(). (Part of this is from a patch by Alexander
4675 + modify warning in _nc_trans_string() about a possibly too-long string
4676 to do this once only rather than for each character past the
4677 threshold (600). Change interface of _nc_trans_string() to allow
4678 check for buffer overflow.
4679 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
4680 struct each time before reading new data into it, rather than once
4681 per loop (cf: 990301). This affects multi-entry in-core operations
4682 such as "infocmp -Fa".
4685 + remove a spurious pointer increment in _nc_infotocap() changes from
4686 20000311. Add check for '.' in format of number, since that also
4687 is not permitted in termcap.
4688 + correct typo in rxvt-basic terminfo from temporary change made while
4689 integrating 20000318.
4692 + revert part of the vt220 change (request by Todd C Miller).
4693 + add ansi-* terminfo entries from ESR's version.
4694 + add -a option to tic and infocmp, which retains commented-out
4695 capabilities during source translation/comparison, e.g., captoinfo
4697 + modify cardfile.c to display an empty card if no input data file is
4698 found, fixes a core dump in that case (reported by Bruno Haible).
4699 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
4700 result for OS/2 EMX.
4701 + supply required parameter for _nc_resolve_uses() call in
4702 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
4703 > patches by Bruno Haible <haible@ilog.fr>:
4704 + fix a compiler warning in fty_enum.c
4705 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
4706 makefiles, which resulted in redundant linking (cf: 20000122).
4709 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
4710 + improved tack/README (patch by Daniel Weaver).
4711 + modify tput.c to ensure that unspecified parameters are passed to
4713 + add a few checks in infocmp to guard against buffer overflow when
4714 displaying string capabilities.
4715 + add check for zero-uses in infocmp's file_comparison() function
4716 before calling _nc_align_termtype(). Otherwise one parameter is
4717 indexed past the end of the uses-array.
4718 + add an option -q to infocmp to specify the less verbose output,
4719 keeping the existing format as the default, though not retaining the
4720 previous behavior that made the -F option compare each entry to
4722 + adapted patch by ESR to make infocmp -F less verbose -TD
4723 (the submitted patch was unusable because it did not compile
4725 + modify write_entry.c to ensure that absent or cancelled booleans
4726 are written as FALSE, for consistency with infocmp which now
4727 assumes this. Note that for the small-core configuration, tic
4728 may not produce the same result as before.
4729 + change some private library interfaces used by infocmp, e.g.,
4731 + add a check in _nc_infotocap() to ensure that cm-style capabilities
4732 accept only %d codes when converting the format from terminfo to
4734 + modify ENTRY struct to separate the data in 'parent' into the name
4735 and link values (the original idea to merge both into 'parent' was
4737 + discard repair_acsc(tterm);
4738 > patch by Juergen Pfeifer:
4739 + drop support for gnat 3.10
4740 + move generated documentation and html files under ./doc directory,
4741 adding makefile rules for this to dist.mk
4744 + correct conflicting use of tparm() in 20000226 change to tic, which
4745 made it check only one entry at a time.
4746 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
4748 + make the example in ncurses-intro.html do something plausible, and
4749 corrected misleading comment (reported by Neil Zanella).
4750 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
4751 to fix a case where the cursor position was not updated as in
4752 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
4753 + add a limit-check for wresize() to ensure that a subwindow does not
4754 address out of bounds.
4755 + correct offsets used for subwindows in wresize() (patch by Michael
4756 Andres <ma@suse.de>).
4757 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
4758 Juergen Pfeifer). This generated a file with a space in its name,
4760 + fix a few spelling errors in tack.
4761 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
4762 otherwise it does not build properly for older HPUX shared library
4764 + add several terminfo entries from esr's "11.0".
4767 + make 'tput flash' work properly for xterm by flushing output in
4768 delay_output() when using napms(), and modifying xterm's terminfo to
4769 specify no padding character. Otherwise, xterm's reported baud rate
4770 can mislead ncurses into producing too few padding characters
4772 + add a check to tic for consistency between sgr and the separate
4773 capabilities such as smso, use this to check/correct several
4774 terminfo entries (Debian #58530).
4775 + add a check to tic if cvvis is the same as cnorm, adjusted several
4776 terminfo entries to remove the conflict (Debian #58530).
4777 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
4779 + minor clarification for curs_set() and leaveok() manpages.
4780 + use mkstemp() for creating temporary file for tic's processing of
4781 $TERMCAP contents (fixes Debian #56465).
4782 + correct two errors from integrating Alexander's changes: did not
4783 handle the non-bce case properly in can_erase_with() (noted by
4784 Alexander), and left fg/bg uninitialized in the pair-zero case of
4785 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
4786 Ismael Cordeiro <ismael@cordeiro.com>).
4789 + store default-color code consistently as C_MASK, even if given as
4790 -1 for convenience (adapted from patches by Alexander V Lukyanov).
4791 > patches by Alexander V Lukyanov:
4792 + change can_clear_with() macro to accommodate logic for
4793 assume_default_colors(), making most of the FILL_BCE logic
4794 unnecessary. Made can_clear_with() an inline function to make it
4798 + corrected form of recent copyright dates.
4799 + minor corrections to xterm-xf86-v333 terminfo entry -TD
4800 > patches by Alexander V Lukyanov:
4801 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
4802 colors are white on black.
4803 + fix initialization of tstLine so that it is filled with current blank
4804 character in any case. Previously it was possible to have it filled
4805 with old blank. The wrong over-optimization was introduced in 991002
4806 patch. (it is not very critical as the only bad effect is not using
4807 clr_eos for clearing if blank has changed).
4810 + minor corrections/updates to several terminfo entries: rxvt-basic,
4811 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
4812 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
4813 allowing poll() to be used on Linux.
4814 + add CF_FUNC_POLL macro to check if poll() is able to select from
4815 standard input. If not we will not use it, preferring select()
4816 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
4817 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
4818 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
4819 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
4820 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
4823 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm -TD
4824 + modify CF_MATH_LIB configure macro to parameterize the test function
4825 used, for reuse in dialog and similar packages.
4826 + correct tests for file-descriptors in OS/2 EMX mouse support. A
4827 negative value could be used by FD_SET, causing the select() call
4828 to wait indefinitely.
4831 + additional fixes for non-bce terminals (handling of delete_character)
4832 to work when assume_default_colors() is not specified.
4833 + modify warning message from _nc_parse_entry() regarding extended
4834 capability names to print only if tic/infocmp/toe have the -v flag
4835 set, and not at all in ordinary user applications. Otherwise, this
4836 warning would be shown for screen's extended capabilities in programs
4837 that use the termcap interface (reported by Todd C Miller).
4838 + modify use of _nc_tracing from programs such as tic so their debug
4839 level is not in the same range as values set by trace() function.
4840 + small panel header cleanup (patch by Juergen Pfeifer).
4841 + add 'railroad' demo for termcap interface.
4842 + modify 'tic' to write its usage message to stderr (patch by Todd C
4846 + add prototype for erase() to curses.h.in, needed to make test
4847 programs build with c++/g++.
4848 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
4849 + correct install rule for tack.1; it assumed that file was in the
4850 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
4851 + modify terminfo/termcap translation to suppress acsc before trying
4852 sgr if the entry would be too large (patch by Todd C Miller).
4853 + document a special case of incompatiblity between ncurses 4.2 and
4854 5.0, add a section for this in INSTALL.
4855 + add TRACE_DATABASE flag for trace().
4858 + update mach, add mach-color terminfo entries based on Debian diffs
4860 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
4861 terminfo entries -TD
4862 + change OTrs capabilities to rs2 in terminfo.src -TD
4863 + add obsolete and extended capabilities to 'screen' terminfo -TD
4864 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
4865 + make conversion to termcap ug (underline glitch) more consistently
4867 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
4868 was in the original pre-1.9.7 version, when $HOME/.terminfo was
4870 + modify 'toe' to ignore terminfo directories to which it has no
4872 + modify read_termtype(), fixing 'toe', which could dump core when it
4873 found an incomplete entry such as "dumb" because it did not
4874 initialize its buffer for _nc_read_file_entry().
4875 + use -fPIC rather than -fpic for shared libraries on Linux, not
4876 needed for i386 but some ports (from Debian diffs for 5.0) -TD
4877 + use explicit VALID_NUMERIC() checks in a few places that had been
4878 overlooked, and add a check to ensure that init_tabs is nonzero,
4879 to avoid divide-by-zero (reported by Todd C Miller).
4880 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
4884 + reorder tests during mouse initialization to allow for gpm to run in
4885 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
4886 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
4887 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
4888 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
4889 stty lnext on systems such as FreeBSD (report by Bruce Evans
4890 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
4891 + fix a potential (but unlikely) buffer overflow in failed() function
4892 of tset.c (reported by Todd C Miller).
4893 + add manual-page for ncurses extensions, documented curses_version(),
4894 use_extended_names().
4897 + treat as untranslatable to termcap those terminfo strings which
4898 contain non-decimal formatting, e.g., hexadecimal or octal.
4899 + correct commented-out capabilities that cannot be translated to
4900 termcap, which did not check if a colon must be escaped.
4901 + correct termcap translation for "%>" and "%+", which did not check
4902 if a colon must be escaped, for instance.
4903 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
4904 buffer (originally for _nc_infotocap() in 960301 -TD).
4905 + correct expression used for terminfo equivalent of termcap %B,
4906 adjust regent100 entry which uses this.
4907 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
4908 + eliminate a fixed-buffer in tic, used for translating comments.
4909 + add manpage for infotocap
4912 + add kvt and gnome terminfo entries -TD
4913 + correct translation of "%%" by infotocap, which was emitted as "%".
4914 + add "obsolete" termcap strings to terminfo.src
4915 + modify infocmp to default to showing obsolete capabilities rather
4917 + modify write_entry.c so that if extended names (i.e., configure
4918 --enable-tcap-names) are active, then tic will also write "obsolete"
4919 capabilities that are present in the terminfo source.
4920 + modify tic so that when running as captoinfo or infotocap, it
4921 initializes the output format as in -C and -I options, respectively.
4922 + improve infocmp and tic -f option by splitting long strings that do
4923 not have if-then-else construct, but do have parameters, e.g., the
4924 initc for xterm-88color.
4925 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
4929 + additional fixes for non-bce terminals (handling of clear_screen,
4930 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
4932 + several small changes to xterm terminfo entries -TD.
4933 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
4934 SP, since it is part of that struct.
4935 + remove obsolete shlib-versions, which was unintentionally re-added
4937 + modify infocmp -e, -E options to ensure that generated fallback.c
4938 type for Booleans agrees with term.h (reported by Eric Norum
4939 <eric@cls.usask.ca>).
4940 + correct configure script's use of $LIB_PREFIX, which did not work
4941 for installing the c++ directory if $libdir did not end with "/lib"
4942 (reported by Huy Le <huyle@ugcs.caltech.edu>).
4943 + modify infocmp so -L and -f options work together.
4944 + modify the initialization of SP->_color_table[] in start_color() so
4945 that color_content() will return usable values for COLORS greater
4947 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
4948 xterm-88color, to limit the displayed/computed colors to 16.
4949 > patch by Juergen Pfeifer:
4950 + simplify coding of the panel library according to suggestions by
4952 + improve macro coding for a few macros in curses.priv.h
4955 + modify treatment of color pair 0 so that if ncurses is configured
4956 to support default colors, and they are not active, then ncurses
4957 will set that explicitly, not relying on orig_colors or orig_pair.
4958 + add new extension, assume_default_colors() to provide better control
4959 over the use of default colors.
4960 + modify test programs to use more-specific ifdef's for existence of
4961 wresize(), resizeterm() and use_default_colors().
4962 + modify configure script to add specific ifdef's for some functions
4963 that are included when --enable-ext-funcs is in effect, so their
4964 existence can be ifdef'd in the test programs.
4965 + reorder some configure options, moving those extensions that have
4966 evolved from experimental status into a new section.
4967 + change configure --enable-tcap-names to enable this by default.
4970 + install tack's manpage (reported by Robert Weiner
4971 <robert@progplus.com>)
4972 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
4973 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
4974 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
4977 + modify linux terminfo entry to indicate that dim does not mix with
4978 color (reported by Klaus Weide <kweide@enteract.com>).
4979 + correct several typos in terminfo entries related to missing '['
4981 + fix several compiler warnings in c++ binding (reported by Tim
4982 Mooney for alphaev56-dec-osf4.0f
4983 + rename parameter of _nc_free_entries() to accommodate lint.
4984 + correct lint rule for tack, used incorrect list of source files.
4985 + add case to config.guess, config.sub for Rhapsody.
4986 + improve configure tests for libg++ and libstdc++ by omitting the
4987 math library (which is missing on Rhapsody), and improved test for
4988 the math library itself (adapted from path by Nelson H. F. Beebe).
4989 + explicitly initialize to zero several data items which were
4990 implicitly initialized, e.g., cur_term. If not explicitly
4991 initialized, their storage type is C (common), and causes problems
4992 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
4994 + modify Ada95 binding to not include the linker option for Ada
4995 bindings in the Ada headers, but in the Makefiles instead (patch by
4998 19991023 5.0 release for upload to ftp.gnu.org
4999 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
5001 + add function curses_version(), to return ncurses library version
5002 (request by Bob van der Poel).
5003 + remove rmam, smam from cygwin terminfo entry.
5004 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
5005 as update ncv to indicate that 'dim' conflicts with colors.
5006 + modify configure script to use symbolic links for FreeBSD shared
5007 libraries by default.
5008 + correct ranf() function in rain and worm programs to ensure it does
5010 + hide the cursor in hanoi.c if it is running automatically.
5011 + amend lrtest.c to account for optimizations that exploit margin
5013 + add a simple terminfo demo, dots.c
5014 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
5015 tell it to use write() rather than putc(), since the latter is not
5016 safe in a signal handler according to POSIX.
5017 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
5018 of output-file pointer in ncurses library.
5019 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
5021 + correct CC_SHARED_OPTS for building shared libraries for SCO
5023 + remove usleep() from alternatives in napms(), since it may interact
5024 with alarm(), causing a process to be interrupted by SIGALRM (with
5025 advice from Bela Lubkin).
5026 + modify terminal_interface-curses-forms.ads.m4 to build/work with
5027 GNAT 3.10 (patch by Juergen Pfeifer).
5028 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
5029 work with gcc 2.7.2.3
5030 + minor fix to test/tclock.c to avoid beeping more than once per second
5031 + add 's' and ' ' decoding to test/rain.c
5034 + corrected BeOS code for lib_twait.c, making nodelay() function work.
5037 + correct ncurses' value for cursor-column in PutCharLR(), which was
5038 off-by-one in one case (patch by Ilya Zakharevich).
5039 + fix some minor errors in position_check() debugging code, found while
5040 using this to validate the PutCharLR() patch.
5041 + modify firework, lrtest, worm examples to be resizable, and to
5042 recognize 'q' for quit, 's' for single-step and ' ' for resume.
5043 + restore reverted change to terminal_interface-curses-forms.ads.m4,
5044 add a note on building with gnat 3.10p to Ada95/TODO.
5045 + add a copy of the standalone configure script for the test-directory
5046 to simplify testing on SCO and Solaris.
5049 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
5050 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
5051 Blain, comments by Alexander V Lukyanov).
5052 + simplify definition of PANEL and eliminate internal functions
5053 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
5054 (patch by Juergen Pfeifer, analysis by Philippe Blain
5056 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
5057 man_db.renames, since Debian is not concerned with 14-character
5058 filename limitation (Debian bug report by Josip Rodin
5059 <joy@cibalia.gkvk.hr>).
5060 + corrected scoansi terminfo entry by testing with scoterm and console.
5061 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
5062 since this does not work for gnat 3.10p
5063 + modify tclock example to be resizable (if ncurses' sigwinch handler
5064 is used), and in color.
5065 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
5066 shared library rules.
5069 + add newer NetBSD console terminfo entries
5070 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
5071 <Faroul@beyond.kn-bremen.de>)
5072 + remove -lcurses -ltermcap from configure script's check for the gpm
5073 library, since they are not really necessary (a properly configured
5074 gpm library has no dependency on any curses library), and if the
5075 curses library is not installed, this would cause the test to fail.
5076 + modify tic's -C option so that terminfo "use=" clauses are translated
5077 to "tc=" clauses even when running it as captoinfo.
5078 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
5079 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
5080 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
5081 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
5082 + correct a problem in libpanel, where the _nc_top_panel variable was
5083 not set properly when bottom_panel() is called to hide a panel which
5084 is the only one on the stack (report/analysis by Michael Andres
5085 <ma@suse.de>, patch by Juergen Pfeifer).
5088 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
5089 <j@interface-business.de>).
5090 + add top-level uninstall.data and uninstall.man makefile rules.
5091 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
5092 that hard-links work on Unix again.
5093 + change default value of cf_cv_builtin_bool to 1 (suggested by
5094 Jeremy Buhler), making it less likely that a conflicting declaration
5095 of bool will be seen when compiling with C++.
5098 + improved configure checks for builtin.h
5099 + minor changes to C++ binding (remove static initializations, and make
5100 configure-test for parameter initializations) for features not
5101 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
5102 applies to SGI, though I found SCO has the same characteristics).
5103 + corrected quoting of ETIP_xxx definitions which support old versions
5104 of g++, e.g., those using -lg++
5105 + remove 'L' code from safe_sprintf.c, since 'long double' is not
5106 widely portable. safe_sprintf.c is experimental, however, and
5107 exists mainly as a fallback for systems without snprintf (reported
5108 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
5109 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
5110 so that it is not unnecessarily made extern (Jeffrey C Honig).
5113 + move definition for builtin.h in configure tests to specific check
5114 for libg++, since qt uses the same filename incompatibly.
5115 + correct logic of lib_termcap.c tgetstr function, which did not copy
5116 the result to the buffer parameter. Testing shows Solaris does
5117 update this, though of course tgetent's buffer is untouched (reported
5118 in Peter Edwards <peter.edwards@ireland.com> in
5119 mpc.lists.freebsd.current newsgroup.
5120 + corrected beterm terminfo entry, which lists some capabilities which
5121 are not actually provided by the BeOS Terminal.
5122 + add special logic to replace select() calls on BeOS, whose select()
5123 function works only for sockets.
5124 + correct missing escape in mkterm.h.awk.in, which caused part
5125 of the copyright noticed to be omitted (reported by Peter
5126 Wemm <peter@netplex.com.au>).
5127 > several small changes to make the c++ binding and demo work on OS/2
5128 EMX (related to a clean reinstall of EMX):
5129 + correct library-prefix for c++ binding; none is needed.
5130 + add $x suffix to make_hash and make_keys so 'make distclean' works.
5131 + correct missing $x suffix for tack, c++ demo executables.
5132 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
5133 CF_STDCPP_LIBRARY (for -lstdc++)
5136 + add cygwin terminfo entry -TD
5137 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
5138 + add configure option --without-cxx-binding, modifying the existing
5139 --without-cxx option to check only for the C++ compiler
5140 characteristics. Whether or not the C++ binding is needed, the
5141 configure script checks for the size/type of bool, to make ncurses
5142 match. Otherwise C++ applications cannot use ncurses.
5145 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
5146 + minor corrections to beterm terminfo entry.
5147 + modify lib_setup.c to reject values of $TERM which have a '/' in
5149 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
5150 than one is on BeOS. That would break a switch statement.
5151 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
5152 nonfunctional link().
5153 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
5154 BeOS's bool, which is declared as an unsigned char.
5157 + add ms-vt100 terminfo entry -TD
5158 + minor fixes for misc/emx.src, based on testing with tack.
5159 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
5162 + minor correction for 'screen' terminfo entry.
5163 + clarify description of errret values for setupterm in manpage.
5164 + modify tput to allow it to emit capabilities for hardcopy terminals
5165 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
5166 + modify the 'o' (panel) test in ncurses.c to show the panels in color
5167 or at least in bold, to test Juergen's change to wrefresh().
5168 > patches by Juergen Pfeifer:
5169 + Fixes a problem using wbkgdset() with panels. It has actually
5170 nothing to with panels but is a problem in the implementation of
5171 wrefresh(). Whenever a window changes its background attribute to
5172 something different than newscr's background attribute, the whole
5173 window is touched to force a copy to newscr. This is an unwanted
5174 side-effect of wrefresh() and it is actually not necessary. A
5175 changed background attribute affects only further outputs of
5176 background it doesn't mean anything to the current content of the
5177 window. So there is no need to force a copy. (reported by Frank
5178 Heckenbach <frank@g-n-u.de>).
5179 + an upward compatible enhancement of the NCursesPad class in the C++
5180 binding. It allows one to add a "viewport" window to a pad and then
5181 to use panning to view the pad through the viewport window.
5184 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
5185 signal was received while not in curses mode, e.g., endwin() was
5186 called in preparation for spawning a shell command (reported by Frank
5187 Heckenbach <frank@g-n-u.de>)
5188 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
5189 + change test for xterm mouse capability: it now checks only if the
5190 user's $DISPLAY variable is set in conjunction with the kmous
5191 capability being present in the terminfo. Before, it checked if any
5192 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
5193 However, some emulators which are incompatible with xterm in other
5194 ways do support the xterm mouse capability.
5195 + reviewed and made minor changes in ncurses to quiet g++ warnings
5196 about shadowed or uninitialized variables. g++ incorrectly warns
5197 about uninitialized variables because it does not take into account
5198 short-circuit expression evaluation.
5199 + change ncurses 'b' test to start in color pair 0 and to show in the
5200 right margin those attributes which are suppressed by no_color_video,
5202 + modify ifdef's in curses.h so that __attribute__ is not redefined
5203 when compiling with g++, but instead disabled the macros derived for
5204 __attribute__ since g++ does not consistently recognize the same
5205 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
5206 + update dependencies for term.h in ncurses/modules (reported by
5210 + modify the form demo in ncurses.c to illustrate how to manipulate the
5211 field appearance, e.g, for highlighting or translating the field
5213 + correct logic in write_entry from split-out of home_terminfo in
5214 980919, which prevented update of $HOME/.terminfo (reported by Philip
5215 Spencer <pspencer@fields.utoronto.ca>).
5218 + modify linux terminfo description to make use of kernel 2.2.x mods
5219 that support cursor style, e.g., to implement cvvis (patch by Frank
5220 Heckenbach <frank@g-n-u.de>)
5221 + add special-case in setupterm to retain previously-saved terminal
5222 settings in cur_term, which happens when curses and termcap calls are
5223 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
5224 + suppress initialization of key-tries in _nc_keypad() if we are only
5225 disabling keypad mode, e.g., in endwin() called when keypad() was
5227 + modify the Ada95 makefile to ensure that always the Ada files from
5228 the development tree are used for building and not the eventually
5229 installed ones (patch by Juergen Pfeifer).
5232 + use TTY definition in tack/sysdep.c rather than struct termios
5233 (reported by Philippe De Muyter).
5234 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
5235 not present on sysV68 (reported by Philippe De Muyter).
5236 + correct definition in comp_hash.c to build with configure
5237 --with-rcs-ids option.
5240 + modified ifdef's for sigaction and sigvec to ensure we do not try to
5241 handle SIGTSTP if neither is available (from report by Philippe De
5243 > patch by Philippe De Muyter:
5244 + in tic.c, use `unlink' if `remove' is not available.
5245 + use only `unsigned' as fallback value for `speed_t'. Some files used
5249 + fix some compiler warnings in tack.
5250 + add a check for predefined bool type in CC, based on report that
5251 BeOS predefines a bool type.
5252 + correct logic for infocmp -e option, i.e., the configure
5253 --with-fallbacks option, which I'd not updated when implementing
5254 extended names (cf: 990301). The new implementation adds a "-E"
5255 option to infocmp -TD
5256 > patch by Juergen Pfeifer:
5257 + introduce the private type Curses_Bool in the Ada95 binding
5258 implementation. This is to clearly represent the use of "bool" also
5259 in the binding. It should have no effect on the generated code.
5260 + improve the man page for field_buffer() to tell the people, that the
5261 whole buffer including leading/trailing spaces is returned. This is
5262 a common source of confusion, so it's better to document it clearly.
5265 > patch by Juergen Pfeifer:
5266 + use pragma PreElaborate in several places.
5267 + change a few System.Address uses to more specific types.
5268 + change interface version-number to 1.0
5269 + regenerate Ada95 HTML files.
5272 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
5273 if it appears that curses was never initialized, e.g., by initscr().
5274 For instance, this guards against setting the terminal modes to
5275 strange values if endwin() is called after setupterm(). In the same
5276 context, Solaris curses will dump core.
5277 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
5278 equivalent values in rmso or rmul by ensuring we do not modify the
5279 data which would be returned by the terminfo or termcap interfaces
5280 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
5281 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
5283 + improve fallback declaration of 'bool' when the --without-cxx option
5284 is given, by using a 'char' on i386 and related hosts (prompted by
5285 discussion with Alexander V Lukyanov).
5288 + include time.h in lib_napms.c if nanosleep is used (patch by
5289 R Lindsay Todd <toddr@rpi.edu>).
5290 + add an "#undef bool" to curses.h, in case someone tries to define it,
5292 + add check to tparm to guard against divide by zero (reported by Aaron
5293 Campbell <aaron@ug.cs.dal.ca>).
5296 + minor fix to build tack on CLIX (mismatched const).
5297 > patch by Juergen Pfeifer:
5298 + change Juergen's old email address with new one in the files where it
5299 is referenced. The Ada95 HTML pages are regenerated.
5300 + update MANIFEST to list the tack files.
5303 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
5307 + add 'tack' program (which is GPL'd), updating it to work with the
5308 modified TERMTYPE struct and making a fix to support setaf/setab
5309 capabilities. Note that the tack program is not part of the
5310 ncurses libraries, but an application which can be distributed with
5311 ncurses. The configure script will ignore the directory if it is
5313 + modify gpm mouse support so that buttons 2 and 3 are used for
5314 select/paste only when shift key is pressed, making them available
5315 for use by an application (patch by Klaus Weide).
5316 + add complete list of function keys to scoansi terminfo entry - TD
5319 + add a simple test program cardfile.c to illustrate how to read form
5320 fields, and showing forms within panels.
5321 + change shared-library versioning for the Hurd to be like Linux rather
5322 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
5323 + add linux-lat terminfo entry.
5324 + back-out _nc_access check in read_termcap.c (both incorrect and
5325 unnecessary, except to guard against a small window where the file's
5326 ownership may change).
5329 + remove conflicting _nc_free_termtype() function from test module
5331 + use _nc_access check in read_termcap.c for termpaths[] array (noted
5332 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
5333 > patch by Juergen Pfeifer:
5334 + modify menu creation to not inherit status flag from the default menu
5335 which says that the associated marker string has been allocated and
5336 should be freed (bug reported by Marek Paliwoda"
5337 <paliwoda@kki.net.pl>)
5339 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
5340 + minor fixes to xterm-xfree86 terminfo entry - TD.
5341 + split up an expression in configure script check for ldconfig to
5342 workaround limitation of BSD/OS sh (reported by Jeff Haas
5343 <jmh@mail.msen.com>).
5344 + correct a typo in man/form_hook.3x (Todd C Miller).
5347 + parenthesize and undef 'index' symbol in c++ binding and demo, to
5348 accommodate its definition on NeXT (reported by Francisco A. Tomei
5350 + add sigismember() to base/sigaction.c compatibility to link on NeXT
5351 (reported by Francisco A. Tomei Torres).
5352 + further refinements to inequality in hashmap.c to cover a case with
5353 ^U in nvi (patch by Alexander V Lukyanov).
5356 + add fallback definition for getcwd, to link on NeXT.
5357 + add a copy of cur_term to tic.c to make it link properly on NeXT
5358 (reported by Francisco A. Tomei Torres).
5359 + change inequality in hashmap.c which checks the distance traveled by
5360 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
5361 scrolling logic (patch by Alexander V Lukyanov, reported by Jeffrey
5365 + modify lib_color.c to handle a special case where the curscr
5366 attributes have been made obsolete (patch by Alexander V Lukyanov).
5367 + update BSD/OS console terminfo entries to use klone+sgr and
5368 klone+color (patch by Jeffrey C Honig).
5369 + update glibc addon configure script for extended capabilities.
5370 + correct a couple of warnings in the --enable-const configuration.
5371 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
5372 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
5375 + correct typos in linux-c initc string - TD
5376 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
5377 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
5378 Alexander V Lukyanov).
5381 + back-out change to wgetch because it causes a problem with ^Z
5382 handling in lynx (reported by Kim DeVaughn).
5385 + add -G option to tic and infocmp, to reverse the -g option.
5386 + recode functions in name_match.c to avoid use of strncpy, which
5387 caused a 4-fold slowdown in tic (cf: 980530).
5388 + correct a few warnings about sign-extension in recent changes.
5389 > patch by Juergen Pfeifer:
5390 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
5391 + improved parameter checking in new_fieldtype().
5392 + fixed a typo in wgetch() timeout handling.
5393 + allow slk_init() to be called per newterm call. The internal SLK
5394 state is stored in the SCREEN struct after every newterm() and then
5395 reset for the next newterm.
5396 + fix the problem that a slk_refresh() refreshes stdscr if the
5397 terminal has true SLKs.
5398 + update HTML documentation for Ada binding.
5401 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
5402 such as "#if TRUE" work. This was originally done to allow for a C++
5403 compiler which would warn of implicit conversions between enum and
5404 int, but is not needed for g++ (reported by Kim DeVaughn).
5405 + add use_extended_names() function to allow applications to suppress
5406 read of the extended capabilities.
5407 + add configure option --enable-tcap-names to support logic which
5408 allows ncurses' tic to define new (i.e., extended) terminal
5409 capabilities. This is activated by the tic -x switch. The infocmp
5410 program automatically shows or compares extended capabilities.
5411 Note: This changes the Strings and similar arrays in the TERMTYPE
5412 struct so that applications which manipulate it must be recompiled.
5413 + use macros typeMalloc, typeCalloc and typeRealloc consistently
5414 throughout ncurses library.
5415 + add _nc_strdup() to doalloc.c.
5416 + modify define_key() to allow multiple strings to be bound to the
5418 + correct logic error in _nc_remove_string, from 990220.
5419 > patch for Ada95 binding (Juergen Pfeifer):
5420 + regenerate some of the html documentation
5421 + minor cleanup in terminal_interface-curses.adb
5424 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
5425 xterm and ncsa terminfo entries by removing the unneeded ones. Note
5426 that some entries will return kend & khome versus kslt and kfnd, for
5427 PC-style keyboards versus strict vt220 compatiblity - TD
5428 + add function keybound(), which returns the definition associated with
5430 + modify define_key() to undefine the given string when no keycode is
5432 + modify keyok() so it works properly if there is more than one string
5433 defined for a keycode.
5434 + add check to tic to warn about terminfo descriptions that contain
5435 more than one key assigned to the same string. This is shown only if
5436 the verbose (-v) option is given. Moved related logic (tic -v) from
5437 comp_parse.c into the tic program.
5438 + add/use _nc_trace_tries() to show the function keys that will be
5440 + rename init_acs to _nc_init_acs (request by Alexander V Lukyanov).
5441 > patch for Ada95 binding (Juergen Pfeifer):
5442 + remove all the *_adabind.c from ncurses, menu and form projects.
5443 Those little helper routines have all been implemented in Ada and are
5445 + The option handling routines in menu and form have been made more
5446 save. They now make sure that the unused bits in options are always
5448 + modify configuration scripts to
5449 + use gnatmake as default compiler name. This is a safer choice than
5450 gcc, because some GNAT implementations use other names for the
5451 compilerdriver to avoid conflicts.
5452 + use new default installation locations for the Ada files according
5453 to the proposed GNU Ada filesystem standard (for Linux).
5454 + simplify the Makefiles for the Ada binding
5455 + rename ada_include directory to src.
5458 + enable sigwinch handler by default.
5459 + disable logic that allows setbuf to be turned off/on, because some
5460 implementations will overrun the buffer after it has been disabled
5464 + suppress sc/rc capabilities from terminal description if they appear
5465 in smcup/rmcup. This affects only scrolling optimization, to fix a
5466 problem reported by several people with xterm's alternate screen,
5467 though the problem is more general.
5468 > patch for Ada95 binding (Juergen Pfeifer):
5469 + removed all pragma Preelaborate() stuff, because the just released
5470 gnat-3.11p complains on some constructs.
5471 + fixed some upper/lower case notations because gnat-3.11p found
5473 + used a new method to generate the HTML documentation of the Ada95
5474 binding. This invalidates nearly the whole ./Ada95/html subtree.
5475 Nearly all current files in this subtree are removed
5478 + cache last result from _nc_baudrate, for performance (suggested by
5479 Alexander V Lukyanov).
5480 + modify ClrUpdate() function to workaround a problem in nvi, which
5481 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
5482 ncurses repainted the screen with nulls before resuming normal
5483 operation (patch by Alexander V Lukyanov).
5484 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
5485 be any substring rather than the prefix.
5486 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
5487 not link a module if the only symbols exported from the module are
5488 uninitialized ones (patch by Ilya Zakharevich). Ilya says that he
5489 has seen messages claiming this behavior conforms to the standard.)
5490 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
5491 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
5492 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
5493 problem where ncurses applications which were run via a shell script
5494 would hang when given a ^Z. Also, check if the terminal's process
5495 group is consistent, i.e., a shell has not taken ownership of it,
5496 before deciding to save the current terminal settings in the SIGTSTP
5497 handler (patch by Klaus Weide).
5498 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
5499 der Poel <bvdpoel@kootenay.com>).
5500 + correct a couple of typos in the macros supporting the configure
5501 --with-shlib-version option.
5504 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
5505 by Kimio Ishii <ishii@csl.sony.co.jp>).
5506 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
5507 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
5508 + modify tput to accept termcap names as an alternative to terminfo
5509 names (patch by Jeffrey C Honig).
5510 + correct a typo in term.7 (Todd C Miller).
5511 + add configure --with-shlib-version option to allow installing shared
5512 libraries named according to release or ABI versions. This
5513 parameterizes some existing logic in the configure script, and is
5514 intended for compatiblity upgrades on Digital Unix, which used
5515 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
5516 + resync configure script against autoconf 2.13 + patches
5517 + minor improvements for teraterm terminfo entry based on the program's
5518 source distribution.
5521 + change default for configure --enable-big-core to assume machines do
5522 have enough memory to resolve terminfo.src in-memory.
5523 + correct name of ncurses library in TEST_ARGS when configuring with
5525 + minor fixes to compile ncurses library with broken-linker with g++.
5526 + add --enable-broken-linker configure option, default to environment
5527 variable $BROKEN_LINKER (request by Jeffrey C Honig).
5528 + change key_names[] array to static since it is not part of the curses
5529 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
5532 + add Tera Term terminfo entry - TD
5535 + reviewed/corrected macros in curses.h as per XSI document.
5536 + provide support for termcap PC variable by copying it from terminfo
5537 data and using it as the padding character in tputs (reported by
5538 Alexander V Lukyanov).
5539 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
5540 kf9-kf12 capabilities, as well as adding kcbt.
5541 + document the mouse handling mechanism in menu_driver and make a small
5542 change in menu_driver's return codes to provide more consistency
5543 (patch by Juergen Pfeifer).
5544 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
5545 by Uchiyama Yasushi <uch@nop.or.jp>).
5546 + move lib_restart.c to ncurses/base, since it uses curses functions
5547 directly, and therefore cannot be used in libtinfo.so
5548 + rename micro_char_size to micro_col_size, adding #define to retain
5550 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
5551 XSI and Solaris 2.5.
5552 + minor makefile files to build ncurses test_progs
5553 + update html files in misc directory to reflect changes since 4.2
5556 + disable scroll hints when hashmap is enabled (patch by Alexander
5558 + move logic for tic's verify of -e option versus -I and -C so that the
5559 terminfo data is not processed if we cannot handle -e (reported by
5560 Steven Schwartz <steves@unitrends.com>.
5561 + add test-driver traces to terminfo and termcap functions.
5562 + provide support for termcap ospeed variable by copying it from the
5563 internal cur_term member, and using ospeed as the baudrate reference
5564 for the delay_output and tputs functions. If an application does not
5565 set ospeed, the library behaves as before, except that _nc_timed_wait
5566 is no longer used, or needed, since ospeed always has a value. But
5567 the application can modify ospeed to adjust the output of padding
5568 characters (prompted by a bug report for screen 3.7.6 and email from
5569 Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
5570 + removed some unused ifdef's as part of Alexander's restructuring.
5571 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
5572 Version 2. This includes making some parameters NCURSES_CONST
5573 rather than const, e.g., in termcap.h.
5574 + change linux terminfo entry to use ncv#2, since underline does not
5578 + miscellaneous corrections for curses.h to match XSI.
5579 + change --enable-no-padding configure option to be normally enabled.
5580 + add section to ncurses manpage for environment variables.
5581 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
5582 changes, found no sign of problems on Linux (or on SunOS, Solaris)
5583 running screen built with ncurses.
5584 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
5585 Roskin <pavel_roskin@geocities.com>).
5586 + correct several font specification typos in man-pages.
5589 + correct default value for BUILD_CC (reported by Larry Virden).
5592 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
5593 it from changing the terminfo directory after chdir'ing to it.
5594 Otherwise, a relative path in $TERMINFO would confuse tic (prompted
5595 by a Debian bug report).
5596 + correct/update ncsa terminfo entry (report by Larry Virden).
5597 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
5599 + add Mathew Vernon's mach console entries to terminfo.src
5600 + more changes, moving functions, as part of Alexander's restructuring.
5601 + modify configure script for GNU/Hurd share-library support, introduce
5602 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
5606 + add environment variable NCURSES_NO_SETBUF to allow disabling the
5607 setbuf feature, for testing purposes.
5608 + correct ifdef's for termcap.h versus term.h that suppress redundant
5609 declarations of prototypes (reported by H.J.Lu).
5610 + modify Makefile.os2 to add linker flags which allow multiple copies
5611 of an application to coexist (reported by Ilya Zakharevich).
5612 + update Makefile.glibc and associated configure script so that ncurses
5613 builds as a glibc add-on with the new directory configuration
5614 (reported by H.J.Lu).
5617 + modify gen_reps() function in gen.c to work properly on SunOS
5618 (sparc), which is a left-to-right architecture.
5619 + modify relative_move and tputs to avoid an interaction with the
5620 BSD-style padding. The relative_move function could produce a string
5621 to replace on the screen which began with a numeric character, which
5622 was then interpreted by tputs as padding. Now relative_move will not
5623 generate a string with a leading digit in that case (overwrite).
5624 Also, tputs will only interpret padding if the string begins with a
5625 digit; as coded it permitted a string to begin with a decimal point
5626 or asterisk (reported by Larry Virden).
5627 > patches by Juergen Pfeifer:
5628 + fix a typo in m_driver.c mouse handling and improves the error
5630 + fix broken mouse handling in the Ada95 binding
5631 + make the Ada95 sample application menus work with the new menu mouse
5633 + improve the mouse handling introduced by Ilya; it now handles menus
5635 + repair a minor bug in the menu_driver code discovered during this
5637 + add new function wmouse_trafo() to hide implementation details of
5638 _yoffset member of WINDOW struct needed for mouse coordinate
5642 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
5643 some older implementations (e.g., SunOS 4.x) return the buffer
5644 address rather than its length.
5645 > patch by Rick Ohnemus:
5646 + modify demo.cc to get it to compile with newer versions of egcs.
5647 + trim a space that appears at the end of the table preprocessor lines
5648 ('\" t). This space prevents some versions of man from displaying
5649 the pages - changed to remove all trailing whitespace (TD)
5650 + finally, 'make clean' does not remove panel objects.
5651 > patches by Ilya Zakharevich:
5652 + allow remapping of OS/2 mouse buttons using environment variable
5653 MOUSE_BUTTONS_123 with the default value 132.
5654 + add mouse support to ncurses menus.
5657 + modify misc/makedef.cmd to report old-style .def file symbols, and to
5658 generate the .def files sorted by increasing names rather than the
5660 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
5661 from misc/*.old), and updated based on the entrypoint coding he used
5662 for an older version of ncurses.
5663 + add README.emx, to document how to build on OS/2 EMX.
5664 + updates for config.guess, config.sub from Lynx
5665 > patches by Ilya Zakharevich:
5666 + minor fixes for mouse handling mode:
5667 a) Do not initialize mouse if the request is to have no mouse;
5668 b) Allow switching of OS/2 VIO mouse on and off.
5669 + modify Makefile.os2 to support alternative means of generating
5670 configure script, by translating Unix script with Perl.
5671 > patches by Juergen Pfeifer:
5672 + Updates MANIFEST to reflect changes in source structure
5673 + Eliminates a problem introduced with my last patch for the C++
5674 binding in the panels code. It removes the update() call done in the
5676 + Changes in the Ada95 binding to better support systems where
5677 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
5680 + modify install-script for manpages to skip over .orig and .rej files
5681 (request by Larry Virden).
5682 > patches/discussion by Alexander V Lukyanov:
5683 + move base-library sources into ncurses/base and tty (serial terminal)
5684 sources into ncurses/tty, as part of Alexander V Lukyanov's proposed
5685 changes to ncurses library.
5686 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
5687 be linked into the normal ncurses library.
5688 + move macro winch to a function, to hide details of struct ldat
5689 > patches by Juergen Pfeifer:
5690 + fix a potential compile problem in cursesw.cc
5691 + some Ada95 cosmetics
5692 + fix a gen.c problem when compiling on 64-Bit machines
5693 + fix Ada95/gen/Makefile.in "-L" linker switch
5694 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
5697 + ifdef'd out lib_freeall.c when not configured.
5698 + rename _tracebits() to _nc_tracebits().
5699 + move terminfo-library sources into ncurses/tinfo, and trace-support
5700 functions into ncurses/trace as part of Alexander V Lukyanov's
5701 proposed changes to ncurses library.
5702 + modify generated term.h to always specify its own definitions for
5703 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
5704 broken configure scripts.
5707 + modify terminfo parsing to accept octal and hexadecimal constants,
5709 + remove an autoconf 2.10 artifact from the configure script's check
5710 for "-g" compiler options. (Though harmless, this confused someone
5711 at Debian, who recently issued a patch that results in the opposite
5713 + add configure option --with-ada-compiler to accommodate installations
5714 that do not use gcc as the driver for GNAT (patch by Juergen
5718 + ensure ./man exists in configure script, needed when configuring
5719 with --srcdir option.
5720 + modify infocmp "-r" option to remove limit on formatted termcap
5721 output, which makes it more like Solaris' version.
5722 + modify captoinfo to treat no-argument case more like Solaris'
5723 version, which uses the contents of $TERMCAP as the entry to format.
5724 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
5725 (patch by Alexander V Lukyanov).
5728 + modify --with-terminfo-dirs option so that the default value is the
5729 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
5730 rid of a hardcoded list of candidate directories in the configure
5732 + add some error-checking to _nc_read_file_entry() to ensure that
5733 strings are properly terminated (Todd C Miller).
5734 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
5735 correspond with contents (reported by Neil Zanella
5736 <nzanella@cs.mun.ca>).
5737 + remove redundant configure check for C++ which did not work when $CXX
5738 was specified with a full pathname (reported by Andreas Jaeger).
5739 + corrected bcopy/memmove check; the macro was not standalone.
5742 + remove unnecessary portion of OS/2 EMX mouse change from
5743 check_pending() (reported by Alexander V Lukyanov).
5746 + implement mouse support for OS/2 EMX (adapted from patch against
5747 4.2(?) by Ilya Zakharevich).
5748 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
5749 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
5750 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
5751 some older entries - TD
5752 + modify tic to compile into %'char' form in preference to %{number},
5753 since that is a little more efficient.
5754 + minor correction to infocmp to avoid displaying "difference" between
5755 two capabilities that are rendered in equivalent forms.
5756 + add -g option to tic/infocmp to force character constants to be
5757 displayed in quoted form. Otherwise their decimal values are shown.
5758 + modify setupterm so that cancelled strings are treated the same as
5759 absent strings, cancelled and absent booleans false (does not affect
5761 + modify tic, infocmp to discard redundant i3, r3 strings when output
5763 > patch by Alexander V Lukyanov:
5764 + improve performance of tparm, now it takes 19% instead of 25% when
5766 + rename maxlen/minlen to prec/width for better readability.
5767 + use format string for printing strings.
5768 + use len argument correctly in save_text, and pass it to save_number.
5771 + make test_progs compile (but hashmap does not function).
5772 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
5773 associated logic to avoid freeing the SP->_setbuf data.
5774 + add modules home_terminfo and getenv_num to libtinfo.
5775 + move write_entry to libtinfo, to work with termcap caching.
5776 + minor fixes to blue.c to build with atac.
5777 + remove softscroll.c module; no longer needed for testing.
5778 > patches by Todd C Miller:
5779 + use strtol(3) instead of atoi(3) when parsing env variables so we can
5780 detect a bogus (non-numeric) value.
5781 + check for terminal names > MAX_NAME_SIZE in a few more places when
5782 dealing with env variables again.
5783 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
5784 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
5785 string #define (compile time vs runtime).
5786 + when setting errno to ENOMEM, set it right before the return, not
5787 before code that could, possibly, set errno to a different value.
5788 > patches by Alexander V Lukyanov:
5789 + use default background in update_cost_from_blank()
5790 + disable scroll-hints when hashmap is configured.
5791 + improve integration of hashmap scrolling code, by adding oldhash and
5792 newhash data to SP struct.
5793 + invoke del_curterm from delscreen.
5794 + modify del_curterm to set cur_term to null if it matches the
5795 function's parameter which is deleted.
5796 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
5797 exit_insert_mode combination, adjusting InsCharCost to check
5798 enter_insert_mode, exit_insert_mode and insert_padding. Add
5799 insert_padding in insert mode after each char. This adds new costs
5803 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
5804 consistent treatment.
5805 + modify ncurses to restore output to unbuffered on endwin, and resume
5806 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
5807 + corrected HTML version numbers (according to the W3C validator, they
5808 never were HTML 2.0-compliant, but are acceptable 3.0).
5811 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
5812 capability name, as in SVr4.
5813 + modified term.h, termcap.h headers to avoid redundant declarations.
5814 + change 'u_int' type in tset.c to unsigned, making this compile on
5815 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
5818 + corrections to mailing addresses, and moving the magic line that
5819 causes the man program to invoke tbl to the first line of each
5820 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
5821 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
5822 (from J.J.G.Ripoll, with further integration by TD).
5823 + correct a typo in icl6404 terminfo entry.
5824 + add xtermm and xtermc terminfo entries.
5825 > from esr's terminfo version:
5826 + Added Francesco Potorti's tuned Wyse 99 entries.
5827 + dtterm enacs (from Alexander V Lukyanov).
5828 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
5831 + document AT&T acs characters in terminfo.5 manpage.
5832 + use EMX _scrsize() function if terminfo and environment do not
5833 declare the screen size (reported by Ilya Zakharevich
5834 <ilya@math.ohio-state.edu>).
5835 + remove spurious '\' characters from eterm and osborne terminfo
5836 entries (prompted by an old Debian bug report).
5837 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
5838 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
5839 + correct misplaced parenthesis which caused file-descriptor from
5840 opening termcap to be lost, from 980725 changes (reported by Andreas
5844 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
5845 when termios is not used (patch by Todd C Miller).
5846 + add function _nc_doalloc, to ensure that failed realloc calls do not
5847 leak memory (reported by Todd C Miller).
5848 + improved ncsa-telnet terminfo entry.
5851 + correct missing braces around a trace statement in read_entry.c,
5852 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
5856 + fix missing include <errno.h> in ditto.c (reported by Bernhard
5857 Rosenkraenzer <bero@k5.sucks.eu.org>)
5858 + add NCSA telnet terminfo entries from Francesco Potorti
5859 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
5860 + make handling of $LINES and $COLUMNS variables more compatible with
5861 Solaris by allowing them to individually override the window size
5862 as obtained via ioctl.
5865 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
5866 which may reset all attributes in the 'op' capability, so that colors
5867 are set before turning on bold and other attributes, but still after
5868 turning attributes off.
5869 + add 'ditto.c' to test directory to illustrate use of newterm for
5870 initializing multiple screens.
5871 + modify _nc_write_entry() to recover from failed attempt to link alias
5872 for a terminfo on a filesystem which does not preserve character case
5873 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
5876 + updated versions of config.guess and config.sub based on automake 1.3
5877 + change name-comparisons in lib_termcap to compare no more than 2
5878 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
5879 with Solaris curses).
5880 + fix typo in curs_insstr.3x (patch by Todd C Miller)
5881 + use 'access()' to check if ncurses library should be permitted to
5882 open or modify files with fopen/open/link/unlink/remove calls, in
5883 case the calling application is running in setuid mode (request by
5884 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
5885 <dps@io.stargate.co.uk>).
5886 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
5887 + qnxt2 and minitel terminfo entries from esr's version.
5890 + use -R option with ldconfig on FreeBSD because otherwise it resets
5891 the search path to /usr/lib (reported by Dan Nelson).
5892 + add -soname option when building shared libraries on OpenBSD 2.x
5893 (request by QingLong).
5894 + add configure options --with-manpage-format and
5895 --with-manpage-renames (request by QingLong).
5896 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
5897 omitting the high-order byte, producing a 254 in the compiled
5899 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
5900 tigetnum and tigetstr to be compatible with Solaris (gleaned from
5901 Debian distribution of 1.9.9g-8.8).
5902 + modify _nc_syserr_abort to abort only when compiled for debugging,
5903 otherwise simply exit with an error.
5906 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
5907 "_g" for a debug build).
5908 + update Ada95 'make clean' rule to include generics .ali files
5909 + add a configure test to ensure that if GNAT is found, that it can
5910 compile/link working Ada95 program.
5911 + flush output in beep and flash functions, fixing a problem with
5912 getstr (patch by Alexander V Lukyanov)
5913 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
5914 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
5915 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
5916 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
5920 + merge changes from current XFree86 xterm terminfo descriptions.
5921 + add configure option '--without-ada'.
5922 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
5923 corresponds to vt100.
5924 + change translation for termcap 'rs' to terminfo 'rs2', which is
5925 the documented equivalent, rather than 'rs1'.
5928 + slow 'worm' down a little, for very fast machines.
5929 + corrected firstchar/lastchar computation in lib_hline.c
5930 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
5931 CHANGED_TO_EOL macros.
5932 + modify init_pair so that if a color-pair is reinitialized, we will
5933 repaint the areas of the screen whose color changes, like SVr4 curses
5934 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
5935 + modify getsyx/setsyx macros to comply with SVr4 man-page which
5936 says that leaveok() affects their behavior (report by Darryl Miles,
5937 patch by Alexander V Lukyanov).
5940 + review terminfo.5 against Solaris 2.6 curses version, corrected
5941 several minor errors/omissions.
5942 + implement tparm %l format.
5943 + implement tparm printf-style width and precision for %s, %d, %x, %o
5945 + implement tparm dynamic variables (reported by Xiaodan Tang).
5948 + update man-page for for wattr_set, wattr_get (cf: 980509)
5949 + correct limits in hashtest, which would cause nonprinting characters
5950 to be written to large screens.
5951 + correct configure script, when --without-cxx was specified: the
5952 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
5953 2.8 tolerated the missing 'int'.
5954 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
5955 compiler's name might be something like "egcs" (patch by Juergen
5957 + correct curs_addch.3x, which implied that echochar could directly
5958 display control characters (patch by Alexander V Lukyanov).
5959 + fix typos in ncurses-intro.html (patch by Sidik Isani
5960 <isani@cfht.hawaii.edu>)
5963 + add configure test for conflicting use of exception in math.h and
5965 + minor optimization to 'hash()' function in hashmap.c, reduces its
5967 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
5968 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
5969 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
5970 > patch by Alexander V Lukyanov:
5971 + correct problem on Solaris (with poll() function) where getch could
5972 hang indefinitely even if timeout(x) was called. This turned out to
5973 be because milliseconds was not updated before 'goto retry' in
5975 + simplified the function _nc_timed_wait and fixed another bug, which
5976 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
5978 + removed the cycle on EINTR, as it seems to be useless.
5981 + add makefile-rule for test/keynames
5982 + modify run_tic.sh and shlib to ensure that user's .profile does not
5983 override the $PATH used to run tic (patch by Tim Mooney).
5984 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
5985 needed for HP-UX shared-library path (recommended by Tim Mooney).
5986 + remove special case of HP-UX -L options, use +b options to embed
5987 $(libdir) in the shared libraries (recommended by Tim Mooney).
5988 + add checks for some possible buffer overflows and unchecked
5989 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
5990 <Todd.Miller@courtesan.com>)
5993 + correct maxx/maxy expression for num_columns/num_lines in derwin
5994 (patch by Alexander V Lukyanov).
5995 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
5996 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
5997 configure option (suggested by Mike Hopkirk).
5998 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
5999 Hopkirk <hops@sco.com>).
6000 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
6001 Makefile.in, since this conflicts when g++ is used with HP-UX
6002 compiler (reported by Tim Mooney).
6003 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
6004 in some C++ implementations (reported by several people running
6005 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
6008 + modify write_entry.c so that it will not attempt to link aliases
6009 with embedded '/', but give only a warning.
6010 + put -L$(libdir) first when linking programs, except for HP-UX.
6011 + modify comp_scan.c to handle SVr4 terminfo description for att477,
6012 which contains a colon in the description field.
6013 + modify configure script to support SCO osr5.0.5 shared libraries,
6014 from comp.unix.sco.programmer newsgroup item (Mike Hopkirk).
6015 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
6017 + minor adjustments of const/NCURSES_CONST from IRIX compile.
6018 + add updates based on esr's 980509 version of terminfo.src.
6021 + correct macros for wattr_set, wattr_get, separate wattrset macro from
6022 these to preserve behavior that allows attributes to be combined with
6024 + add configure option --enable-no-padding, to allow environment
6025 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
6026 thereby making terminal emulators (e.g., for vt100) a little more
6027 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6028 + modify configure script to embed ABI in shared libraries for HP-UX
6029 10.x (detailed request by Tim Mooney).
6030 + add test/example of the 'filter()' function.
6031 + add nxterm and xterm-color terminfo description (request by Cristian
6032 Gafton <gafton@redhat.com>).
6033 + modify rxvt terminfo description to clear alternate screen before
6034 switching back to normal screen, for compatibility with applications
6035 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
6036 + modify linux terminfo description to reset color palette (reported
6037 by Telford Tendys <telford@eng.uts.edu.au>).
6038 + correction to doupdate, for case where terminal does not support
6039 insert/delete character. The logic did not check that there was a
6040 difference in alignment of changes to old/new screens before
6041 repainting the whole non-blank portion of the line. Modified to fall
6042 through into logic that reduces by the portion which does not differ
6043 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6044 + minor performance improvement to wnoutrefresh by moving some
6045 comparisons out of inner loop.
6048 + modify configure script to substitute NCURSES_CONST in curses.h
6049 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
6050 xterm-8bit to correspond to XFree86 3.9Ag.
6051 + remove restriction that forces ncurses to use setaf/setab if the
6052 number of colors is greater than 8. (see 970524 for xterm-16color).
6053 + change order of -L options (so that $(libdir) is searched first) when
6054 linking tic and other programs, to workaround HP's linker.
6055 Otherwise, the -L../lib is embedded when linking against shared
6056 libraries and the installed program does not run (reported by Ralf
6058 + modify configuration of shared libraries on Digital Unix so that
6059 versioning is embedded in the library, rather than implied by
6060 links (patch by Tim Mooney).
6063 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
6064 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
6065 <R.Hildebrandt@tu-bs.de>).
6066 + correct configure tests in CF_SHARED_OPTS which used $CC value to
6067 check for gcc, rather than autoconf's $GCC value. This did not
6068 work properly if the full pathname of the compiler were given
6069 (reported by Michael Yount <yount@csf.Colorado.edu>).
6070 + revise check for compiler options to force ANSI mode since repeating
6071 an option such as -Aa causes HP's compiler to fail on its own headers
6072 (reported by Clint Olsen <olsenc@ichips.intel.com>).
6075 + ifdef'd has_key() and mcprint() as extended functions.
6076 + modified several prototypes to correspond with 1997 version of
6077 X/Open Curses (affects ABI since developers have used attr_get).
6078 + remove spurious trailing blanks in glibc addon-scripts (patch by
6080 + insert a few braces at locations where gcc-2.8.x asks to use them to
6081 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
6082 by Juergen Pfeifer).
6085 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
6086 before -l to accommodate Solaris' linker (reported by Larry Virden).
6089 + modify lib_color.c to eliminate dependency on orig_colors and
6090 orig_pair, since SVr4 curses does not require these either, but
6091 uses them when they are available.
6092 + add detailed usage-message to infocmp.
6093 + correct a typo in att6386 entry (a "%?" which was "?").
6094 + add -f option to infocmp and tic, which formats the terminfo
6095 if/then/else/endif so that they are readable (with newlines and
6097 + fixes for glibc addon scripts (patch by H.J.Lu).
6100 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
6101 declared (from Adam J Richter <adam@yggdrasil.com>)
6102 + remove spurious curs_set() call from leaveok() (J T Conklin).
6103 + corrected handling leaveok() in doupdate() (patch by Alexander V.
6105 + improved version of wredrawln (patch by Alexander V. Lukyanov).
6106 + correct c++/Makefile.in so install target do not have embedded ../lib
6107 to confuse it (patch by Thomas Graf <graf@essi.fr>).
6108 + add warning to preinstall rule which checks if the installer would
6109 overwrite a curses.h or termcap.h that is not derived from ncurses.
6110 (The recommended configuration for developers who need both is to
6111 use --disable-overwrite).
6112 + modify preinstall rule in top-level Makefile to avoid implicit
6113 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
6114 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
6115 <te@informatik.uni-hannover.de>)
6116 + refine ifdef's for TRACE so that libncurses has fewer dependencies
6117 on libtinfo when TRACE is disabled.
6118 + modify configure script so that if the --with-termlib option is used
6119 to generate a separate terminfo library, we chain it to the ncurses
6120 library with a "-l" option (reported by Darryl Miles and Ian T.
6124 + correct limits and window in wredrawln function (reported/analysis by
6125 Alexander V. Lukyanov).
6126 + correct sed expression in configure script for --with-fallback
6127 option (patch by Jesse Thilo).
6128 + correct some places in configure script where $enableval was used
6129 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
6130 + modify some man-pages so no '.' or '..' falls between TH and SH
6131 macros, to accommodate man_db program (reported by Ian T. Zimmerman
6133 + terminfo.src 10.2.1 downloaded from ESR's webpage (ESR).
6134 > several changes by Juergen Pfeifer:
6135 + add copyright notices (and rcs id's) on remaining man-pages.
6136 + corrected prototypes for slk_* functions, using chtype rather than
6138 + implemented the wcolor_set() and slk_color() functions
6139 + the slk_attr_{set,off,on} functions need an additional void*
6140 parameter according to XSI.
6141 + fix the C++ and Ada95 binding as well as the man pages to
6142 reflect above enhancements.
6145 + use 'stat()' rather than 'access()' in toe.c to check for the
6146 existence of $HOME/.terminfo, since it may be a file.
6147 + suppress configure CF_CXX_LIBRARY check if we are not using g++
6148 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
6150 + turn on hashmap scrolling code by default, intend to remedy defects
6152 + minor corrections to terminfo.src changelog.
6154 980302 4.2 release for upload to prep.ai.mit.edu
6155 + correct Florian's email address in ncurses-intro.html
6156 + terminfo.src 10.2.0 (ESR).
6159 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
6160 QingLong <qinglong@Bolizm.ihep.su>).
6161 + minor documentation fixes (patch by Juergen Pfeifer).
6162 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
6163 <claesg@algonet.se>).
6164 + correct sign-extension in lib_insstr.c (reported by Sotiris
6165 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
6168 + regenerated some documentation overlooked in 980214 patch
6169 (ncurses-intro.doc, curs_outopts.3x.html)
6170 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
6172 + change maintainer's mailing address to florian@gnu.org, change
6173 tentative mailing list address to bug-ncurses-request@gnu.org (patch
6174 by Florian La Roche).
6175 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
6176 Hasse <gh@raditex.se>).
6177 + restore version numbers to Ada95 binding, accidentally deleted by
6178 copyright patch (patch by Juergen Pfeifer).
6181 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
6182 distributions, though it is retained in development.
6183 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
6185 + update mailing-list information (bug-ncurses@gnu.org).
6186 + update announcement for upcoming 4.2 release.
6187 + modify -lm test to check for 'sin()' rather than 'floor()'
6188 + remove spurious commas from terminfo.src descriptions.
6189 + change copyright notices to Free Software Foundation
6192 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
6194 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
6195 + ifdef-out true-return from _nc_mouse_inline() which depends on
6196 merge of QNX patch (pending 4.2 release).
6197 > patch to split off seldom-used modules in ncurses (J T Conklin):
6198 This reduces size by up to 2.6kb.
6199 + move functionality of _nc_usleep into napms, add configuration case
6201 + moved wchgat() from lib_addch.c to lib_chgat.c
6202 + moved clearok(), immedok(), leaveok(), and scrollok() from
6203 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
6205 + moved napms() from lib_kernel.c to lib_napms.c
6206 + moved echo() and noecho() from lib_raw.c to lib_echo.c
6207 + moved nl() and nonl() from lib_raw.c to lib_nl.c
6210 + corrected conversion in tclock.c (cf: 971018).
6211 + updates to Makefile.glibc and associated Linux configure script
6213 + workaround a quoting problem on SunOS with tar-copy.sh
6214 + correct init_pair() calls in worm.c to work when use_default_colors()
6216 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
6218 + add ncv capability to FreeBSD console (cons25w), making reverse
6220 + correct sense of configure-test for sys/time.h inclusion with
6222 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
6223 + remove unused/obsolete test-program rules from progs/Makefile.in
6224 (the rules in ncurses/Makefile.in work).
6225 + remove shared-library loader flags from test/Makefile.in, etc.
6226 + simplify test/configure.in using new version of autoconf to create
6228 + suppress suffix rules in test/Makefile.in, provide explicit
6229 dependency to work with --srcdir option and less capable 'make'
6231 > adapted from patch for QNX by Xiaodan Tang:
6232 + initialize %P and %g variables set/used in tparm, and also ensure
6233 that empty strings don't return a null result from tparam_internal
6234 + add QNX-specific prototype for vsscanf()
6235 + move initialization of SP->_keytry from init_keytry() to newterm() to
6236 avoid resetting it via a keyok() call by mouse_activate().
6237 + reorganized some functions in lib_mouse() to use case-statements.
6238 + remove sgr string from qnx terminfo entry since it is reported to
6239 turn off attributes inconsistently.
6242 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
6243 test for no_color_video.
6244 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
6246 + implement no_color_video attribute, and as a special case, reverse
6247 colors when the reverse attribute cannot be combined with color.
6248 + check for empty string in $TERM variable (reported by Brett Michaels
6250 > from reports by Fred Fish:
6251 + add configure-test for isascii
6252 + add configure-test for -lm library.
6253 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
6254 > patches by J.J.G.Ripoll
6255 + add configure/makefile variables to support .exe extension on
6256 OS/2 EMX (requires additional autoconf patches).
6257 + explicitly initialize variables in lib_data.c to appease OS/2 linker
6258 > patches by Fred Fish <fnf@ninemoons.com>
6259 + misc/Makefile.in (install.data): Avoid trying to install the CVS
6261 + aclocal.m4 (install.includes): Remove files in the include directory
6262 where we are going to install new ones, not the original source
6264 + misc/terminfo.src: Add entry for "beterm", derived from termcap
6265 distributed with BeOS PR2 using captoinfo.
6266 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
6267 + aclocal.m4: Assume bool types are unsigned.
6268 + progs/infocmp.c: workaround mwcc 32k function data limit
6271 + correct initialization of color-pair (cf: 970524) in xmas.c, which
6272 was using only one color-pair for all colors (reported by
6274 + add multithread options for objects build on EMX, for compatibility
6276 + split up an expression in MKlib_gen.sh to work around a problem on
6277 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
6278 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
6280 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
6281 + remove bold/underline from sun console entries since they're not
6283 + correct _tracef calls in _tracedump(), which did not separate format
6285 + correct getopt string for tic "-o" option, and add it to man-page
6286 synopsis (reported by Darren Hiebert <darren@hmi.com>).
6287 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
6288 optimization (Alexander V. Lukyanov).
6289 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
6290 Muyter <phdm@macqel.be>).
6291 > patches by Juergen Pfeifer:
6292 + Improve a feature of the forms driver. For invisible fields
6293 (O_VISIBLE off) only the contents but not the attributes are cleared.
6294 We now clear both. (Reported by Javier Kohan
6295 <jkohan@adan.fceia.unr.edu.ar>)
6296 + The man page form_field_opts.3x makes now clear, that invisible
6297 fields are also always inactive.
6298 + adjust ifdef's to compile the C++ binding with the just released
6299 gcc-2.8.0 c++ and the corresponding new C++ libraries.
6302 + correct "?" command in ncurses.c; it was performing non-screen writes
6303 while the program was in screen mode. (It "worked" in 1.9.9e because
6304 that version sets OPOST and OCRNL incorrectly).
6305 + return error from functions in lib_kernel, lib_raw and lib_ti if
6306 cur_term is null, or if underlying I/O fails.
6307 + amend change to tputs() so that it does not return an error if
6308 cur_term is null, since some applications depend on being able to use
6309 tputs without initializing the terminal (reported by Christian J.
6310 Robinson <infynity@cyberhighway.net>).
6313 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
6314 1.9.9e, together with fixes/additions for the "ansi" terminal type.
6315 + add tic check for save/restore cursor if change_scroll_region is
6316 defined (reference: O'Reilly book).
6317 + modify read_termcap.c to handle EMX-style pathnames (reported by
6319 + modify lib_raw.c to use EMX's setmode (patch from J.J.G.Ripoll).
6320 Ripoll says EMX's curses does this.
6321 + modify _nc_tic_expand() to generate \0 rather than \200.
6322 + move/revise 'expand()' from dump_entry.c to ncurses library as
6323 _nc_tic_expand(), for use by tack.
6324 + decode \a as \007 for terminfo, as per XSI.
6325 + correct translation of terminfo "^@", to \200, like \0.
6326 + modify next_char() to treat <cr><lf> the same as <newline>, for
6327 cross-platform compatibility.
6328 + use new version of autoconf (971230) to work around limited
6329 environment on CLIX, due to the way autoconf builds --help message.
6330 > patch by Juergen Pfeifer:
6331 + check that the Ada95 binding runs against the correct version of
6333 + insert constants about the library version into the main spec-file of
6337 + modify open/fopen calls to use binary mode, needed for EMX.
6338 + modify configure script to work with autoconf 2.10 mods for OS/2
6339 EMX (from J.J.G.Ripoll).
6340 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
6341 bypasses limited sed buffer length.
6342 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
6343 (J.J.G.Ripoll) to support OS/2 EMX:
6344 + add a _scrolling flag to SP, to set when we encounter a terminal
6345 that simply cannot scroll.
6346 + corrected logic in _nc_add_to_try(), by ensuring that strings with
6347 embedded \200 characters are matched.
6348 + don't assume the host has 'link()' function, for linking terminfo
6352 + if there's no ioctl's to support sigwinch handler, disable it.
6353 + add configure option --disable-ext-funcs to remove the extended
6354 functions from the build.
6355 + add configure option --with-termlib to generate the terminfo
6356 functions as a separate library.
6357 + add 'sources' rule to facilitate cross-compiling.
6358 + review/fix order of mostlyclean/clean/distclean rules.
6359 + modify install-rule for headers to first remove old header, in
6360 case there was a symbolic link that confuses the install script.
6361 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
6362 + add null pointer checks in wnoutrefresh(), overlap() (patch by
6363 Xiaodan Tang <xtang@qnx.com>)
6364 + correct tputs(), which could dereference a null cur_term if invoked
6365 before terminal is initialized (patch by Christopher Seawood
6367 > patch by Juergen Pfeifer:
6368 + makes better use of "pragma Inline" in the Ada95 binding
6369 + resynchronizes the generated html manpages
6372 + additional fixes for man-pages section-references
6373 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
6375 + remove hpa/vpa from rxvt terminal description because they are not
6376 implemented correctly, added sgr0.
6377 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
6378 Leitgeb <leitgeb@leland.stanford.edu>)
6381 + modify protection when installing libraries to (normally) not
6382 executable. HP-UX shared libraries are an exception.
6383 + add configure check for 'tack'.
6384 + implement script for renaming section-references in man-page install,
6385 for Debian configuration.
6386 + add validity-check for SP in trace code in baudrate() (reported by
6388 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
6389 + modify 'overlay()' so that copy applies target window background to
6391 + correct 'mvwin()' so that it does not clear the previous locations.
6392 + correct lib_acs.c so that 8-bit character is not sign expanded in
6393 case of wide characters in chtype.
6394 + correct control-char test in lib_addch.c for use with wide chars
6395 + use attribute in the chtype when adding a control character in
6396 lib_addch.c control char was added with current attribute
6399 + save/restore errno in _tracef() function
6400 + change treatment of initialize_color to use a range of 0..1000
6401 (recommended by Daniel Weaver).
6402 + set umask in mkinstalldirs, fixing problems reported by users who
6403 have set root's umask to 077.
6404 + correct bug in tic that caused capabilities to be reprinted at the
6405 end of output when they had embedded comments.
6406 + rewrote wredrawln to correspond to XSI, and split-out since it is
6407 not often used (from report by Alexander V. Lukyanov, 970825)
6408 + rewrote Dan Nelson's change to make it portable, as well as to
6409 correct logic for handling backslashes.
6410 + add code to _nc_tgetent() to make it work more like a real tgetent().
6411 It removes all empty fields, and removes all but the first in a group
6412 of duplicate caps. The code was pulled from the BSD libtermcap code
6413 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
6414 + don't include --enable-widec in the --with-develop configure option,
6415 since it is not binary-compatible with 4.1 (noted by Alexander V.
6417 > patch by Juergen Pfeifer:
6418 + further improvements of the usage of elaboration pragmas in the Ada95
6420 + enhanced Ada95 sample to use the user_data mechanism for panels.
6421 + a fix for the configuration script to make gnat-3.10 the required
6423 + resync of the html version of the manpages
6426 > fixes/updates for terminfo.src:
6427 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
6429 + add hds200 description (Walter Skorski)
6430 + add EMX 0.9b descriptions
6431 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
6432 + rename xhpterm back to hpterm.
6433 > patch by Juergen Pfeifer:
6434 + Improves the usage of elaboration pragmas for the Ada95 binding.
6435 + Adds a translation of the test/rain.c into Ada95 to the samples.
6436 This has been contributed to the project by Laurent Pautet
6440 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
6442 + correction & simplification of delay computation in tputs, based on
6443 comments from Daniel Weaver.
6444 + replace test for SCO with more precise header tests.
6445 + add configure test for unsigned literals, use in NCURSES_BITS macro.
6446 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
6447 since they probably are not needed, and are less efficient (noted by
6449 + add -L$(libdir) to loader options, after -L../lib so that loaders
6450 that record this information will tend to do the right thing if
6451 the programs are moved around after installing them (suggested by
6453 + add -R option to loader options for programs for Solaris if the
6454 --enable-rpath option is specified for the libraries.
6457 + correct installed filename for shared libraries on *BSD (reported by
6461 + cleanup logic for deciding when tputs() should call delay_output(),
6462 based on comments from Daniel Weaver.
6463 + modified tputs() to avoid use of float.
6464 + correct use of trailpad in tputs(), which used the wrong variable
6465 in call to delay_output().
6466 + correct inverted expression for null-count in delay_output()
6467 (analysis by Daniel Weaver).
6468 + apply --enable-rpath option to Solaris (requested by Larry Virden).
6469 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
6470 + correct check for error-return by _nc_tgetent(), which returns 0
6472 + add configure test for BSD 4.4 cgetent() function, modify
6473 read_termcap.c to use the host's version of that if found, using the
6474 terminal database on FreeBSD (reported by Peter Wemm).
6475 + add u8, u9 strings to sun-il description for Daniel Weaver.
6476 + use NCURSES_CONST in panel's user-pointer.
6477 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
6478 so that will work on NeXT.
6479 + use _nc_set_screen() rather than assignments to SP to fix port to
6480 NeXT (reported by Francisco A. Tomei Torres).
6483 + force mandatory padding in bell and flash_screen, as specified in
6485 + don't allow padding_baud_rate to override mandatory delays (reported
6487 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
6488 defined, or if the cur_term pointer is not initialized. XSI treats
6489 this as unspecified. (requested by Daniel Weaver).
6490 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
6491 when that feature is not configured.
6492 + remove _nc_err_abort() calls when write_entry.c finds a directory but
6493 cannot write to it, e.g., when translating part/all of /etc/termcap
6494 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
6495 (this dates back to 951102, in 1.9.7a).
6496 + minor ifdef fixes to compile with atac and glibc 2.0.5c
6497 + add check for -lgen when configuring regexpr.h
6498 + modify Solaris shared-library option "-d y" to "-dy" to workaround
6499 incompatibility of gcc 2.7.2 vs vendor's tools.
6502 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
6504 + remove dangling backslash in panel/Makefile.in
6505 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
6507 + correct length of allocation in _nc_add_to_try(), to allow for
6509 + correct logic in _nc_remove_key(), which was discarding too many
6510 nodes (patch by Alexander V. Lukyanov)
6513 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
6514 shared libraries link properly (see 970524).
6515 + modify Linux shared-library generation to include library
6516 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
6517 panel libraries (suggested by Juergen Pfeifer).
6518 + modify configure script to use config.guess and config.sub rather
6519 than uname, which is unreliable on some systems.
6520 + updated Makefile.glibc, test-built with glibc 2.0.5c
6521 + modify keyname() to return values consistent with SVr4 curses (patch
6523 > changes requested by Daniel Weaver:
6524 + modify delay_output() so that it uses the same output function as
6525 tputs() if called from that function.
6526 + move _baudrate from SCREEN to TERMINAL so that low-level use of
6527 tputs works when SP is not set.
6528 > patch by Juergen Pfeifer:
6529 + factor lib_menu and lib_form into smaller modules
6530 + clean up the interface between panel and SCREEN
6531 + minor changes to the Ada95 mouse support implemenation
6532 + minor bugfix in C++ binding to ripoff windows
6533 + fix a few Ada95 html documentation pages
6536 + split-out lib_ungetch.c, make runtime link to resizeterm() to
6537 decouple those modules from lib_restart.c
6538 + add xterm-xf86-v39t description to terminfo.src
6539 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
6540 endwin() to avoid unnecessary repainting if the application has
6541 established an atexit function, etc. Encountered this problem in
6542 the c++ demo, whose destructors repaint the screen.
6543 + combine _nc_get_screensize() and resizeterm() calls as new function
6544 _nc_update_screensize().
6545 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
6547 + implement install-rules for Ada95 makefiles.
6548 + use screen_lines or MAXLINES as needed where LINES was coded,
6549 as well as screen_columns for COLS, in the ncurses library.
6550 > patch by Alexander V. Lukyanov:
6551 + modify logic for ripped-off lines to handle several SCREENs.
6552 > patch by Juergen Pfeifer:
6553 + factors lib_slk.c into some smaller modules
6554 + factors panel.c into some smaller modules
6555 + puts the static information about the current panel stack into the
6556 SCREEN structure to allow different panel stacks on different
6558 + preliminary fix for an error adjusting LINES to account for
6562 + move _nc_max_click_interval and other mouse interface items to SCREEN
6563 struct so that they are associated with a single terminal, and also
6564 save memory when the application does not need a mouse (roughly 3k vs
6566 + modify mouseinterval() so that a negative parameter queries the
6567 click-interval without modifying it.
6568 + modify ncurses 'i' test to work with ncurses' apparent extension from
6569 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
6571 + add configure options --with-ada-includes and --with-ada-objects,
6572 to drive Ada95 binding install (not yet implemented).
6573 + install C++ binding as -lncurses++ and associated headers with the
6574 other ncurses headers.
6575 + fix header uninstall if configure --srcdir is used.
6576 > minor interface changes to support 'tack' program -TD
6577 (request by Daniel Weaver <danw@znyx.com>).
6578 + export functions _nc_trans_string() and _nc_msec_cost().
6579 + add variable _nc_nulls_sent, to record the number of padding
6580 characters output in delay_output().
6581 + move tests for generic_type and hard_copy terminals in setupterm()
6582 to the end of that function so that the library will still be
6583 initialized, though not generally useful for curses programs.
6584 > patches by Alexander V. Lukyanov:
6585 + modify ClrBottom() to avoid using clr_eos if there is only one line
6587 + typo in configure --help.
6588 > patch by J T Conklin (with minor resync against Juergen's changes)
6589 + split-out lib_flash.c from lib_beep.c
6590 + split-out lib_hline.c and lib_vline.c from lib_box.c
6591 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
6594 > patch by Juergen Pfeifer:
6595 + correct source/target of c++/edit_cfg.sh
6598 + add color, mouse support to kterm terminfo entry.
6599 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
6600 providing "xterm"-style mouse.
6601 + updated rxvt's terminfo description to correspond to 2.21b, with
6602 fixes for the acsc (the box1 capability is incorrect, ech1 does not
6604 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
6605 an entry from equivalents in XENIX or AIX. This lets ncurses handle
6606 the distribution copy of rxvt's terminfo.
6607 + modify acsc capability for linux and linux-koi8 terminfo descriptions
6608 (from Pavel Roskin <pavel@absolute.spb.su>).
6609 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
6610 rather than 'i' (see 970802).
6611 + updated terminfo.src with reformatted acsc entries, and repaired the
6612 trashed entries with spurious '\' characters that this exposed.
6613 + add logic to dump_entry.c to reformat acsc entries into canonical
6614 form (sorted, unique mapping).
6615 + add configure script to generate c++/etip.h
6616 + add configure --with-develop option, to enable by default most of the
6617 experimental options (requested by Alexander V. Lukyanov).
6618 + rename 'deinstall' to 'uninstall', following GNU convention
6619 (suggested by Alexander V. Lukyanov).
6620 > patches by Alexander V. Lukyanov:
6621 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
6622 line of the screen, since carriage return will not cause a newline.
6623 + remove clause from PutCharLR() that would try to use
6624 eat_newline_glitch since that apparently does not work on some
6625 terminals (e.g., M$ telnet).
6626 + correct a limit check in scroll_csr_backward()
6627 > patches by Juergen Pfeifer:
6628 + adds dummy implementations of methods above() and below() to the
6630 + fixes missing returncode in NCursesWindow::ripoffline()
6631 + fixes missing returncode in TestApplication::run() in demo.cc
6632 + We should at least give a comment in etip.h why it is currently a
6633 problem to install the C++ binding somewhere
6634 + makes the WINDOW* argument of wenclose() a const.
6635 + modifies several of the routines in lib_adabind.c to use a const
6639 + add 'deinstall' rules.
6640 + use explicit assignments in configure --without-progs option to
6641 work around autoconf bug which doesn't always set $withval.
6642 + check for ldconfig, don't try to run it if not found.
6643 + implement simple/unoptimized case in lib_doupdate.c to handle
6644 display with magic cookie glitch, tested with ncurses.c program.
6645 + correct missing _tracef in getmouse(), to balance the returnCode
6647 + simplify show_attr() in ncurses.c using termattrs().
6648 > patches by Juergen Pfeifer:
6649 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
6651 + fixes a typo in a comment of frm_driver.c
6652 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
6653 generics should be compiled. Proper fixes to the configuration
6654 scripts are also provided.
6657 + several modifications to the configure script (requested by Ward
6659 + add configure options --without-progs, to suppress the build of the
6660 utility programs, e.g., for cross-compiling.
6661 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
6662 Makefile.in, to simplify setup for cross compiling.
6663 + add logic in configure script to recognize "--target=vxworks", and
6664 generate load/install actions for VxWorks objects.
6665 + move typedef for sigaction_t into SigAction.h to work around problem
6666 generating lint library.
6667 + modify fty_regex.c to reflect renaming of ifdef's for regular
6669 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
6670 reside in <sys/ioctl.h>.
6671 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
6672 the more obscure tests, which rely upon color.
6673 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
6674 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
6675 implementation difference wrt SVr4 curses, allow 's' test to work.
6676 + add missing endwin() to testscanw.c program (reported by Fausto
6677 Saporito <fausap@itb.it>).
6678 + fixes/updates for Makefile.glibc and related files under sysdeps
6680 > patches by Juergen Pfeifer:
6681 + add checks for null pointers, especially WINDOW's throughout the
6683 + solve a problem with wrong calculation of panel overlapping (reported
6685 + make sure that a panel's window isn't a pad.
6686 + do more error checking in module lib_touch.c
6687 + missing files for Ada95 binding from the last patch
6688 + synch. of generated html pages (RCS-Id's were wrong in html files)
6689 + support for Key_Resize in Ada binding
6690 + changed documentation style in ./c++/cursesm.h
6691 > patches by Alexander V. Lukyanov:
6692 + undo attempt to do recursive inlining for PutChar(), noting that it
6693 did not improve timing measurably, but inflated the size of
6697 + modify rain.c to use color.
6698 + correct scroll_csr_backward() to match scroll_csr_forward().
6699 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
6700 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
6701 of configure cache variables in 970906.
6702 + correct logic involving changes to O_VISIBLE option in
6703 Synchronize_Options function in frm_driver.c (Tony Hoffmann
6704 <Tony.Hoffmann@hia.nrc.ca>)
6705 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
6706 cross compiling (suggested by Chris Johns).
6707 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
6708 use it to support screen-size calculation (reported by Chris Johns).
6709 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
6710 Chris Johns <cjohns@plessey.com.au>)
6711 > patches by Juergen Pfeifer:
6712 + simplified, made minor corrections to Ada95 binding to form
6714 + The C++ binding has been enhanced:
6715 + Improve NCursesWindow class: added additional methods to cover
6716 more ncurses functionality. Make refresh() and noutrefresh()
6717 virtual members to allow different implementation in the
6719 + CAUTION: changed order of parameters in vline() and hline() of
6720 NCursesWindow class.
6721 + Make refresh() in NCursesPanel non-static, it is now a
6722 reimplementation of refresh() in the base class. Added
6723 noutrefresh() to NCursesPanel.
6724 + Added NCursesForm and related classes to support libform
6726 + Moved most of configuration related stuff from cursesw.h to etip.h
6727 + Added NCursesApplication class to support easy configuration of
6728 menu and forms related attributes as well as ripped of title lines
6729 and Soft-Label-Keys for an application.
6730 + Support of Auto-Cleanup for a menu's fieldlist.
6731 + Change of return type for current_item() and operator[] for menus.
6733 + Fixed a bug in form/fld_def.c: take into account that copyarg and
6734 freearg for a fieldtype may be NULL, makearg must not be NULL
6735 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
6736 not be NULL, copyarg and freearg may be NULL.
6737 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
6738 already disconnected.
6739 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
6740 navigation requests.
6741 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
6742 case-insensitiva comparision routine.
6743 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
6744 forms field by index.
6745 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
6747 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
6748 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
6749 broken (didn't handle colors correctly).
6750 + Enhanced lib_mouse.c: added _nc_has_mouse() function
6751 + Added _nc_has_mouse() prototype to curses.priv.h
6752 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
6753 streamlined implementation of wbkgd()
6754 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
6755 move of subwindows. Fixed update behavior of movements of regular
6757 + Fixed lib_pad.c: make chtype argument of pechochar() const.
6758 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
6759 of the original. Subwindows become regular windows by doing a
6761 + Improved manpage form_fieldtype.3x
6762 > patches by Alexander V. Lukyanov:
6763 + simplify the PutChar() handling of exit_am_mode, because we already
6764 know that auto_right_margin is true.
6765 + add a check in PutChar() for ability to insert to the case of
6766 shifting character to LR corner.
6767 + in terminal initialization by _nc_screen_resume(), make sure that
6768 terminal right margin mode is known.
6769 + move logic that invokes touchline(), or does the equivalent, into
6770 _nc_scroll_window().
6771 + modify scrolling logic use of insert/delete line capability, assuming
6772 that they affect the screen contents only within the current
6774 + modify rain.c to demonstrate SIGWINCH handler.
6775 + remove logic from getch() that would return an ERR if the application
6776 called getch() when the cursor was at the lower-right corner of the
6777 physical screen, and the terminal does not have insert-character
6779 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
6780 is read, and modify logic in getch() so this fix will yield the
6781 desired behavior, i.e., the screen is repainted automatically when
6782 the terminal window is resized.
6785 + add configure option --enable-sigwinch
6786 + modify view.c to test KEY_RESIZE logic, with "-r" option.
6787 + modify testcurs.c to eliminate misleading display wrt cursor type
6788 by testing if the terminal supports cnorm, civis, cvvis.
6789 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
6790 _nc_curr_col variables into linked programs: move these variables,
6791 making new modules lib_cur_term and trace_buf (reported by Francisco
6792 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
6793 > patches by Alexander V. Lukyanov:
6794 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
6795 the SIGWINCH handler has been called since the last call to
6797 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
6798 + add SIGWINCH handler to ncurses library which is used if there is no
6799 application SIGWINCH handler in effect when the screen is
6801 + make linked list of all SCREEN structures.
6802 + move curses.h include before definition of SCREEN to use types in
6804 + correction to ensure that wgetstr uses only a newline to force a
6808 + add experimental configure option --enable-safe-sprintf; the normal
6809 mode now allocates a buffer as large as the screen for the
6810 lib_printw.c functions.
6811 + modify wgetch to refresh screen when reading ungetch'd characters,
6812 since the application may require this - SVr4 does this.
6813 + refine treatment of newline in wgetstr to echo only when this would
6814 force the screen to scroll.
6817 + remove override in wgetstr() that forces keypad(), since SVr4 does
6819 + correct y-reference for erasure in wgetstr() when a wrap forces a
6821 + correct x-position in waddch() after a wrap forces a scroll.
6822 + echo newline in wgetstr(), making testscanw.c scroll properly when
6824 + modify vwscanw() to avoid potential buffer overflow.
6825 + rewrote lib_printw.c to eliminate fixed-buffer limits.
6826 > patches by Alexander V. Lukyanov:
6827 + correct an error in handling cooked mode in wgetch(); processing
6828 was in the wrong order.
6829 + simplified logic in wgetch() that handles backspace, etc., by using
6831 + correct wechochar() so that it interprets the output character as
6833 + modify pechochar() to use prefresh() rather than doupdate(), since
6834 the latter does not guarantee immediate refresh of the pad.
6835 + modify pechochar() so that if called with a non-pad WINDOW, will
6836 invoke wechochar() instead.
6837 + modify fifo indices to allow fifo to be longer than 127 bytes.
6840 + add xterm-8bit to terminfo.src
6841 + moved logic for SP->_fifohold inside check_pending() to make it
6842 work properly when we add calls to that function.
6843 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
6844 are assigned to bool values (patch by H.J.Lu).
6845 > patches by Alexander V. Lukyanov:
6846 + several fixes to getch:
6847 1. Separate cooked and raw keys in fifo
6848 2. Fix the case of ungetch'ed KEY_MOUSE
6849 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
6850 4. correctly handle input errors (i.e., EINTR) without loss of raw
6852 5. recognize ESC KEY_LEFT and similar
6853 6. correctly handle the case of receiption of KEY_MOUSE from gpm
6854 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
6855 single mouse events (press/release) to be ignored in favor of
6856 composed events (click). Improves on a fix from integrating gpm
6858 + add another call to check_pending, before scrolling, for
6859 line-breakout optimization
6860 + improve hashmap.c by
6861 1. fixed loop condition in grow_hunks()
6862 2. not marking lines with offset 0
6863 3. fixed condition of 'too far' criteria, thus one-line hunks are
6864 ignored and two lines interchanged won't pass.
6865 + rewrote/simplified _nc_scroll_optimize() by separating into two
6866 passes, forward/backward, looking for chunks moving only in the given
6868 + move logic that emits sgr0 when initializing the screen to
6869 _nc_screen_init(), now invoked from newterm.
6870 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
6871 function and screen cleanup (i.e., color) into _nc_screen_wrap()
6873 + add new functions _nc_screen_init(), _nc_screen_resume() and
6875 + rename _nc_mvcur_scrolln() to _nc_scrolln().
6876 + add a copy of acs_map[] to the SCREEN structure, where it can be
6877 stored/retrieved via set_term().
6878 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
6882 + implement experimental _nc_perform_scroll().
6883 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
6884 initializing the screen, as does SVr4 (reported by Alexander V.
6886 + added test_progs rule to ncurses/Makefile.
6887 + modify test/configure.in to check if initscr is already in $LIBS
6888 before looking for (n)curses library.
6889 + correct version-number in configure script for OSF1 shared-library
6890 options (patch by Tim Mooney).
6891 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
6892 originally patched) since the c++ demo files do not necessarily
6893 include ncurses_cfg.h
6894 + supply default value for --enable-assertions option in configure
6895 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
6896 > patches by Alexander V. Lukyanov:
6897 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
6899 + optimize waddch_literal() and waddch_nosync() by factoring out
6900 common subexpressions.
6901 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
6902 + corrections to render_char(), to make handling of colored blanks
6903 match SVr4 curses, as well as to correct a bug that xor'd space
6904 against the background character.
6905 + replaced hash function with a faster one (timed it)
6906 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
6907 cost_effective() calls on the same lines.
6908 + modified cost_effective() so it is now slightly more precise.
6909 > patches for glibc integration (H.J.Lu):
6910 + add modules define_key, keyok, name_match, tries
6911 + add makefile rules for some of the unit tests in ncurses (mvcur,
6912 captoinfo, hardscroll, hashmap).
6913 + update Linux configure-script for wide-character definitions.
6916 + modify _tracebits() to show the character size (e.g., CS8).
6917 + modify tparm() to emit '\200' where the generated string would have a
6918 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
6919 terminal type ncr7900).
6920 + modify install process so that ldconfig is not invoked if the
6921 package is built with an install-prefix.
6922 + correct test program for chtype size (reported by Tim Mooney).
6923 + add configure option --disable-scroll-hints, using this to ifdef the
6924 logic that computes indices for _nc_scroll_optimize().
6925 + add module ncurses/softscroll.c, to perform single-stage computation
6926 of scroll indices used in _nc_scroll_optimize(). This is faster than
6927 the existing scrolling algorithm, but tends to make too-small hunks.
6928 + eliminate fixed buffer size in _nc_linedump().
6929 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
6930 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
6931 by Alexander V. Lukyanov).
6932 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
6933 + correct processing of "configure --enable-assertions" option (patch
6934 by Juergen Pfeifer).
6937 + add '-s' (single-step) option too test/hashtest.c, correct an error
6938 in loop limit for '-f' (footer option), toggle scrollok() when
6939 writing footer to avoid wrap at lower-right corner.
6940 + correct behavior of clrtoeol() immediately after wrapping cursor,
6941 which was not clearing the line at the cursor position (reported by
6942 Liviu Daia <daia@stoilow.imar.ro>).
6943 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
6944 (reported by Klaus Weide <kweide@tezcat.com>).
6945 + many corrections to make progs/capconvert work, as well as make it
6946 reasonably portable and integrated with ncurses 4.1 (reported by Dave
6947 Furstenau <df@ravine.binary.net>).
6950 + add flag SP->_fifohold, corresponding logic to modify the behavior of
6951 the line breakout logic so that if the application does not read
6952 input, refreshes will not be stopped, but only slowed.
6953 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
6954 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
6955 masks are identical with the A_xxx masks.
6956 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
6957 configuration of wide-characters.
6958 + modify tset to behave more like SVr4's tset, which does not modify
6959 the settings of intr, quit or erase unless they are given as command
6960 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
6961 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
6962 does not have getttynam().
6963 + extend baudrate table in tset.c to match baudrate() function.
6964 + add table entries for 230400 and 460800 bd to baudrate() function.
6965 + improve breakout logic by allowing it before the first line updated,
6966 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
6967 + correct initialization of vcost in relative_move(), for cursor-down
6968 case (patch by Alexander V. Lukyanov).
6969 > nits gleaned from Debian distribution of 1.9.9g-3:
6970 + install symbolic link for intotocap.
6971 + reference libc directly when making shared libraries.
6972 + correct renaming of curs_scr_dmp.3x in man_db.renames.
6973 + guard tgetflag() and other termcap functions against null cur_term
6977 + corrected initial state of software echo (error in 970405, reported
6978 by Alexander V. Lukyanov).
6979 + reviewed/added messages to configure script, so that all non-test
6980 options should be accompanied by a message.
6981 + add configure check for long filenames, using this to determine if
6982 it is safe to allow long aliases for terminal descriptions as does
6984 + add configure options for widec (wide character), hashmap (both
6986 > patch by Alexander V. Lukyanov:
6987 + hashmap.c - improved by heuristic, so that scroll test works much
6988 better when csr is not available.
6989 + hardscroll.c - patched so that it continues to scroll other chunks
6990 after failure to scroll one.
6991 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
6992 is avoided as it is relative costly. Fixed wrong coordinates in one
6993 case and wrong string in TRACE.
6994 > patch by Juergen Pfeifer:
6995 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
6999 + remove alternate character set from kterm terminfo entry; it uses the
7000 shift-out control for a purpose incompatible with curses, i.e., font
7002 + disentangle 'xterm' terminfo entry from some derived entries that
7003 should be based on xterm-r6 instead.
7004 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
7005 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
7006 + correct logic in lib_mvcur.c that uses back_tab.
7009 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
7010 contents of curscr are saved in newscr before clearing the screen.
7011 This is needed to make repainting work with the present logic of
7013 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
7016 + add limit checks to _nc_read_file_entry() to guard against overflow
7017 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
7018 + correct some loop-variable errors in xmc support in lib_doupdate.c
7019 + modify ncurses 'b' test to add gaps, specified by user, to allow
7020 investigation of interaction with xmc (magic cookie) code.
7021 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
7022 list from has_colors(), which gcc ignores, but SVr4 does not
7023 (reported by Larry Virden).
7024 + correct rmso capability in wy50-mc description.
7025 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
7027 > patch by Juergen Pfeifer:
7028 + Add bindings for keyok() and define_key() to the Ada95 packages.
7029 + Improve man pages menu_post.3x and menu_format.3x
7030 + Fix the HTML pages in the Ada95/html directory to reflect the above
7034 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
7035 pending changes to both curscr and newscr are flushed properly.
7036 This fixes a case where the first scrolling operation in nvi would
7037 cause the screen to be cleared unnecessarily and repainted before
7038 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
7040 + correct error in trans_string() which added embedded newlines in a
7041 terminfo description to the stored strings.
7042 + remove spurious newlines from sgr in wyse50 (and several other)
7043 terminfo descriptions.
7044 + add configure option for experimental xmc (magic cookie) code,
7045 "--enable-xmc-glitch". When disabled (the default), attributes that
7046 would store a magic cookie are suppressed in vidputs(). The magic
7047 cookie code is far from workable at this stage; the configuration
7048 option is a stopgap.
7049 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
7050 + correct path for invoking make_keys (a missing "./").
7053 + correct sign-extension problem with "infocmp -e", which corrupted
7054 acsc values computed for linux fallback data.
7055 + correct dependency on ncurses/names.c (a missing "./").
7056 + modify configure script to use '&&' even for cd'ing to existing
7057 directories to work around broken shell interpreters.
7058 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
7062 + restore logic in _nc_scroll_optimize() which marks as touched the
7063 lines in curscr that are shifted.
7064 + add new utility 'make_keys' to compute keys.tries as a table rather
7065 than a series of function calls.
7066 + correct include-dependency for tic.h used by name_match
7067 + removed buffer-allocation for name and description from m_item_new.c,
7068 since this might result in incompatibilities with SVr4. Also fixed
7069 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
7070 report by Avery Pennarun <apenwarr@foxnet.net>)
7071 + removed the mechanism to timestamp the generated Ada95 sources. This
7072 resulted always in generating patches for the HTML doc, even when
7073 nothing really changed (patch by Juergen Pfeifer).
7074 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
7077 + remove ech capability from rxvt description because it does not work.
7078 + add missing case logic for infocmp -I option (reported by Lorenzo M.
7079 Catucci <lorenzo@argon.roma2.infn.it>)
7080 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
7081 caused glitches in the ncurses 'p' test since the area outside the
7082 pad was not compared when setting up indices for _nc_scroll_optimize.
7083 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
7084 4.4, as well as to eliminate fixed-size buffer (reported by Chris
7085 Tanner <tannerc@aecl.ca>)
7086 + correct prototype for termattrs() as per XPG4 version 2.
7087 + add placeholder prototypes for color_set(), erasewchar(),
7088 term_attrs(), wcolor_set() as per XPG4 version 2.
7089 + correct attribution for progs/progs.priv.h and lib_twait.c
7090 + improve line-breakout logic by checking based on changed lines rather
7091 than total lines (patch by Alexander V. Lukyanov).
7092 + correct loop limits for table-lookup of enumerated value in form
7093 (patch by Juergen Pfeifer).
7094 + improve threshhold computation for determining when to call ClrToEOL
7095 (patch by Alexander V. Lukyanov).
7098 + add configure option --disable-database to force the library to
7099 use only the fallback data.
7100 + add configure option --with-fallbacks, to specify list of fallback
7101 terminal descriptions.
7102 + add a symbolic link for ncurses.h during install; too many programs
7103 still assume there's an ncurses.h
7104 + add new terminfo.src entry for xterm-xf86-v33.
7105 + restore terminfo.src entry for emu to using setf/setb, since it is
7106 not, after all, generating ANSI sequences. Corrected missing comma
7107 that caused setf/setb entries to merge.
7108 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
7109 that applications can disable ncurses' mouse and supply their own
7111 + add extensions keyok() and define_key(). These are designed to allow
7112 the user's application better control over the use of function keys,
7113 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
7114 a mailing-list thread started by Kenneth Albanowski
7115 <kjahds@kjahds.com> Nov'1995).
7116 + restore original behavior in ncurses 'g' test, i.e., explicitly
7117 set the keypad mode rather than use the default, since it confuses
7119 + rewrote the newdemo banner so it's readable (reported by Hugh
7121 + tidy up exit from hashtest (reported by Hugh Daniel).
7122 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
7124 + correct tput program, checking return-value of setupterm (patch by
7126 + correct logic in pnoutrefresh() and pechochar() functions (reported
7127 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
7128 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
7129 original implementation (1.9.6).
7130 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
7131 <rwuest@sire.vt.com>)
7132 + move calls of _nc_background() out of various loops, as its return
7133 value will be the same for the whole window being operated on (patch
7135 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
7136 SVr4 headers (patch by J T Conklin <jtc@NetBSD.ORG>)
7137 + modify glibc addon-configure scripts (patch by H.J.Lu).
7138 + correct a bug in hashmap.c: the size used for clearing the hashmap
7139 table was incorrect, causing stack corruption for large values of
7140 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
7141 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
7142 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
7144 > several changes by Juergen Pfeifer:
7145 + correct a missing error-return in form_driver.c when wrapping of a
7146 field is not possible.
7147 + correct logic in form_driver.c for configurations that do not have
7148 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
7149 + change several c++ binding functions to inline.
7150 + modify c++ menu binding to inherit from panels, for proper
7152 + correct freeing of menu items in c++ binding.
7153 + modify c++ binding to reflect removal of const from user data pointer
7154 in forms/menus libraries.
7157 + add description of xterm-16color.
7158 + modify name of shared-library on *BSD to end with $(REL_VERSION)
7159 rather than $(ABI_VERSION) to match actual convention on FreeBSD
7161 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
7162 (reported by Hugh Daniel <hugh@rat.toad.com>).
7163 + corrected include-dependency in menu/Makefile so that "make install"
7164 works properly w/o first doing "make".
7165 + add fallback definition for isascii, used in infocmp.
7166 + modify xmas to use color, and to exit right away when a key is
7168 + modify gdc so that the scrolled digits function as described (there
7169 was no time delay between the stages, and the digits overwrote the
7170 bounding box without tidying up).
7171 + modify lib_color.c to use setaf/setab only for the ANSI color codes
7172 0 through 7. Using 16 colors requires setf/setb.
7173 + modify ncurses 'c' test to work with 16 colors, as well as the normal
7175 + remove const qualifier from user data pointer in forms and menus
7176 libraries (patch by Juergen Pfeifer).
7177 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
7178 function, thereby not interpreting tabs, etc., as per spec (patch by
7179 Alexander V. Lukyanov).
7182 + suppress check for pre-existing ncurses header if the --prefix
7183 option is specified.
7184 + add configure options "--with-system-type" and
7185 "--with-system-release" to assist in checking the generated
7187 + add configure option "--enable-rpath" to allow installers to specify
7188 that programs linked against shared libraries will have their library
7189 path embedded, allowing installs into nonstandard locations.
7190 + add flags to OSF1 shared-library options to specify version and
7191 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
7192 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
7193 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
7194 + modify link flags to accommodate HP-UX linker which embeds absolute
7195 pathnames in executables linked against shared libraries (reported by
7196 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
7197 <ats@hubert.wustl.edu>).
7198 + drop unnecessary check for attribute-change in onscreen_mvcur() since
7199 mvcur() is the only caller within the library, and that check in turn
7200 is exercised only from lib_doupdate.c (patch by Alexander V.
7202 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
7203 can use the background of stdscr as a parameter to that function
7204 (patch by Alexander V. Lukyanov).
7205 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
7206 the latter's internal functions, as well as to eliminate unnecessary
7207 cursor save/restore operations (patch by Alexander V. Lukyanov).
7208 + omit parameter of ClrUpdate(), since it is called only for newscr,
7209 further optimized/reduced by using ClearScreen() and TransformLine()
7210 to get rid of duplicate code (patch by Alexander V. Lukyanov).
7211 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
7212 that are smaller than the distance to be moved (patch by Alexander V.
7214 + correct a place where the panel library was not ifdef'd in ncurses.c
7216 + documentation fixes (Juergen Pfeifer)
7218 970515 4.1 release for upload to prep.ai.mit.edu
7219 + re-tag changes since 970505 as 4.1 release.
7222 + modify ncurses 'g' test to allow mouse input
7223 + modify default xterm description to include mouse.
7224 + modify configure script to add -Wwrite-strings if gcc warnings are
7225 enabled while configuring --enable-const (and fixed related
7227 + add toggle, status display for keypad mode to ncurses 'g' test to
7228 verify that keypad and scrollok are not inherited from parent window
7229 during a call to newwin.
7230 + correction to MKexpanded.sh to make it work when configure --srcdir
7231 is used (reported by H.J.Lu).
7232 + revise test for bool-type, ensuring that it checks if builtin.h is
7233 available before including it, adding test for sizeof(bool) equal
7234 to sizeof(short), and warning user if the size cannot be determined
7235 (reported by Alexander V. Lukyanov).
7236 + add files to support configuration of ncurses as an add-on library
7237 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
7240 + correct buffer overrun in lib_traceatr.c
7241 + modify change to lib_vidattr.c to avoid redundant orig_pair.
7242 + turn on 'echo()' in hanoi.c, since it is initially off.
7243 + rename local 'errno' variable in etip.h to avoid conflict with global
7245 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
7248 970505 4.1 pre-release
7249 + regenerate the misc directory html dumps without the link list, which
7251 + correct dependency in form directory makefile which caused
7252 unnecessary recompiles.
7253 + correct substitution for ABI_VERSION in test-makefile
7254 + modify install rules for shared-library targets to remove the target
7255 before installing, since some install programs do not properly handle
7256 overwrite of symbolic links.
7257 + change order of top-level targets so that 'include' immediate
7258 precedes the 'ncurses' directory, reducing the time between new
7259 headers and new libraries (requested by Larry Virden).
7260 + modify lib_vidattr.c so that colors are turned off only before
7261 modifying other attributes, turned on after others. This makes the
7262 hanoi.c program display correctly on FreeBSD console.
7263 + modify debug code in panel library to print user-data addresses
7264 rather than the strings which they (may) point to.
7265 + add check to ensure that C++ binding and demo are not built with g++
7266 versions below 2.7, since the binding uses templates.
7267 + modify c++ binding and demo to build and run with SGI's c++ compiler.
7268 (It also compiles with the Sun SparcWorks compiler, but the demo does
7269 not link, due to a vtbl problem).
7270 + corrections to demo.cc, to fix out-of-scope variables (Juergen
7274 + correct memory leak in _nc_trace_buf().
7275 + add configure test for regexpr.h, for Unixware 1.x.
7276 + correct missing "./" prefixing names of generated files in ncurses
7278 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
7279 to workaround shell bug on FreeBSD 2.1.5
7280 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
7281 that caused incorrect result in ncurses_cfg.h
7282 + correct initialization in lib_trace.c, which omitted version info.
7283 + remove ech, el1 attributes from cons25w description; they appear to
7284 malfunction in FreeBSD 2.1.5
7285 + correct color attributes in terminfo.src and lib_color.c to match
7286 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
7288 + use curs_set() rather than checks via tigetstr() for test programs
7289 that hide the cursor: firework, rain, worm.
7290 + ensure that if the terminal lacks change_scroll_region, parm_index
7291 and parm_rindex are used only to scroll the whole screen (patch by
7293 + correct curs_set() logic, which did not return ERR if the requested
7294 attributes did not exist, nor did it assume an unknown initial state
7295 for the cursor (patch by Alexander V. Lukyanov).
7296 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
7297 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
7298 + correct hashmap.c, which did not update index information (patch by
7299 Alexander V. Lukyanov).
7300 + fixes for C++ binding and demo (see c++/NEWS) (Juergen Pfeifer).
7301 + correct index in lib_instr.c (Juergen Pfeifer).
7302 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
7303 (patch by Juergen Pfeifer).
7306 + corrected cost computation in PutRange(), which was using
7307 milliseconds compared to characters by adding two new members to the
7308 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
7309 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
7310 const array of strings (suggested by Alexander V. Lukyanov). The
7311 original suggestion in 970118 used a perl script.
7312 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
7313 well as noting the attributes that are not supported by a terminal.
7314 + trace the computation of cost values in lib_mvcur.c
7315 + modify _nc_visbuf() to use octal rather than hex, corrected sign
7316 extension bug in that function that caused buffer overflow.
7317 + modify trace in lib_acs.c to use _nc_visbuf().
7318 + suppress trace within _traceattr2().
7319 + correct logic of _tracechtype2(), which did not account for repeats
7320 or redefinition within an acsc string.
7321 + modify debug-library version baudrate() to use environment variable
7322 $BAUDRATE to override speed computation. This is needed for
7324 + correct problems shown by "weblint -pedantic".
7325 + update mailing-list information (now ncurses@bsdi.com).
7328 + Improve form_field_validation.3x manpage to better describe the
7329 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
7330 precise information how the range checking can be avoided. (patch by
7331 Juergen Pfeifer, reported by Bryan Henderson)
7332 + change type of min/max value of form types TYPE_INTEGER to long to
7333 match SVr4 documentation.
7334 + set the form window to stdscr in set_form_win() so that form_win()
7335 won't return null (patch by Juergen Pfeifer, reported by Bryan
7336 Henderson <bryanh@giraffe.netgate.net>).
7339 + corrected ifdef'ing of inline (cf: 970321) for TRACE vs C++.
7340 + corrected toggle_attr_off() macro (patch by Andries Brouwer).
7341 + modify treatment of empty token in $MANPATH to /usr/man (reported by
7342 <Andries.Brouwer@cwi.nl>)
7343 + modify traces that record functions-called so that chtype and attr_t
7344 values are expressed symbolically, to simplify reuse of generated
7345 test-scripts on SVr4 regression testing.
7346 + add new trace functions _traceattr2() and _tracechtype2()
7349 + add configure option --enable-const, to support the use of 'const'
7350 where XSI should have, but did not, specify. This defines
7351 NCURSES_CONST, which is an empty token otherwise, for strict
7353 + make processing of configure options more verbose by echoing the
7354 --enable/--with values.
7355 + add configure option --enable-big-core
7356 + set initial state of software echo off as per XSI.
7357 + check for C++ builtin.h header
7358 + correct computation of absolute-path for $INSTALL that dropped "-c"
7359 parameter from the expression.
7360 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
7361 ncurses is integrated into larger systems (adapted from diffs by
7363 + correct inequality in lib_doupdate.c that caused a single-char to not
7364 be updated when the char on the right-margin was not blank, idcok()
7365 was true (patch by Alexander V Lukyanov (in 970124), reported
7366 by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> in 970329).
7367 + modify 'clean' rule in include/Makefile so that files created by
7368 configure script are removed in 'distclean' rule instead.
7371 + correct array limit in tparam_internal(), add case to interpret "%x"
7372 (patch by Andreas Schwab)
7373 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
7374 value properly when non-numeric characters were given (reported by
7375 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7378 + move definition of __INTERNAL_CAPS_VISIBLE before include for
7379 progs.priv.h (patch by David MacKenzie).
7380 + add configuration summary, reordered check for default include
7381 directory to better accommodate a case where installer is configuring
7382 a second copy of ncurses (reported by Klaus Weide
7383 <kweide@tezcat.com>)
7384 + moved the #define for 'inline' as an empty token from the
7385 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
7386 (reported by Ward Horner).
7387 + modify test for bool builtin type to use 'unsigned' rather than
7388 'unknown' when cross-compiling (reported by Ward Horner).
7391 + add header dependencies so that "make install.libs" will succeed
7392 even if "make all" is not done first.
7393 + moved some macros from lib_doupdate.c to curses.priv.h to use in
7394 expanded functions with ATAC.
7395 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
7396 the winnstr functions can return more characters than will fit on one
7400 + modify script that generates lib_gen.c to support traces of called &
7402 + add new configure option "--disable-macros", for testing calls within
7404 + corrected logic that screens level-checking of called/return traces.
7407 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
7408 addressing request by Ward Horner.
7409 + check for cross-compiling before trying to invoke the autoconf
7410 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
7411 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
7412 a pointer-increment.
7413 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
7417 + add configure option --enable-expanded, together with code that
7418 implements an expanded form of certain complex macros, for testing
7420 + disable CHECK_POSITION unless --with-assertions is configured
7421 (Alexander V Lukyanov pointed out that this is redundant).
7422 + use keyname() to show traced chtype values where applicable rather
7423 than _tracechar(), which truncates the value to 8-bits.
7424 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
7425 + modify makefiles in progs and test directories to avoid using C
7426 preprocessor options on link commands (reported by Ward Horner)
7427 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
7429 + modify ifdef's to use configure-defined symbols consistently
7430 (reported by Ward Horner)
7431 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
7432 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
7433 + rename struct try to struct tries, to avoid name conflict with C++
7434 (reported by Gary Johnson).
7435 + modify worm.c to hide cursor while running.
7436 + add -Wcast-qual to gcc warnings, fix accordingly.
7437 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
7438 wrapping (Alexander V Lukyanov).
7439 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
7440 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
7441 + extend IRIX configuration to IRIX64
7442 + supply missing install.libs rule needed after restructuring
7446 + modify "make mostlyclean" to leave automatically-generated source
7447 in the ncurses directory, for use in cross-compiles.
7448 + autogenerated object-dependencies for test directory
7449 + add configure option --with-rcs-ids
7450 + modify configuration scripts to generate major/minor/patch versions
7451 (suggested by Alexander V Lukyanov).
7452 + supply missing va_end's in lib_scanw.c
7453 + use stream I/O for trace-output, to eliminate fixed-size buffer
7454 + add TRACE_ICALLS definition/support to lib_trace.c
7455 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
7458 + add/modify traces for called/return values to simplify extraction
7460 + changed _nc_visbuf to quote its result, and to dynamically allocate
7461 the returned buffer.
7462 + invoke ldconfig after installing shared library
7463 + modify install so that overwrite applies to shared library -lcurses
7464 in preference to static library (reported by Zeyd M Ben-Halim 960928).
7465 + correct missing ';' in 961221 mod to overwrite optional use of $(LN_S)
7467 + fixes to allow "make install" to work without first doing a "make
7468 all" (suggested by Larry Virden).
7471 + correct order of #ifdef for TABS_OK.
7472 + instrumented toe.c to test memory-leaks.
7473 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
7474 + include <sys/types.h> in configuration test for regex.h (patch by
7476 + make infocmp recognize -I option, for SVr4 compatibility (reported by
7477 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7480 + add extension 'use_default_colors()', modified test applications that
7481 use default background (firework, gdc, hanoi, knight, worm) to
7483 + correct some limit checks in lib_doupdate.c exposed while running
7485 + use typeCalloc macro for readability.
7486 + add/use definition for CONST to accommodate testing with Solaris
7487 (SVr4) curses, which doesn't use 'const' in its prototypes.
7488 + modify ifdef's in test/hashtest.c and test/view.c to compile with
7490 + modify _tracedump() to pad pad colors & attrs lines to match change
7491 in 970101 showing first/last changes.
7492 + corrected location of terminating null on dynamically allocated forms
7493 fields (patch by Per Foreby).
7496 + added headers to make view.c compile on SCO with the resizeterm()
7497 code (i.e., struct winsize) - though this compiles, I don't have a
7498 suitable test configuration since SIGWINCH doesn't pass my network to
7499 that machine - T.Dickey.
7500 + update test/configure.in to supply some default substitutions.
7501 + modify configure script to add -lncurses after -lgpm to fix problem
7502 linking against static libraries.
7503 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
7505 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
7506 <jbuhler@cs.washington.edu>)
7507 + modify headers to accommodate compilers that don't allow duplicate
7508 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
7510 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
7511 + modify lib_doupdate to make el, el1 and ed optimization use the
7512 can_clear_with macro, and change EmitRange to allow leaving cursor at
7513 the middle of interval, rather than always at the end (patch by
7514 Alexander V Lukyanov). This was originally 960929, resync 970106.
7517 + workaround defect in autoconf 2.12 (which terminates configuration
7518 if no C++ compiler is found) by adding an option --without-cxx.
7519 + modify several man-pages to use tbl, where .nf/.fi was used (reported
7521 + correct font-codes in some man-pages (patch by Jesse Thilo
7522 <Jesse.Thilo@pobox.com>)
7523 + use configure script's knowledge of existence of g++ library for the
7524 c++ Makefile (reported by Paul Jackson).
7525 + correct misleading description of --datadir configuration option
7526 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
7529 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
7531 > the logic for non_dest_scroll_region was interchanged between the
7532 forward & reverse scrolling cases.
7533 > multiple returns from the function allowed certain conditions to do
7534 part of an operation before discovering that it couldn't be
7535 completed, returning an error without restoring the cursor.
7536 > some returns were ERR, where the function had completed the
7537 operation, because the insert/delete line logic was improperly
7538 tested (this was probably the case Peter saw).
7539 > contrary to comments, some scrolling cases were tested after the
7540 insert/delete line method.
7541 + modify _tracedump() to show first/last changes.
7542 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
7543 refresh problem (reported by Peter Wemm) that caused nvi to not show
7544 result of ":r !ls" until a ^L was typed.
7546 961229 (internal alpha)
7547 + correct some of the writable-strings warnings (reported by Gary
7548 Johnson <gjohnson@season.com>). Note that most of the remaining ones
7549 are part of the XSI specification, and can't be "fixed".
7550 + improve include-dependencies in form, menu, panel directories.
7551 + correct logic of delay_output(), which would return early if
7552 there is data on stdin.
7553 + modify interface & logic of _nc_timed_wait() to support 2 file
7554 descriptors, needed for GPM.
7555 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
7556 support, correcting logic in wgetch() and _nc_mouse_parse() which
7557 prevented patch from working properly -TD
7558 + improve performance of panel algorithm (Juergen Pfeifer 961203).
7559 + strip RCS id's from generated .html files in Ada95 subtree.
7560 + resync with generated .html files (Juergen Pfeifer 961223).
7561 + terminfo.src 10.1.0 (ESR).
7564 + release as 4.0 to accommodate Linux ld.so.1.8.5
7565 + correct syntax/spelling, regenerated .doc files from .html using
7567 + refined forms/menus makefiles (Juergen Pfeifer 961223).
7570 + remove logic in read_entry.c that attempts to refine errno by using
7571 'access()' for the directory (from patch by Florian La Roche).
7572 + correct configure test/substitution that inhibits generating
7573 include-path to /usr/include if gcc is used (reported by Florian La
7575 + modify setupterm() to allocate new TERMINAL for each call, just as
7576 solaris' curses does (Alexander V Lukyanov 960829).
7577 + corrected memory leaks in read_entry.c
7578 + add configure options --with-dbmalloc, --with-dmalloc, and
7579 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
7580 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
7582 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
7583 i.e., set current directory before linking.
7584 + split-out panel.priv.h, improve dependencies for forms, menus
7585 (Juergen Pfeifer 961204).
7586 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
7587 freeing the corresponding WINDOW (found using Purify).
7588 + modify delwin() to return ERR if the window to be deleted has
7589 subwindows, needed as a side-effect of resizeterm() (found using
7590 Purify). Tested and found that SVr4 curses behaves this way.
7591 + implement logic for _nc_freeall(), bringing stub up to date.
7594 + modify wbkgd() so that it doesn't set nulls in the rendered text,
7595 even if its argument doesn't specify a character (fixes test case by
7596 Juergen Pfeifer for bug-report).
7597 + set window-attributes in wbkgd(), to simplify comparison against
7598 Solaris curses, which does this.
7601 + replace most constants in ncurses 'o' test by expressions, making it
7602 work with wider range of screen sizes.
7603 + add options to ncurses.c to specify 'e' test softkey format, and the
7604 number of header/footer lines to rip-off.
7605 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
7607 + add shell-out (!) command to ncurses 'p' test to allow test of
7608 resize between endwin/refresh.
7609 + correct line-wrap case in mvcur() by emitting carriage return,
7610 overlooked in 960928, but needed due to SVr4 compatibility changes to
7611 terminal modes in 960907.
7612 + correct logic in wresize that causes new lines to be allocated,
7613 broken for the special case of increasing rows only in 960907's fix
7615 + modify configure script to generate $(LDFLAGS) with -L and -l options
7616 in preference to explicit library filenames. (NOTE: this may
7617 require further amending, since I vaguely recall a dynamic loader
7618 that did not work properly without the full names, but it should be
7619 handled as an exception to the rule, since some linkers do bulk
7620 inclusion of libraries when given the full name - T.Dickey).
7621 + modify configure script to allow user-supplied $CFLAGS to set the
7622 debug-option in all libraries (requested by lots of people) -TD
7623 + use return consistently from main(), rather than exit (reported by
7625 + add --enable-getcap-cache option to configure, normally disabled
7626 (requested by Florian La Roche).
7627 + make configure test for gettimeofday() and possibly -lbsd more
7628 efficient (requested by Florian La Roche <florian@knorke.saar.de>)
7629 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
7630 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
7631 by Alexander V Lukyanov).
7634 + corrected README wrt Ada95 (Juergen Pfeifer)
7637 + integrate resizeterm() into doupdate(), so that if screen size
7638 changes between endwin/refresh, ncurses will resize windows to fit
7639 (this needs additional testing with pads and softkeys).
7640 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
7641 data used in ncurses library.
7642 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
7643 between initscr() and newwin() initialization (reported by
7644 Alexander V Lukyanov).
7645 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
7646 (set beta versions to those values -- NOTE that subsequent pre-4.0
7647 beta may not be interchangeable).
7648 + modify configure script to work with autoconf 2.12
7650 961130 1.9.9g release
7651 + add copyright notices to configuration scripts (written by Thomas
7655 > patch, mostly for panel (Juergen Pfeifer):
7656 + cosmetic improvement for a few routines in the ncurses core library
7657 to avoid warning messages.
7658 + the panel overlap detection was broken
7659 + the panel_window() function was not fool-proof.
7661 + Cosmetic changes (also to avoid warning messages when compiling with
7665 > patch by Juergen Pfeifer:
7666 + eliminates warning messages for the compile of libform.
7667 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
7668 + Updates man page and the Ada95 binding to reflect this.
7669 + Improves inlining in libmenu and libform.
7672 + improve the use of the "const" qualifier in the
7673 panel library (Juergen Pfeifer)
7674 + change set_panel_userptr() and panel_userptr() to use void*
7679 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
7681 + correct initialization of the stdscr pseudo panel in panel library
7683 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
7686 + typo in curs_termcap man page (reported by Hendrik Reichel
7687 <106065.2344@compuserve.com>)
7688 + change default xterm entry to xterm-r6.
7689 + add entry for color_xterm
7692 + lint found several functions that had only #define implementations
7693 (e.g., attr_off), modified curses.h.in to generate them as per XSI
7694 Curses requirement that every macro be available as a function.
7695 + add check in infocmp.c to guard against string compare of
7696 CANCELLED_STRING values.
7697 + modify firework.c, rain.c to hide cursor while running.
7698 + correct missing va_end in lib_tparm.c
7699 + modify hanoi.c to work on non-color terminals, and to use timing
7700 delays when in autoplay mode.
7701 + correct 'echochar()' to refresh immediately (reported by Adrian
7702 Garside <94ajg2@eng.cam.ac.uk>)
7704 + reorganize terminfo.src entries for xterm.
7707 + corrected error in line-breakout logic (lib_doupdate.c)
7708 + modified newdemo to use wgetch(win) rather than getch() to eliminate
7709 a spurious clear-screen.
7710 + corrected ifdef's for 'poll()' configuration.
7711 + added modules to ncurses, form, menu for Ada95 binding (Juergen
7713 + modify set_field_buffer() to allow assignment of string longer than
7714 the initial buffer length, and to return the complete string rather
7715 than only the initial size (Juergen Pfeifer and Per Foreby
7719 + configure for 'poll()' in preference to 'select()', since older
7720 systems are more likely to have a broken 'select()'.
7721 + modified render_char() to avoid OR'ing colors.
7722 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
7723 resize test, use wbkgd and corrected box() parameters.
7724 + make flushinp() test work in ncurses.c by using napms() instead of
7726 + undo ESR's changes to xterm-x11r6 (it no longer matched the X11R6.1
7727 distribution, as stated)
7728 + terminfo 9.13.18 resync (ESR)
7729 + check for getenv("HOME") returning null (ESR).
7730 + change buffer used to decode xterm-mouse commands to unsigned to
7731 handle displays wider than 128 chars (Juergen Pfeifer).
7732 + correct typo curs_outopts.3x (Juergen Pfeifer).
7733 + correct limit-checking in wenclose() (Juergen Pfeifer).
7734 + correction to Peter Wemm's newwin change (Thomas Fehr
7736 + corrections to logic that combines colors and attributes; they must
7737 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
7741 + reset flags in 'getwin()' that might cause refresh to attempt to
7742 manipulate the non-existent parent of a window that is read from a
7743 file (lib_screen.c).
7744 + restructure _nc_timed_wait() to log more information, and to try to
7745 recover from badly-behaved 'select()' calls (still testing this).
7746 + move define for GOOD_SELECT into configure script.
7747 + corrected extra '\' character inserted before ',' in comp_scan.c
7748 + corrected expansion of %-format characters in dump_entry.c; some were
7749 rendered as octal constants.
7750 + modify dump_entry.c to make terminfo output more readable and like
7751 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
7752 comma, "\^" and "\:" as well.
7753 + corrected some memory leaks in ncurses.c, and a minor logic error
7754 in the top-level command-parser.
7755 + correction for label format 4 (PC style with info line), a
7756 slk_clear(), slk_restore() sequence didn't redraw the info line
7758 + modified the slk window (if simulated) to inherit the background and
7759 default character attributes from stdscr (Juergen Pfeifer).
7760 + corrected limit-check in set_top_row (Juergen Pfeifer).
7763 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
7764 had '.lastchar' entry one beyond '._maxx'.
7765 + modify ncurses test-program to work with data piped to it.
7766 + corrected pathname computation in run_tic.sh, removing extra "../"
7767 (reported by Tim Mooney).
7768 + modified configure script to use previous install's location for
7770 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
7774 + revised xterm terminfo descriptions to reflect the several versions
7776 + corrected a pointer reference in dump_entry.c that didn't test if
7780 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
7781 + add -x option to hashtest to control whether it allows writes to the
7783 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
7784 simpler to construct tests (for double-check of _nc_hash_map tests).
7785 + correct ifdef's for c++ in curses.h
7786 + change default xterm type to xterm-x11r6.
7787 + correct quoting in configure that made man-pages installed with
7788 $datadir instead of actual terminfo path.
7789 + correct whitespace in include/Caps, which caused kf11, clr_eol and
7790 clr_end to be omitted from terminfo.5
7791 + fix memory leaks in delscreen() (adapted from Alexander V Lukyanov).
7792 + improve appearance of marker in multi-selection menu (Juergen
7794 + fix behavior for forms with all fields inactive (Juergen Pfeifer)
7795 + document 'field_index()' (Juergen Pfeifer)
7797 + add some more XENIX keycap translations to include/Caps.
7798 + modify newwin to set initial state of each line to 'touched'
7799 (from patch by Peter Wemm <peter@spinner.dialix.com>)
7800 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander V Lukyanov).
7803 + ifdef'd out _nc_hash_map (still slower)
7804 + add graphic characters to vt52 description.
7805 + use PutAttrChar in ClrToEOL to ensure proper background, position.
7806 + simplify/correct logic in 'mvcur()' that does wrapping; it was
7807 updating the position w/o actually moving the cursor, which broke
7809 + ensure that 'doupdate()' sets the .oldindex values back to a sane
7810 state; this was causing a spurious refresh in ncurses 'r'.
7811 + add logic to configure (from vile) to guard against builders who
7812 don't remove config.cache & config.status when doing new builds -TD
7813 + corrected logic for 'repeat_char' in EmitRange (cf: eric #317), which
7814 did not follow the 2-parameter scheme specified in XSI.
7815 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
7816 clearok work properly (report by Michael Elkins).
7817 + corrected problem with endwin introduced by #314 (removing the
7818 scrolling-region reset) that broke ncurses.c tests.
7819 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
7820 <fischman@math.ucla.edu>).
7821 + corrected formatting of terminfo.5 tables (Juergen Ehling)
7824 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
7825 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
7826 + reverse the default o configure --enable-termcap (consensus).
7828 + modified logic for clearok and related functions (from report by
7829 Michael Elkins) - untested
7831 + correction to #317.
7833 + re-add _nc_hash_map
7834 + modify EmitRange to maintain position as per original design.
7835 + add hashtest.c, program to time the hashmap optimization.
7837 + add logic to deal with magic-cookie (how was this tested?)
7839 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
7841 + merged Alexander V Lukyanov's patch to use ech and rep - untested
7843 + modified handling of interrupted system calls - untested
7844 (lib_getch.c, lib_twait.c).
7845 + new function _nc_mvcur_resume()
7846 + fix return value for 'overlay()', 'overwrite()'
7849 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
7851 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
7852 Ehling <eh@eclipse.aball.de>).
7853 + update xterm-color to reflect XFree86 3.1.3G release.
7854 + correct broken dtterm description from #314 patch (e.g., spurious
7855 newline. The 'pairs' change might work, but no one's tested it
7857 + clarify the documentation for the builtin form fieldtypes (Juergen
7860 + reset scroll region on startup rather than at wrapup time
7861 (enhancement suggested by Alexander V Lukyanov).
7862 + make storage of palette tables and their size counts per-screen for
7863 multi-terminal applications (suggested by Alexander V Lukyanov).
7864 + Improved error reporting for infotocap translation errors.
7865 + Update terminfo.src to 9.13.14.
7868 + rewrote wgetstr to make it erase control chars and also fix bogus use
7869 of _nc_outstr which caused the display to not wrap properly (display
7870 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
7871 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
7872 (and split up this screen to accommodate non-ANSI terminals).
7873 + test enter_insert_mode and exit_insert_mode in has_ic().
7874 + removed bogus logic in mvcur that assumes nl/nonl set output modes
7875 (XSI says they are input modes; SVr4 implements this).
7876 + added macros SET_TTY, GET_TTY to term.h
7877 + correct getstr() logic that altered terminal modes w/o restoring.
7878 + disable ICRNL, etc., during initialization to match SVr4, removing
7879 the corresponding logic from raw, cbreak, etc.
7880 + disable ONLCR during initialization, to match SVr4 (this is needed
7881 for cursor optimization when the cursor-down is a newline).
7882 + replaced ESR's imitation of wresize with my original (his didn't
7886 + memory leaks (Alexander V. Lukyanov).
7887 + modified pnoutrefresh() to be more tolerant of too-large screen
7888 size (reported by Michael Elkins).
7889 + correct handling of terminfo files with no strings (Philippe De
7891 + correct "tic -s" to take into account -I, -C options.
7892 + modify ncurses 'f' test to not print codes 80 through 9F, since they
7893 are considered control codes by ANSI terminals.
7896 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
7897 + make "--enable-getcap" configuration-option work (reported by
7898 Peter Wemm <peter@spinner.DIALix.COM>)
7901 + correct err in 960817 that changed return-value of tigetflag()
7902 (reported by Alexander V. Lukyanov).
7903 + modify infocmp to use library default search-path for terminfo
7904 directory (Alexander V. Lukyanov).
7907 + corrected an err in mvcur that broke resizing-behavior.
7908 + correct fall-thru behavior of _nc_read_entry(), which was not finding
7909 descriptions that existed in directories past the first one searched
7910 (reported by Alexander V. Lukyanov)
7911 + corrected typo in dtterm description.
7913 + add dtterm description
7914 + clarify ncurses 'i' test (drop vscanf subtest)
7917 + correct nl()/nonl() to work as per SVr4 & XSI.
7918 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
7919 + refine configure-test for -g option (Tim Mooney).
7920 + correct interaction between O_BLANK and NEW_LINE request in form
7921 library (Juergen Pfeifer)
7924 + revised fix to tparm; previous fix reversed parameter order.
7926 correct terminfo.src corrupted by #310
7928 + fix idlok() and idcok() and the default of the idlok switch.
7931 + corrected tparm to handle capability strings without explicit pop
7932 (reported by William P Setzer)
7933 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
7934 (reported by Tim Mooney).
7936 + documentation and prototyping errors for has_color, immedok and idcok
7937 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
7938 + updated qnx terminfo entry (by Michael Hunter)
7941 + eliminate quoted includes in ncurses subdirectory, ensure config.h
7943 + newterm initializes terminal settings the same as initscr (reported
7947 + call cbreak() in initscr(), as per XSI & SVr4.
7948 + turn off hardware echo in initscr() as per XSI & SVr4
7950 + terminfo changes (9.3.10), from BRL
7951 + add more checks to terminfo parser.
7952 + add more symbols to infocmp.
7955 + save previous-attribute in lib_vidattr.c if SP is null (reported by
7956 Juergen Fluk <louis@dachau.marco.de>)
7957 + corrected calls on _nc_render so that background character is set
7959 + corrected wbkgdset macro (XSI allows background character to be
7960 null), and tests that use it.
7961 + more corrections to terminfo (xterm & rxvt)
7962 + undid change to mcprint prototype (cannot use size_t in curses.h
7963 because not all systems declare it in the headers that we can safely
7965 + move the ifdefs for errno into curses.priv.h
7967 + terminfo changes (9.3.8)
7968 + modified logic of error-reporting in terminfo parser
7971 + always check for <sys/bsdtypes.h> since ISC needs it to declare
7972 fd_set (Juergen Pfeifer)
7973 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
7974 by Juergen Pfeifer, Mike Long)
7975 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
7976 + corrected prototype for delay_output() -- bump ABI to 3.2
7977 + terminfo patches #306/307 (ESR).
7978 + moved logic that filters out rmul and rmso from setupterm to newterm
7979 where it is less likely to interfere with termcap applications.
7982 + rollback ESR's #305 change to terminfo.src (it breaks existing
7983 applications, e.g., 'less 290').
7984 + correct path of edit_man.sh, and fix typo that made all man-pages
7986 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
7987 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
7988 Philippe De Muyter).
7991 + make lib_vidattr.c more readable using macros.
7992 + filter out rmul, rmso that conflict with sgr0 when reading terminal
7994 + added sanity-checking of various paired string attributes (ESR).
7995 + work around autoconf bug, force $INSTALL to absolute path
7997 + modify man-page install for BSDI to install preformatted .0 files
7998 (reported by David MacKenzie).
7999 + add/use gcc __attribute__ for printf and scanf in curses.h
8000 + added SGR attributes test-case to ncurses
8001 + revised ncurses 't' logic to show trace-disable effect in the menu.
8002 + use getopt in ncurses program to process -s and -t options.
8003 + make ncurses 'p' legend toggle with '?'
8004 + disable scrollok during the ncurses 'p' test; if it is enabled the
8005 stdscr will scroll when putting the box-corners in the lower-right
8009 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
8010 terminals with no scrolling-support (reported by Nikolay Shadrin
8011 <queen@qh.mirea.ac.ru>)
8012 + added ^S scrollok-toggle to ncurses 'g' test.
8013 + added ^T trace-toggle to ncurses tests.
8014 + modified ncurses test program to use ^Q or ESC consistently for
8015 terminating tests (rather than ^D), and to use control keys rather
8016 than function keys in 'g' test.
8017 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
8018 (reported by Philippe De Muyter).
8019 + modify lib_doupdate.c to use effective costs to tradeoff between
8020 delete-character/insert-character vs normal updating (reported by
8022 + compute effective costs for screen update operations (e.g., clr_eos,
8024 + corrected error in knight.c exposed by wrap fixes in 960622; the
8025 msgwin needed scrollok set.
8026 + corrected last change to IDcTransformLine logic to avoid conflict
8027 between PutRange and InsStr
8028 + modified run_tic.sh to not use /usr/tmp (reported by David
8029 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
8031 + corrected off-by-one in RoomFor call in read_entry.c
8034 + modified logic that wraps cursor in addch to follow the XSI spec,
8035 (implemented in SVr4) which states that the cursor position is
8036 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
8038 + added -s option to tic, to provide better diagnostics in run_tic.sh
8039 + improved error-recovery for tabset install.
8040 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
8041 _yoffset to WINDOW).
8042 + modified initialization of SP->_ofp so that init_acs() is called with
8043 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
8044 + documentation fixes (Juergen Pfeifer).
8045 + corrected, using new SCREEN and WINDOW members, the behavior of
8046 ncurses if one uses ripoffline() to remove a line from the top of the
8047 screen (Juergen Pfeifer).
8048 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
8049 ncurses (Juergen Pfeifer).
8050 + incorrect buffer-size in _nc_read_entry, reported by ESR.
8053 + corrected two logic errors in read_entry.c, write_entry.c (called by
8054 tic, the write/read of terminfo entries used inconsistent rules for
8055 locating the entries; the $TERMINFO_DIRS code would find only the
8056 first entry in a list).
8057 + refined pathname computation in run_tic.sh and shlib.
8058 + corrected initialization of $IP in misc/run_tic.sh
8061 + ifdef'd out _nc_hash_map() call because it does not improve speed.
8062 + display version of gcc if configure script identifies it.
8063 + modify configure script to use /usr as Linux's default prefix.
8064 + modify run_tic.sh to use shlib script, fixes some problems installing
8065 with a shared-library configuration.
8066 + adjusted configure script so that it doesn't run tests with the
8067 warnings turned on, which makes config.log hard to read.
8068 + added 'lint' rule to top-level Makefile.
8069 + added configure option '--with-install-prefix' for use by system
8070 builders to install into staging locations (requested by
8071 Charles Levert <charles@comm.polymtl.ca>).
8072 + corrected autoconfigure for Debian man program; it's not installed
8074 + set noecho in 'worm'; it was ifdef'd for debug only
8075 + updated test/configure.in for timing-display in ncurses 'p' test
8076 + corrected misspelled 'getbkgd()'.
8077 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
8078 to blank if no character given, copies attributes to window's
8080 + modified lib_doupdate.c to use lower-level SP's current_attr state
8081 instead of curscr's state, since it is redundant.
8082 + correction to IDcTransformLine logic which controls where InsStr is
8083 invoked (refined by Alexander V Lukyanov).
8085 + conditionally include Chris Torek's hash function _nc_hash_map().
8086 + better fix for nvi refresh-bug (Rick Marshall)
8087 + fix for bug in handling of interrupted keystroke waits,
8091 + auto-configure man-page compression-format and renames for Debian.
8092 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
8093 + re-order curses.priv.h for lint.
8094 + added rules for lintlib, lint
8095 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
8096 + corrected missing INSTALL_DATA in misc/Makefile.in
8097 + flush output when changing cursor-visibility (Rick Marshall)
8098 + fix a minor bug in the _nc_ripoff() routine and improve error
8099 checking when creating the label window (Juergen Pfeifer).
8100 + enhancement to the control over the new PC-style soft key format.
8101 allow caller now to select whether or not one wants to have
8102 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
8103 + typos, don't use inline with -g (Philippe De Muyter)
8104 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
8107 + removed --with-ticdir option altogether, maintain compatibility with
8108 existing applications via symbolic link in run_tic.sh
8109 + patch for termio.h, signal (Philippe De Muyter)
8110 + auto-configure gcc warning options rather than infer from version.
8111 + auto-configure __attribute__ for different gcc versions.
8112 + corrected special use of clearok() in hardscroll.c by resetting flag
8114 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
8115 + include sys/types.h in case stdlib.h does not declare size_t.
8116 + fixes for makefile (Tim Mooney)
8117 + fixes for menus & forms (Juergen Pfeifer)
8120 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
8121 + refined case in lib_doupdate.c for ClrToEOL().
8122 + corrected prior change for PutRange (Alexander V Lukyanov
8123 <lav@yars.free.net>).
8124 + autoconf mods (Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>).
8125 + locale fix for forms (Philippe De Muyter <phdemuyt@ulb.ac.be>)
8126 + renamed "--with-datadir" option to "--with-ticdir" to avoid
8127 confusion, and made this check for the /usr/lib/terminfo pre-existing
8129 > patches 299-301 (ESR):
8131 + mods to tracing, especially for ACS chars.
8132 + corrected off-by-one in IDCtransform.
8133 + corrected intermittent mouse bug by using return-value from read().
8134 + mods to parse_entry.c, for smarter defaults.
8137 + use getopt in 'tic'; added -L option and modified -e option to allow
8141 + don't use fixed buffer-size in tparm().
8142 + modified tic to create terminfo directory if it doesn't exist.
8143 + added -T options to tic and infocmp (for testing/analysis)
8144 + refined the length criteria for termcap and terminfo
8145 + optimize lib_doupdate with memcpy, PutRange
8146 > patches 297, 298 (ESR):
8147 + implement TERMINFO_DIRS, and -o option of tic
8148 + added TRACE_IEVENT
8149 + removed boolean version of 'getm'
8150 + added lib_print.c (for Rick Marshall)
8152 + added 't' to ncurses.c test.
8153 + moved delay_output() to lib_tputs.c
8154 + removed tparam() (was added in 1.9.9, but conflicts with emacs and
8155 is not part of X/Open Curses).
8156 + misc cursor & optimization fixes.
8159 + modified ncurses 'p' test to allow full-screen range for panner size.
8160 + fixes for locale (Philippe De Muyter <phdm@labauto1.ulb.ac.be>)
8161 + don't use fixed buffer-size in fmt_entry().
8162 + added usage-message to 'infocmp'.
8163 + modified install.includes rules to prepend subdirectory-name to
8164 "#include" if needed.
8167 + protect wrefresh, wnoutrefresh from invocation with pad argument.
8168 + corrected default CCFLAGS in test/Makefile.
8171 + implemented logic to support terminals with background color erase
8172 (e.g., rxvt and the newer color xterm).
8173 + improved screen update logic (off-by-one logic error; use clr_eos if
8177 + change ncurses 'a' test to run in raw mode.
8178 + make TIOCGWINSZ configure test less stringent, in case user
8179 configures via terminal that cannot get screen size.
8180 > patches 295, 296 (ESR):
8181 + new "-e" option of tic.
8182 + fix for "infocmp -e".
8183 + restore working-directory in read_termcap.c
8184 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
8185 overhead for programs that use only termcap features.
8189 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
8190 definitions via <termios.h>, modified macros in lib_raw.c to avoid
8191 K&R-style substitution)
8192 > patches 293, 294 (ESR):
8193 + mods to wgetch() in cooked mode
8194 + corrected askuser() logic in tset
8195 + correct interaction of endwin() with mouse processing
8196 + added trace support for TTY flags
8199 + fixes for NeXT, ISC and HPUX auto-configure
8200 + autogenerate development header-dependencies (config.h, *.priv.h)
8201 + corrected single-column formatting of "use=" (e.g., in tic)
8202 + modify tic to read full terminfo-names
8203 + corrected divide-by-zero that caused hang (or worse) when redirecting
8205 + modify tic to generate directories only as-needed (and corrected
8206 instance of use of data from function that had already returned).
8208 ### ncurses-1.9.8a -> 1.9.9e
8210 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
8211 copy-changed-lines behavior.
8212 * added and documented wresize() function.
8213 * more fixes to LOWER-RIGHT corner handling.
8214 * changed the line-breakout optimization code to allow some lines to be
8215 emitted before the first check.
8216 * added option for tic to use symbolic instead of hard links (for AFS)
8217 * fix to restore auto-wrap mode.
8218 * trace level can be controlled by environment variable.
8219 * better handling of NULs in terminal descriptions.
8220 * improved compatibility with observed SVR4 behavior.
8221 * the refresh behavior of over-lapping windows is now more efficient and
8223 * use autoconf 2.7, which results in a working setup for SCO 5.0.
8224 * support for ESCDELAY.
8225 * small fixes for menu/form code.
8226 * the test directory has its own configure.
8227 * fixes to pads when optimizing scrolling.
8228 * fixed several off-by-one bugs.
8229 * fixes for termcap->terminfo translation; less restrictions more correct
8232 ### ncurses-1.9.7 -> 1.9.8a
8234 * teach infocmp -i to recognize ECMA highlight sequences
8235 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
8236 * support infocmp -RBSD.
8237 * satisfy XSI Curses requirement that every macro be available as a function.
8238 * This represents the last big change to the public interface of ncurses. The
8239 ABI_VERSION has now been set at 3.0 and should stay there barring any great
8240 catastrophies or acts of God.
8241 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
8243 * libncurses now gets linked to libcurses to help seamless emulation
8244 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
8247 ### ncurses-1.9.6 -> 1.9.7
8249 * corrected return values of setupterm()
8250 * Fixed some bugs in tput (it does padding now)
8251 * fixed a bug in tic that made it do the wrong thing on entries with more than
8252 one `use' capability.
8253 * corrected the screen-size calculation at startup time to alter the
8254 numeric capabilities as per SVr4, not just LINES and COLS.
8255 * toe(1) introduced; does what infocmp -T used to.
8256 * tic(1) can now translate AIX box1 and font[0123] capabilities.
8257 * tic uses much less core, the dotic.sh kluge can go away now.
8258 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
8259 * Add $HOME/.terminfo as source/target directory for terminfo entries.
8260 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
8261 * added -h option to toe(1).
8262 * added -R option to tic(1) and infocmp(1).
8263 * added fallback-entry-list feature.
8264 * added -i option to infocmp(1).
8265 * do a better job at detecting if we're on SCO.
8267 ### ncurses-1.9.5 -> 1.9.6
8269 * handling of TERMCAP environment variables now works correctly.
8270 * various changes to shorten termcap translations to less that 1024 chars.
8272 * mouse support for xterm.
8273 * most data tables are now const and accordingly live in shareable text space.
8274 * Obey the XPG4/SVr4 practice that echo() is initally off.
8275 * tic is much better at translating XENIX and AIX termcap entries now.
8276 * tic can interpret ko capabilities now.
8277 * integrated Juergen Pfeifer's forms library.
8278 * taught write_entry() how not to write more than it needs to; this change
8279 reduces the size of the terminfo tree by a full 26%!
8280 * infocmp -T option added.
8281 * better warnings about historical tic quirks from tic.
8283 ### ncurses 1.9.4 -> 1.9.5
8285 * menus library is now included with documentation.
8286 * lib_mvcur has been carefully profiled and tuned.
8287 * Fixed a ^Z-handling bug that was tanking lynx(1).
8288 * HJ Lu's patches for ELF shared libraries under Linux
8289 * terminfo.src 9.8.2
8290 * tweaks for compiling in seperate directories.
8291 * Thomas Dickey's patches to support NeXT's brain-dead linker
8292 * Eric Raymond's patches to fix problems with long termcap entries.
8293 * more support for shared libraries under SunOS and IRIX.
8295 ### ncurses 1.9.3 -> 1.9.4
8297 * fixed an undefined-order-of-evaluation bug in lib_acs.c
8298 * systematically gave non-API public functions and data an _nc_ prefix.
8299 * integrated Juergen Pfeifer's menu code into the distribution.
8300 * totally rewrote the knight test game's interface
8302 ### ncurses 1.9.2c -> 1.9.3
8304 * fixed the TERMCAP_FILE Support.
8305 * fixed off-by-one errors in scrolling code
8306 * added tracemunch to the test tools
8307 * took steps to cut the running time of make install.data
8309 ### ncurses 1.9.2c -> 1.9.2d
8311 * revised 'configure' script to produce libraries for normal, debug,
8312 profile and shared object models.
8314 ### ncurses 1.9.1 -> 1.9.2
8316 * use 'autoconf' to implement 'configure' script.
8317 * panels support added
8318 * tic now checks for excessively long termcap entries when doing translation
8319 * first cut at eliminating namespace pollution.
8321 ### ncurses 1.8.9 -> 1.9
8323 * cleanup gcc warnings for the following: use size_t where 'int' is not
8324 appropriate, fixed some shadowed variables, change attr_t to compatible with
8325 chtype, use attr_t in some places where it was confused with 'int'.
8326 * use chtype/attr_t casts as appropriate to ensure portability of masking
8328 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
8329 * supplied missing prototypes in curses.h
8330 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
8331 are consistent (they weren't).
8332 * corrected prototype of tputs in <termcap.h>
8333 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
8334 that may be out of bounds on the stack) -- Purify found this.
8335 * ensure that TRACE is defined in lib_trace.c (to solve prototype
8337 * corrected scrolling-region size in 'mvcur_wrap()'
8338 * more spelling fixes
8339 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
8340 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
8341 core in init_acs()).
8342 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
8345 ### ncurses 1.8.8 -> 1.8.9
8347 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
8348 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
8349 non-portable use of "%x" for pointers, or for chtype data (which is declared
8351 * modified doupdate to ensure that typahead was turned on before attempting
8352 select-call (otherwise, some implementations hang).
8353 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
8354 resolution of traces.
8355 * improved bounds checking on several critical functions.
8356 * the data directory has been replaced by the new master terminfo file.
8357 * -F file-comparison option added to infocmp.
8358 * compatibility with XSI Curses is now documented in the man bages.
8359 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
8361 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
8362 memory_above, memory_below, and hard_copy are now used properly.
8363 * cursor-movement optimization has been completely rewritten.
8364 * vertical-movement optimization now uses hardware scrolling, il, dl.
8366 ### ncurses 1.8.7 -> 1.8.8
8367 * untic no longer exists, infocmp replaces it.
8368 * tic can understand termcap now, especially if it is called captoinfo.
8369 * The Linux Standard Console terminfo entry is called linux insead of console.
8370 It also uses the kernel's new method of changing charsets.
8371 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
8372 you try to run on an undefined terminal.
8373 * I can get things running on AIX but tic can't compile terminfo. I have to
8374 compile entries on another machine. Volunteers to hunt this bug are welcome.
8375 * wbkgd() and wbkgdset() can be used to set a windows background to color.
8376 wclear()/werase() DO NOT use the current attribute to clear the screen.
8377 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
8378 though PDCurses 2.2 has been fixed.
8379 * cleaned up the test/ directory.
8380 * test/worm will segfault after quite a while.
8381 * many spelling corrections courtesy of Thomas E. Dickey
8383 ### ncurses 1.8.6 -> 1.8.7
8384 * cleaned up programs in test/ directory.
8385 * fixed wbkgdset() macro.
8386 * modified getstr() to stop it from advancing cursor in noecho mode.
8387 * modified linux terminfo entry to work with the latest kernel to get
8388 the correct alternate character set.
8389 * also added a linux-mono entry for those running on monochrome screens.
8390 * changed initscr() so that it behaves like the man page says it does.
8391 this fixes the problem with programs in test/ crashing with SIGSEV if
8392 a terminal is undefined.
8393 * modified addch() to avoid using any term.h #define's
8394 * removed duplicate tgoto() in lib_tparm.c
8395 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
8396 * modified delwin() to correctly handle deleting subwindows.
8397 * fixed Makefile.dist to stop installing an empty curses.h
8398 * fixed a couple of out-of-date notes in man pages.
8400 ### ncurses 1.8.5 -> 1.8.6
8401 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
8402 * The handling of attributes has been improved and now does not turn off color
8403 if other attributes are turned off.
8404 * scrolling code is improved. Scrolling in subwindows is still broken.
8405 * Fixes to several bugs that manifest them on platforms other than Linux.
8406 * The default to meta now depends on the status of the terminal when ncurses
8408 * The interface to the tracing facility has changed. Instead of the pair of
8409 functions traceon() and traceoff(), there is just one function trace() which
8410 takes a trace mask argument. The trace masks, defined in curses.h, are
8413 #define TRACE_DISABLE 0x00 /* turn off tracing */
8414 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
8415 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
8416 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
8418 More trace masks may be added, or these may be changed, in future releases.
8419 * The pad code has been improved and the pad test code in test/ncurses.c has
8421 * The prototype ansi entry has been changed to work with a wider variety
8423 * Fix to the prototype ansi entry that enables it to work with PC emulators
8424 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
8425 break operation with any emulators.
8426 * There are now working infocmp, captoinfo, tput, and tclear utilities.
8427 * tic can now compile entries in termcap syntax.
8428 * Core-dump bug in pnoutrefresh fixed.
8429 * We now recognize and compile all the nonstandard capabilities in Ross
8430 Ridge's mytinfo package (rendering it obsolete).
8431 * General cleanup and documentation improvements.
8432 * Fixes and additions to the installation-documentation files.
8433 * Take cursor to normal mode on endwin.
8435 ### ncurses 1.8.4 -> 1.8.5
8436 * serious bugs in updating screen which caused erratic non-display,
8438 * fixed initialization for getch() related variable which cause
8439 unpredictable results.
8440 * fixed another doupdate bug which only appeared if you have
8442 * implemented redrawln() and redrawwin().
8443 * implemented winsnstr() and related functions.
8444 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
8445 * changed Makefile.dist so that installation of man pages will
8446 take note of the terminfo directory.
8447 * fixed Configure (removed the mysterious 'X').
8448 * Eric S. Raymond fixed the script.* files so that they work with
8451 #### ncurses 1.8.3 -> 1.8.4 #### ####
8452 * fixed bug in refreshing the screen after return from shell_mode.
8453 There are still problems but they don't manifest themselves on
8454 my machine (Linux 0.99.14f).
8455 * added wgetnstr() and modified things accordingly.
8456 * fixed the script.src script.test to work with awk not just gawk.
8457 * Configure can now take an argument of the target system.
8458 * added test/ncurses.c which replaces several other programs and
8459 performs more testing.
8460 [Thanks to Eric S Raymond for the last 4]
8461 * more fixes to lib_overlay.c and added test/over.c to illustrate
8463 * fixed ungetch() to take int instead of ch.
8464 * fixes to cure wgetch() if flushinp() is called.
8466 One note I forgot to mention in 1.8.3 is that tracing is off by
8467 default starting in the version. If you want tracing output, put
8468 traceon(); in your code and link with -ldcurses.
8470 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
8472 1) The order of capabilities has been changed in order to achieve
8473 binary compatibility with SVR4 terminfo database. This has the
8474 unfortunate effect of breaking application currently linked with
8475 ncurses. To ensure correct behavior, recompile all such programs.
8476 Most programs using color or newer capabilities will break, others
8477 will probably continue to work ok.
8479 2) Pavel Curtis has renounced his copyright to the public domain.
8480 This means that his original sources (posted to comp.sources.unix,
8481 volume 1) are now in the public domain. The current sources are
8482 NOT in the public domain, they are copyrighted by me. I'm
8483 entertaining ideas on what the new terms ncurses is released under.
8485 3) Eric S. Raymond has supplied a complete set of man pages for
8486 ncurses in ?roff format. They will eventually replace most of the
8487 current docs. Both sets are included in this release.
8489 Other changes and notes from 1.8.2 include:
8490 * SIGSEGV during scrolling no longer occurs.
8491 * Other problems with scrolling and use of idl have been corrected.
8492 * lib_getch.c has been re-written and should perform flawlessly.
8493 please use test/getch.c and any other programs to test this.
8494 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
8495 changed accordingly.
8496 * I've added support for terminals that scroll if you write in the
8497 bottom-right corner.
8498 * fixed more bugs in pads code. If anybody has a program that uses
8499 pads I'd love a copy.
8500 * correct handling for terminal with back_color_erase capability
8501 (such as Linux console, and most PC terminals)
8502 * ^Z handling apparently didn't work (I should never trust code
8503 sent me to me without extensive testing). It now seems to be
8504 fixed. Let me know if you have problems.
8505 * I've added support for Apollo and NeXT, but it may still be
8506 incomplete, especially when dealing with the lack of POSIX
8508 * scrolling should be more efficient on terminals with idl
8509 capabilities. Please see src/lib_scroll.c for more notes.
8510 * The line drawing routines were offset by 1 at both ends. This
8512 * added a few missing prototypes and macros (e.g. setterm())
8513 * fixed code in src/lib_overlay.c which used to crash.
8514 * added a few more programs in test/ The ones from the PDCurses
8515 package are useful, especially if you have SVR4 proper. I'm
8516 interested in the results you get on such a systems (Eric? ;-).
8517 They already exposed certain bugs in ncurses.
8518 * See src/README for porting notes.
8519 * The C++ code should really replace ncurses.h instead of working
8520 around it. It should avoid name-space clashes with nterm.h (use
8521 rows instead of lines, etc.)
8522 * The C++ should compile ok. I've added explicit rules to the
8523 Makefile because no C++ defaults are documented on the suns.
8524 * The docs say that echo() and nocbreak() are mutually exclusive.
8525 At the moment ncurses will switch to cbreak() if the case above
8526 occurs. Should it continue to do so? How about echo() and noraw()?
8527 * PDCurses seem to assume that wclear() will use current attribute
8528 when clearing the screen. According to Eric this is not the case
8530 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
8531 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
8532 * I've also found out that the src/script.* rely on gawk and will not
8533 work with stock awk or even with nawk. Any changes are welcome.
8534 * Linux is more tolerant of NULL dereferences than most systems. This
8535 fact was exposed by hanoi.
8536 * ncurses still seems inefficient in drawing the screen on a serial
8537 link between Linux and suns. The padding may be the culprit.
8538 * There seems to be one lingering problem with doupdate() after shelling
8539 out. Despite the fact the it is sending out the correct information
8540 to the terminal, nothing takes effect until you press ^L or another
8541 refresh takes place. And yes, output does get flushed.
8543 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
8545 * added support for SVR4 and BSDI's BSD/386.
8546 * major update and fix to scrolling routine.
8547 * MORE fixes to stuff in lib_getch.c.
8548 * cleaned-up configuration options and can now generate
8549 Config.* files through an awk script.
8550 * changed setupterm() so it can be called more than once,
8551 add added set_curterm(), del_curterm().
8552 * a few minor cleanups.
8553 * added more prototypes in curses.h
8555 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
8557 * added support for NeXTStep 3.0
8558 * added termcap emulation (not well tested).
8559 * more complete C++ interface to ncurses.
8560 * fixed overlay(), overwrite(), and added copywin().
8561 * a couple of bug fixes.
8562 * a few code cleanups.
8564 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
8566 * The annoying message "can't open file." was due to missing
8567 terminfo entry for the used terminal. It has now been
8568 replaced by a hopefully more helpful message.
8569 * Problems with running on serial lines are now fixed.
8570 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
8571 386bsd/BSDI (if you have others send'em to me)
8573 * The documentation in manual.doc is now more uptodate.
8574 * update optimization and support for hp terminals, and 386bsd
8576 * mvcur optimization for terminals without cursor addressing
8577 (doesn't work on Linux)
8578 * if cursor moved since last update, getch() will refresh the
8579 screen before working.
8580 * getch() & alarm() can now live together. in 0.7.3 a signal
8581 interrupted getch() (bug or feature?) now the getch is
8583 * scanw() et all were sick, now fixed.
8584 * support for 8-bit input (use meta()).
8585 * added default screen size to all terminfos.
8586 * added c++ Ncursesw class.
8587 * several minor bug fixes.
8589 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
8591 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
8592 * more fixes to lib_getch.c
8593 * changes related to Config
8595 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
8597 * docs updated slightly (color usage is now documented).
8598 * yet another fix for getch(), this one fixes problems with ESC being swallowed
8599 if another character is typed before the 1 second timeout.
8600 * Hopefully, addstr() and addch() are 8-bit clean.
8601 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
8602 * order of capabilities changed to reflect that specified in SYSV
8603 this will allow for binary-compatibility with existing terminfo dbs.
8605 * fixed problems with asc_init()
8606 * added A_PROTECT and A_INVIS
8607 * cleaned up vidputs()
8608 * general cleanup of the code
8609 * more attention to portability to other systems
8610 * added terminfos for hp70092 (wont work until changes to lib_update.c are
8611 made) and 386BSD pcvt drivers.
8613 Thanks to Hellmuth Michaelis for his help.
8614 optimization code is slated for the next major release, stay tuned!
8616 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
8617 Please note that the next release will be called 1.8. If you want to know about
8618 the rationale drop me a line.
8620 Included are several test programs in test/.
8621 I've split up the panels library, reversi, tetris, sokoban. They are now
8622 available separately from netcom.com:pub/zmbenhal/
8624 * color and ACS support is now fully compatible with SYSV at the terminfo
8626 * Capabilities now includes as many SYSV caps I could find.
8627 * tigetflag,tigetnum,tigetstr functions added.
8628 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
8629 strnames, strfnames, strcodes arrays are now added.
8630 * keyname() is added.
8631 * All function keys can be defined in terminfo entries.
8632 * fixed lin_tparm.c to behave properly.
8633 * terminfo entries for vt* and xterm are included (improvements are welcome)
8634 * more automation in handling caps and keys.
8635 * included fixes from 0.6.1
8636 * added a few more missing functions.
8637 * fixed a couple of minor bugs.
8638 * updated docs JUST a little (still miles behind in documenting the newer
8641 #### ncurses 0.6 -> ncurses 0.61 ####
8643 1) Included the missing data/console.
8645 2) allow attributes when drawing boxes.
8647 3) corrected usage of win->_delay value.
8649 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
8650 simply return the last character in the sequence. The correct
8651 behavior is to return the entire sequence one character at a time.
8653 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
8654 * removed _numchngd from struct _win_st and made appropriate changes.
8655 * rewritten kgetch() to remove problems with interaction between alarm and
8656 read(). It caused SIGSEGV every now and then.
8657 * fixed a bug that miscounted the numbers of columns when updating.
8658 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
8659 * fixed a bug that cause the lower-right corner to be incorrect.
8660 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
8661 * made resize() and cleanup() static to lib_newterm.c
8662 * added notimeout().
8663 * added timeout() define in curses.h
8664 * added more function prototypes and fixed napms.
8666 * moved screen size detection to lib_setup.c.
8667 * fixed newterm() to confirm to prototype.
8668 * removed SIGWINCH support as SYSV does not define its semantics.
8669 * cleaned-up lib_touch.c
8670 * added waddnstr() and relatives.
8671 * added slk_* support.
8672 * fixed a bug in wdeleteln().
8673 * added PANEL library.
8674 * modified Makefile for smoother installation.
8675 * terminfo.h is really term.h
8677 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
8678 * changed _win_st structure to allow support for missing functionality.
8679 * Addition of terminfo support for all KEY_*.
8680 * Support for nodelay(), timeout(), notimeout().
8681 * fixed a bug with the keypad char reading that did not return ESC until
8682 another key is pressed.
8683 * nl mapping no longer occur on output (as should be)
8684 fixed bug '\n' no causing a LF.
8685 * fixed bug that reset terminal colors regardless of whether we use color
8687 * Better support for ACS (not quite complete).
8688 * fixed bug in wvline().
8690 * changed from signal() to sigaction().
8691 * re-included the contents of important.patch into source.
8693 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
8694 * Addition of more KEY_* definitions.
8695 * Addition of function prototypes.
8696 * Addition of several missing functions.
8697 * No more crashes if screen size is undefined (use SIGWINCH handler).
8698 * added a handler to cleanup after SIGSEGV (hopefully never needed).
8699 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
8700 * renamed compile/dump to tic/untic.
8701 * New scrolling code.
8702 * fixed bug that reversed the sense of nl() and nonl().
8704 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
8705 * more support for color and graphics see test/ for examples.
8706 * fixed various files to allow correct update after shelling out.
8707 * more fixes for updates.
8708 * no more core dumps if you don't have a terminfo entry.
8709 * support for LINES and COLUMNS environment variables.
8710 * support for SIGWINCH signal.
8711 * added a handler for SIGINT for clean exits.
8713 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
8714 * support for color.
8715 * support for PC graphic characters.
8716 * lib_trace.c updated to use stdarg.h and vprintf routines.
8717 * added gdc.c (Great Digital Clock) as an example of using color.
8719 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
8720 * replacing sgtty stuff by termios stuff.
8721 * ANSIfication of some functions.
8722 * Disabling cost analysis 'cause it's incorrect.
8723 * A quick hack for a terminfo entry.