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.1339 2008/12/13 21:02:18 tom Exp $
29 -------------------------------------------------------------------------------
31 This is a log of changes that ncurses has gone through since Zeyd started
32 working with Pavel Curtis' original work, pcurses, in 1992.
34 Changes through 1.9.9e are recorded by Zeyd M Ben-Halim.
35 Changes since 1.9.9e are recorded by Thomas E Dickey.
37 Contributors include those who have provided patches (even small ones), as well
38 as those who provide useful information (bug reports, analyses). Changes with
39 no cited author are the work of Thomas E Dickey (TD).
41 A few contributors are given in this file by their initials.
42 They each account for one percent or more of the changes since 1.9.9e.
43 See the AUTHORS file for the corresponding full names.
45 Changes through 1.9.9e did not credit all contributions;
46 it is not possible to add this information.
49 + add check for failure to open hashed-database needed for db4.6
51 + corrected --without-manpages option; previous change only suppressed
52 the auxiliary rules install.man and uninstall.man
53 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from
55 + fixes from NetBSD port at
56 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches
57 patch-ac (build-fix for DragonFly)
58 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config).
59 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH
60 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the
62 + correct title string for keybound manpage (patch by Frederic Culot,
63 OpenBSD documentation/6019),
66 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to
67 work for progs/clear, progs/tabs, etc.
68 + correct buffer-size after internal resizing of wide-character
69 set_field_buffer(), broken in 20081018 changes (report by Mike Gran).
70 + add "-i" option to test/filter.c to tell it to use initscr() rather
71 than newterm(), to investigate report on comp.unix.programmer that
72 ncurses would clear the screen in that case (it does not - the issue
73 was xterm's alternate screen feature).
74 + add check in mouse-driver to disable connection if GPM returns a
75 zero, indicating that the connection is closed (Debian #506717,
76 adapted from patch by Samuel Thibault).
79 + improve a workaround in adding wide-characters, when a control
80 character is found. The library (cf: 20040207) uses unctrl() to
81 obtain a printable version of the control character, but was not
82 passing color or video attributes.
83 + improve test/ncurses.c 'a' test, using unctrl() more consistently to
84 display meta-characters.
85 + turn on _XOPEN_CURSES definition in curses.h
86 + add eterm-color entry (report by Vincent Lefevre) -TD
87 + correct use of key_name() in test/ncurses.c 'A' test, which only
88 displays wide-characters, not key-codes since 20070612 (report by
92 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and
93 Ada95 (patch by Juergen Pfeifer).
94 + document in TO-DO an issue with Cygwin's package for GNAT (report
96 + improve error-checking of command-line options in "tabs" program.
99 + change several terminfo entries to make consistent use of ANSI
101 + add "tabs" program (prompted by Debian #502260).
102 + add configure --without-manpages option (request by Mike Frysinger).
104 20081102 5.7 release for upload to ftp.gnu.org
107 + add a manpage to discuss memory leaks.
108 + add support for shared libraries for QNX (other than libtool, which
109 does not work well on that platform).
110 + build-fix for QNX C++ binding.
113 + build-fixes for OS/2 EMX.
114 + modify form library to accept control characters such as newline
115 in set_field_buffer(), which is compatible with Solaris (report by
117 + modify configure script to assume --without-hashed-db when
118 --disable-database is used.
119 + add "-e" option in ncurses/Makefile.in when generating source-files
120 to force earlier exit if the build environment fails unexpectedly
121 (prompted by patch by Adrian Bunk).
122 + change configure script to use CF_UTF8_LIB, improved variant of
126 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
127 original to teraterm2.3 -TD
128 + update "gnome" terminfo to 2.22.3 -TD
129 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
130 + add "aterm" terminfo -TD
131 + add "linux2.6.26" terminfo -TD
132 + add logic to tic for cancelling strings in user-defined capabilities,
136 + update html documentation.
137 + add -m and -s options to test/keynames.c and test/key_names.c to test
138 the meta() function with keyname() or key_name(), respectively.
139 + correct return value of key_name() on error; it is null.
140 + document some unresolved issues for rpath and pthreads in TO-DO.
141 + fix a missing prototype for ioctl() on OpenBSD in tset.c
142 + add configure option --disable-tic-depends to make explicit whether
143 tic library depends on ncurses/ncursesw library, amends change from
144 20080823 (prompted by Debian #501421).
147 + some build-fixes for configure --disable-ext-funcs (incomplete, but
148 works for C/C++ parts).
149 + improve configure-check for awks unable to handle large strings, e.g.
150 AIX 5.1 whose awk silently gives up on large printf's.
153 + fix build for --with-dmalloc by workaround for redefinition of
154 strndup between string.h and dmalloc.h
155 + fix build for --disable-sigwinch
156 + add environment variable NCURSES_GPM_TERMS to allow override to use
157 GPM on terminals other than "linux", etc.
158 + disable GPM mouse support when $TERM does not happen to contain
159 "linux", since Gpm_Open() no longer limits its assertion to terminals
160 that it might handle, e.g., within "screen" in xterm.
161 + reset mouse file-descriptor when unloading GPM library (report by
163 + fix build for --disable-leaks --enable-widec --with-termlib
164 > patch by Juergen Pfeifer:
165 + use improved initialization for soft-label keys in Ada95 sample code.
166 + discard internal symbol _nc_slk_format (unused since 20080112).
167 + move call of slk_paint_info() from _nc_slk_initialize() to
168 slk_intern_refresh(), improving initialization.
171 + fix bug in mouse code for GPM from 20080920 changes (reported in
172 Debian #500103, also Miroslav Lichvar).
175 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
176 + fix a memory leak when failure to connect to GPM.
177 + correct check for notimeout() in wgetch() (report on linux.redhat
178 newsgroup by FurtiveBertie).
179 + add an example warning-suppression file for valgrind,
180 misc/ncurses.supp (based on example from Reuben Thomas)
183 + change shared-library configuration for OpenBSD, make rpath work.
184 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
187 + corrected fix for --enable-weak-symbols (report by Frederic L W
191 + corrected gcc options for building shared libraries on IRIX64.
192 + add configure check for awk programs unable to handle big-strings,
193 use that to improve the default for --enable-big-strings option.
194 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
196 + update test/configure script.
197 + adapt ifdef's from library to make test/view.c build when mbrtowc()
198 is unavailable, e.g., with HPUX 10.20.
199 + add configure check for wcsrtombs, mbsrtowcs, which are used in
200 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
201 fixing build of ncursew for HPUX 11.00
204 + fixes to make Ada95 demo_panels() example work.
205 + modify Ada95 'rain' test program to accept keyboard commands like the
207 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
209 + add configure-check to see if the std namespace is legal for cerr
210 and endl, to fix a build issue with Tru64.
211 + consistently use NCURSES_BOOL in lib_gen.c
212 + filter #line's from lib_gen.c
213 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
214 substitution by IBM xlc to '#' as part of its extensions to digraphs.
215 + update config.guess, config.sub from
216 http://savannah.gnu.org/projects/config
217 (caveat - its maintainer removed support for older Linux systems).
220 + modify configure check for pthread library to work with OSF/1 5.1,
221 which uses #define's to associate its header and library.
222 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
223 makes threaded code work on HPUX 11.23
224 + fix a bug in demo_menus in freeing menus (cf: 20080804).
225 + modify configure script for the case where tic library is used (and
226 possibly renamed) to remove its dependency upon ncurses/ncursew
227 library (patch by Dr Werner Fink).
228 + correct manpage for menu_fore() which gave wrong default for
229 the attribute used to display a selected entry (report by Mike Gran).
230 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
234 + add configure option --enable-weak-symbols to turn on new feature.
235 + add configure-check for availability of weak symbols.
236 + modify linkage with pthread library to use weak symbols so that
237 applications not linked to that library will not use the mutexes,
238 etc. This relies on gcc, and may be platform-specific (patch by Dr
240 + add note to INSTALL to document limitation of renaming of tic library
241 using the --with-ticlib configure option (report by Dr Werner Fink).
242 + document (in manpage) why tputs does not detect I/O errors (prompted
243 by comments by Samuel Thibault).
244 + fix remaining warnings from Klocwork report.
247 + modify _nc_panelhook() data to account for a permanent memory leak.
248 + fix memory leaks in test/demo_menus
249 + fix most warnings from Klocwork tool (report by Larry Zhou).
250 + modify configure script CF_XOPEN_SOURCE macro to add case for
251 "dragonfly" from xterm #236 changes.
252 + modify configure script --with-hashed-db to let $LIBS override the
253 search for the db library (prompted by report by Samson Pierre).
256 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
260 + build-fix (reports by Christian Ebert, Funda Wang).
263 + compiler-warning fixes for Solaris.
266 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
267 make those work properly with the "--enable-ext-mouse" configuration
269 + improve documentation of build-cc options in INSTALL.
270 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
271 -static/-dynamic flags properly to linker, causing test/bs to
275 + correct some ifdef's needed for the broken-linker configuration.
276 + make debugging library's $BAUDRATE feature work for termcap
278 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
279 by comment on FreeBSD mailing list).
280 + add screen.mlterm terminfo entry -TD
281 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
284 + regenerated html documentation.
285 + expand manpage description of parameters for form_driver() and
286 menu_driver() (prompted by discussion with Adam Spragg).
287 + add null-pointer checks for cur_term in baudrate() and
288 def_shell_mode(), def_prog_mode()
289 + fix some memory leaks in delscreen() and wide acs.
292 + modify test/ditto.c to illustrate multi-threaded use_screen().
293 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
294 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
298 + finish changes to wgetch(), making it switch as needed to the
299 window's actual screen when calling wrefresh() and wgetnstr(). That
300 allows wgetch() to get used concurrently in different threads with
301 some minor restrictions, e.g., the application should not delete a
302 window which is being used in a wgetch().
303 + simplify mutex's, combining the window- and screen-mutex's.
306 + modify wgetch() to use the screen which corresponds to its window
307 parameter rather than relying on SP; some dependent functions still
309 + factor out most use of SP in lib_mouse.c, using parameter.
310 + add internal _nc_keyname(), replacing keyname() to associate with a
311 particular SCREEN rather than the global SP.
312 + add internal _nc_unctrl(), replacing unctrl() to associate with a
313 particular SCREEN rather than the global SP.
314 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
315 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
316 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
317 preference to the global _nc_globals.tracechr_buf buffer.
320 + modify _nc_keypad() to make it switch temporarily as needed to the
321 screen which must be updated.
322 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
323 always set the screen's copy of this variable in set_curterm().
324 + restore curs_set() state after endwin()/refresh() (report/patch
328 + modify configure script to note that --enable-ext-colors and
329 --enable-ext-mouse are not experimental, but extensions from
331 + corrected manpage description of setcchar() (discussion with
333 + fix for adding a non-spacing character at the beginning of a line
334 (report/patch by Miroslav Lichvar).
337 + modify screen.* terminfo entries using new screen+fkeys to fix
338 overridden keys in screen.rxvt (Debian #478094) -TD
339 + modify internal interfaces to reduce wgetch()'s dependency on the
341 + simplify some loops with macros each_screen(), each_window() and
345 + continue modifying test/ditto.c toward making it demonstrate
346 multithreaded use_screen(), using fifos to pass data between screens.
347 + fix typo in form.3x (report by Mike Gran).
350 + add screen.rxvt terminfo entry -TD
351 + modify tic -f option to format spaces as \s to prevent them from
352 being lost when that is read back in unformatted strings.
353 + improve test/ditto.c, using a "talk"-style layout.
356 + change test/ditto.c to use openpty() and xterm.
357 + add locks for copywin(), dupwin(), overlap(), overlay() on their
359 + add locks for initscr() and newterm() on updates to the SCREEN
361 + finish table in curs_thread.3x manpage.
364 + begin table in curs_thread.3x manpage describing the scope of data
365 used by each function (or symbol) for threading analysis.
366 + add null-pointer checks to setsyx() and getsyx() (prompted by
367 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
368 python-dev2 mailing list).
371 + add null-pointer checks in set_term() and delscreen().
372 + move _nc_windows into _nc_globals, since windows can be pads, which
373 are not associated with a particular screen.
374 + change use_screen() to pass the SCREEN* parameter rather than
375 stdscr to the callback function.
376 + force libtool to use tag for 'CC' in case it does not detect this,
377 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
378 (report/patch by Michael Haubenwallner).
379 + override OBJEXT to "lo" when building with libtool, to work on
380 platforms such as AIX where libtool may use a different suffix for
381 the object files than ".o" (report/patch by Michael Haubenwallner).
382 + add configure --with-pthread option, for building with the POSIX
386 + fill in extended-color pair two more places in wbkgrndset() and
387 waddch_nosync() (prompted by Sedeno's patch).
388 + fill in extended-color pair in _nc_build_wch() to make colors work
389 for wide-characters using extended-colors (patch by Alejandro R
391 + add x/X toggles to ncurses.c C color test to test/demo
392 wide-characters with extended-colors.
393 + add a/A toggles to ncurses.c c/C color tests.
394 + modify test/ditto.c to use use_screen().
395 + finish modifying test/rain.c to demonstrate threads.
398 + start modifying test/rain.c for threading demo.
399 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
400 that the 'F' accepts.
401 + modify test/worm.c to show trail in reverse-video when other threads
402 are working concurrently.
403 + fix a deadlock from improper nesting of mutexes for windowlist and
407 + fixes from 20080223 resolved issue with mutexes; change to use
408 recursive mutexes to fix memory leak in delwin() as called from
412 + fix a size-difference in _nc_globals which caused hanging of mutex
413 lock/unlock when termlib was built separately.
416 + avoid using nanosleep() in threaded configuration since that often
417 is implemented to suspend the entire process.
420 + update test programs to build/work with various UNIX curses for
421 comparisons. This was to reinvestigate statement in X/Open curses
422 that insnstr and winsnstr perform wrapping. None of the Unix-branded
423 implementations do this, as noted in manpage (cf: 20040228).
426 + modify _nc_setupscreen() to set the legacy-coding value the same
427 for both narrow/wide models. It had been set only for wide model,
428 but is needed to make unctrl() work with locale in the narrow model.
429 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
430 using unctrl() to display illegal bytes rather than trying to append
431 further bytes to make up a valid sequence (reported by Andrey A
433 + modify unctrl() to check codes in 128-255 range versus isprint().
434 If they are not printable, and locale was set, use a "M-" or "~"
438 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
439 handling). Now it hangs in napms(), no matter whether nanosleep()
440 or poll() or select() are used on Linux.
443 + fixes to build with --disable-ext-funcs
444 + add manpage for use_window and use_screen.
445 + add set_tabsize() and set_escdelay() functions.
448 + remove recursive-mutex definitions, finish threading demo for worm.c
449 + remove a redundant adjustment of lines in resizeterm.c's
450 adjust_window() which caused occasional misadjustment of stdscr when
454 + several improvements to terminfo entries based on xterm #230 -TD
455 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
456 "link_test" builds properly.
457 + fix for toe command-line options -u/-U to ensure filename is given.
458 + fix allocation-size for command-line parsing in infocmp from 20070728
459 (report by Miroslav Lichvar)
460 + improve resizeterm() by moving ripped-off lines, and repainting the
461 soft-keys (report by Katarina Machalkova)
462 + add clarification in wclear's manpage noting that the screen will be
463 cleared even if a subwindow is cleared (prompted by Christer Enfors
465 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
468 + continue implementing support for threading demo by adding mutex
472 + add several functions to C++ binding which wrap C functions that
473 pass a WINDOW* parameter (request by Chris Lee).
476 + add note about configure options needed for Berkeley database to the
478 + improve checks for version of Berkeley database libraries.
479 + amend fix for rpath to not modify LDFLAGS if the platform has no
480 applicable transformation (report by Christian Ebert, cf: 20071124).
483 + modify configure option --with-hashed-db to accept a parameter which
484 is the install-prefix of a given Berkeley Database (prompted by
486 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
487 used in the form library to determine the length of the buffer needed
488 by field_buffer (report by Alfred Fung).
489 + remove unneeded window-parameter from C++ binding for wresize (report
493 + modify the support for filesystems which do not support mixed-case to
494 generate 2-character (hexadecimal) codes for the lower-level of the
495 filesystem terminfo database (request by Michail Vidiassov).
496 + add configure option --enable-mixed-case, to allow overriding the
497 configure script's check if the filesystem supports mixed-case
499 + add wresize() to C++ binding (request by Chris Lee).
500 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
501 it simpler to tell if the extended functions and/or colors are
505 + update memory-leak checks for changes to names.c and codes.c
506 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
509 + continue implementing support for threading demo by adding mutex
511 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
513 + compile with FreeBSD "contemporary" TTY interface (patch by
517 + modify makefile rules to allow clear, tput and tset to be built
518 without libtic. The other programs (infocmp, tic and toe) rely on
520 + add/modify null-pointer checks in several functions for SP and/or
521 the WINDOW* parameter (report by Thorben Krueger).
522 + fixes for field_buffer() in formw library (see Redhat Bugzilla
523 #310071, patches by Miroslav Lichvar).
524 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
526 + update/improve mlterm and rxvt terminfo entries, e.g., for
527 the modified cursor- and keypad-keys -TD
530 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
531 changes the CharEq() macro to an inline function to allow comparing
532 cchar_t struct's without comparing gaps in a possibly unpacked
533 memory layout (report by Miroslav Lichvar).
536 + add new functions to lib_trace.c to setup mutex's for the _tracef()
537 calls within the ncurses library.
538 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
540 + start modifying test/worm.c to provide threading demo (incomplete).
541 + separated ifdef's for some BSD-related symbols in tset.c, to make
542 it compile on LynxOS (report by Greg Gemmer).
544 + modify Ada95/gen/Makefile to use shlib script, to simplify building
545 shared-library configuration on platforms lacking rpath support.
546 + build-fix for Ada95/src/Makefile to reflect changed dependency for
547 the terminal-interface-curses-aux.adb file which is now generated.
548 + restructuring test/worm.c, for use_window() example.
551 + add use_window() and use_screen() functions, to develop into support
552 for threaded library (incomplete).
553 + fix typos in man/curs_opaque.3x which kept the install script from
554 creating symbolic links to two aliases created in 20070818 (report by
558 + remove a spurious newline from output of html.m4, which caused links
559 for Ada95 html to be incorrect for the files generated using m4.
560 + start investigating mutex's for SCREEN manipulation (incomplete).
561 + minor cleanup of codes.c/names.c for --enable-const
562 + expand/revise "Routine and Argument Names" section of ncurses manpage
563 to address report by David Givens in newsgroup discussion.
564 + fix interaction between --without-progs/--with-termcap configure
565 options (report by Michail Vidiassov).
566 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
569 + fix a sign-extension bug in infocmp's repair_acsc() function
571 + fix old configure script bug which prevented "--disable-warnings"
572 option from working (patch by Mike Frysinger).
575 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
576 + modify comp_hash.c's string output to avoid misinterpreting a null
577 "\0" followed by a digit.
578 + modify MKnames.awk and MKcodes.awk to support big-strings.
579 This only applies to the cases (broken linker, reentrant) where
580 the corresponding arrays are accessed via wrapper functions.
581 + split MKnames.awk into two scripts, eliminating the shell redirection
582 which complicated the make process and also the bogus timestamp file
583 which was introduced to fix "make -j".
584 + add test/test_opaque.c, test/test_arrays.c
585 + add wgetscrreg() and wgetparent() for applications that may need it
586 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
589 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
590 unless "-T" is given (cf: 981017).
591 + modify comp_captab.c generation to use big-strings.
592 + make _nc_capalias_table and _nc_infoalias_table private accessed via
593 _nc_get_alias_table() since the tables are used only within the tic
595 + modify configure script to skip Intel compiler in CF_C_INLINE.
596 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
597 _nc_get_hash_table() since the tables are used only within the tic
601 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
602 _nc_get_alias_table() since they are used only by parse_entry.c
603 + make _nc_key_names private since it is used only by lib_keyname.c
604 + add --disable-big-strings configure option to control whether
605 unctrl.c is generated using the big-string optimization - which may
606 use strings longer than supported by a given compiler.
607 + reduce relocation tables for tic, infocmp by changing type of
608 internal hash tables to short, and make those private symbols.
609 + eliminate large fixed arrays from progs/infocmp.c
612 + change winnstr() to stop at the end of the line (cf: 970315).
613 + add test/test_get_wstr.c
614 + add test/test_getstr.c
615 + add test/test_inwstr.c
616 + add test/test_instr.c
619 + restore a call to obtain screen-size in _nc_setupterm(), which
620 is used in tput and other non-screen applications via setupterm()
621 (Debian #433357, reported by Florent Bayle, Christian Ohm,
625 + add test/savescreen.c test-program
626 + add check to trace-file open, if the given name is a directory, add
627 ".log" to the name and try again.
628 + add konsole-256color entry -TD
629 + add extra gcc warning options from xterm.
630 + minor fixes for ncurses/hashmap test-program.
631 + modify configure script to quiet c++ build with libtool when the
632 --disable-echo option is used.
633 + modify configure script to disable ada95 if libtool is selected,
634 writing a warning message (addresses FreeBSD ports/114493).
635 + update config.guess, config.sub
638 + add continuous-move "M" to demo_panels to help test refresh changes.
639 + improve fix for refresh of window on top of multi-column characters,
640 taking into account some split characters on left/right window
644 + add "widec" row to _tracedump() output to help diagnose remaining
645 problems with multi-column characters.
646 + partial fix for refresh of window on top of multi-column characters
647 which are partly overwritten (report by Sadrul H Chowdhury).
648 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
649 multi-column extension bits are passed there.
650 + add setlocale() call to demo_panels.c, needed for wide-characters.
651 + add some output flags to _nc_trace_ttymode to help diagnose a bug
652 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
655 + add test/demo_panels.c
656 + implement opaque version of setsyx() and getsyx().
659 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
661 + split-out key_name() from MKkeyname.awk since it now depends upon
662 wunctrl() which is not in libtinfo (report by Rong-En Fan).
665 + add test/key_name.c
666 + add stdscr cases to test/inchs.c and test/inch_wide.c
667 + update test/configure
668 + correct formatting of DEL (0x7f) in _nc_vischar().
669 + null-terminate result of wunctrl().
670 + add null-pointer check in key_name() (report by Andreas Krennmair,
674 + adapt mouse-handling code from menu library in form-library
675 (discussion with Clive Nicolson).
676 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
677 illustrate how to use mvcur().
678 + modify wide-character flavor of SetAttr() to preserve the
679 WidecExt() value stored in the .attr field, e.g., in case it
680 is overwritten by chgat (report by Aleksi Torhamo).
681 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
682 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
685 + modify keyname() to use "^X" form only if meta() has been called, or
686 if keyname() is called without initializing curses, e.g., via
687 initscr() or newterm() (prompted by LinuxBase #1604).
688 + document some portability issues in man/curs_util.3x
689 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
690 broken by moving that data into SCREEN (cf: 20061230).
693 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
694 problem reported by Sadrul H Chowdhury with repainting parts of
696 + modify slk_init() so that if there are preceding calls to
697 ripoffline(), those affect the available lines for soft-keys (adapted
698 from patch by Clive Nicolson).
699 + document some portability issues in man/curs_getyx.3x
702 + fix a bug in Ada95/samples/ncurses which caused a variable to
703 become uninitialized in the "b" test.
704 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
705 movement of files, fix a few incorrect manpage references in the
707 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
709 + correct some functions in Ada95 binding which were using return value
710 from C where none was returned: idcok(), immedok() and wtimeout().
711 + amend recent changes for Ada95 binding to make it build with
712 Cygwin's linker, e.g., with configure options
713 --enable-broken-linker --with-ticlib
716 + add a configure check for gcc's options for inlining, use that to
717 quiet a warning message where gcc's default behavior changed from
719 + improve warning message when checking if GPM is linked to curses
720 library by not warning if its use of "wgetch" is via a weak symbol.
721 + add loader options when building with static libraries to ensure that
722 an installed shared library for ncurses does not conflict. This is
723 reported as problem with Tru64, but could affect other platforms
724 (report Martin Mokrejs, analysis by Tim Mooney).
725 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
726 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
727 + revert a change from 20070303 which commented out dependency of
728 SHLIB_LIST in form/menu/panel/c++ libraries.
729 + fix initialization of ripoff stack pointer (cf: 20070421).
732 + move most static variables into structures _nc_globals and
733 _nc_prescreen, to simplify storage.
734 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
735 type for data manipulated by signal handlers (prompted by comments
736 in mailing.openbsd.bugs newsgroup).
737 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
738 to the libtool create- and link-operations.
741 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
742 the installed aliases (report by Peter Santoro).
743 + fix configure script to not try to generate adacurses-config when
744 Ada95 tree is not built.
747 + add man/curs_legacy.3x, man/curs_opaque.3x
748 + fix acs_map binding for Ada95 when --enable-reentrant is used.
749 + add adacurses-config to the Ada95 install, based on version from
750 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
751 comment on comp.lang.ada newsgroup).
752 + fix includes in c++ binding to build with Intel compiler
754 + update install rule in Ada95 to use mkdirs.sh
755 > other fixes prompted by inspection for Coverity report:
756 + modify ifdef's for c++ binding to use try/catch/throw statements
757 + add a null-pointer check in tack/ansi.c request_cfss()
758 + fix a memory leak in ncurses/base/wresize.c
759 + corrected check for valid memu/meml capabilities in
760 progs/dump_entry.c when handling V_HPUX case.
761 > fixes based on Coverity report:
762 + remove dead code in test/bs.c
763 + remove dead code in test/demo_defkey.c
764 + remove an unused assignment in progs/infocmp.c
765 + fix a limit check in tack/ansi.c tools_charset()
766 + fix tack/ansi.c tools_status() to perform the VT320/VT420
767 tests in request_cfss(). The function had exited too soon.
768 + fix a memory leak in tic.c's make_namelist()
769 + fix a couple of places in tack/output.c which did not check for EOF.
770 + fix a loop-condition in test/bs.c
771 + add index checks in lib_color.c for color palettes
772 + add index checks in progs/dump_entry.c for version_filter() handling
774 + fix a possible null-pointer dereference in copywin()
775 + fix a possible null-pointer dereference in waddchnstr()
776 + add a null-pointer check in _nc_expand_try()
777 + add a null-pointer check in tic.c's make_namelist()
778 + add a null-pointer check in _nc_expand_try()
779 + add null-pointer checks in test/cardfile.c
780 + fix a double-free in ncurses/tinfo/trim_sgr0.c
781 + fix a double-free in ncurses/base/wresize.c
782 + add try/catch block to c++/cursesmain.cc
785 + modify Ada95 binding to build with --enable-reentrant by wrapping
786 global variables (bug: acs_map does not yet work).
787 + modify Ada95 binding to use the new access-functions, allowing it
788 to build/run when NCURSES_OPAQUE is set.
789 + add access-functions and macros to return properties of the WINDOW
790 structure, e.g., when NCURSES_OPAQUE is set.
791 + improved install-sh's quoting.
792 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
796 + eliminate part of the direct use of WINDOW data from Ada95 interface.
797 + fix substitutions for termlib filename to make configure option
798 --enable-reentrant work with --with-termlib.
799 + change a constructor for NCursesWindow to allow compiling with
800 NCURSES_OPAQUE set, since we cannot pass a reference to
804 + ignore --with-chtype=unsigned since unsigned is always added to
805 the type in curses.h; do the same for --with-mmask-t.
806 + change warning regarding --enable-ext-colors and wide-character
807 in the configure script to an error.
808 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
809 such as Darwin's libtool program (report by Michail Vidiassov)
810 + modify edit_man.sh to allow for multiple substitutions per line.
811 + set locale in misc/ncurses-config.in since it uses a range
812 + change permissions libncurses++.a install (report by Michail
814 + corrected length of temporary buffer in wide-character version
815 of set_field_buffer() (related to report by Bryan Christ).
818 + fix mk-1st.awk script install_shlib() function, broken in 20070224
819 changes for cygwin (report by Michail Vidiassov).
822 + increase size of array in _nc_visbuf2n() to make "tic -v" work
823 properly in its similar_sgr() function (report/analysis by Peter
825 + add --enable-reentrant configure option for ongoing changes to
826 implement a reentrant version of ncurses:
827 + libraries are suffixed with "t"
828 + wrap several global variables (curscr, newscr, stdscr, ttytype,
829 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
830 functions returning values stored in SCREEN or cur_term.
831 + move some initialization (LINES, COLS) from lib_setup.c,
832 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
835 + regenerated html documentation.
836 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
837 opaque in selected configurations.
838 + move the chunk in lib_acs.c which resets acs capabilities when
839 running on a terminal whose locale interferes with those into
840 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
841 identical (requested by Miroslav Lichvar).
842 + do not use configure variable SHLIB_LIBS for building libraries
843 outside the ncurses directory, since that symbol is customized
844 only for that directory, and using it introduces an unneeded
845 dependency on libdl (requested by Miroslav Lichvar).
846 + modify mk-1st.awk so the generated makefile rules for linking or
847 installing shared libraries do not first remove the library, in
848 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
850 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
851 (prompted by newsgroup comment by Nick Guenther).
854 + change internal return codes of _nc_wgetch() to check for cases
855 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
856 ungetch'd, and read by wget_wch().
857 + fix static-library build broken in 20070217 changes to remove "-ldl"
858 (report by Miroslav Lichvar).
859 + change makefile/scripts for cygwin to allow building termlib.
860 + use Form_Hook in manpages to match form.h
861 + use Menu_Hook in manpages, as well as a few places in menu.h
862 + correct form- and menu-manpages to use specific Field_Options,
863 Menu_Options and Item_Options types.
864 + correct prototype for _tracechar() in manpage (cf: 20011229).
865 + correct prototype for wunctrl() in manpage.
868 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
870 + modify relinking of shared libraries to apply only when rpath is
871 enabled, and add --disable-relink option which can be used to
872 disable the feature altogether (reports by Michail Vidiassov,
874 + fix --with-termlib option for wide-character configuration, stripping
875 the "w" suffix in one place (report by Miroslav Lichvar).
876 + remove "-ldl" from some library lists to reduce dependencies in
877 programs (report by Miroslav Lichvar).
878 + correct description of --enable-signed-char in configure --help
879 (report by Michail Vidiassov).
880 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
881 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
883 + remove "${DESTDIR}" from -install_name option used for linking
884 shared libraries on Darwin (report by Michail Vidiassov).
887 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr().
888 + remove libdl from library list for termlib (report by Miroslav
890 + fix configure.in to allow --without-progs --with-termlib (patch by
892 + modify win_wchnstr() to ensure that only a base cell is returned
893 for each multi-column character (prompted by report by Wei Kong
894 regarding change in mvwin_wch() cf: 20041023).
897 + modify fix_wchnstr() in form library to strip attributes (and color)
898 from the cchar_t array (field cells) read from a field's window.
899 Otherwise, when copying the field cells back to the window, the
900 associated color overrides the field's background color (report by
902 + improve tracing for form library, showing created forms, fields, etc.
903 + ignore --enable-rpath configure option if --with-shared was omitted.
904 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
905 to allow leak-checking when both tic- and tinfo-libraries are built.
906 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
907 no longer relies on it.
908 + disallow combining configure script options --with-ticlib and
909 --enable-termcap (report by Rong-En Fan).
910 + remove tack from ncurses tree.
913 + fix typo in configure script that broke --with-termlib option
914 (report by Rong-En Fan).
917 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
918 to tgetent() (report by Rong-en Fan).
919 + update tack/HISTORY and tack/README to tell how to build it after
920 it is removed from the ncurses tree.
921 + fix configure check for libtool's version to trim blank lines
922 (report by sci-fi@hush.ai).
923 + review/eliminate other original-file artifacts in cursesw.cc, making
924 its license consistent with ncurses.
925 + use ncurses vw_scanw() rather than reading into a fixed buffer in
926 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
927 + eliminate fixed-buffer vsprintf() calls in c++ binding.
930 + add _nc_leaks_tic() to separate leak-checking of tic library from
931 term/ncurses libraries, and thereby eliminate a library dependency.
932 + fix test/mk-test.awk to ignore blank lines.
933 + correct paths in include/headers, for --srcdir (patch by Miroslav
937 + add a break-statement in misc/shlib to ensure that it exits on the
938 _first_ matched directory (report by Paul Novak).
939 + add tack/configure, which can be used to build tack outside the
941 + add --with-ticlib option, to build/install the tic-support functions
942 in a separate library (suggested by Miroslav Lichvar).
945 + change MKunctrl.awk to reduce relocation table for unctrl.o
946 + change MKkeyname.awk to reduce relocation table for keyname.o
947 (patch by Miroslav Lichvar).
950 + modify configure check for libtool's version to trim blank lines
951 (report by sci-fi@hush.ai).
952 + modify some modules to allow them to be reentrant if _REENTRANT is
953 defined: lib_baudrate.c, resizeterm.c (local data only)
954 + eliminate static data from some modules: add_tries.c, hardscroll.c,
955 lib_ttyflags.c, lib_twait.c
956 + improve manpage install to add aliases for the transformed program
957 names, e.g., from --program-prefix.
958 + used linklint to verify links in the HTML documentation, made fixes
959 to manpages as needed.
960 + fix a typo in curs_mouse.3x (report by William McBrine).
961 + fix install-rule for ncurses5-config to make the bin-directory.
964 + modify configure script to omit the tic (terminfo compiler) support
965 from ncurses library if --without-progs option is given.
966 + modify install rule for ncurses5-config to do this via "install.libs"
967 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
968 + update config.guess, config.sub
970 20061217 5.6 release for upload to ftp.gnu.org
973 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
974 definitions in <wchar.h>.
975 + revert the va_copy() change from 20061202, since it was neither
976 correct nor portable.
977 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
979 + ignore wide-acs line-drawing characters that wcwidth() claims are
980 not one-column. This is a workaround for Solaris' broken locale
984 + modify configure --with-gpm option to allow it to accept a parameter,
985 i.e., the name of the dynamic GPM library to load via dlopen()
986 (requested by Bryan Henderson).
987 + add configure option --with-valgrind, changes from vile.
988 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
989 'return' in preference to 'exit()'.
992 + change default for --with-develop back to "no".
993 + add XTABS to tracing of TTY bits.
994 + updated autoconf patch to ifdef-out the misfeature which declares
995 exit() for configure tests. This fixes a redefinition warning on
997 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
998 Solaris to help ensure that initialization sections are provided for
999 extra linkage requirements, e.g., of C++ applications (prompted by
1000 comment by Casper Dik in newsgroup).
1001 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
1002 from the autoconf predefined symbol. There was no conflict,
1003 since "$target" was used only in the generated edit_man.sh file,
1004 but SuSE's rpm package contains a patch.
1007 + update man/term.5 to reflect extended terminfo support and hashed
1008 database configuration.
1009 + updates for test/configure script.
1010 + adapted from SuSE rpm package:
1011 + remove long-obsolete workaround for broken-linker which declared
1013 + improve error recovery in PUTC() macro when wcrtomb() does not
1014 return usable results for an 8-bit character.
1015 + patches from rpm package (SuSE):
1016 + use va_copy() in extra varargs manipulation for tracing version
1018 + use a va_list rather than a null in _nc_freeall()'s call to
1019 _nc_printf_string().
1020 + add some see-also references in manpages to show related
1021 wide-character functions (suggested by Claus Fischer).
1024 + add a check in lib_color.c to ensure caller does not increase COLORS
1025 above max_colors, which is used as an array index (discussion with
1027 + add ifdef's allowing ncurses to be built with tparm() using either
1028 varargs (the existing status), or using a fixed-parameter list (to
1032 + fix redrawing of windows other than stdscr using wredrawln() by
1033 touching the corresponding rows in curscr (discussion with Dan
1036 + add test/echochar.c
1037 + review/cleanup manpage descriptions of error-returns for form- and
1038 menu-libraries (prompted by FreeBSD docs/46196).
1041 + add AUTHORS file -TD
1042 + omit the -D options from output of the new config script --cflags
1043 option (suggested by Ralf S Engelschall).
1044 + make NCURSES_INLINE unconditionally defined in curses.h
1047 + revert change to accommodate bash 3.2, since that breaks other
1048 platforms, e.g., Solaris.
1049 + minor fixes to NEWS file to simplify scripting to obtain list of
1051 + improve some shared-library configure scripting for Linux, FreeBSD
1052 and NetBSD to make "--with-shlib-version" work.
1053 + change configure-script rules for FreeBSD shared libraries to allow
1054 for rpath support in versions past 3.
1055 + use $(DESTDIR) in makefile rules for installing/uninstalling the
1056 package config script (reports/patches by Christian Wiese,
1057 Ralf S Engelschall).
1058 + fix a warning in the configure script for NetBSD 2.0, working around
1059 spurious blanks embedded in its ${MAKEFLAGS} symbol.
1060 + change test/Makefile to simplify installing test programs in a
1061 different directory when --enable-rpath is used.
1064 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
1065 + add/install a package config script, e.g., "ncurses5-config" or
1066 "ncursesw5-config", according to configuration options.
1069 + add several GNU Screen terminfo variations with 16- and 256-colors,
1070 and status line (Alain Bench).
1071 + change the way shared libraries (other than libtool) are installed.
1072 Rather than copying the build-tree's libraries, link the shared
1073 objects into the install directory. This makes the --with-rpath
1074 option work except with $(DESTDIR) (cf: 20000930).
1077 + fix ifdef in c++/internal.h for QNX 6.1
1078 + test-compiled with (old) egcs-1.1.2, modified configure script to
1079 not unset the $CXX and related variables which would prevent this.
1080 + fix a few terminfo.src typos exposed by improvments to "-f" option.
1081 + improve infocmp/tic "-f" option formatting.
1084 + make --disable-largefile option work (report by Thomas M Ott).
1085 + updated html documentation.
1086 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
1087 + minor improvements to rxvt+pcfkeys -TD
1090 + move static data from lib_mouse.c into SCREEN struct.
1091 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
1092 (report by Michail Vidiassov).
1093 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
1094 option (from lynx changes) -TD
1095 + adapt AC_PROG_EGREP check, noting that this is likely to be another
1096 place aggravated by POSIXLY_CORRECT.
1097 + modify configure check for awk to ensure that it is found (prompted
1098 by report by Christopher Parker).
1102 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
1103 + remove invis capability from klone+sgr, mainly used by linux entry,
1104 since it does not really do this -TD
1107 + correct logic in wadd_wch() and wecho_wch(), which did not guard
1108 against passing the multi-column attribute into a call on waddch(),
1109 e.g., using data returned by win_wch() (cf: 20041023)
1110 (report by Sadrul H Chowdhury).
1113 + fix kterm's acsc string -TD
1114 + fix for change to tic/infocmp in 20060819 to ensure no blank is
1115 embedded into a termcap description.
1116 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
1117 when using --with-termlib --with-trace options.
1118 + improve tgetstr() by making the return value point into the user's
1119 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
1121 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
1124 + add terminfo entries for xfce terminal (xfce) and multi gnome
1126 + add test/foldkeys.c
1129 + modify tic and infocmp to avoid writing trailing blanks on terminfo
1130 source output (Debian #378783).
1131 + modify configure script to ensure that if the C compiler is used
1132 rather than the loader in making shared libraries, the $(CFLAGS)
1133 variable is also used (Redhat Bugzilla #199369).
1134 + port hashed-db code to db2 and db3.
1135 + fix a bug in tgetent() from 20060625 and 20060715 changes
1136 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1139 + updated xterm function-keys terminfo to match xterm #216 -TD
1140 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1141 e.g., the db 1.8.5 interface).
1144 + modify toe to access termcap data, e.g., via cgetent() functions,
1145 or as a text file if those are not available.
1146 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1147 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1148 can access termcap data when the terminfo database is disabled.
1151 + widen the test for xterm kmous a little to allow for other strings
1152 than \E[M, e.g., for xterm-sco functionality in xterm.
1153 + update xterm-related terminfo entries to match xterm patch #216 -TD
1154 + update config.guess, config.sub
1157 + fix for install-rule in Ada95 to add terminal_interface.ads
1158 and terminal_interface.ali (anonymous posting in comp.lang.ada).
1159 + correction to manpage for getcchar() (report by William McBrine).
1161 + modify wchgat() to mark updated cells as changed so a refresh will
1162 repaint those cells (comments by Sadrul H Chowdhury and William
1164 + split up dependency of names.c and codes.c in ncurses/Makefile to
1165 work with parallel make (report/analysis by Joseph S Myers).
1166 + suppress a warning message (which is ignored) for systems without
1167 an ldconfig program (patch by Justin Hibbits).
1168 + modify configure script --disable-symlinks option to allow one to
1169 disable symlink() in tic even when link() does not work (report by
1171 + modify MKfallback.sh to use tic -x when constructing fallback tables
1172 to allow extended capabilities to be retrieved from a fallback entry.
1173 + improve leak-checking logic in tgetent() from 20060625 to ensure that
1174 it does not free the current screen (report by Miroslav Lichvar).
1177 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1178 + correct _nc_free_entries() and related functions used for memory leak
1182 + revert a minor change for magic-cookie support from 20060513, which
1183 caused unexpected reset of attributes, e.g., when resizing test/view
1185 + note in clear manpage that the program ignores command-line
1186 parameters (prompted by Debian #371855).
1187 + fixes to make lib_gen.c build properly with changes to the configure
1188 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
1189 + update/correct several terminfo entries -TD
1190 + add some notes regarding copyright to terminfo.src -TD
1193 + fixes to build Ada95 binding with gnat-4.1.0
1194 + modify read_termtype() so the term_names data is always allocated as
1195 part of the str_table, a better fix for a memory leak (cf: 20030809).
1196 + reduce memory leaks in repeated calls to tgetent() by remembering the
1197 last TERMINAL* value allocated to hold the corresponding data and
1198 freeing that if the tgetent() result buffer is the same as the
1199 previous call (report by "Matt" for FreeBSD gnu/98975).
1200 + modify tack to test extended capability function-key strings.
1201 + improved gnome terminfo entry (GenToo #122566).
1202 + improved xterm-256color terminfo entry (patch by Alain Bench).
1205 + fix two small memory leaks related to repeated tgetent() calls
1206 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1207 + add --enable-signed-char to simplify Debian package.
1208 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1210 + correct typo in curs_terminfo.3x (Debian #369168).
1213 + enable the mouse in test/movewindow.c
1214 + improve a limit-check in frm_def.c (John Heasley).
1215 + minor copyright fixes.
1216 + change configure script to produce test/Makefile from data file.
1219 + add a configure option --enable-wgetch-events to enable
1220 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1221 lib_twait.c (report by Bernd Jendrissek).
1222 + remove include/nomacros.h from build, since the ifdef for
1223 NCURSES_NOMACROS makes that obsolete.
1224 + add entrypoints for some functions which were only provided as macros
1225 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
1226 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1228 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1229 definitions from curses.h, i.e., where a macro is defined to override
1230 a function to improve performance. Allowing a developer to suppress
1231 these definitions can simplify some application (discussion with
1233 + improve description of memu/meml in terminfo manpage.
1236 + if msgr is false, reset video attributes when doing an automargin
1237 wrap to the next line. This makes the ncurses 'k' test work properly
1239 + correct caching of keyname(), which was using only half of its table.
1240 + minor fixes to memory-leak checking.
1241 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1242 arrays, making ACS_LEN less visible to applications (suggested by
1244 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1245 _screen_acs_map will have the same offset in both ncurses/ncursesw,
1246 making the corresponding tinfo/tinfow libraries binary-compatible
1247 (cf: 20041016, report by Stanislav Ievlev).
1250 + improve debug-tracing for EmitRange().
1251 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
1252 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1253 suppression of the related hard-tabs and xmc-glitch features.
1254 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1255 infocmp, terminfo as well as form, menu, panel.
1256 + update config.guess, config.sub
1257 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1258 (field_buffer returning null for a valid field). The 'r' test
1259 appears to not work with that configuration since the new_fieldtype()
1260 function is broken in that implementation.
1263 + add hpterm-color terminfo entry -TD
1264 + fixes to compile test-programs with HPUX 11.23
1267 + add copyright notices to files other than those that are generated,
1268 data or adapted from pdcurses (reports by William McBrine, David
1270 + improve rendering on hpterm by not resetting attributes at the end
1271 of doupdate() if the terminal has the magic-cookie feature (report
1273 + add 256color variants of terminfo entries for programs which are
1274 reported to implement this feature -TD
1277 + fix typo in change to NewChar() macro from 20060311 changes, which
1278 broke tab-expansion (report by Frederic L W Meunier).
1281 + document -U option of tic and infocmp.
1282 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1283 due to size limit, e.g., converting to termcap format. Also
1284 suppress them if the output format does not contain acsc and it
1285 was not VT100-like, i.e., a one-one mapping (Novell #163715).
1286 + add configure check to ensure that SIGWINCH is defined on platforms
1287 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1288 defined (report by Nicholas Cole)
1291 + modify write_object() to not write coincidental extensions of an
1292 entry made due to it being referenced in a use= clause (report by
1294 + another fix for infocmp -i option, which did not ensure that some
1295 escape sequences had comparable prefixes (report by Alain Bench).
1298 + improve discussion of init/reset in terminfo and tput manpages
1299 (report by Alain Bench).
1300 + use is3 string for a fallback of rs3 in the reset program; it was
1301 using is2 (report by Alain Bench).
1302 + correct logic for infocmp -i option, which did not account for
1303 multiple digits in a parameter (cf: 20040828) (report by Alain
1305 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1306 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1307 + add copyright notices to test-programs as needed (report by William
1311 + modify ncurses.c 'F' test to combine the wide-characters with color
1312 and/or video attributes.
1313 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
1314 a test-screen (some commands used 'x' or 'q').
1317 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
1320 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
1321 a null character is found (report by Igor Bogomazov).
1322 + modify progs/Makefile.in to make "tput init" work properly with
1323 cygwin, i.e., do not pass a ".exe" in the reference string used
1324 in check_aliases (report by Samuel Thibault).
1325 + add some checks to ensure current position is within scrolling
1326 region before scrolling on a new line (report by Dan Gookin).
1327 + change some NewChar() usage to static variables to work around
1328 stack garbage introduced when cchar_t is not packed (Redhat #182024).
1331 + workarounds to build test/movewindow with PDcurses 2.7.
1332 + fix for nsterm-16color entry (patch by Alain Bench).
1333 + correct a typo in infocmp manpage (Debian #354281).
1336 + add nsterm-16color entry -TD
1337 + updated mlterm terminfo entry -TD
1338 + remove 970913 feature for copying subwindows as they are moved in
1339 mvwin() (discussion with Bryan Christ).
1340 + modify test/demo_menus.c to demonstrate moving a menu (both the
1341 window and subwindow) using shifted cursor-keys.
1342 + start implementing recursive mvwin() in movewindow.c (incomplete).
1343 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
1344 for movewindow.c (report by William McBrine).
1345 + add help-message to test/movewindow.c
1348 + add test/movewindow.c, to test mvderwin().
1349 + fix ncurses soft-key test so color changes are shown immediately
1350 rather than delayed.
1351 + modify ncurses soft-key test to hide the keys when exiting the test
1353 + fixes to build test programs with PDCurses 2.7, e.g., its headers
1354 rely on autoconf symbols, and it declares stubs for nonfunctional
1355 terminfo and termcap entrypoints.
1358 + improved test/configure to build test/ncurses on HPUX 11 using the
1360 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
1361 benefit of developers who do not read INSTALL.
1364 + correct form library Window_To_Buffer() change (cf: 20040516), which
1365 should ignore the video attributes (report by Ricardo Cantu).
1368 + minor fixes to xmc-glitch experimental code:
1369 + suppress line-drawing
1370 + implement max_attributes
1372 + minor fixes for the database iterator.
1373 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
1377 + add toe -a option, to show all databases. This uses new private
1378 interfaces in the ncurses library for iterating through the list of
1380 + fix toe from 20000909 changes which made it not look at
1382 + make toe's -v option parameter optional as per manpage.
1383 + improve SIGWINCH handling by postponing its effect during newterm(),
1384 etc., when allocating screens.
1387 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
1388 this in test/filter.c
1389 + fix an error in filter() modification which caused some applications
1393 + check if filter() was called when getting the screensize. Keep it
1394 at 1 if so (based on Redhat #174498).
1395 + add extension nofilter().
1396 + refined the workaround for ACS mapping.
1397 + make ifdef's consistent in curses.h for the extended colors so the
1398 header file can be used for the normal curses library. The header
1399 file installed for extended colors is a variation of the
1400 wide-character configuration (report by Frederic L W Meunier).
1403 + add a workaround to ACS mapping to allow applications such as
1404 test/blue.c to use the "PC ROM" characters by masking them with
1405 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
1406 of legacy coding (report by Michael Deutschmann).
1407 + add a null-pointer check in the wide-character version of
1408 calculate_actual_width() (report by Victor Julien).
1409 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
1410 values to be set independently (patch by William McBrine).
1411 + modify test/configure script to allow building test programs with
1413 + modified test programs to allow some to work with NetBSD curses.
1414 Several do not because NetBSD curses implements a subset of X/Open
1415 curses, and also lacks much of SVr4 additions. But it's enough for
1417 + update config.guess and config.sub
1420 + use BSD-specific fix for return-value from cgetent() from CVS where
1421 an unknown terminal type would be reportd as "database not found".
1422 + make tgetent() return code more readable using new symbols
1424 + remove references to non-existent "tctest" program.
1425 + remove TESTPROGS from progs/Makefile.in (it was referring to code
1426 that was never built in that directory).
1427 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
1430 + add use_legacy_coding() function to support lynx's font-switching
1432 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
1433 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
1437 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
1438 overwrite() and copywin() with different combinations of colors and
1439 attributes (including background color) to make it easy to see the
1440 effect of the different functions.
1441 + corrections to menu/m_global.c for wide-characters (report by
1445 + add configure option --without-dlsym, allowing developers to
1446 configure GPM support without using dlsym() (discussion with Michael
1448 + fix wins_nwstr(), which did not handle single-column non-8bit codes
1452 + move prototypes for wide-character trace functions from curses.tail
1453 to curses.wide to avoid accidental reference to those if
1454 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
1456 + add/use NCURSES_INLINE definition.
1457 + change some internal functions to use int/unsigned rather than the
1461 + remove a redundant check in lib_color.c (Debian #335655).
1462 + use ld's -search_paths_first option on Darwin to work around odd
1463 search rules on that platform (report by Christian Gennerat, analysis
1465 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
1466 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
1467 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
1470 + other minor fixes to cygwin based on tack -TD
1471 + correct smacs in cygwin (Debian #338234, report by Baurzhan
1472 Ismagulov, who noted that it was fixed in Cygwin).
1475 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
1476 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
1477 since those record the state of multicolumn characters (Debian
1479 + modify werase to clear multicolumn characters that extend into
1480 a derived window (Debian #316663).
1483 + move assignment from environment variable ESCDELAY from initscr()
1484 down to newterm() so the environment variable affects timeouts for
1485 terminals opened with newterm() as well.
1486 + fix a memory leak in keyname().
1487 + add test/demo_altkeys.c
1488 + modify test/demo_defkey.c to exit from loop via 'q' to allow
1489 leak-checking, as well as fix a buffer size in winnstr() call.
1492 + correct order of use-clauses in rxvt-basic entry which made codes for
1493 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
1494 + suppress configure check for gnatmake if Ada95/Makefile.in is not
1496 + correct a typo in configure --with-bool option for the case where
1497 --without-cxx is used (report by Daniel Jacobowitz).
1498 + add a note to INSTALL's discussion of --with-normal, pointing out
1499 that one may wish to use --without-gpm to ensure a completely
1500 static link (prompted by report by Felix von Leitner).
1502 20051010 5.5 release for upload to ftp.gnu.org
1505 + document in demo_forms.c some portability issues.
1508 + document side-effect of werase() which sets the cursor position.
1509 + save/restore the current position in form field editing to make
1513 + correct header dependencies in progs, allowing parallel make (report
1514 by Daniel Jacobowitz).
1515 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1516 the configure check for --with-build-cc (report by Daniel Jacobowitz).
1517 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1519 + update config.guess and config.sub from
1520 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1523 + modify sed expression which computes path for /usr/lib/terminfo
1524 symbolic link in install to ensure that it does not change unexpected
1525 levels of the path (Gentoo #42336).
1526 + modify default for --disable-lp64 configure option to reduce impact
1527 on existing 64-bit builds. Enabling the _LP64 option may change the
1528 size of chtype and mmask_t. However, for ABI 6, it is enabled by
1529 default (report by Mike Frysinger).
1530 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1531 default if it is used.
1532 + improve configure script logic for bumping ABI to omit this if the
1533 --with-abi-version option was used.
1534 + update address for Free Software Foundation in tack's source.
1535 + correct wins_wch(), which was not marking the filler-cells of
1536 multi-column characters (cf: 20041023).
1539 + modify mouse initialization to ensure that Gpm_Open() is called only
1540 once. Otherwise GPM gets confused in its initialization of signal
1541 handlers (Debian #326709).
1544 + modify logic for backspacing in a multiline form field to ensure that
1545 it works even when the preceding line is full (report by Frank van
1547 + remove comment about BUGS section of ncurses manpage (Debian #325481)
1550 + document some workarounds for shared and libtool library
1551 configurations in INSTALL (see --with-shared and --with-libtool).
1552 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1553 cross-compilers which emit the platform name in their version
1555 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1556 (report by Frank van Vugt).
1559 + start updating documentation for upcoming 5.5 release.
1560 + fix to make libtool and libtinfo work together again (cf: 20050122).
1561 + fixes to allow building traces into libtinfo
1562 + add debug trace to tic that shows if/how ncurses will write to the
1563 lower corner of a terminal's screen.
1564 + update llib-l* files.
1567 + modify initializers in c++ binding to build with old versions of g++.
1568 + improve special case for 20050115 repainting fix, ensuring that if
1569 the first changed cell is not a character that the range to be
1570 repainted is adjusted to start at a character's beginning (Debian
1574 + fixes to build on QNX 6.1
1575 + improve configure script checks for Intel 9.0 compiler.
1576 + remove #include's for libc.h (obsolete).
1577 + adjust ifdef's in curses.priv.h so that when cross-compiling to
1578 produce comp_hash and make_keys, no dependency on wchar.h is needed.
1579 That simplifies the build-cppflags (report by Frank van Vugt).
1580 + move modules related to key-binding into libtinfo to fix linkage
1581 problem caused by 20050430 changes to MKkeyname.sh (report by
1582 Konstantin Andreev).
1585 + updates/fixes for configure script macros from vile -TD
1586 + make prism9's sgr string agree with the rest of the terminfo -TD
1587 + make vt220's sgr0 string consistent with sgr string, do this for
1588 several related cases -TD
1589 + improve translation to termcap by filtering the 'me' (sgr0) strings
1590 as in the runtime call to tgetent() (prompted by a discussion with
1592 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1593 resets line-drawing.
1596 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
1598 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
1599 allow it to be used by tic to provide information about the runtime
1600 changes that would be made to sgr0 for termcap applications.
1601 + modify make_sed.sh to make the group-name in the NAME section of
1602 form/menu library manpage agree with the TITLE string when renaming
1603 is done for Debian (Debian #78866).
1606 + modify parameter type in c++ binding for insch() and mvwinsch() to
1607 be consistent with underlying ncurses library (was char, is chtype).
1608 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
1610 + improve configure check for nanosleep(), checking that it works since
1611 some older systems such as AIX 4.3 have a nonworking version.
1614 + update config.guess and config.sub from
1615 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1616 + modify misc/shlib to work in test-directory.
1617 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
1618 allows cross-compiles to use the host's tic program to handle the
1619 "make install.data" step.
1620 + improve description of $LINES and $COLUMNS variables in manpages
1621 (prompted by report by Dave Ulrick).
1622 + improve description of cross-compiling in INSTALL
1623 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
1624 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
1625 + modify configure script to obtain soname for GPM library (discussion
1626 with Daniel Jacobowitz).
1627 + modify configure script so that --with-chtype option will still
1628 compute the unsigned literals suffix for constants in curses.h
1629 (report by Daniel Jacobowitz:
1630 + patches from Daniel Jacobowitz:
1631 + the man_db.renames entry for tack.1 was backwards.
1632 + tack.1 had some 1m's that should have been 1M's.
1633 + the section for curs_inwstr.3 was wrong.
1636 + correction to --with-chtype option (report by Daniel Jacobowitz).
1639 + move build-time edit_man.sh and edit_man.sed scripts to top directory
1640 to simplify reusing them for renaming tack's manpage (prompted by a
1641 review of Debian package).
1642 + revert minor optimization from 20041030 (Debian #313609).
1643 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
1644 1.5.10 and 1.5.18 (all work except as noted previously for the c++
1645 install using libtool 1.5.0):
1646 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
1648 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
1649 + add configure options --with-chtype and --with-mmask-t, to allow
1650 overriding of the non-LP64 model's use of the corresponding types.
1651 + revise test for size of chtype (and mmask_t), which always returned
1652 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
1655 + change _tracef's that used "%p" format for va_list values to ignore
1656 that, since on some platforms those are not pointers.
1657 + fixes for long-formats in printf's due to largefile support.
1660 + fixes for termcap support:
1661 + reset pointer to _nc_curr_token.tk_name when the input stream is
1662 closed, which could point to free memory (cf: 20030215).
1663 + delink TERMTYPE data which is used by the termcap reader, so that
1664 extended names data will be freed consistently.
1665 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
1667 + add some entrypoints for freeing permanently allocated data via
1668 _nc_freeall() when NO_LEAKS is defined.
1669 + amend 20041030 change to _nc_do_color to ensure that optimization is
1670 applied only when the terminal supports back_color_erase (bce).
1673 + add sun-color terminfo entry -TD
1674 + correct a missing assignment in c++ binding's method
1675 NCursesPanel::UserPointer() from 20050409 changes.
1676 + improve configure check for large-files, adding check for dirent64
1678 + minor change to configure script to improve linker options for the
1682 + document error conditions for ncurses library functions (report by
1684 + regenerated html documentation for ada binding.
1685 see ftp://invisible-island.net/ncurses/patches/gnathtml
1688 + regenerated html documentation for manpages.
1689 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
1690 ncurses/Makefile (Gentoo #89772).
1691 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
1692 (patch by Mike Frysinger).
1693 + modify tic to filter out long extended names when translating to
1694 termcap format. Only two characters are permissible for termcap
1698 + modify terminfo entries xterm-new and rxvt to add strings for
1699 shift-, control-cursor keys.
1700 + workaround to allow c++ binding to compile with g++ 2.95.3, which
1701 has a broken implementation of static_cast<> (patch by Jeff Chua).
1702 + modify initialization of key lookup table so that if an extended
1703 capability (tic -x) string is defined, and its name begins with 'k',
1704 it will automatically be treated as a key.
1705 + modify test/keynames.c to allow for the possibility of extended
1706 key names, e.g., via define_key(), or via "tic -x".
1707 + add test/demo_termcap.c to show the contents of given entry via the
1711 + minor fixes for vt100/vt52 entries -TD
1712 + add configure option --enable-largefile
1713 + corrected libraries used to build Ada95/gen/gen, found in testing
1717 + update config.guess, config.sub
1718 + modify configure script check for _XOPEN_SOURCE, disable that on
1719 Darwin whose header files have problems (patch by Chris Zubrzycki).
1720 + modify form library Is_Printable_String() to use iswprint() rather
1721 than wcwidth() for determining if a character is printable. The
1722 latter caused it to reject menu items containing non-spacing
1724 + modify ncurses test program's F-test to handle non-spacing characters
1725 by combining them with a reverse-video blank.
1726 + review/fix several gcc -Wconversion warnings.
1729 + correct an off-by-one error in m_driver() for mouse-clicks used to
1730 position the mouse to a particular item.
1731 + implement test/demo_menus.c
1732 + add some checks in lib_mouse to ensure SP is set.
1733 + modify C++ binding to make 20050403 changes work with the configure
1734 --enable-const option.
1737 + modify start_color() to return ERR if it cannot allocate memory.
1738 + address g++ compiler warnings in C++ binding by adding explicit
1739 member initialization, assignment operators and copy constructors.
1740 Most of the changes simply preserve the existing semantics of the
1741 binding, which can leak memory, etc., but by making these features
1742 visible, it provides a framework for improving the binding.
1743 + improve C++ binding using static_cast, etc.
1744 + modify configure script --enable-warnings to add options to g++ to
1745 correspond to the gcc --enable-warnings.
1746 + modify C++ binding to use some C internal functions to make it
1747 compile properly on Solaris (and other platforms).
1750 + amend change from 20050320 to limit it to configurations with a
1752 + fix a bug introduced in 20050320 which broke the translation of
1753 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
1756 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
1757 chtype and mmask_t, but add configure option --disable-lp64 in case
1758 anyone used that configuration.
1759 + update misc/shlib script to account for Mac OS X (report by Michail
1761 + correct comparison for wrapping multibyte characters in
1762 waddch_literal() (report by Takahashi Tamotsu).
1765 + add -c and -w options to tset to allow user to suppress ncurses'
1766 resizing of the terminal emulator window in the special case where it
1767 is not able to detect the true size (report by Win Delvaux, Debian
1769 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
1770 codes 128-159 as part of multibyte characters (report by Wang
1771 WenRui, Debian #300512).
1774 + modify ncurses.c 'd' test to make it work with 88-color
1775 configuration, i.e., by implementing scrolling.
1776 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
1780 + change tracemunch to use strict checking.
1781 + modify ncurses.c 'p' test to test line-drawing within a pad.
1782 + implement environment variable NCURSES_NO_UTF8_ACS to support
1783 miscellaneous terminal emulators which ignore alternate character
1784 set escape sequences when in UTF-8 mode.
1787 + change NCursesWindow::err_handler() to a virtual function (request by
1789 + modify fty_int.c and fty_num.c to handle wide characters (report by
1791 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1792 and wide characters inconsistently (report by Wolfgang Gutjahr).
1793 + update llib-* files to reflect internal interface additions/changes.
1796 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1798 + add aixterm-16color terminfo entry -TD
1799 + modified xterm-new terminfo entry to work with tgetent() changes -TD
1800 + extended changes in tgetent() from 20040710 to allow the substring of
1801 sgr0 which matches rmacs to be at the beginning of the sgr0 string
1802 (request by Thomas Wolff). Wolff says the visual effect in
1803 combination with pre-20040710 ncurses is improved.
1804 + fix off-by-one in winnstr() call which caused form field validation
1805 of multibyte characters to ignore the last character in a field.
1806 + correct logic in winsch() for inserting multibyte strings; the code
1807 would clear cells after the insertion rather than push them to the
1808 right (cf: 20040228).
1809 + fix an inconsistency in Check_Alpha_Field() between normal and wide
1810 character logic (report by Wolfgang Gutjahr).
1813 + fix a bug in editing wide-characters in form library: deleting a
1814 nonwide character modified the previous wide-character.
1815 + update manpage to describe NCURSES_MOUSE_VERSION 2.
1816 + correct manpage description of mouseinterval() (Debian #280687).
1817 + add a note to default_colors.3x explaining why this extension was
1818 added (Debian #295083).
1819 + add traces to panel library.
1822 + improve editing of wide-characters in form library: left/right
1823 cursor movement, and single-character deletions work properly.
1824 + disable GPM mouse support when $TERM happens to be prefixed with
1825 "xterm". Gpm_Open() would otherwise assert that it can deal with
1826 mouse events in this case.
1827 + modify GPM mouse support so it closes the server connection when
1828 the caller disables the mouse (report by Stanislav Ievlev).
1831 + add traces for callback functions in form library.
1832 + add experimental configure option --enable-ext-mouse, which defines
1833 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
1834 support wheel mice, which may transmit buttons 4 and 5. This works
1835 with xterm and similar X terminal emulators (prompted by question by
1836 Andreas Henningsson, this is also related to Debian #230990).
1837 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
1838 avoid redefinition warnings on cygwin.
1841 + merge remaining development changes for extended colors (mostly
1842 complete, does not appear to break other configurations).
1843 + add xterm-88color.dat (part of extended colors testing).
1844 + improve _tracedump() handling of color pairs past 96.
1845 + modify return-value from start_color() to return OK if colors have
1846 already been started.
1847 + modify curs_color.3x list error conditions for init_pair(),
1848 pair_content() and color_content().
1849 + modify pair_content() to return -1 for consistency with init_pair()
1850 if it corresponds to the default-color.
1851 + change internal representation of default-color to allow application
1852 to use color number 255. This does not affect the total number of
1853 color pairs which are allowed.
1854 + add a top-level tags rule.
1857 + add a null-pointer check in wgetch() in case it is called without
1858 first calling initscr().
1859 + add some null-pointer checks for SP, which is not set by libtinfo.
1860 + modify misc/shlib to ensure that absolute pathnames are used.
1861 + modify test/Makefile.in, etc., to link test programs only against the
1862 libraries needed, e.g., omit form/menu/panel library for the ones
1863 that are curses-specific.
1864 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
1865 libtinfo.so and libtinfow.so have the same ABI. The reason for this
1866 is that the corresponding data which belongs to the upper-level
1867 ncurses library has a different size in each model (report by
1871 + minor fixes to allow test-compiles with g++.
1872 + correct column value shown in tic's warnings, which did not account
1873 for leading whitespace.
1874 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
1875 where a following line begins in column 1.
1876 + modify _nc_save_str() to return a null pointer on buffer overflow.
1877 + improve repainting while scrolling wide-character data (Eungkyu Song).
1880 + merge some development changes to extend color capabilities.
1883 + merge some development changes to extend color capabilities.
1884 + fix manpage typo (FreeBSD report docs/75544).
1885 + update config.guess, config.sub
1886 > patches for configure script (Albert Chin-A-Young):
1887 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
1888 20030705), making vsscanf() prototype visible on IRIX64. Tested for
1889 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
1890 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
1891 + print the result of the --disable-home-terminfo option.
1892 + use -rpath when compiling with SGI C compiler.
1895 + add trace calls to remaining public functions in form and menu
1897 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
1898 + fix typo in test/ncurses.c 'c' test from 20041218.
1901 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
1902 and xterm-256color, added 'C' test using the wide-character color_set
1903 and attr_set functions.
1906 + modify configure script to work with Intel compiler.
1907 + fix an limit-check in wadd_wchnstr() which caused labels in the
1908 forms-demo to be one character short.
1909 + fix typo in curs_addchstr.3x (Jared Yanovich).
1910 + add trace calls to most functions in form and menu libraries.
1911 + update working-position for adding wide-characters when window is
1912 scrolled (prompted by related report by Eungkyu Song).
1915 + replace some references on Linux to wcrtomb() which use it to obtain
1916 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
1917 broken in glibc (see Debian #284260).
1918 + corrected length-computation in wide-character support for
1920 + some fixes to frm_driver.c to allow it to accept multibyte input.
1921 + modify configure script to work with Intel 8.0 compiler.
1924 + amend change to setupterm() in 20030405 which would reuse the value
1925 of cur_term if the same output was selected. This now reuses it only
1926 when setupterm() is called from tgetent(), which has no notion of
1927 separate SCREENs. Note that tgetent() must be called after initscr()
1928 or newterm() to use this feature (Redhat Bugzilla #140326).
1929 + add a check in CF_BUILD_CC macro to ensure that developer has given
1930 the --with-build-cc option when cross-compiling (report by Alexandre
1932 + improved configure script checks for _XOPEN_SOURCE and
1933 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
1935 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
1936 for consistency (comment by Dan Nelson).
1939 + update wsvt25 terminfo entry -TD
1940 + modify test/ins_wide.c to test all flavors of ins_wstr().
1941 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
1942 which consists of multi-column characters, since this function
1943 constructs them (cf: 20041023).
1944 + modify winnstr() to return multibyte character strings for the
1945 wide-character configuration.
1948 + fixes to make slk_set() and slk_wset() accept and store multibyte
1949 or multicolumn characters.
1952 + improve color optimization a little by making _nc_do_color() check
1953 if the old/new pairs are equivalent to the default pair 0.
1954 + modify assume_default_colors() to not require that
1955 use_default_colors() be called first.
1958 + modify term_attrs() to use termattrs(), add the extended attributes
1959 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
1960 + add logic in waddch_literal() to clear orphaned cells when one
1961 multi-column character partly overwrites another.
1962 + improved logic for clearing cells when a multi-column character
1963 must be wrapped to a new line.
1964 + revise storage of cells for multi-column characters to correct a
1965 problem with repainting. In the old scheme, it was possible for
1966 doupdate() to decide that only part of a multi-column character
1967 should be repainted since the filler cells stored only an attribute
1968 to denote them as fillers, rather than the character value and the
1972 + minor fixes for traces.
1973 + add SP->_screen_acs_map[], used to ensure that mapping of missing
1974 line-drawing characters is handled properly. For example, ACS_DARROW
1975 is absent from xterm-new, and it was coincidentally displayed the
1979 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
1980 and smacs strings as well. Also modify the check for screen's
1981 limitations in that area to allow the multi-character shift-in
1982 and shift-out which seem to work.
1983 + change GPM initialization, using dl library to load it dynamically
1984 at runtime (Debian #110586).
1987 + correct logic for color pair in setcchar() and getcchar() (patch by
1988 Marcin 'Qrczak' Kowalczyk).
1989 + add t/T commands to ncurses b/B tests to allow a different color to
1990 be tested for the attrset part of the test than is used in the
1994 + fix to make setcchar() to work when its wchar_t* parameter is
1995 pointing to a string which contains more data than can be converted.
1996 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
1997 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
2000 + remove check in wget_wch() added to fix an infinite loop, appears to
2001 have been working around a transitory glibc bug, and interferes
2002 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
2003 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
2004 information (report by Marcin 'Qrczak' Kowalczyk).
2005 + fix aclocal.m4 so that the wide-character version of ncurses gets
2006 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
2007 (adapted from patch by James J Ramsey).
2008 + change configure script for --with-caps option to indicate that it
2009 is no longer experimental.
2010 + change configure script to reflect the fact that --enable-widec has
2011 not been "experimental" since 5.3 (report by Bruno Lustosa).
2014 + add 'B' test to ncurses.c, to exercise some wide-character functions.
2017 + modify infocmp -i option to match 8-bit controls against its table
2018 entries, e.g., so it can analyze the xterm-8bit entry.
2019 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
2020 + correct translation of "%%" in terminfo format to termcap, e.g.,
2021 using "tic -C" (Redhat Bugzilla #130921).
2022 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
2023 it defines _POSIX_C_SOURCE, that it defines it to a specific value
2024 (comp.os.stratus newsgroup comment).
2027 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
2028 fatal, and gnat does not follow the guidelines for pragmas).
2029 However that did find a coding error in Assume_Default_Colors().
2030 + modify several terminfo entries to ensure xterm mouse and cursor
2031 visibility are reset in rs2 string: hurd, putty, gnome,
2032 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
2033 xterm entries are left alone - old ones for compatibility, and the
2034 new ones do not require this change. -TD
2037 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
2038 and window managers (Debian #265631).
2039 > terminfo updates -TD
2040 + remove dch/dch1 from rxvt because they are implemented inconsistently
2041 with the common usage of bce/ech
2042 + remove khome from vt220 (vt220's have no home key)
2046 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
2047 combinations of video attributes so that for instance bold and
2048 underline can be tested. This made the legend too crowded, added
2049 a help window as well.
2050 + modify test/ncurses.c 'b' test to cycle through default colors if
2051 the -d option is set.
2052 + update putty terminfo entry (Robert de Bath).
2055 + modify test/cardfile.c to allow it to read more data than can be
2057 + correct logic in resizeterm.c which kept it from processing all
2058 levels of window hierarchy (reports by Folkert van Heusden,
2062 + modify "tic -cv" to ignore delays when comparing strings. Also
2063 modify it to ignore a canceled sgr string, e.g., for terminals which
2064 cannot properly combine attributes in one control sequence.
2065 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
2066 patch by Hans de Goede)
2067 > terminfo updates -TD
2068 + make ncsa-m rmacs/smacs consistent with sgr
2069 + add sgr, rc/sc and ech to syscons entries
2070 + add function-keys to decansi
2071 + add sgr to mterm-ansi
2072 + add sgr, civis, cnorm to emu
2073 + correct/simplify cup in addrinfo
2076 > terminfo updates -TD
2077 + add xterm-pc-fkeys
2078 + review/update gnome and gnome-rh90 entries (prompted by Redhat
2080 + review/update konsole entries
2081 + add sgr, correct sgr0 for kterm and mlterm
2082 + correct tsl string in kterm
2085 + add configure option --without-xterm-new
2088 + add check in wget_wch() for printable bytes that are not part of a
2089 multibyte character.
2090 + modify wadd_wchnstr() to render text using window's background
2092 + improve tic's check to compare sgr and sgr0.
2093 + fix c++ directory's .cc.i rule.
2094 + modify logic in tgetent() which adjusts the termcap "me" string
2095 to work with ISO-2022 string used in xterm-new (cf: 20010908).
2096 + modify tic's check for conflicting function keys to omit that if
2097 converting termcap to termcap format.
2098 + add -U option to tic and infocmp.
2099 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
2100 > terminfo updates -TD
2101 + minor fixes for emu
2103 + change wyse acsc strings to use 'i' map rather than 'I'
2108 + use tic -x to install terminfo database -TD
2109 + add -x to infocmp's usage message.
2110 + correct field used for comparing O_ROWMAJOR in set_menu_format()
2111 (report/patch by Tony Li).
2112 + fix a missing nul check in set_field_buffer() from 20040508 changes.
2113 > terminfo updates -TD
2114 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
2116 + align with xterm patch #192's use of xterm-new -TD
2117 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
2118 + make xterm-new the default "xterm" entry -TD
2121 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
2122 cross-compiling from a separate directory tree (report/patch by
2124 + modify is_term_resized() to ensure that window sizes are nonzero,
2125 as documented in the manpage (report by Ian Collier).
2126 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
2127 (Debian #249214, report/patch by Jeff Bailey).
2128 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
2129 + update config.guess, config.sub
2130 > terminfo updates -TD
2132 + add xterm-xf86-v44
2133 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2134 relies on G1 being used via an ISO-2022 escape sequence (report by
2139 + reconsidered winsnstr(), decided after comparing other
2140 implementations that wrapping is an X/Open documentation error.
2141 + modify test/inserts.c to test all flavors of insstr().
2144 + add setlocale() calls to a few test programs which may require it:
2145 demo_forms.c, filter.c, ins_wide.c, inserts.c
2146 + correct a few misspelled function names in ncurses-intro.html (report
2148 + correct internal name of key_defined() manpage, which conflicted with
2152 + correct size of internal pad used for holding wide-character
2153 field_buffer() results.
2154 + modify data_ahead() to work with wide-characters.
2157 + improve description of terminfo if-then-else expressions (suggested
2159 + improve test/ncurses.c 'd' test, allow it to use external file for
2160 initial palette (added xterm-16color.dat and linux-color.dat), and
2161 reset colors to the initial palette when starting/ending the test.
2162 + change limit-check in init_color() to allow r/g/b component to
2163 reach 1000 (cf: 20020928).
2166 + modify form library to use cchar_t's rather than char's in the
2167 wide-character configuration for storing data for field buffers.
2168 + correct logic of win_wchnstr(), which did not work for more than
2172 + replace memset/memcpy usage in form library with for-loops to
2173 simplify changing the datatype of FIELD.buf, part of wide-character
2175 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2178 + modify menu library to account for actual number of columns used by
2179 multibyte character strings, in the wide-character configuration
2180 (adapted from patch by Philipp Tomsich).
2181 + add "-x" option to infocmp like tic's "-x", for use in "-F"
2182 comparisons. This modifies infocmp to only report extended
2183 capabilities if the -x option is given, making this more consistent
2184 with tic. Some scripts may break, since infocmp previous gave this
2185 information without an option.
2186 + modify termcap-parsing to retain 2-character aliases at the beginning
2187 of an entry if the "-x" option is used in tic.
2190 + minor compiler-warning and test-program fixes.
2193 + modify tic's missing-sgr warning to apply to terminfo only.
2194 + free some memory leaks in tic.
2195 + remove check in post_menu() that prevented menus from extending
2196 beyond the screen (request by Max J. Werner).
2197 + remove check in newwin() that prevents allocating windows
2198 that extend beyond the screen. Solaris curses does this.
2199 + add ifdef in test/color_set.c to allow it to compile with older
2201 + add napms() calls to test/dots.c to make it not be a CPU hog.
2204 + modify unctrl() to return null if its parameter does not correspond
2205 to an unsigned char.
2206 + add some limit-checks to guard isprint(), etc., from being used on
2207 values that do not fit into an unsigned char (report by Sami Farin).
2210 + fix a typo in the _nc_get_locale() change.
2213 + modify _nc_get_locale() to use setlocale() to query the program's
2214 current locale rather than using getenv(). This fixes a case in tin
2215 which relies on legacy treatment of 8-bit characters when the locale
2216 is not initialized (reported by Urs Jansen).
2217 + add sgr string to screen's and rxvt's terminfo entries -TD.
2218 + add a check in tic for terminfo entries having an sgr0 but no sgr
2219 string. This confuses Tru64 and HPUX curses when combined with
2220 color, e.g., making them leave line-drawing characters in odd places.
2221 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2222 original definitions used in Debian package to fix PowerPC bug before
2223 20030802 (Debian #237629).
2226 + modify PutAttrChar() and PUTC() macro to improve use of
2227 A_ALTCHARSET attribute to prevent line-drawing characters from
2228 being lost in situations where the locale would otherwise treat the
2229 raw data as nonprintable (Debian #227879).
2232 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2234 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2235 some apropos script (Debian #237831).
2238 + modify ncurses.c 'r' test so editing commands, like inserted text,
2239 set the field background, and the state of insert/overlay editing
2240 mode is shown in that test.
2241 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2242 + correct logic in test/ncurses.c 'b' for noncolor terminals which
2243 did not recognize a quit-command (cf: 20030419).
2246 + modify _nc_insert_ch() to allow for its input to be part of a
2248 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
2249 that this function performs wrapping, unlike all of the other
2250 insert-functions. Currently it does not wrap.
2251 + check for nl_langinfo(CODESET), use it if available (report by
2253 + split-out CF_BUILD_CC macro, actually did this for lynx first.
2254 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2255 which happened to work with bash, but not with Bourne shell (report
2256 by Marco d'Itri via tin-dev).
2259 + some changes to adapt the form library to wide characters, incomplete
2260 (request by Mike Aubury).
2261 + add symbol to curses.h which can be used to suppress include of
2263 #define NCURSES_ENABLE_STDBOOL_H 0
2265 (discussion on XFree86 mailing list).
2268 + modify configure --with-termlib option to accept a value which sets
2269 the name of the terminfo library. This would allow a packager to
2270 build libtinfow.so renamed to coincide with libtinfo.so (discussion
2271 with Stanislav Ievlev).
2272 + improve documentation of --with-install-prefix, --prefix and
2273 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2274 + add configure check if the compiler can use -c -o options to rename
2275 its output file, use that to omit the 'cd' command which was used to
2276 ensure object files are created in a separate staging directory
2277 (prompted by comments by Johnny Wezel, Martin Mokrejs).
2279 20040208 5.4 release for upload to ftp.gnu.org
2282 20040207 pre-release
2283 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2284 and do not count %d if it follows a %p.
2285 + correct an inconsistency between handling of codes in the 128-255
2286 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
2287 locale, the latter did not show printable results, while the former
2289 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2290 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2291 verified by Scott Corscadden).
2293 20040131 pre-release
2294 + modify SCREEN struct to align it between normal/wide curses flavors
2295 to simplify future changes to build a single version of libtinfo
2296 (patch by Stanislav Ievlev).
2297 + document handling of carriage return by addch() in manpage.
2298 + document special features of unctrl() in manpage.
2299 + documented interface changes in INSTALL.
2300 + corrected control-char test in lib_addch.c to account for locale
2301 (Debian #230335, cf: 971206).
2302 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2303 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2304 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2306 20040125 pre-release
2307 + amend change to PutAttrChar() from 20030614 which computed the number
2308 of cells for a possibly multi-cell character. The 20030614 change
2309 forced the cell to a blank if the result from wcwidth() was not
2310 greater than zero. However, wcwidth() called for parameters in the
2311 range 128-255 can give this return value. The logic now simply
2312 ensures that the number of cells is greater than zero without
2313 modifying the displayed value.
2315 20040124 pre-release
2316 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
2317 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
2318 that works better for cross-compiling.
2320 20040117 pre-release
2321 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
2322 work around core dump in Solaris 8's locale support, e.g., for
2323 zh_CN.GB18030 (report by Saravanan Bellan).
2324 + add includes for <stdarg.h> and <stdio.h> in configure script macro
2325 to make <wchar.h> check work with Tru64 4.0d.
2326 + add terminfo entry for U/Win -TD
2327 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
2329 + modify tput's error messages to prefix them with the program name
2330 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
2332 + correct a place in tack where exit_standout_mode was used instead of
2333 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
2334 + modify c++/cursesf.h to use const in the Enumeration_Field method.
2335 + remove an ambiguous (actually redundant) method from c++/cursesf.h
2336 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
2337 + improve sed script which extracts libtool's version in the
2338 CF_WITH_LIBTOOL macro.
2339 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
2340 simplify local patch for Albert Chin-A-Young)..
2341 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
2342 patch by Albert Chin-A-Young)..
2343 + fix a missing substitution in configure.in for "$target" needed for
2345 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
2346 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
2347 + make check for stdbool.h more specific, to ensure that including it
2348 will actually define/declare bool for the configured compiler.
2349 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
2350 intention of that is to #define NCURSES_BOOL as bool when the
2351 compiler declares bool, and to #define bool as NCURSES_BOOL when it
2352 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
2354 20040110 pre-release
2355 + change minor version to 4, i.e., ncurses 5.4
2356 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
2358 + simplified ncurses/base/version.c by defining the result from the
2359 configure script rather than using sprintf (suggested by Stanislav
2361 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
2363 + modify configure script so that when configuring for termlib, programs
2364 such as tic are not linked with the upper-level ncurses library
2365 (suggested by Stanislav Ievlev).
2366 + move version.c from ncurses/base to ncurses/tinfo to allow linking
2367 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
2370 + adjust -D's to build ncursesw on OpenBSD.
2371 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
2372 + add pecho_wchar().
2373 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
2374 available) on older platforms.
2377 + add -D's to build ncursew on FreeBSD 5.1.
2378 + modify shared library configuration for FreeBSD 4.x/5.x to add the
2379 soname information (request by Marc Glisse).
2380 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
2381 for limiting the length of a filename in the terminfo database.
2382 + modify termname() to return the terminal name used by setupterm()
2383 rather than $TERM, without truncating to 14 characters as documented
2384 by X/Open (report by Stanislav Ievlev, cf: 970719).
2385 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
2388 + add configure option --with-manpage-format=catonly to address
2389 behavior of BSDI, allow install of man+cat files on NetBSD, whose
2390 behavior has diverged by requiring both to be present.
2391 + remove leading blanks from comment-lines in manlinks.sed script to
2392 work with Tru64 4.0d.
2393 + add screen.linux terminfo entry (discussion on mutt-users mailing
2397 + add a check for tic to flag missing backslashes for termcap
2398 continuation lines. ncurses reads the whole entry, but termcap
2399 applications do not.
2400 + add configure option "--with-manpage-aliases" extending
2401 "--with-manpage-aliases" to provide the option of generating ".so"
2402 files rather than symbolic links for manpage aliases.
2403 + add bool definition in include/curses.h.in for configurations with no
2404 usable C++ compiler (cf: 20030607).
2405 + fix pathname of SigAction.h for building with --srcdir (reported by
2409 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
2410 since that header is used only within ncurses/tty/lib_tstp.c, for
2411 non-POSIX systems (discussion with Stanislav Ievlev).
2412 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
2413 <inger@altlinux.org>).
2414 + add test/background.c and test/color_set.c
2415 + modify color_set() function to work with color pair 0 (report by
2416 George Andreou <gbandreo@tem.uoc.gr>).
2417 + add configure option --with-trace, since defining TRACE seems too
2418 awkward for some cases.
2419 + remove a call to _nc_free_termtype() from read_termtype(), since the
2420 corresponding buffer contents were already zeroed by a memset (cf:
2422 + improve configure check for _XOPEN_SOURCE and related definitions,
2423 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
2424 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
2425 + small fixes to compile on Solaris and IRIX64 using cc.
2426 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
2430 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
2431 values (Philippe Blain).
2432 + improve the nanosleep() logic in napms() by checking for EINTR and
2433 restarting (Philippe Blain).
2434 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
2438 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
2439 + allow "\|" escape in terminfo; tic should not warn about this.
2440 + save the full pathname of the trace-file the first time it is opened,
2441 to avoid creating it in different directories if the application
2442 opens and closes it while changing its working directory.
2443 + modify configure script to provide a non-empty default for
2447 + add DJGPP to special case of DOS-style drive letters potentially
2448 appearing in TERMCAP environment variable.
2449 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
2451 + update config.guess, config.sub
2454 + fix a memory leak in error-return from setupterm() (report by
2455 Stanislav Ievlev <inger@altlinux.org>).
2456 + use EXEEXT and OBJEXT consistently in makefiles.
2457 + amend fixes for cross-compiling to use separate executable-suffix
2458 BUILD_EXEEXT (cf: 20031018).
2459 + modify MKkey_defs.sh to check for sort utility that does not
2460 recognize key options, e.g., busybox (report by Peter S Mazinger
2462 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
2463 David Krause using some of the new malloc debugging features
2464 under OpenBSD, patch by Ted Unangst).
2465 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
2466 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
2469 + update terminfo for xterm-xfree86 -TD
2470 + add check for multiple "tc=" clauses in a termcap to tic.
2471 + check for missing op/oc in tic.
2472 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
2473 tic to show cancelled capabilities. These functions were ignoring
2474 the state of the target entry, which should be untouched if cancelled.
2475 + correct comment in tack/output.c (Debian #215806).
2476 + add some null-pointer checks to lib_options.c (report by Michael
2478 + regenerated html documentation.
2479 + correction to tar-copy.sh, remove a trap command that resulted in
2480 leaving temporary files (cf: 20030510).
2481 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
2484 + updated test/configure to reflect changes for libtool (cf: 20030830).
2485 + fix several places in tack/pad.c which tested and used the parameter-
2486 and parameterless strings inconsistently, i.e., in pad_rin(),
2487 pad_il(), pad_indn() and pad_dl() (Debian #215805).
2488 + minor fixes for configure script and makefiles to cleanup executables
2489 generated when cross-compiling for DJGPP.
2490 + modify infocmp to omit check for $TERM for operations that do not
2491 require it, e.g., "infocmp -e" used to build fallback list (report by
2495 + add terminfo entries for DJGPP.
2496 + updated note about maintainer in ncurses-intro.html
2499 + update terminfo entries for gnome terminal.
2500 + modify tack to reset colors after each color test, correct a place
2501 where exit_standout_mode was used instead of exit_attribute_mode.
2502 + improve tack's bce test by making it set colors other than black
2504 + plug a potential recursion between napms() and _nc_timed_wait()
2505 (report by Philippe Blain).
2508 + add --with-rel-version option to allow workaround to allow making
2509 libtool on Darwin generate the "same" library names as with the
2510 --with-shared option. The Darwin ld program does not work well
2511 with a zero as the minor-version value (request by Chris Zubrzycki).
2512 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2513 + modify tack to allow it to run from fallback terminfo data.
2514 > patch by Philippe Blain:
2515 + improve PutRange() by adjusting call to EmitRange() and corresponding
2516 return-value to not emit unchanged characters on the end of the
2518 + improve a check for changed-attribute by exiting a loop when the
2520 + improve logic in TransformLine(), eliminating a duplicated comparison
2521 in the clr_bol logic.
2524 > patch by Philippe Blain:
2525 + in ncurses/tty/lib_mvcur.c,
2526 move the label 'nonlocal' just before the second gettimeofday() to
2527 be able to compute the diff time when 'goto nonlocal' used.
2528 Rename 'msec' to 'microsec' in the debug-message.
2529 + in ncurses/tty/lib_mvcur.c,
2530 Use _nc_outch() in carriage return/newline movement instead of
2531 putchar() which goes to stdout. Move test for xold>0 out of loop.
2532 + in ncurses/tinfo/setbuf.c,
2533 Set the flag SP->_buffered at the end of operations when all has been
2534 successful (typeMalloc can fail).
2535 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2538 + modify configure script to avoid using "head -1", which does not
2539 work if POSIXLY_CORRECT (sic) is set.
2540 + modify run_tic.in to avoid using wrong shared libraries when
2541 cross-compiling (Dan Kegel).
2544 + alter configure script help message to make it clearer that
2545 --with-build-cc does not specify a cross-compiler (suggested by Dan
2546 Kegel <dank@kegel.com>).
2547 + modify configure script to accommodate libtool 1.5, as well as add an
2548 parameter to the "--with-libtool" option which can specify the
2549 pathname of libtool (report by Chris Zubrzycki). We note that
2550 libtool 1.5 has more than one bug in its C++ support, so it is not
2551 able to install libncurses++, for instance, if $DESTDIR or the option
2552 --with-install-prefix is used.
2555 > patch by Philippe Blain:
2556 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2557 + make baudrate computation in delay_output() consistent with the
2558 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2561 + modify logic in waddch_literal() to take into account zh_TW.Big5
2562 whose multibyte sequences may contain "printable" characters, e.g.,
2563 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2564 + improve storage used by _nc_safe_strcpy() by ensuring that the size
2565 is reset based on the initialization call, in case it were called
2566 after other strcpy/strcat calls (report by Philippe Blain).
2567 > patch by Philippe Blain:
2568 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2569 + correct a place where _cup_cost was used rather than _cuu_cost
2572 + fix a small memory leak in _nc_free_termtype().
2573 + close trace-file if trace() is called with a zero parameter.
2574 + free memory allocated for soft-key strings, in delscreen().
2575 + fix an allocation size in safe_sprintf.c for the "*" format code.
2576 + correct safe_sprintf.c to not return a null pointer if the format
2577 happens to be an empty string. This applies to the "configure
2578 --enable-safe-sprintf" option (Redhat #101486).
2581 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2583 > patch by Philippe Blain:
2584 + change padding for change_scroll_region to not be proportional to
2585 the size of the scroll-region.
2586 + correct error-return in _nc_safe_strcat().
2589 + correct limit-checks in _nc_scroll_window() (report and test-case by
2590 Thomas Graf <graf@dms.at> cf: 20011020).
2591 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2595 + use clr_eol in preference to blanks for bce terminals, so select and
2596 paste will have fewer trailing blanks, e.g., when using xterm
2597 (request by Vincent Lefevre).
2598 + correct prototype for wunctrl() in manpage.
2599 + add configure --with-abi-version option (discussion with Charles
2601 > cygwin changes from Charles Wilson:
2602 + aclocal.m4: on cygwin, use autodetected prefix for import
2603 and static lib, but use "cyg" for DLL.
2604 + include/ncurses_dll.h: correct the comments to reflect current
2605 status of cygwin/mingw port. Fix compiler warning.
2606 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
2607 DLL, by adding the lib-directory to the PATH variable.
2608 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
2609 primary instead of nxterm, to match XFree86's xterm.terminfo
2610 usage and to prevent circular links.
2611 (rxvt): add additional codes from rxvt.org.
2612 (rxvt-color): new alias
2613 (rxvt-xpm): new alias
2614 (rxvt-cygwin): like rxvt, but with special acsc codes.
2615 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
2616 with a "native" MSWin GUI. Each takes different acsc codes,
2617 which are both different from the "normal" rxvt's acsc.
2618 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
2620 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
2624 + update config.guess, config.sub
2625 + add triples for configuring shared libraries with the Debian
2626 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
2629 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
2630 platforms have installed g++ along with the native C compiler, which
2631 would not accept gcc warning options.
2632 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
2633 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
2634 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
2635 + correct a sign-extension in wadd_wch() and wecho_wchar() from
2636 20030628 (report by Tomohiro Kubota).
2637 + work around omission of btowc() and wctob() from wide-character
2638 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
2640 + add portability note to curs_get_wstr.3x (Debian #199957).
2643 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
2644 respectively, to avoid calling waddch_noecho() with wide-character
2645 data, since that function assumes its input is 8-bit data.
2646 Similarly, modify waddnwstr() to call wadd_wch().
2647 + remove logic from waddnstr() which transformed multibyte character
2648 strings into wide-characters. Rewrite of waddch_literal() from
2649 20030621 assumes its input is raw multibyte data rather than wide
2650 characters (report by Tomohiro Kubota).
2653 + write getyx() and related 2-return macros in terms of getcury(),
2655 + modify waddch_literal() in case an application passes bytes of a
2656 multibyte character directly to waddch(). In this case, waddch()
2657 must reassemble the bytes into a wide-character (report by Tomohiro
2658 Kubota <kubota@debian.org>).
2661 + modify waddch_literal() in case a multibyte value occupies more than
2663 + modify PutAttrChar() to compute the number of character cells that
2664 are used in multibyte values. This fixes a problem displaying
2665 double-width characters (report/test by Mitsuru Chinen
2666 <mchinen@yamato.ibm.com>).
2667 + add a null-pointer check for result of keyname() in _tracechar()
2668 + modify _tracechar() to work around glibc sprintf bug.
2671 + add a call to setlocale() in cursesmain.cc, making demo display
2672 properly in a UTF-8 locale.
2673 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
2674 by discussion with Gabor Z Papp).
2675 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
2676 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
2677 + fix a redefinition of $RANLIB in the configure script when libtool
2678 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
2680 + simplify ifdef for bool declaration in curses.h.in (suggested by
2681 Albert Chin-A-Young).
2682 + remove configure script check to allow -Wconversion for older
2683 versions of gcc (suggested by Albert Chin-A-Young).
2686 + regenerated html manpages.
2687 + modify ifdef's in curses.h.in that disabled use of __attribute__()
2688 for g++, since recent versions implement the cases which ncurses uses
2690 + modify _nc_get_token() to handle a case where an entry has no
2691 description, and capabilities begin on the same line as the entry
2693 + fix a typo in ncurses_dll.h reported by gcc 3.3.
2694 + add an entry for key_defined.3x to man_db.renames.
2697 + modify setcchar() to allow converting control characters to complex
2698 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
2699 + add tkterm entry -TD
2700 + modify parse_entry.c to allow a terminfo entry with a leading
2701 2-character name (report by Don Libes).
2702 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
2703 + fix trace statements in read_entry.c to use lseek() rather than
2705 + fix signed/unsigned warnings from Sun's compiler (gcc should give
2706 these warnings, but it is unpredictable).
2707 + modify configure script to omit -Winline for gcc 3.3, since that
2709 + modify manlinks.sed to add a few functions that were overlooked since
2710 they return function pointers: field_init, field_term, form_init,
2711 form_term, item_init, item_term, menu_init and menu_term.
2714 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
2715 be switched between cooked/raw modes because it is not a TTY (report
2716 by Wolfgang Gutjahr <gutw@knapp.com>).
2717 + change parameter of define_key() and key_defined() to const (prompted
2719 + add a check in test/configure for ncurses extensions, since there
2720 are some older versions, etc., which would not compile with the
2721 current test programs.
2722 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
2723 convert wchar_t string to multibyte form before printing it.
2724 + corrections to lib_get_wstr.c:
2725 + null-terminate buffer passed to setcchar(), which occasionally
2727 + map special characters such as erase- and kill-characters into
2728 key-codes so those will work as expected even if they are not
2729 mentioned in the terminfo.
2730 + modify PUTC() and Charable() macros to make wide-character line
2731 drawing work for POSIX locale on Linux console (cf: 20021221).
2734 + make typography for program options in manpages consistent (report
2735 by Miloslav Trmac <mitr@volny.cz>).
2736 + correct dependencies in Ada95/src/Makefile.in, so the builds with
2737 "--srcdir" work (report by Warren L Dodge).
2738 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
2739 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
2740 + fix typos and whitespace in manpages (patch by Jason McIntyre
2741 <jmc@prioris.mini.pw.edu.pl>).
2744 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
2745 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
2746 the editing position before making modifications.
2747 + add test/demo_forms and associated test/edit_field.c demos.
2748 + modify test/configure.in to use test/modules for the list of objects
2749 to compile rather than using the list of programs.
2752 + modify logic of acsc to use the original character if no mapping is
2753 defined, noting that Solaris does this.
2754 + modify ncurses 'b' test to avoid using the acs_map[] array since
2755 20021231 changes it to no longer contain information from the acsc
2757 + modify makefile rules in c++, progs, tack and test to ensure that
2758 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
2759 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
2760 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
2761 not be shown when colors are used, i.e., if ncv#1 is set in the
2762 terminfo as is done in "screen".
2765 + add a test for slk_color(), in ncurses.c
2766 + fix some issues reported by valgrind in the slk_set() and slk_wset()
2767 code, from recent rewrite.
2768 + modify ncurses 'E' test to use show previous label via slk_label(),
2770 + modify wide-character versions of NewChar(), NewChar2() macros to
2771 ensure that the whole struct is initialized.
2774 + modify setupterm() to check if the terminfo and terminal-modes have
2775 already been read. This ensures that it does not reinvoke
2776 def_prog_mode() when an application calls more than one function,
2777 such as tgetent() and initscr() (report by Olaf Buddenhagen).
2780 + add 'E' test to ncurses.c, to exercise slk_wset().
2781 + correct handling of carriage-return in wgetn_wstr(), used in demo of
2783 + first draft of slk_wset() function.
2786 + improved warnings in tic when suppressing items to fit in termcap's
2788 + built a list in test/README showing which externals are being used
2789 by either programs in the test-directory or via internal library
2791 + adjust include-options in CF_ETIP_DEFINES to avoid missing
2792 ncurses_dll.h, fixing special definitions that may be needed for
2793 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2796 + minor fixes for cardfile.c, to make it write the updated fields to
2797 a file when ^W is given.
2798 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2802 + correct a case in _nc_remove_string(), used by define_key(), to avoid
2803 infinite loop if the given string happens to be a substring of other
2804 strings which are assigned to keys (report by John McCutchan).
2805 + add key_defined() function, to tell which keycode a string is bound
2806 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2807 + correct keybound(), which reported definitions in the wrong table,
2808 i.e., the list of definitions which are disabled by keyok().
2809 + modify demo_keydef.c to show the details it changes, and to check
2813 + restructured test/configure script, make it work for libncursesw.
2814 + add description of link_fieldtype() to manpage (report by
2815 L Dee Holtsclaw <dee@sunbeltsoft.com>).
2818 + corrected ifdef's relating to configure check for wchar_t, etc.
2819 + if the output is a socket or other non-tty device, use 1 millisecond
2820 for the cost in mvcur; previously it was 9 milliseconds because the
2821 baudrate was not known.
2822 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2823 glibc copies uninitialized data in that case, as noted by valgrind.
2824 + modify tput to use the same parameter analysis as tparm() does, to
2825 provide for user-defined strings, e.g., for xterm title, a
2826 corresponding capability might be
2828 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
2829 preprocessor. This works around Mac OS X's preprocessor, which
2830 insists on adding a blank on each side of the token (report/analysis
2831 by Kevin Murphy <murphy@genome.chop.edu>).
2834 + add configure check for wchar_t and wint_t types, rather than rely
2835 on preprocessor definitions. Also work around for gcc fixinclude
2836 bug which creates a shadow copy of curses.h if it sees these symbols
2837 apparently typedef'd.
2838 + if database is disabled, do not generate run_tic.sh
2839 + minor fixes for memory-leak checking when termcap is read.
2842 + add checking in tic for incomplete line-drawing character mapping.
2843 + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
2844 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
2845 Gerben Wierda <Sherlock@rna.nl>).
2846 + make return value from _nc_printf_string() consistent. Before,
2847 depending on whether --enable-safe-sprintf was used, it might not be
2848 cached for reallocating.
2851 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
2852 + correct a potentially-uninitialized value if _read_termtype() does
2853 not read as much data as expected (report by Wolfgang Rohdewald
2855 + correct several places where the aclocal.m4 macros relied on cache
2856 variable names which were incompatible (as usual) between autoconf
2857 2.13 and 2.5x, causing the test for broken-linker to give incorrect
2858 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
2859 <te@dbs.uni-hannover.de>).
2860 + do not try to open gpm mouse driver if standard output is not a tty;
2861 the gpm library does not make this check (bug report for dialog
2862 by David Oliveira <davidoliveira@develop.prozone.ws>).
2865 + modified emx.src to correspond more closely to terminfo.src, added
2866 emx-base to the latter -TD
2867 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
2868 implement support for that in lib_mouse.c, lib_getch.c
2871 + revert 20030105 change to can_clear_with(), does not work for the
2872 case where the update is made on cells which are blanks with
2873 attributes, e.g., reverse.
2874 + improve ifdef's to guard against redefinition of wchar_t and wint_t
2875 in curses.h (report by Urs Jansen).
2878 + improve mvcur() by checking if it is safe to move when video
2879 attributes are set (msgr), and if not, reset/restore attributes
2880 within that function rather than doing it separately in the GoTo()
2881 function in tty_update.c (suggested by Philippe Blain).
2882 + add a message in run_tic.in to explain more clearly what does not
2883 work when attempting to create a symbolic link for /usr/lib/terminfo
2884 on OS/2 and other platforms with no symbolic links (report by John
2886 + change several sed scripts to avoid using "\+" since it is not a BRE
2887 (basic regular expression). One instance caused terminfo.5 to be
2888 misformatted on FreeBSD (report by Kazuo Horikawa
2889 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
2890 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
2893 + improve description of terminfo operators, especially static/dynamic
2894 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
2895 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
2896 use the predefined TYPE_ALPHA field-type, and by defining a
2897 specialized type for the middle initial/name.
2898 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
2900 > patch by Philippe Blain:
2901 + optimize can_clear_with() a little by testing first if the parameter
2902 is indeed a "blank".
2903 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
2904 sections as small as one line.
2905 + improve ClrToEOL() by checking if clr_eos is available before trying
2907 + use tputs() rather than putp() in a few cases in tty_update.c since
2908 the corresponding delays are proportional to the number of lines
2909 affected: repeat_char, clr_eos, change_scroll_region.
2912 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
2913 global acs_map[] array; removed the lines that did the copying.
2916 + change some overlooked tputs() calls in scrolling code to use putp()
2917 (report by Philippe Blain).
2918 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
2919 is not a tty and consequently mode-changes do not work (report by
2920 <R.Chamberlin@querix.com>).
2921 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
2922 alternate-characters, i.e., to work with Linux console and UTF-8
2924 + correct line/column reference in adjust_window(), needed to make
2925 special windows such as curscr track properly when resizing (report
2926 by Lucas Gonze <lgonze@panix.com>).
2927 > patch by Philippe Blain:
2928 + correct the value used for blank in ClrBottom() (broken in 20000708).
2929 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
2932 + change several tputs() calls in scrolling code to use putp(), to
2933 enable padding which may be needed for some terminals (patch by
2935 + use '%' as sed substitute delimiter in run_tic script to avoid
2936 problems with pathname delimiters such as ':' and '@' (report by John
2938 + implement a workaround so that line-drawing works with screen's
2939 crippled UTF-8 support (tested with 3.9.13). This only works with
2940 the wide-character support (--enable-widec); the normal library will
2941 simply suppress line-drawing when running in a UTF-8 locale in screen.
2944 + allow BUILD_CC and related configure script variables to be
2945 overridden from the environment.
2946 + make build-tools variables in ncurses/Makefile.in consistent with
2947 the configure script variables (report by Maciej W Rozycki).
2948 + modify ncurses/modules to allow
2949 configure --disable-leaks --disable-ext-funcs
2950 to build (report by Gary Samuelson).
2951 + fix a few places in configure.in which lacked quotes (report by
2952 Gary Samuelson <gary.samuelson@verizon.com>).
2953 + correct handling of multibyte characters in waddch_literal() which
2954 force wrapping because they are started too late on the line (report
2955 by Sam Varshavchik).
2956 + small fix for CF_GNAT_VERSION to ignore the help-message which
2957 gnatmake adds to its version-message.
2958 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
2959 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
2961 + use $cross_compiling variable in configure script rather than
2962 comparing $host_alias and $target alias, since "host" is
2963 traditionally misused in autoconf to refer to the target platform.
2964 + change configure --help message to use "build" rather than "host"
2965 when referring to the --with-build-XXX options.
2968 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
2969 possible gnat versions such as 3.2 (report by Chris Lingard
2970 <chris@stockwith.co.uk>).
2971 + modify #define's for CKILL and other default control characters in
2972 tset to use the system's default values if they are defined.
2973 + correct interchanged defaults for kill and interrupt characters
2974 in tset, which caused it to report unnecessarily (Debian #171583).
2975 + repair check for missing C++ compiler, which is broken in autoconf
2976 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
2977 + update config.guess, config.sub (2002-11-30)
2978 + modify configure script to skip --with-shared, etc., when the
2979 --with-libtool option is given, since they would be ignored anyway.
2980 + fix to allow "configure --with-libtool --with-termlib" to build.
2981 + modify configure script to show version number of libtool, to help
2982 with bug reports. libtool still gets confused if the installed
2983 ncurses libraries are old, since it ignores the -L options at some
2984 point (tested with libtool 1.3.3 and 1.4.3).
2985 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
2986 prevent -I options in the user's environment from introducing
2987 conflicts with the build -I options (may be related to reports by
2988 Patrick Ash and George Goffe).
2989 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
2990 test/demo_keyok.c to allow building these with libtool.
2993 + add example program test/define_key.c for define_key().
2994 + add example program test/keyok.c for keyok().
2995 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
2996 + modify wins_wch() and wins_wstr() to interpret tabs by using the
2997 winsch() internal function.
2998 + modify setcchar() to allow for wchar_t input strings that have
2999 more than one spacing character.
3002 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
3003 + change type for *printw functions from NCURSES_CONST to const
3004 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
3005 but really from a note on X/Open's website stating that either is
3006 acceptable, and the latter will be used in a future revision).
3007 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
3008 lib_mouse.c (20021026) -TD
3009 + add screen-bce, screen-s entries from screen 3.9.13 (report by
3010 Adam Lazur <zal@debian.org>) -TD
3011 + add mterm terminfo entries -TD
3014 + split-out useful fragments in terminfo for vt100 and vt220 numeric
3015 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
3016 vt220+keypad. The last as embedded in various entries had ka3 and
3017 kb2 interchanged (report/discussion with Leonard den Ottolander
3018 <leonardjo@hetnet.nl>).
3019 + add check in tic for keypads consistent with vt100 layout.
3020 + improve checks in tic for color capabilities
3023 + check for missing/empty/illegal terminfo name in _nc_read_entry()
3024 (report by Martin Mokrejs, where $TERM was set to an empty string).
3025 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
3026 tab and other control characters consistently (report by Philippe
3028 + remove an #undef for KEY_EVENT from curses.tail used in the
3029 experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses
3030 dpkg's build script (Debian #165897).
3031 + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
3032 feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
3035 + implement logic in lib_mouse.c to handle position reports which are
3036 generated when XFree86 xterm is initialized with private modes 1002
3037 or 1003. These are returned to the application as the
3038 REPORT_MOUSE_POSITION mask, which was not implemented. Tested both
3039 with ncurses 'a' menu (prompted by discussion with Larry Riedel
3040 <Larry@Riedel.org>).
3041 + modify lib_mouse.c to look for "XM" terminfo string, which allows
3042 one to override the escape sequence used to enable/disable mouse
3043 mode. In particular this works for XFree86 xterm private modes
3044 1002 and 1003. If "XM" is missing (note that this is an extended
3045 name), lib_mouse uses the conventional private mode 1000.
3046 + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
3047 where it used screen_lines (report by Philippe Blain).
3048 + correct makefile rules for the case when both --with-libtool and
3049 --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
3050 + add note to terminfo manpage regarding the differences between
3051 setaf/setab and setf/setb capabilities (report by Pavel Roskin).
3054 + remove redundant initialization of TABSIZE in newterm(), since it is
3055 already done in setupterm() (report by Philippe Blain).
3056 + add test/inserts.c, to test winnstr() and winsch().
3057 + replace 'sort' in dist.mk with script that sets locale to POSIX.
3058 + update URLs in announce.html.in (patch by Frederic L W Meunier).
3059 + remove glibc add-on files, which are no longer needed (report by
3060 Frederic L W Meunier).
3062 20021012 5.3 release for upload to ftp.gnu.org
3063 + modify ifdef's in etip.h.in to allow the etip.h header to compile
3064 with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
3065 + add logic to setupterm() to make it like initscr() and newterm(),
3066 by checking for $NCURSES_TRACE environment variable and enabling
3067 the debug trace in that case.
3068 + modify setupterm() to ensure that it initializes the baudrate, for
3069 applications such as tput (report by Frank Henigman).
3070 + modify definition of bits used for command-line and library debug
3071 traces to avoid overlap, using new definition TRACE_SHIFT to relate
3073 + document tput's interpretation of parameterized strings according to
3074 whether parameters are given, etc. (discussion with Robert De Bath).
3076 20021005 pre-release
3077 + correct winnwstr() to account for non-character cells generated when
3078 a double-width character is added (report by Michael Bienia
3079 <michael@vorlon.ping.de>).
3080 + modify _nc_viswbuf2n() to provide better results using wctomb().
3081 + correct logic in _nc_varargs() which broke tracing of parameters for
3082 formats such as "%.*s".
3083 + correct scale factor in linux-c and linux-c-nc terminfo entries
3084 (report Floyd Davidson).
3085 + change tic -A option to -t, add the same option to infocmp for
3087 + correct "%c" implementation in lib_tparm.c, which did not map a null
3088 character to a 128 (cf: 980620) (patch by Frank Henigman
3089 <fjhenigman@mud.cgl.uwaterloo.ca>).
3091 20020928 pre-release
3092 + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
3093 it is found, to accommodate newer utility which dropped the
3094 compatibility support for +number options (reported by Andrey A
3096 + modify linux terminfo entry to use color palette feature from
3097 linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
3098 + restore original color definitions in endwin() if init_color() was
3099 used, and resume those colors on the next doupdate() or refresh()
3100 (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
3101 + improve debug-traces by modifying MKlib_gen.sh to generate calls
3102 to returnBool() and returnAttr().
3103 + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
3104 of waddnstr() and similar functions to match the parameters as used.
3105 + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
3106 + correct type used by _nc_retrace_chtype().
3107 + add debug traces to some functions in lib_mouse.c
3108 + modify lib_addch.c to handle non-spacing characters.
3109 + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
3110 demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
3111 + correct width computed in _tracedump(), which did not account for
3112 the attributes (broken in 20010602).
3113 + modify test/tracemunch to replace addresses for windows other than
3114 curscr, newscr and stdscr with window0, window1, etc.
3116 20020921 pre-release
3117 + redid fix for edit_man.sed path.
3118 + workaround for Cygwin bug which makes subprocess writes to stdout
3119 result in core dump.
3120 + documented getbegx(), etc.
3121 + minor fixes to configure script to use '%' consistently as a sed
3122 delimiter rather than '@'.
3123 > patch by Philippe Blain:
3124 + add check in lib_overlay.c to ensure that the windows to be merged
3125 actually overlap, and in copywin(), limit the area to be touched
3126 to the lines given for the destination window.
3128 20020914 pre-release
3129 + modified curses.h so that if the wide-character version is installed
3130 overwriting /usr/include/curses.h, and if it relied on libutf8.h,
3131 then applications that use that header for wide-character support
3132 must define HAVE_LIBUTF8_H.
3133 + modify putwin(), getwin() and dupwin() to allow them to operate on
3134 pads (request by Philippe Blain).
3135 + correct attribute-merging in wborder(), broken in 20020216 (report
3136 by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
3137 > patch by Philippe Blain:
3138 + corrected pop-counts in tparam_internal() to '!' and '~' cases.
3139 + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
3140 + remove some unused variables from mvcur test-driver.
3142 20020907 pre-release
3143 + change configure script to allow install of widec-character
3144 (ncursesw) headers to overwrite normal (ncurses) headers, since the
3145 latter is a compatible subset of the former.
3146 + fix path of edit_man.sed in configure script, needed to regenerate
3147 html manpages on Debian.
3148 + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
3149 + update README.emx to reflect current patch used for autoconf.
3150 + change web- and ftp-site to invisible-island.net
3151 > patch by Philippe Blain:
3152 + change case for 'P' in tparam_internal() to indicate that it pops
3153 a variable from the stack.
3154 + correct sense of precision and width in parse_format(), to avoid
3156 + modify lib_tparm.c, absorb really_get_space() into get_space().
3157 + modify getwin() and dupwin() to copy the _notimeout, _idlok and
3158 _idcok window fields.
3159 + better fix for _nc_set_type(), using typeMalloc().
3161 20020901 pre-release
3162 + change minor version to 3, i.e., ncurses 5.3
3163 + update config.guess, config.sub
3164 + retest build with each configure option; minor ifdef fixes.
3165 + make keyname() return a null pointer rather than "UNKNOWN STRING" to
3167 + modify handling of wide line-drawing character functions to use the
3168 normal line-drawing characters when not in UTF-8 locale.
3169 + add check/fix to comp_parse.c to suppress warning about missing acsc
3170 string. This happens in configurations where raw termcap information
3171 is processed; tic already does this and other checks.
3172 + modify tic's check for ich/ich1 versus rmir/smir to only warn about
3173 ich1, to match xterm patch #70 notes.
3174 + moved information for ripped-off lines into SCREEN struct to allow
3175 use in resizeterm().
3176 + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
3177 (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
3178 + amend check in kgetch() from 20020824 to look only for function-keys,
3179 otherwise escape sequences are not resolved properly.
3180 > patch by Philippe Blain:
3181 + removed redundant assignment to SP->_checkfd from newterm().
3182 + check return-value of setupterm() in restartterm().
3183 + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
3184 + prevent dupwin() from duplicating a pad.
3185 + prevent putwin() from writing a pad.
3186 + use typeRealloc() or typeMalloc() in preference to direct calls on
3190 + add a check in kgetch() for cooked characters in the fifo to avoid
3191 calling fifo_push() when a KEY_RESIZE is available (report/analysis
3192 by Sam Varshavchik <mrsam@courier-mta.com>).
3193 + fix an overlooked case for bugzilla #68199 (Philippe Blain).
3194 + ensure clearerr() is called before using ferror() e.g., in
3195 lib_screen.c (report by Philippe Blain).
3198 + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
3199 pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
3200 modify the global curscr/stdscr/newscr variables. Fixes Redhat
3201 bugzilla #68199 dated 2002-07-07.
3202 + add checks for null pointer in calls to tparm() and tgoto() based on
3203 FreeBSD bug report. If ncurses were built with termcap support, and
3204 the first call to tgoto() were a zero-length string, the result would
3205 be a null pointer, which was not handled properly.
3206 + correct a typo in terminfo.head, which gave the octal code for colon
3208 + remove the "tic -u" option from 20020810, since it did not account
3209 for nested "tc=" clauses, and when that was addressed, was still
3213 + add tic -A option to suppress capabilities which are commented out
3214 when translating to termcap.
3215 + add tic -u option to provide older behavior of "tc=" clauses.
3216 + modified tic to expand all but the final "tc=" clause in a termcap
3217 entry, to accommodate termcap libraries which do not handle multiple
3219 + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
3221 + remove a couple of redundant uses of A_ATTRIBUTES in expressions
3222 using AttrOf(), which already incorporates that mask (report by
3224 + document TABSIZE variable.
3225 + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
3226 override compiled-in default black-on-white assumption used in
3227 assume_default_colors().
3228 + correct an off-by-one comparison against max_colors in COLORFGBG
3230 + correct a use of uninitialized memory found by valgrind (reported by
3231 Olaf Buddenhagen <olafBuddenhagen@web.de>).
3232 + modified wresize() to ensure that a failed realloc will not corrupt
3233 the window structure, and to make subwindows fit within the resized
3234 window (completes Debian #87678, #101699)
3237 + fix an off-by-one in lib_pad.c check for limits of pad (patch by
3239 + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
3240 logic used by lib_getch.c's support for GPM or EMX mouse (report by
3242 + remove NCURSES_CONST from several prototypes in curses.wide, to make
3243 the --enable-const --enable-widec configure options to work together
3244 (report by George Goffe <grgoffe@yahoo.com>).
3247 + finish no-leak checking in cardfile.c, using this for testing changes
3249 + simplify _nc_freeall() using delscreen().
3252 + check error-return from _nc_set_tty_mode() in _nc_initscr() and
3253 reset_prog_mode() (report/patch by Philippe Blain).
3254 + regenerate configure using patch for autoconf 2.52, to address
3255 problem with identifying C++ bool type.
3256 + correct/improve logic to produce an exit status for errors in tput,
3257 which did not exit with an error when told to put a string not in the
3258 current terminfo entry (report by David Gomez <david@pleyades.net>).
3259 + modify configure script AC_OUTPUT() call to work around defect in
3260 autoconf 2.52 which adds an ifdef'd include to the generated
3261 configure definitions.
3262 + remove fstat() check from scr_init(), which also fixes a missing
3263 include for <sys/stat.h> from 20020713 (reported by David Ellement,
3264 fix suggested by Philippe Blain).
3265 + update curs_scanw.3x manpage to note that XSI curses differs from
3266 SVr4 curses: return-values are incompatible.
3267 + correct several prototypes in manpages which used const
3268 inconsistently with the curses.h file, and removed spurious const's
3269 in a few places from curses.h, e.g., for wbkgd() (report by Glenn
3270 Maynard <glenn@zewt.org>).
3271 + change internal type used by tparm() to long, to work with LP64 model.
3272 + modify nc_alloc.h to allow building with g++, for testing.
3275 + add resize-handling to cardfile.c test program.
3276 + altered resizeterm() to avoid having it fail when a child window
3277 cannot be resized because it would be larger than its parent. (More
3278 work must be done on this, but it works well enough to integrate).
3279 + improve a limit-check in lib_refresh.c
3280 + remove check in lib_screen.c relating dumptime to file's modification
3281 times, since that would not necessarily work for remotely mounted
3283 + modify lrtest to simplify debugging changes to resizeterm, e.g.,
3284 t/T commands to enable/disable tracing.
3285 + updated status of multibyte support in TO-DO.
3286 + update contact info in source-files (patch by Juergen Pfeifer).
3289 + add Caps.hpux11, as an example.
3290 + modify version_filter(), used to implement -R option for tic and
3291 infocmp, to use computed array offsets based on the Caps.* file which
3292 is actually configured, rather than constants which correspond to
3294 + reorganized lib_raw.c to avoid updating SP and cur_term state if the
3295 functions fail (reported by Philippe Blain).
3296 + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
3299 + correct parameters to setcchar() in ncurses.c (cf: 20020406).
3300 + set locale in most test programs (view.c and ncurses.c were the
3302 + add configure option --with-build-cppflags (report by Maksim A
3303 Nikulin <M.A.Nikulin@inp.nsk.su>).
3304 + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
3306 + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
3307 in UTF-8 locale. Wide-character functions use Unicode values, while
3308 narrow-character functions use the terminfo data.
3309 + fix a couple of places in Ada95/samples which did not compile with
3311 + modify mkinstalldirs so the DOS-pathname case is locale-independent.
3312 + fix locale problem in MKlib_gen.sh by forcing related variables to
3313 POSIX (C), using same approach as autoconf (set variables only if
3314 they were set before). Update MKterminfo.sh and MKtermsort.sh to
3318 + add charset to generated html.
3319 + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
3320 <dcrudy@pacbell.net> -TD
3321 + add rxvt-16color, ibm+16color entries -TD
3322 + modify check in --disable-overwrite option so that it is used by
3323 default unless the --prefix/$prefix value is not /usr, in attempt to
3324 work around packagers, e.g., for Sun's freeware, who do not read the
3328 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
3329 key code in get_wch().
3330 + extended resize-handling in test/ncurses 'a' menu to the entire
3331 stack of windows created with 'w' commands.
3332 + improve $COLORFGBG feature by interpreting an out-of-range color
3333 value as an SGR 39 or 49, for foreground/background respectively.
3334 + correct a typo in configure --enable-colorfgbg option, and move it
3335 to the experimental section (cf: 20011208).
3338 + add logic to dump_entry.c to remove function-key definitions that do
3339 not fit into the 1023-byte limit for generated termcaps. This makes
3341 + more improvements to tic's warnings, including logic to ignore
3342 differences between delay values in sgr strings.
3343 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
3344 accommodate Caps.osf1r5 which introduced a conflicting definition.
3347 + add simple resize-handling in test/ncurses.c 'a' menu.
3348 + fixes in keyname() and _tracechar() to handle negative values.
3349 + make tic's warnings about mismatches in sgr strings easier to follow.
3350 + correct tic checks for number of parameters in smgbp and smglp.
3351 + improve scoansi terminfo entry, and add scoansi-new entry -TD
3352 + add pcvt25-color terminfo entry -TD
3353 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
3354 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
3355 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
3356 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
3359 + correct and simplify logic for lib_pad.c change in 20020518 (reported
3363 + fix lib_pad.c for case of drawing a double-width character which
3364 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
3365 <lerdsuwa@users.sourceforge.net>)
3366 + modify configure script to work around broken gcc 3.1 "--version"
3367 option, which adds unnecessary trash to the requested information.
3368 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
3369 (reported by Ben Decker <deckerben@freenet.de>).
3372 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
3373 character versions as well.
3374 + implement erasewchar(), killwchar() based on erasechar() and
3376 + modify erasechar() and killchar() to return ERR if the value was
3378 + correct a bug in wresize() in handling subwindows (based on patch by
3379 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
3380 <scott@gossamer-threads.com>).
3381 + improve test/tclock.c by making the second-hand update more often
3382 if gettimeofday() is available.
3385 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
3386 Tsouladze <andyt@mypoints.com>).
3389 + correct return-value from getcchar(), making it consistent with
3391 + reorder loops that generate makefile rules for different models vs
3392 subsets so configure --with-termlib works again. This was broken by
3393 logic added to avoid duplicate rules in changes to accommodate cygwin
3394 dll's (reported by George.R.Goffe@seagate.com).
3395 + update config.guess, config.sub
3398 + modify ifdef's in write_entry.c to allow use of symbolic links on
3399 platforms with no hard links, e.g., BeOS.
3400 + modify a few includes to allow compile with BeOS, which has stdbool.h
3401 with a conflicting definition for 'bool' versus its OS.h definition.
3402 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
3403 alias for 'function'.
3406 + correct form of prototype for ripoffline().
3407 + modify MKlib_gen.sh to test that all functions marked as implemented
3411 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
3412 + implement wgetn_wstr().
3413 + implement win_wchnstr().
3414 + remove redefinition of unget_wch() in lib_gen.c (reported by
3415 Jungshik Shin <jshin@jtan.com>).
3418 + modified several of the test programs to allow them to compile with
3419 vendor curses implementations, e.g., Solaris, AIX -TD
3422 + modified test/configure to allow configuring against ncursesw.
3423 + change WACS_xxx definition to use address, to work like Tru64 curses.
3426 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
3427 effect of echo/noecho and meta modes.
3428 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
3430 + add manpage: curs_get_wch.3x
3431 + implement unget_wch().
3432 + implement wget_wch().
3435 + regenerated html manpages.
3436 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
3437 + implement wins_wch().
3438 + implement win_wch().
3439 + implement wins_nwstr(), wins_wstr().
3442 + add manpages: curs_addwstr.3x, curs_winwstr.3x
3443 + implement winnwstr(), winwstr().
3446 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
3447 + document wunctrl, key_name.
3448 + implement key_name().
3449 + remove const's in lib_box.c incorrectly leftover after splitting off
3451 + update llib-lncurses, llib-ncursesw, fix configure script related to
3455 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
3456 in spurious symlinks on install.
3459 + implement whline_set(), wvline_set(), add manpage curs_border_set.
3460 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
3461 box() and box_set() functions.
3462 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
3463 given UTF-8 string equivalents of WACS_xxx symbols.
3464 + minor fixes to several manpages based on groff -ww output.
3465 + add descriptions of external variables of termcap interface to
3466 the manpage (report by Bruce Evans <bde@zeta.org.au>).
3467 > patches by Bernhard Rosenkraenzer:
3468 + correct configure option --with-bool, which was executed as
3470 + add quotes for parameters of --with-bool and --with-ospeed configure
3472 > patch by Sven Verdoolaege (report by Gerhard Haering
3473 <haering_linux@gmx.de>):
3474 + correct typos in definitions of several wide-character macros:
3475 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
3477 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
3478 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
3481 + implement wide-acs characters for UTF-8 locales. When in UTF-8
3482 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
3484 + correct prototype in keybound manpage (noted from a Debian mailing
3488 + add several cases to the wscanw() example in testcurs.c, showing the
3490 + implement a simple vsscanf() fallback function which uses the %n
3491 conversion to help parse the input data (prompted by discussion with
3492 Albert Chin-A-Young).
3493 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
3494 shared libraries, and to use $(CFLAGS) when linking test programs
3495 (patch by Albert Chin-A-Young).
3496 + add a call to _nc_keypad() in keypad() to accommodate applications
3497 such as nvi, which use curses for output but not for input (fixes
3498 Debian #131263, cf: 20011215).
3499 + add entrypoints to resizeterm.c which provide better control over the
3500 process: is_term_resized() and resize_term(). The latter restores
3501 the original design of resizeterm() before KEY_RESIZE was added in
3502 970906. Do this to accommodate 20010922 changes to view.c, but allow
3503 for programs with their own sigwinch handler, such as lynx (reported
3504 by Russell Ruby <russ@math.orst.edu>).
3507 + fix a typo in change to mk-1st.awk, which broke the shared-library
3508 makefile rules (reported by Martin Mokrejs).
3511 + update config.guess, config.sub
3512 + finish changes needed to build dll's on cygwin.
3513 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
3516 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
3517 + correct missing sed-editing stage in manpage installs which is used
3518 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
3520 + remove -L$(libdir) from linker flags, probably not needed any more
3521 since HPUX is handled properly (reported by Niibe Yutaka
3523 + add configure check for mbstate_t, needed for wide-character
3524 configuration. On some platforms we must include <wchar.h> to
3525 define this (reported by Daniel Jacobowitz).
3526 + incorporate some of the changes needed to build dll's on cygwin.
3529 + workaround for awk did not work with mawk, adjusted shell script.
3532 + add Caps.osf1r5, as an example.
3533 + modify behavior of can_clear_with() so that if an application is
3534 running in a non-bce terminals with default colors enabled, it
3535 returns true, allowing the user to select/paste text without picking
3536 up extraneous trailing blanks (adapted from patch by Daniel
3537 Jacobowitz <dmj+@andrew.cmu.edu>).
3538 + modify generated curses.h to ifdef-out prototypes for extensions if
3539 they are disabled, and to define curses_version() as a string in that
3540 case. This is needed to make the programs such as tic build in that
3542 + modified generated headers.sh to remove a gzip'd version of the
3543 target file if it exists, in case non-gzip'd manpages are installed
3544 into a directory where gzip'd ones exist. In that case, the latter
3546 + corrected a redundant initialization of signal handlers from 20010922
3548 + clarified bug-reporting address in terminfo.src (report by John H
3549 DuBois III <spcecdt@armory.com>).
3550 > several fixes from Robert Joop:
3551 + do not use "-v" option of awk in MKkey_defs.sh because it does not
3552 work with SunOS nawk.
3553 + modify definitions for libutf8 in curses.h to avoid redefinition
3555 + quoted references to compiler in shell command in misc/Makefile, in
3556 case it uses multiple tokens.
3559 + restore special case from 20010922 changes to omit SA_RESTART when
3560 setting up SIGWINCH handler, which is needed to allow wgetch() to be
3561 interrupted by that signal.
3562 + update configure macro CF_WITH_PATHLIST, to omit some double quotes
3563 not needed with autoconf 2.52
3564 + revert configure script to autoconf 2.13 patched with
3565 autoconf-2.13-19990117.patch.gz (or later)
3567 ftp://invisible-island.net/autoconf/
3568 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
3569 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
3570 different problem configuring with Mac OS X (reported by Marc Smith
3571 <marc.a.smith@home.com>).
3574 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
3576 + move prototype for _nc_vsscanf() into curses.h.in to omit
3577 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
3578 ncurses_cfg.h file which is not installed.
3579 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
3580 to work with broken linker configuration, e.g., cygwin (report by
3581 Robert Joop <rj@rainbow.in-berlin.de>).
3582 + make napms() call _nc_timed_wait() rather than poll() or select(),
3583 to work around broken implementations of these on cygwin.
3586 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
3587 by Sven Verdoolaege's rewrite of wide-character support. This makes
3588 libncursesw incompatible again, but makes the header files almost the
3589 same as in the narrow-character configuration.
3590 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
3591 to eliminate differences between the wide/narrow versions of curses.h
3592 + correct typo in configure macro CF_FUNC_VSSCANF
3593 + correct location of call to _nc_keypad() from 20011215 changes which
3594 prevented keypad() from being disabled (reported by Lars Hecking).
3597 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
3598 better, e.g., by adding a 'w' command to create new windows which
3599 may have different keypad() settings.
3600 + corrected logic of keypad() by adding internal screen state to track
3601 whether the terminal's keypad-mode has been set. Use this in
3602 wgetch() to update the keypad-mode according to whether the
3603 associated window's keypad-mode has been set with keypad(). This
3604 corrects a related problem restoring terminal state after handling
3605 SIGTSTP (reported by Mike Castle).
3606 + regenerate configure using patch for autoconf 2.52
3607 autoconf-2.52-patch.gz
3609 ftp://invisible-island.net/autoconf/
3610 + update config.guess, config.sub from
3611 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3612 + minor changes to quoting in configure script to allow it to work
3616 + modify final checks in lib_setup.c for line and col values, making
3618 + modify acs_map[] if configure --broken-linker is specified, to make
3619 it use a function rather than an array (prompted by an incorrect
3620 implementation in cygwin package).
3621 + correct spelling of configure option --enable-colorfgbg, which
3622 happened to work if --with-develop was set (noted in cygwin package
3624 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
3625 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
3626 + add configure checks to see if ncurses' fallback vsscanf() will
3627 compile either of the special cases for FILE structs, and if not,
3628 force it to the case which simply returns an error (report by
3629 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
3630 64-bits does not allow access to FILE's fields).
3631 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
3632 the ncurses library if no better substitute for this can be found
3634 + modify the build to name dynamic libraries according to the
3635 convention used on OS X and Darwin. Rather than something like
3636 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
3637 There are a few additional minor fixes, such as setting the library
3638 version and compatibility version numbers (patch by Jason Evans
3639 <jevans@apple.com>).
3640 + use 'sh' to run mkinstalldirs, to work around problems with buggy
3641 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
3642 + correct typo in manpage description of curs_set() (Debian #121548).
3643 + replace the configure script existence-check for mkstemp() by one
3644 that checks if the function works, needed for older glibc and
3648 + modify script that generates fallbacks.c to compile a temporary
3649 copy of the terminfo source in case the host does not contain all of
3650 the entries requested for fallbacks (request by Greg Roelofs).
3651 + modify configure script to accommodate systems such as Mac OS X whose
3652 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
3653 which normally makes 'bool' consistent with C++. Include <stdbool.h>
3654 from curses.h to force consistent usage, define a new type
3655 NCURSES_BOOL and related that to the exported 'bool' as either a
3656 typedef or definition, according to whether <stdbool.h> is present
3657 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
3660 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
3663 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3664 (Benjamin C W Sittler).
3665 + add putty terminfo entry -TD
3666 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
3667 this may not otherwise be defined to make test/view.c compile.
3670 + review/correct several missing/generated items in curses.wide, sorted
3671 the lists to make subsequent diff's easier to track.
3674 + add manual pages for add_wch(), echo_wchar(), getcchar(),
3675 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
3676 + implement wecho_wchar()
3677 + modify _tracedump() to handle wide-characters by mapping them to '?'
3678 and control-characters to '.', to make the trace file readable. Also
3679 dynamically allocate the buffer used by _tracedump() for formatting
3681 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
3682 in a trace by using curly braces.
3683 + implement _nc_viscbuf(), for tracing cchar_t arrays.
3684 + correct trace-calls in setcchar() and getcchar() functions, which
3685 traced the return values but not the entry to each function.
3686 + correct usage message in test/view.c, which still mentioned -u flag.
3689 + modify configure script to allow building with termcap only, or with
3690 fallbacks only. In this case, we do not build tic and toe.
3691 + add configure --with-termpath option, to override default TERMPATH
3692 value of /etc/termcap:/usr/share/misc/termcap.
3693 + cosmetic change to tack: make menu descriptions agree with menu
3697 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
3698 to ensure that if the parameter of wscrl() is larger than the size of
3699 the scrolling region, then the scrolling region will be cleared
3700 (report by Ben Kohlen <bckohlen@yahoo.com>).
3701 + add trace/varargs.c, using this to trace parameters in lib_printw.c
3702 + implement _tracecchar_t2() and _tracecchar_t().
3703 + split-out trace/visbuf.c
3704 + correct typo in lib_printw.c changes from 20010922 (report by Mike
3708 + modify run_tic.sh to check if the build is a cross-compile. In that
3709 case, do not use the build's tic to install the terminfo database
3710 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
3711 + modify mouse click resolution so that mouseinterval(-1) will disable
3712 it, e.g., to handle touchscreens via a slow connection (request by
3713 Byron Stanoszek <gandalf@winds.org>).
3714 + correct mouseinterval() default value shown in curs_mouse.3x
3715 + remove conflicting definition of mouse_trafo() (reported by Lars
3716 Hecking, using gcc 2.95.3).
3719 + simpler fix for signal_name(), to replace the one overlooked in
3720 20010929 (reported by Larry Virden).
3723 + add -i option to view.c, to test ncurses' check for non-default
3724 signal handler for SIGINT, etc.
3725 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
3726 <bbraun@synack.net>).
3727 + modify tset to restore original I/O modes if an error is encountered.
3728 Also modify to use buffered stderr consistently rather than mixing
3730 + change signal_name() function to use if-then-else rather than case
3731 statement, since signal-values aren't really integers (reported by
3733 + add limit checks in wredrawln(), fixing a problem where lynx was
3734 repainting a pad which was much larger than the screen.
3737 + fix: PutRange() was counting the second part of a wide character as
3738 part of a run, resulting in a cursor position that was one too far
3739 (patch by Sven Verdoolaege).
3740 + modify resizeterm() to not queue a KEY_RESIZE if there was no
3741 SIGWINCH, thereby separating the two styles of SIGWINCH handling
3743 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
3744 + eliminate several static buffers in the terminfo compiler, using
3746 + modify MKkeyname.awk so that keyname() does not store its result into
3747 a static buffer that is overwritten by the next call.
3748 + reorganize the output of infocmp -E and -e options to compile cleanly
3749 with gcc -Wwrite-strings warnings.
3750 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
3753 + add label to test/view.c, showing the name of the last key or signal
3754 that made the screen repaint, to make it clearer when a sigwinch
3756 + use ExitProgram() consistently in the test-programs to make it
3757 simpler to test leaks with dmalloc, etc.
3758 + move hashtab static data out of hashmap.c into SCREEN struct.
3759 + make NO_LEAK code compile with revised WINDOWLIST structs.
3762 + modify tgetent() to check if exit_attribute_mode resets the alternate
3763 character set, and if so, attempt to adjust the copy of the termcap
3764 "me" string which it will return to eliminate that part. In
3765 particular, 'screen' would lose track of line-drawing characters
3766 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
3770 + specify DOCTYPE in html manpages.
3771 + add missing macros for several "generated" functions: attr_get(),
3772 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
3774 + modify view.c to agree with non-experimental status of ncurses'
3776 + change the sense of the -r option, making it default to ncurses'
3778 + add a note explaining what functions are unsafe in a signal
3780 + add a -c option, to set color display, for testing.
3781 + unset $data variable in MKterminfo.sh script, to address potential
3782 infinite loop if shell malfunction (report by Samuel Mikes
3783 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
3784 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
3785 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
3786 + correct logic for COLORFGBG environment variable: if rxvt is compiled
3787 with xpm support, the variable has three fields, making it slightly
3788 incompatible with itself. In either case, the background color is
3792 + move calls to def_shell_mode() and def_prog_mode() before loop with
3793 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
3794 the tty modes before saving them (patch by John David Anglin
3795 <dave@hiauly1.hia.nrc.ca>).
3796 + duplicate logic used to initialize trace in newterm(), in initscr()
3797 to avoid confusing trace of initscr().
3798 + simplify allocation of WINDOW and WINDOWLIST structs by making the
3799 first a part of the second rather than storing a pointer. This saves
3800 a call to malloc for each window (discussion with Philippe Blain).
3801 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
3803 + modify c++/Makefile.in to accommodate archive programs that are
3804 different for C++ than for C, and add cases for vendor's C++
3805 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
3806 + correct manpage description of criteria for deciding if the terminal
3807 supports xterm mouse controls.
3808 + add several configure script options to aid with cross-compiling:
3809 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
3810 --with-build-libs (request by Greg Roelofs).
3811 + change criteria for deciding if configure is cross-compiling from
3812 host/build mismatch to host/target mismatch (request by Greg Roelofs
3813 <greg.roelofs@philips.com>).
3814 + correct logic for infocmp -e and -E options which writes the data for
3815 the ext_Names[] array. This is needed if one constructs a fallback
3816 table for a terminfo entry which uses extended termcap names, e.g.,
3817 AX in a color xterm.
3818 + fix undefined NCURSES_PATHSEP when configure --disable-database
3822 + fix for VALID_BOOLEAN() macro when char is not signed.
3823 + modify 'clean' rule for C++ binding to work with Sun compiler, which
3824 caches additional information in a subdirectory of the objects.
3825 + added llib-ncursesw.
3828 + add Caps.keys example for experimental extended function keys
3829 (adapted from a patch by Ilya Zakharevich).
3830 + correct parameter types of vidputs() and vidattr() to agree with
3831 header files (report by William P Setzer).
3832 + fix typos in several man-pages (patch by William P Setzer).
3833 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
3834 macro, which made ncurses C++ binding fail to build with other
3835 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
3836 + workaround for bug in HPUX 11.x C compiler: add a blank after
3837 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
3838 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
3839 Albert Chin-A-Young).
3840 + correct definition of key_end in Caps.aix4, which left KEY_END
3841 undefined (report by Albert Chin-A-Young).
3842 + remove a QNX-specific fallback prototype for vsscanf(), which is
3843 obsolete with QNX RTP.
3844 + review/fix some of the T() and TR() macro calls, having noticed that
3845 there was no data for delwin() in a trace of dialog because there was
3846 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
3847 now selected under TRACE_IEVENT rather than TRACE_CALLS.
3850 + add a _nc_access() check before opening files listed via $TERMPATH.
3851 + using modified man2html, regenerate some of the html manpages to fix
3852 broken HREF's where the link was hyphenated.
3855 + add some limit/pointer checks to -S option of tputs.
3856 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3857 (Benjamin C W Sittler).
3858 + add a note in curs_termcap.3x regarding a defect in the XSI
3859 description of tgetent (based on a discussion with Urs Jansen
3860 regarding the HPUX 11.x implementation, whose termcap interface is
3861 not compatible with existing termcap programs).
3862 + modify manhtml rule in dist.mk to preserve copyright notice on the
3863 generated files, as well as to address HTML style issues reported by
3864 tidy and weblint. Regenerated/updated corresponding html files.
3865 + comment out use of Protected_Character and related rarely used
3866 attributes in ncurses Ada95 test/demo to compile with wide-character
3870 + implement a simple example in C++ demo to test scanw().
3871 + corrected stdio function used to implement scanw() in cursesw.cc
3872 + correct definition of RemAttr() macro from 20010602 changes, which
3873 caused C++ SillyDemo to not show line-drawing characters.
3874 + modify C++ binding, adding getKey() which can be overridden by user
3875 to substitute functions other than getch() for keyboard processing
3876 of forms and menus (patch by Juergen Pfeifer).
3879 + fix some of the trace calls which needed modification to work with
3880 new wide-character structures.
3881 + modify magic-cookie code in tty_update.c to compile with new
3882 wide-character structures (report by <George.R.Goffe@seagate.com>).
3883 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
3884 compiling for wide-character configuration.
3885 + make addwnstr() handle non-spacing characters (patch by Sven
3889 + add configure check to define _GNU_SOURCE, needed to prop up glibc
3891 + split-out include/curses.wide to solve spurious redefinitions caused
3892 by defining _GNU_SOURCE, and move includes for <signal.h> before
3893 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
3895 + extended ospeed change to NetBSD and OpenBSD -TD
3896 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
3897 work properly for termcap applications (patch by Andrey A Chernov).
3900 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
3901 <eugene@anime.net>, Sven Verdoolaege).
3902 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
3905 + change overlooked several CharOf/UChar instances.
3906 > several patches from Sven Verdoolaege:
3907 + correct a typo in wunctrl(), which made it appear that botwc() was
3908 needed (no such function: use btowc()).
3909 + reimplement wide-character demo in test/view.c, using new functions.
3910 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
3911 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
3914 + add parentheses in macros for malloc in test.priv.h, fixes an
3915 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
3916 + add Caps.uwin, as an example.
3917 + change the way curses.h is generated, making the list of function
3918 key definitions extracted from the Caps file.
3919 + add #undef's before possible redefinition of ERR and OK in curses.h
3920 + modify logic in tic, toe, tput and tset which checks for basename of
3921 argv[0] to work properly on systems such as OS/2 which have
3922 case-independent filenames and/or program suffixes, e.g., ".ext".
3925 + add a configure check, if --enable-widec is specified, for putwc(),
3926 which may be in libutf8.
3927 + remove some unnecessary text from curs_extend.3x and
3928 default_colors.3x which caused man-db to make incorrect symbolic
3929 links (Debian bug report #99550).
3930 + add configure check if cast for _IO_va_list is needed to compile
3931 C++ vscan code (Debian bug report #97945).
3932 > several patches from Sven Verdoolaege:
3933 + correct code that used non-standard auto-initialization of a struct,
3934 which gcc allows (report by Larry Virden).
3935 + use putwc() in PUTC() macro.
3936 + make addstr() work for the special case where the codeset is
3937 non-stateful (eg. UTF-8), as well as stateful codesets.
3940 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
3941 from 20010602 (report by Mike Castle).
3944 + modify mvcur() to avoid emitting newline characters when nonl() mode
3945 is set. Normally this is not a problem since the actual terminal
3946 mode is set to suppress nl/crlf translations, however it is useful to
3947 allow the caller to manipulate the terminal mode to avoid staircasing
3948 effects after spawning a process which writes messages (for lynx
3950 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
3951 + remove redundant type-conversion in fifo_push()
3952 + correct definition of addwstr() macro in curses.h.in
3953 + remove _nc_utf8_outch()
3954 + rename most existing uses of CharOf() to UChar(), e.g., where it is
3955 used to prevent sign-extension in ctype macros.
3956 + change some chtype's to attr_t's where the corresponding variables
3957 are used to manipulate attributes.
3958 + UpdateAttr() was applied to both attributes (attr_t) and characters
3959 (chtype). Modify macro and calls to it to make these distinct.
3960 + add CharEq() macro, use in places where wide-character configuration
3961 implementation uses a struct for cchar_t.
3962 + moved struct ldat into curses.priv.h, to hide implementation details.
3963 + change CharOf() macro to use it for masking A_CHARTEXT data from
3965 + add L() macro to curses.priv.h, for long-character literals.
3966 + replace several assignments from struct ldat entries to chtype or
3967 char values with combinations of CharOf() and AttrOf() macros.
3968 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
3969 we are using chtype data.
3970 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
3972 + add/use SetChar() macro, to change a cchar_t based on a character and
3974 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
3975 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
3976 where a pointer would be more useful.
3977 + add stubs for tracing cchar_t values.
3978 + add/use macro ISBLANK()
3979 + add/use constructors for cchar_t's: NewChar(), NewChar2().
3980 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
3981 passing cchar_t's by address.
3982 + add/use PUTC_DATA, PUTC() macros.
3983 + for wide-character configuration, move the window background data to
3984 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
3985 is defined or not, the offsets in the struct will not change.
3986 + modify addch() to work with wide-characters.
3987 + mark several wide-character functions as generated in curses.h.in
3988 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
3989 wborder_set() and waddnwstr().
3992 + add experimental --with-caps=XXX option to customize to similar
3993 terminfo database formats such as AIX 4.x
3994 + add Caps.aix4 as an example.
3995 + modify Caps to add columns for the the KEY_xxx symbols.
3996 + modify configure --with-widec to suppress overwrite of libcurses.so
3998 + add checks to toe.c to avoid being confused by files and directories
3999 where we would expect the reverse, e.g., source-files in the
4000 top-level terminfo levels as is the case for AIX.
4003 + add top-level 'depend' rule for the C sources, assuming that the
4004 makedepend program is available. As a side-effect, this makes
4005 the generated sources, as in "make sources" (prompted by a report
4006 by Mike Castle that "make -j" fails because the resulting parallel
4007 processes race to generate ncurses/names.c).
4008 + modify configure script so that --disable-overwrite option's action
4009 to add a symbolic link for libcurses applies to the static library as
4010 well as the shared library when both are configured (report by Felix
4011 Natter <f.natter@ndh.net>).
4012 + add ELKS terminfo entries (Federico Bianchi
4013 <bianchi@www.arte.unipi.it>)
4014 + add u6 (CSR) to Eterm (Michael Jennings).
4017 + modify test/ncurses.c to work with xterm-256color, which has fewer
4018 color pairs than colors*colors (report by David Ellement
4019 <ellement@sdd.hp.com>).
4022 + corrected screen.xterm-xfree86 entry.
4023 + update comment in Caps regarding IBM (AIX) function-key definitions.
4026 + modify c++/Makefile.in to link with libncurses++w.a when configured
4027 for wide-characters (patch by Sven Verdoolaege).
4028 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
4029 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
4030 + update config.guess, config.sub from autoconf 2.49e (alpha).
4033 + add secondary check in tic.c, similar_sgr() to see if the reason
4034 for mismatch was that the individual capabilities used a time-delay
4035 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
4036 and remove time-delay from Apple_Terminal entries.
4037 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
4038 <bsittler@iname.com>).
4039 + correct definitions of shifted editing keys for xterm-xfree86 -TD
4040 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
4041 + prevent relative_move() from doing an overwrite if it detects 8-bit
4042 characters when configured for UTF-8 (reported by Sven Verdoolaege
4043 <skimo@kotnet.org>).
4046 + add configure checks for strstream.h vscan function, and similar
4047 stdio-based function which may be used in C++ binding for gcc 3.0
4048 (reports by George Goffe, Lars Hecking, Mike Castle).
4049 + rewrite parts of configure.in which used changequote(). That feature
4050 is broken in the latest autoconf alphas (e.g., 2.49d).
4051 + add a missing pathname for ncurses_dll.h, needed when building in
4052 a directory outside the source tree (patch by Sven Verdoolaege
4053 <skimo@kotnet.org>).
4054 > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
4055 + no ships were ever placed in the last row or in the last column.
4056 This made the game very easy to win, because you never had to waste
4057 any shots there, but the computer did.
4058 + the squares around a sunken ship that belonged to the player were not
4059 displayed as already hit by the computer, like it does for the
4063 + add some examples of customizing screen's terminfo:
4064 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
4065 + modify screen's terminfo entry to match the khome/kend in screen
4066 3.09.08 (Debian bug report #92215).
4067 + correct a memory leak in forms library (report by Stefan Vogtner
4068 <stefan@vogtner.de>) (patch by Juergen Pfeifer).
4071 + change symbols used to guard against repeated includes to begin
4072 consistently with "NCURSES_" rather than a leading underscore. There
4073 are other symbols defined in the header files which begin with a
4074 leading underscore, but they are part of the legacy interface.
4075 + reorder includes in c++ binding so that rcs identifiers can be
4077 + add .cc.ii rule to c++ makefile, to get preprocessor output for
4079 + correct configure script handling of @keyword@ substitutions when the
4080 --with-manpage-renames option is given (cf: 20000715, fixes Debian
4082 + report stack underflow/overflow in tparm() when tic -cv option is
4084 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
4085 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
4088 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
4089 2.95.2, and correcting some conflicting color pair initializations.
4090 + add missing copyright notice for cursesw.h
4091 + review, make minor fixes for use of '::' for referring to C-language
4092 interface from C++ binding.
4093 + modify configure check for g++ library slightly to accommodate
4094 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
4095 <rho@mipos2.intel.com>).
4096 + add configure check for c++ <sstream> header, replace hardcoded
4098 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
4099 vscan from strstreambuf to follow standard, use wrapper for C vscanf
4100 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
4101 <taggart@carmen.fc.hp.com>, fixes Debian .
4104 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
4105 to make quieter loading of /etc/termcap (patch by Todd C Miller).
4106 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
4107 (patch by Todd C Miller).
4110 + compiler-warning fixes (reported by Nelson Beebe).
4113 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
4117 + broaden patterns used to match OS/2 EMX in configure script to cover
4118 variant used in newer config.guess/config.sub
4119 + remove changequote() calls from configure script, since this feature
4120 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
4121 + remove macro callPutChar() from tty_update.c, since this is no longer
4122 needed (reported by Philippe Blain).
4123 + add a null-pointer check in tic.c to handle the case when the input
4124 file is really empty. Modify the next_char() function in comp_scan.c
4125 to allow arbitrarily long lines, and incidentally supply a newline to
4126 files that do not end in a newline. These changes improve tic's
4127 recovery from attempts to read binary files, e.g., its output from
4128 the terminfo database (reported by Bernhard Rosenkraenzer).
4131 + revert change to c++/demo.cc from 20001209, which changed definition
4132 of main() apparently to accommodate cygwin linker, but broke the demo
4134 + workaround for broken egcs 2.91.66 which calls member functions
4135 (i.e., lines() and colors() of NCursesWindow before calling its
4136 constructor. Add calls to initialize() in a few constructors which
4137 did not do this already.
4138 + use the GNAT preprocessor to make the necessary switch between TRACE
4139 and NO_TRACE configurations (patch by Juergen Pfeifer).
4140 > patches by Bernhard Rosenkraenzer:
4141 + modify kterm terminfo entry to use SCS sequence to support alternate
4142 character set (it does not work with SI/SO).
4143 + --with-ospeed=something didn't work. configure.in checked for a
4144 $enableval where it should check for $withval. Also,
4145 ncurses/llib-lncurses still had a hardcoded short.
4148 + correction to my merge of Tom Riddle's patch that broke tic in some
4149 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
4152 + modify view.c to test halfdelay(). Like other tests, this recognizes
4153 the 's' and space commands for stopping/starting polled input, shows
4154 a freerunning clock in the header. If given a parameter to 's', that
4155 makes view.c use halfdelay() with that parameter rather than
4157 + fix to allow compile with the experimental configure option
4159 + modify postprocess_termcap() to avoid overwriting key_backspace,
4160 key_left, key_down when processing a non-base entry (report/patch by
4162 + modify _nc_wrap_entry(), adding option to reallocate the string
4163 table, needed in _nc_merge_entry() when merging termcap entries.
4164 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
4165 + modify a few configure script macros to keep $CFLAGS used only for
4166 compiler options, preprocessor options in $CPPFLAGS.
4169 + correct marker positions in lrtest.c after receiving a sigwinch.
4170 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
4171 + fixes to tclock for resizing behavior, redundant computation (report
4172 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
4175 + improved scoansi terminfo entry -TD
4176 + modify configure script and makefile in Ada95/src to compile a stub
4177 for the trace functions when ncurses does not provide those.
4180 + add ncurses_dll.h and related definitions to support generating DLL's
4181 with cygwin (adapted from a patch by Charles Wilson
4182 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
4183 work with 'indent') -TD
4186 + correct prototypes for some functions in curs_termcap.3x, matching
4187 termcap.h, which matches X/Open.
4188 > patch by Juergen Pfeifer:
4189 + a revised version of the Ada enhancements sent in by "H.
4190 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
4192 - small fixes to the existing ncurses binding
4193 - addition of some more low-level functions to the binding, including
4194 termcap and terminfo functions
4195 - An Ada implementation of the "ncurses" test application originally
4199 + modify logic in lib_setup.c to allow either lines or columns value
4200 from terminfo to be used if the screen size cannot be determined
4201 dynamically rather than requiring both (patch by Ehud Karni
4202 <ehud@unix.simonwiesel.co.il>).
4203 + add check in lib_tgoto.c's is_termcap() function to reject null or
4204 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
4206 + add definition from configure script that denotes the path-separator,
4207 which is normally a colon. The path-separator is a semicolon on
4208 OS/2 EMX and similar systems which may use a colon within pathnames.
4209 + alter logic to set default for --disable-overwrite option to set it
4210 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
4211 accommodating the most common cause of problems: gcc's nonstandard
4212 search rules. Other locations such as /usr/local/ncurses will
4213 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
4216 + modify default for --disable-overwrite configure option to disable
4217 if the --prefix or $prefix value is not /usr.
4218 + add cygwin to systems for which ncurses is installed by default into
4219 /usr rather than /usr/local.
4222 + minor optimization in comp_error.c and lib_termname.c, using
4223 strncat() to replace strncpy() (patch by Solar Designer).
4224 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
4225 geteuid() to use_terminfo_vars() (patch by Solar Designer
4227 + improved cygwin terminfo entry, based on patch by
4228 <ernie_boyd@yahoo.com>.
4229 + modify _nc_write_entry() to allow for the possibility that linking
4230 aliases on a filesystem that ignores case would not succeed because
4231 the source and destination differ only by case, e.g., NCR260VT300WPP0
4232 on cygwin (report by Neil Zanella).
4233 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
4234 Rosenkraenzer <bero@redhat.de>).
4237 + add configure option --with-ospeed to assist packagers in transition
4238 to 5.3 change to ospeed type.
4239 + add/use CharOf() macro to suppress sign-extension of char type on
4240 platforms where this is a problem in ctype macros, e.g., Solaris.
4241 + change trace output to binary format.
4242 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
4243 macro, for OS/2 EMX configuration.
4244 + rearrange a few configure macros, moving preprocessor options to
4245 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
4246 use $CPPFLAGS in both the compile and preprocessor checks).
4247 + add a check in relative_move() to guard against buffer overflow in
4248 the overwrite logic.
4251 + add message to configure script showing g++ version.
4252 + resync config.guess, config.sub
4253 + modify lib_delwin.c, making it return ERR if the window did not exist
4254 (suggested by Neil Zanella).
4255 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
4256 to test/review ncurses library. (Would use lclint, but it doesn't
4258 + reorganized knight.c to avoid forward references. Correct screen
4259 updates when backtracking, especially to the first cell. Add F/B/a
4262 20001021 5.2 release for upload to ftp.gnu.org
4263 + update generated html files from manpages.
4264 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
4266 + fix an uninitialized pointer in read_termcap.c (report by Todd C
4267 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
4268 + correct help-message and array limit in knight.c (patch by Brian
4269 Raiter <breadbox@muppetlabs.com>).
4270 > patch by Juergen Pfeifer:
4271 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
4272 for some identifiers defined in the standard package.
4273 + cosmetic change to forms/fty_enum.c
4276 + correct an off-by-one position in test/railroad.c which could cause
4277 wrapping at the right margin.
4278 + test/repair some issues with libtool configuration. Make
4279 --disable-echo force libtool --silent. (Libtool does not work for
4280 OS/2 EMX, works partly for SCO - libtool is still very specific to
4282 + change default of --with-manpage-tbl to "no", since for most of the
4283 platforms which do have tbl installed, the system "man" program
4284 understands how to run tbl automatically.
4285 + minor improvement to force_bar() in comp_parse.c (Bernhard
4286 Rosenkraenzer <bero@redhat.de>).
4287 + modify lib_tparm.c to use get_space() before writing terminating
4288 null character, both for consistency as well as to ensure that if
4289 save_char() was called immediately before, that the allocated memory
4290 is enough (patch by Sergei Ivanov).
4291 + add note about termcap ML capability which is duplicated between two
4292 different capabilities: smgl and smglr (reported by Sergei Ivanov
4293 <svivanov@pdmi.ras.ru>).
4294 + correct parameter counts in include/Caps for dclk as well as some
4295 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
4296 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
4297 + add support for building with libtool (apparently version 1.3.5,
4298 since old versions do not handle -L../lib), using new configure
4299 option --with-libtool.
4300 + add configure option --with-manpage-tbl, which causes the manpages to
4301 be preprocessed by tbl(1) prior to installation,
4302 + add configure option --without-curses-h, which causes the
4303 installation process to install curses.h as ncurses.h and make
4304 appropriate changes to headers and manpages.
4307 + correct order of options/parameters in run_tic.in invocation of tic,
4308 which did not work with standard getopt() (reported by Ethan
4309 Butterfield <primus@veris.org>).
4310 + correct logic for 'reverse' variable in lib_vidattr.c, which was
4311 setting it true without checking if newmode had A_REVERSE set, e.g.,
4312 using $TERM=ansi on OS/2 EMX (see 20000917).
4313 > patch by Todd C Miller:
4314 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
4315 Previously, _nc_cgetset() would still get called on cp so the
4316 simplest thing is to set cp to NULL if !use_terminfo_vars().
4317 + added checks for an empty $HOME environment variable.
4318 > patches for OS/2 EMX (Ilya Zakharevich):
4319 + modify convert_configure.pl to support INSTALL. Change compiler
4320 options in that script to use multithreading, needed for the mouse.
4321 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
4322 to set up a 3-button mouse.
4323 + improve code for OS/2 mouse support, using _nc_timed_wait() to
4324 replace select() call.
4327 + change type of ospeed variable back to short to match its use in
4328 legacy applications (reported by Andrey A Chernov).
4329 + add case to configure script for --enable-rpath on IRIX (patch by
4330 Albert Chin-A-Young).
4331 + minor fix to position_check() function, to ensure it gets the whole
4332 cursor report before decoding.
4333 + add configure option --disable-assumed-color, to allow pre-5.1
4334 convention of default colors used for color-pair 0 to be configured
4335 (see assume_default_colors()).
4336 + rename configure option --enable-hashmap --disable-hashmap, and
4337 reorder the configure options, splitting the experimental and
4339 + add configure option --disable-root-environ, which tells ncurses to
4340 disregard $TERMINFO and similar environment variables if the current
4341 user is root, or running setuid/setgid (based on discussion with
4343 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
4344 $TERMINFO variable for installs.
4345 + add table entry for plab_norm to tput, so it passes in strings
4346 for that capability.
4347 + modify parse_format() in lib_tparm.c to ignore precision if it is
4348 longer than 10000 (report by Jouko Pynnonen).
4349 + rewrote limit checks in lib_mvcur.c using new functions
4350 _nc_safe_strcat(), etc. Made other related changes to check lengths
4351 used for strcat/strcpy (report by Jouko Pynnonen
4352 <jouko@solutions.fi>).
4355 + modify several descriptions, including those for setaf, setab, in
4356 include/Caps to indicate that the entries are parameterized. This
4357 information is used to tell which strings are translated when
4358 converting to termcap. Fixes a problem where the generated termcap
4359 would contain a spurious "%p1" for the terminfo "%p1%d".
4360 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
4361 absolute pathname for the build tree's lib directory (prompted by
4362 discussion with Albert Chin-A-Young).
4363 + modify "make install.man" and "make uninstall.man" to include tack's
4365 + various fixes for install scripts used to support configure --srcdir
4366 and --with-install-prefix (reported by Matthew Clarke
4367 <Matthew_Clarke@mindlink.bc.ca>).
4368 + make configure script checks on variables $GCC and $GXX consistently
4369 compare against 'yes' rather than test if they are nonnull, since
4370 either may be set to the corresponding name of the C or C++ compiler
4371 (report/patch by Albert Chin-A-Young).
4374 + modify rs2 capability in xterm-r6 and similar where cursor
4375 save/restore bracketed the sequence for resetting video attributes.
4376 The cursor restore would undo that (report by John Hawkinson
4377 <jhawk@MIT.EDU> (see NetBSD misc/11052)).
4378 + using parameter check added to tic, corrected 27 typos in
4380 + modify tic to verify that its inputs are really files, in case
4381 someone tries to read a directory (or /dev/zero).
4382 + add a check for empty buffers returned by fgets() in comp_scan.c
4383 next_char() function, in case tic is run on a non-text file (fixes
4384 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
4385 + add to railroad.c some code exercising tgoto(), providing an
4386 alternate form of display if the terminal supports cursor addressing.
4387 + split-out tgoto() again, this time into new file lib_tgoto.c, and
4388 implement a conventional BSD-style tgoto() which is used if the
4389 capability string does not contain terminfo-style padding or
4390 parameters (requested by Andrey A Chernov).
4391 + add check to tic which reports capabilities that do not reference
4392 the expected number of parameters.
4393 + add error checking to infocmp's -v and -m options to ensure that
4394 the option value is indeed a number.
4395 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
4396 handler is setup. Separated the old/new sigaction data for SIGTSTP
4397 from the other signals.
4400 + add S0, E0 extensions to screen's terminfo entry, which is another
4401 way to solve the misconfiguration issue -TD
4402 + completed special case for tgoto from 20000916
4405 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
4406 + add Matrix Orbital terminfo entries (from Eric Z Ayers
4408 + add special case to lib_tparm.c to allow 'screen' program to use a
4409 termcap-style parameter "%." to tgoto() for switching character sets.
4410 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
4412 + updated notes in README.emx regarding autoconf patches.
4413 + replace a lookup table in lib_vidattr.c used to decode no_color_video
4414 with a logic expression (suggested by Philippe Blain).
4415 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
4416 character set attribute from the displayed text.
4417 + correct inequality in parameter analysis of rewritten lib_tparm.c
4418 which had the effect of ignoring p9 in set_attributes (sgr), breaking
4419 alternate character set (reported by Piotr Majka <charvel@link.pl>).
4420 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
4421 with Sun WorkShop compilers since these tokens were empty (cf:
4422 20000902, reported by Albert Chin-A-Young).
4425 + correct an uninitialized parameter to open_tempfile() in tic.c which
4426 made "tic -I" give an ambiguous error message about tmpnam.
4427 + add special case in lib_vidattr.c to reset underline and standout for
4428 devices that have no sgr0 defined (patch by Don Lewis
4429 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
4430 mode, since there is no exit-bold-mode capability.
4431 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
4432 + modify tparm to disallow arithmetic on strings, analyze the varargs
4433 list to read strings as strings and numbers as numbers.
4434 + modify tparm's internal function spop() to treat a null pointer as
4436 + modify tput program so it can be renamed or invoked via a link as
4437 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
4439 + add private entrypoint _nc_basename(), use to consolidate related
4440 code in progs, as well as accommodating OS/2 EMX pathnames.
4441 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
4442 removal (except via AC_SUBST) from configure.in, making
4443 --enable-const work again (reported by Juergen Pfeifer).
4444 + regen'd configure to pick up "hpux*" change from 20000902.
4447 + modify tset.c to check for transformed "reset" program name, if any.
4448 + add a check for null pointer in Make_Enum_Type() (reported by Steven
4449 W Orr <steveo@world.std.com>).
4450 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
4451 using strtok(), because it is non-reentrant (reported by Andrey A
4452 Chernov <ache@nagual.pp.ru>).
4453 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
4454 This differed from the "hpux*" case by using reversed symbolic
4455 links, which made the 5.1 version not match the configuration of
4456 5.0 shared libraries (reported by Albert Chin-A-Young).
4457 + correct a dependency in Ada95/src/Makefile.in which prevented
4458 building with configure --srcdir (patch by H Nanosecond
4459 <aldomel@ix.netcom.com>).
4460 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
4461 GCC_SCANF was not previously defined (reported by Pavel Roskin
4463 + add MKncurses_def.sh to generate fallback definitions for
4464 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
4465 code to consistently use "#if" rather than "#ifdef".
4468 + add QNX qansi entries to terminfo -TD
4469 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
4470 + add configure option --with-database to allow specifying a different
4471 terminfo source-file to install. On OS/2 EMX, this defaults to
4473 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
4474 setting .exe extension on OS/2 EMX.
4475 + add .exe extension in Ada95/gen/Makefile.in,
4476 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
4477 <jmcoopr@webmail.bmi.net>).
4478 + add configure check for filesystems (such as OS/2 EMX) which do not
4479 distinguish between upper/lowercase filenames, use this to fix tags
4481 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
4482 only sets the revents members of that array when there is activity
4483 corresponding to the related file (report by Glenn Cooper
4484 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
4485 + change configure script to use AC_CANONICAL_SYSTEM rather than
4486 AC_CANONICAL_HOST, which means that configure --target will set
4487 a default program-prefix.
4488 + add note on cross-compiling to INSTALL (which does not rely on the
4489 AC_CANONICAL_* macros).
4492 + add cases for EMX OS/2 to config.guess, config.sub
4493 + new version of config.guess, config.sub from lynx 2.8.4dev.7
4494 + add definitions via transform.h to allow tic and tput to check for
4495 the transformed aliases rather than the original infotocap, etc.
4496 + simplify transform-expressions in progs/Makefile.in, make the
4497 uninstall rule work for transformed program names.
4498 + change symbol used by --install-prefix configure option from
4499 INSTALL_PREFIX to DESTDIR (the latter has become common usage
4500 although the name is misleading).
4501 + modify programs to use curses_version() string to report the version
4502 of ncurses with which they are compiled rather than the
4503 NCURSES_VERSION string. The function returns the patch level in
4504 addition to the major and minor version numbers.
4507 + modify CF_MAN_PAGES configure macro to make transformed program names
4508 a parameter to that macro rather than embedding them in the macro.
4509 + newer config.guess, config.sub (reference version used in lynx
4511 + add configure option --with-default-terminfo-dir=DIR to allow
4512 specifying the default terminfo database directory (request by Albert
4514 + minor updates for terminfo.src from FreeBSD termcap change-history.
4515 + correct notes in README and INSTALL regarding documentation files
4516 that were moved from misc directory to doc (report by Rich Kulawiec
4518 + change most remaining unquoted parameters of 'test' in configure
4519 script to use quotes, for instance fixing a problem in the
4520 --disable-database option (reported by Christian Mondrup
4521 <scancm@biobase.dk>).
4522 + minor adjustments to work around some of the incompatibilities/bugs
4523 in autoconf 2.29a alpha.
4524 + add -I/usr/local/include when --with-ncurses option is used in
4525 test/configure script.
4526 + correct logic in adjust_cancels(), which did not check both
4527 alternatives when reclassifying an extended name between boolean,
4528 number and string, causing an infinite loop in tic.
4531 + correct a missing backslash in curses.priv.h
4534 + change handling of non_dest_scroll_region in tty_update.c to clear
4535 text after it is shifted in rather than before shifting out. Also
4536 correct row computation (reported by Ruediger Kuhlmann
4537 <uck4@rz.uni-karlsruhe.de>).
4538 + add/use new trace function to display chtype values from winch() and
4540 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
4541 trace attribute changes under TRACE_CALLS to use this.
4542 + modify MKlib_gen.sh so that functions returning chtype will call
4544 + add returnChar() trace, for functions returning chtype.
4545 + change indent.pro to line up parenthesis.
4548 + fix a heap problem with the c++ binding (report by
4549 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
4550 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
4551 + modify the check for big-core to force a couple of memory accesses,
4552 which may work as needed for older/less-capable machines (if not,
4553 there's still the explicit configure option).
4554 > fixes based on diff's for Amiga and BeOS found at
4555 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
4556 + alter definition of NCURSES_CONST to make it non-empty.
4557 + add amiga-vnc terminfo entry.
4558 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
4559 an (unspecified) symbol conflict.
4560 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
4561 simplify working around implementations that define random
4562 combinations of the related macros to zero.
4563 + modify configure test for tcgetattr() to allow for old
4564 implementations, e.g., on BeOS, which only defined it as a macro.
4565 > patches by Bruno Haible:
4566 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
4567 locale, ignore those which are set to an empty value, as per SUSV2.
4568 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
4569 + modify _nc_utf8_outch() to avoid sign-extension when checking for
4573 + correct manlinks.sed script to avoid using ERE "\+", which is not
4574 understood by older versions of sed (patch by Albert Chin-A-Young).
4575 + implement configure script options that transform installed program
4576 names, e.g., --program-prefix, including the manpage names and cross
4577 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
4578 + correct several mismatches between manpage filename and ".TH"
4579 directives, renaming dft_fgbg.3x to default_colors.3x and
4580 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
4581 + correct missing includes for <string.h> in several places, including
4582 the C++ binding. This is not noted by gcc unless we use the
4583 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
4584 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
4585 interface if neither termio or termios is available. Tested this
4586 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
4589 20000708 5.1 release for upload to ftp.gnu.org
4590 + document configure options in INSTALL.
4591 + add man-page for ncurses trace functions.
4592 + correct return value shown in curs_touch.3x for is_linetouched() and
4593 is_wintouched(), in curs_initscr.3x for isendwin(), and in
4594 curs_termattr.3x for has_ic() and has_il().
4595 + add prototypes for touchline() and touchwin(), adding them to the
4596 list of generated functions.
4597 + modify fifo_push() to put ERR into the fifo just like other values to
4598 return from wgetch(). It was returning without doing that, making
4599 end-of-file condition incorrectly return a 0 (reported by Todd C
4601 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
4602 are needed for SCO OpenServer.
4603 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
4604 dynamic loaders on SCO and IRIX64.
4605 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
4607 + correct assignment in assume_default_colors() which tells ncurses
4608 whether to use default colors, or the assumed ones (reported by Gary
4609 Funck <gary@Intrepid.Com>).
4610 + review/correct logic in mk-1st.awk for making symbolic links for
4611 shared libraries, in particular for FreeBSD, etc.
4612 + regenerate misc/*.def files for OS/2 EMX dll's.
4613 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
4614 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
4615 Wemm) (err in 20000610).
4616 + minor updates to release notes, as well as adding/updating URLs for
4617 examples cited in announce.html
4618 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
4619 + correct placement of ifdef for NCURSES_XNAMES in function
4620 _nc_free_termtype(), fixes a memory leak.
4621 + add a call to _nc_synchook() to the end of function whline() like
4622 that in wvline() (difference was in 1.9.4).
4623 + make ClearScreen() a little faster by moving two instances of
4624 UpdateAttr() out of for-loops.
4625 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
4628 20000701 pre-release
4629 + change minor version to 1, i.e., ncurses 5.1
4630 + add experimental configure option --enable-colorfgbg to check for
4631 $COLORTERM variable as set by rxvt/aterm/Eterm.
4632 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
4633 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
4634 several manpages so manlinks.sed can find aliases for creating
4636 + add explanation to run_tic.sh regarding extended terminal
4638 + change message format for edit_cfg.sh, since some people interpret
4640 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
4641 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
4642 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
4643 support when poll() is used rather than select() (prompted by
4644 discussion with David Allen <DAllen24@aol.com>).
4646 20000624 pre-release
4647 + modify TransformLine() to check for cells with different color pairs
4648 that happen to render the same display colors.
4649 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
4650 + improve cost computation in PutRange() by accounting for the use
4651 of parm_right_cursor in mvcur().
4652 + correct cost computation in EmitRange(), which was not using the
4653 normalized value for cursor_address.
4654 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
4657 + update config.guess, config.sub (reference version used in PCRE 3.2).
4658 + resync changes to gnathtml against version 1.22, regenerated html
4659 files under doc/html/ada using this (1.22.1.1).
4660 + regenerated html files under doc/html/man after correcting top and
4661 bottom margin options for man2html in dist.mk
4662 + minor fixes to test programs ncurses 'i' and testcurs program to make
4663 the subwindow's background color cover the subwindow.
4664 + modify configure script so AC_MSG_ERROR is temporarily defined to a
4665 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
4666 without requiring user to add --without-cxx option (adapted from
4667 comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
4668 + modify headers.sh to avoid creating temporary files in the build
4669 directory when installing headers (reported by Sergei Pokrovsky
4673 + regenerated the html files under doc/html/ada/files and
4674 doc/html/ada/funcs with a slightly-improved gnathtml.
4675 + add kmous capability to linux terminfo entry to allow it to use
4676 xterm-style events provided by gpm patch by Joerg Schoen.
4677 + make the configure macro CF_SHARED_OPTS a little smarter by testing
4678 if -fPIC is supported by gcc rather than -fpic. The former option
4679 allows larger symbol tables.
4680 + update config.guess and config.sub (patches by
4681 Kevin Buettner <kev@primenet.com> (for elf64_ia64),
4682 Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
4683 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
4687 + modify echo() behavior of getch() to match Solaris curses for
4688 carriage return and backspace (reported by Neil Zanella).
4689 + change _nc_flush() to a function.
4690 + modify delscreen() to check if the output stream has been closed, and
4691 if so, free the buffer allocated for setbuf (this provides an
4692 ncurses-specific way to avoid a memory leak when repeatedly calling
4693 newterm reported by Chipp C <at_1@zdnetonebox.com>).
4694 + correct typo in curs_getch.3x manpage regarding noecho (reported by
4695 David Malone <dwmalone@maths.tcd.ie>).
4696 + add a "make libs" rule.
4697 + make the Ada95 interface build with configure --enable-widec.
4698 + if the configure --enable-widec option is given, append 'w' to names
4699 of the generated libraries (e.g., libncursesw.so) to avoid conflict
4700 with existing ncurses libraries.
4703 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
4704 is configured with the experimental wide-character support.
4705 + add a simple UTF-8 output driver to the experimental wide-character
4706 support. If any of the environment variables LC_ALL, LC_CTYPE or
4707 LANG contain the string "UTF-8", this driver will be used to
4708 translate the output to UTF-8. This works with XFree86 xterm.
4709 + modify configure script to allow building shared libraries on BeOS
4710 (from a patch by Valeriy E Ushakov).
4711 + modify lib_addch.c to allow repeated update to the lower-right
4712 corner, rather than displaying only the first character written until
4713 the cursor is moved. Recent versions of SVr4 curses can update the
4714 lower-right corner, and behave this way (reported by Neil Zanella).
4715 + add a limit-check in _nc_do_color(), to avoid using invalid color
4716 pair value (report by Brendan O'Dea <bod@compusol.com.au>).
4719 + the tack program knows how to use smcup and rmcup but the "show caps
4720 that can be tested" feature did not reflect this knowledge. Correct
4721 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
4722 + xterm-16color does allow bold+colors, removed ncv#32 from that
4726 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
4727 broke check for screen's AX capability (reported by Valeriy E Ushakov
4729 + change man2html rule in dist.mk to workaround bug in some
4730 man-programs that ignores locale when rendering hyphenation.
4731 + change web- and ftp-site to dickey.his.com
4734 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
4735 problem linking tack on MacOS X DP3.
4736 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
4737 (reported by Gerben Wierda <wierda@holmes.nl>).
4738 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
4740 + add -d option to ncurses.c, to turn on default-colors for testing.
4741 + add a check to _nc_makenew() to ensure that newwin() and newpad()
4742 calls do not silently fail by passing too-large limits.
4743 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
4744 internal window and pad sizes. Note that since this is visible in
4745 the WINDOW struct, it would be an ABI change to make this an 'int'
4746 (prompted by a question by Bastian Trompetter
4747 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
4750 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
4752 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
4753 example of an illegal ANSI resonse can be found using Microsoft's
4754 Telnet client. A correct display can be found using a VT-4xx
4755 terminal or XFree86 xterm with:
4756 XTerm*VT100*decTerminalID: 450
4757 (patch by Daniel Weaver).
4758 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
4759 for resume. Add '-n' option to force gdc's standard input to
4760 /dev/null, to both illustrate the use of newterm() for specifying
4761 alternate inputs as well as for testing signal handling.
4762 + minor fix for configure option --with-manpage-symlinks, for target
4763 directories that contain a period ('.') (reported by Larry Virden).
4766 + minor additions to beterm entry (feedback from Rico Tudor) -TD
4767 + corrections/updates for some IBM terminfo entries -TD
4768 + modify _nc_screen_wrap() so that when exiting curses mode with
4769 non-default colors, the last line on the screen will be cleared to
4770 the screen's default colors (request by Alexander V Lukyanov).
4771 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
4772 read for demonstrating the REQ_NEW_LINE operation (prompted by a
4773 question by Tony L Keith <tlkeith@keithconsulting.com>).
4774 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
4775 documented extension of ncurses which allows a zero pointer.
4776 + modify fmt_complex() to avoid buffer overflow in case of excess
4777 recursion, and to recognize "%e%?" as a synonym for else-if, which
4778 means that it will not recur for that special case.
4779 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
4780 is defined (patch by Todd C Miller).
4781 + modify one of the m4 files used to generate the Ada95 sources,
4782 to avoid using the token "symbols" (patch by Juergen Pfeifer).
4785 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
4786 + correct spelling error in terminfo entry name: bq300-rv was given as
4787 bg300-rv in esr's version.
4788 + modify redrawwin() macro so its parameter is fully parenthesized
4789 (fixes Debian bug report #61088).
4790 + correct formatting error in dump_entry() which set incorrect column
4791 value when no newline trimming was needed at the end of an entry,
4792 before appending "use=" clauses (cf: 960406).
4795 + add configure option --with-manpage-symlinks
4796 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
4797 + change makefiles so trace() function is provided only if TRACE is
4798 defined, e.g., in the debug library. Modify related calls to
4799 _tracechar() to use unctrl() instead.
4802 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
4803 terminfo entries, use presence of this as a check for a small
4804 improvement in setting default colors.
4805 + improve logic in _nc_do_color() implementing assume_default_colors()
4806 by passing in previous color pair info to eliminate redundant call to
4807 set_original_colors(). (Part of this is from a patch by Alexander
4809 + modify warning in _nc_trans_string() about a possibly too-long string
4810 to do this once only rather than for each character past the
4811 threshold (600). Change interface of _nc_trans_string() to allow
4812 check for buffer overflow.
4813 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
4814 struct each time before reading new data into it, rather than once
4815 per loop (cf: 990301). This affects multi-entry in-core operations
4816 such as "infocmp -Fa".
4819 + remove a spurious pointer increment in _nc_infotocap() changes from
4820 20000311. Add check for '.' in format of number, since that also
4821 is not permitted in termcap.
4822 + correct typo in rxvt-basic terminfo from temporary change made while
4823 integrating 20000318.
4826 + revert part of the vt220 change (request by Todd C Miller).
4827 + add ansi-* terminfo entries from ESR's version.
4828 + add -a option to tic and infocmp, which retains commented-out
4829 capabilities during source translation/comparison, e.g., captoinfo
4831 + modify cardfile.c to display an empty card if no input data file is
4832 found, fixes a core dump in that case (reported by Bruno Haible).
4833 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
4834 result for OS/2 EMX.
4835 + supply required parameter for _nc_resolve_uses() call in
4836 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
4837 > patches by Bruno Haible <haible@ilog.fr>:
4838 + fix a compiler warning in fty_enum.c
4839 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
4840 makefiles, which resulted in redundant linking (cf: 20000122).
4843 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
4844 + improved tack/README (patch by Daniel Weaver).
4845 + modify tput.c to ensure that unspecified parameters are passed to
4847 + add a few checks in infocmp to guard against buffer overflow when
4848 displaying string capabilities.
4849 + add check for zero-uses in infocmp's file_comparison() function
4850 before calling _nc_align_termtype(). Otherwise one parameter is
4851 indexed past the end of the uses-array.
4852 + add an option -q to infocmp to specify the less verbose output,
4853 keeping the existing format as the default, though not retaining the
4854 previous behavior that made the -F option compare each entry to
4856 + adapted patch by ESR to make infocmp -F less verbose -TD
4857 (the submitted patch was unusable because it did not compile
4859 + modify write_entry.c to ensure that absent or cancelled booleans
4860 are written as FALSE, for consistency with infocmp which now
4861 assumes this. Note that for the small-core configuration, tic
4862 may not produce the same result as before.
4863 + change some private library interfaces used by infocmp, e.g.,
4865 + add a check in _nc_infotocap() to ensure that cm-style capabilities
4866 accept only %d codes when converting the format from terminfo to
4868 + modify ENTRY struct to separate the data in 'parent' into the name
4869 and link values (the original idea to merge both into 'parent' was
4871 + discard repair_acsc(tterm);
4872 > patch by Juergen Pfeifer:
4873 + drop support for gnat 3.10
4874 + move generated documentation and html files under ./doc directory,
4875 adding makefile rules for this to dist.mk
4878 + correct conflicting use of tparm() in 20000226 change to tic, which
4879 made it check only one entry at a time.
4880 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
4882 + make the example in ncurses-intro.html do something plausible, and
4883 corrected misleading comment (reported by Neil Zanella).
4884 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
4885 to fix a case where the cursor position was not updated as in
4886 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
4887 + add a limit-check for wresize() to ensure that a subwindow does not
4888 address out of bounds.
4889 + correct offsets used for subwindows in wresize() (patch by Michael
4890 Andres <ma@suse.de>).
4891 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
4892 Juergen Pfeifer). This generated a file with a space in its name,
4894 + fix a few spelling errors in tack.
4895 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
4896 otherwise it does not build properly for older HPUX shared library
4898 + add several terminfo entries from esr's "11.0".
4901 + make 'tput flash' work properly for xterm by flushing output in
4902 delay_output() when using napms(), and modifying xterm's terminfo to
4903 specify no padding character. Otherwise, xterm's reported baud rate
4904 can mislead ncurses into producing too few padding characters
4906 + add a check to tic for consistency between sgr and the separate
4907 capabilities such as smso, use this to check/correct several
4908 terminfo entries (Debian #58530).
4909 + add a check to tic if cvvis is the same as cnorm, adjusted several
4910 terminfo entries to remove the conflict (Debian #58530).
4911 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
4913 + minor clarification for curs_set() and leaveok() manpages.
4914 + use mkstemp() for creating temporary file for tic's processing of
4915 $TERMCAP contents (fixes Debian #56465).
4916 + correct two errors from integrating Alexander's changes: did not
4917 handle the non-bce case properly in can_erase_with() (noted by
4918 Alexander), and left fg/bg uninitialized in the pair-zero case of
4919 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
4920 Ismael Cordeiro <ismael@cordeiro.com>).
4923 + store default-color code consistently as C_MASK, even if given as
4924 -1 for convenience (adapted from patches by Alexander V Lukyanov).
4925 > patches by Alexander V Lukyanov:
4926 + change can_clear_with() macro to accommodate logic for
4927 assume_default_colors(), making most of the FILL_BCE logic
4928 unnecessary. Made can_clear_with() an inline function to make it
4932 + corrected form of recent copyright dates.
4933 + minor corrections to xterm-xf86-v333 terminfo entry -TD
4934 > patches by Alexander V Lukyanov:
4935 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
4936 colors are white on black.
4937 + fix initialization of tstLine so that it is filled with current blank
4938 character in any case. Previously it was possible to have it filled
4939 with old blank. The wrong over-optimization was introduced in 991002
4940 patch. (it is not very critical as the only bad effect is not using
4941 clr_eos for clearing if blank has changed).
4944 + minor corrections/updates to several terminfo entries: rxvt-basic,
4945 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
4946 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
4947 allowing poll() to be used on Linux.
4948 + add CF_FUNC_POLL macro to check if poll() is able to select from
4949 standard input. If not we will not use it, preferring select()
4950 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
4951 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
4952 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
4953 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
4954 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
4957 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm -TD
4958 + modify CF_MATH_LIB configure macro to parameterize the test function
4959 used, for reuse in dialog and similar packages.
4960 + correct tests for file-descriptors in OS/2 EMX mouse support. A
4961 negative value could be used by FD_SET, causing the select() call
4962 to wait indefinitely.
4965 + additional fixes for non-bce terminals (handling of delete_character)
4966 to work when assume_default_colors() is not specified.
4967 + modify warning message from _nc_parse_entry() regarding extended
4968 capability names to print only if tic/infocmp/toe have the -v flag
4969 set, and not at all in ordinary user applications. Otherwise, this
4970 warning would be shown for screen's extended capabilities in programs
4971 that use the termcap interface (reported by Todd C Miller).
4972 + modify use of _nc_tracing from programs such as tic so their debug
4973 level is not in the same range as values set by trace() function.
4974 + small panel header cleanup (patch by Juergen Pfeifer).
4975 + add 'railroad' demo for termcap interface.
4976 + modify 'tic' to write its usage message to stderr (patch by Todd C
4980 + add prototype for erase() to curses.h.in, needed to make test
4981 programs build with c++/g++.
4982 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
4983 + correct install rule for tack.1; it assumed that file was in the
4984 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
4985 + modify terminfo/termcap translation to suppress acsc before trying
4986 sgr if the entry would be too large (patch by Todd C Miller).
4987 + document a special case of incompatiblity between ncurses 4.2 and
4988 5.0, add a section for this in INSTALL.
4989 + add TRACE_DATABASE flag for trace().
4992 + update mach, add mach-color terminfo entries based on Debian diffs
4994 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
4995 terminfo entries -TD
4996 + change OTrs capabilities to rs2 in terminfo.src -TD
4997 + add obsolete and extended capabilities to 'screen' terminfo -TD
4998 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
4999 + make conversion to termcap ug (underline glitch) more consistently
5001 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
5002 was in the original pre-1.9.7 version, when $HOME/.terminfo was
5004 + modify 'toe' to ignore terminfo directories to which it has no
5006 + modify read_termtype(), fixing 'toe', which could dump core when it
5007 found an incomplete entry such as "dumb" because it did not
5008 initialize its buffer for _nc_read_file_entry().
5009 + use -fPIC rather than -fpic for shared libraries on Linux, not
5010 needed for i386 but some ports (from Debian diffs for 5.0) -TD
5011 + use explicit VALID_NUMERIC() checks in a few places that had been
5012 overlooked, and add a check to ensure that init_tabs is nonzero,
5013 to avoid divide-by-zero (reported by Todd C Miller).
5014 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
5018 + reorder tests during mouse initialization to allow for gpm to run in
5019 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
5020 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
5021 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
5022 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
5023 stty lnext on systems such as FreeBSD (report by Bruce Evans
5024 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
5025 + fix a potential (but unlikely) buffer overflow in failed() function
5026 of tset.c (reported by Todd C Miller).
5027 + add manual-page for ncurses extensions, documented curses_version(),
5028 use_extended_names().
5031 + treat as untranslatable to termcap those terminfo strings which
5032 contain non-decimal formatting, e.g., hexadecimal or octal.
5033 + correct commented-out capabilities that cannot be translated to
5034 termcap, which did not check if a colon must be escaped.
5035 + correct termcap translation for "%>" and "%+", which did not check
5036 if a colon must be escaped, for instance.
5037 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
5038 buffer (originally for _nc_infotocap() in 960301 -TD).
5039 + correct expression used for terminfo equivalent of termcap %B,
5040 adjust regent100 entry which uses this.
5041 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
5042 + eliminate a fixed-buffer in tic, used for translating comments.
5043 + add manpage for infotocap
5046 + add kvt and gnome terminfo entries -TD
5047 + correct translation of "%%" by infotocap, which was emitted as "%".
5048 + add "obsolete" termcap strings to terminfo.src
5049 + modify infocmp to default to showing obsolete capabilities rather
5051 + modify write_entry.c so that if extended names (i.e., configure
5052 --enable-tcap-names) are active, then tic will also write "obsolete"
5053 capabilities that are present in the terminfo source.
5054 + modify tic so that when running as captoinfo or infotocap, it
5055 initializes the output format as in -C and -I options, respectively.
5056 + improve infocmp and tic -f option by splitting long strings that do
5057 not have if-then-else construct, but do have parameters, e.g., the
5058 initc for xterm-88color.
5059 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
5063 + additional fixes for non-bce terminals (handling of clear_screen,
5064 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
5066 + several small changes to xterm terminfo entries -TD.
5067 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
5068 SP, since it is part of that struct.
5069 + remove obsolete shlib-versions, which was unintentionally re-added
5071 + modify infocmp -e, -E options to ensure that generated fallback.c
5072 type for Booleans agrees with term.h (reported by Eric Norum
5073 <eric@cls.usask.ca>).
5074 + correct configure script's use of $LIB_PREFIX, which did not work
5075 for installing the c++ directory if $libdir did not end with "/lib"
5076 (reported by Huy Le <huyle@ugcs.caltech.edu>).
5077 + modify infocmp so -L and -f options work together.
5078 + modify the initialization of SP->_color_table[] in start_color() so
5079 that color_content() will return usable values for COLORS greater
5081 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
5082 xterm-88color, to limit the displayed/computed colors to 16.
5083 > patch by Juergen Pfeifer:
5084 + simplify coding of the panel library according to suggestions by
5086 + improve macro coding for a few macros in curses.priv.h
5089 + modify treatment of color pair 0 so that if ncurses is configured
5090 to support default colors, and they are not active, then ncurses
5091 will set that explicitly, not relying on orig_colors or orig_pair.
5092 + add new extension, assume_default_colors() to provide better control
5093 over the use of default colors.
5094 + modify test programs to use more-specific ifdef's for existence of
5095 wresize(), resizeterm() and use_default_colors().
5096 + modify configure script to add specific ifdef's for some functions
5097 that are included when --enable-ext-funcs is in effect, so their
5098 existence can be ifdef'd in the test programs.
5099 + reorder some configure options, moving those extensions that have
5100 evolved from experimental status into a new section.
5101 + change configure --enable-tcap-names to enable this by default.
5104 + install tack's manpage (reported by Robert Weiner
5105 <robert@progplus.com>)
5106 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
5107 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
5108 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
5111 + modify linux terminfo entry to indicate that dim does not mix with
5112 color (reported by Klaus Weide <kweide@enteract.com>).
5113 + correct several typos in terminfo entries related to missing '['
5115 + fix several compiler warnings in c++ binding (reported by Tim
5116 Mooney for alphaev56-dec-osf4.0f
5117 + rename parameter of _nc_free_entries() to accommodate lint.
5118 + correct lint rule for tack, used incorrect list of source files.
5119 + add case to config.guess, config.sub for Rhapsody.
5120 + improve configure tests for libg++ and libstdc++ by omitting the
5121 math library (which is missing on Rhapsody), and improved test for
5122 the math library itself (adapted from path by Nelson H. F. Beebe).
5123 + explicitly initialize to zero several data items which were
5124 implicitly initialized, e.g., cur_term. If not explicitly
5125 initialized, their storage type is C (common), and causes problems
5126 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
5128 + modify Ada95 binding to not include the linker option for Ada
5129 bindings in the Ada headers, but in the Makefiles instead (patch by
5132 19991023 5.0 release for upload to ftp.gnu.org
5133 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
5135 + add function curses_version(), to return ncurses library version
5136 (request by Bob van der Poel).
5137 + remove rmam, smam from cygwin terminfo entry.
5138 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
5139 as update ncv to indicate that 'dim' conflicts with colors.
5140 + modify configure script to use symbolic links for FreeBSD shared
5141 libraries by default.
5142 + correct ranf() function in rain and worm programs to ensure it does
5144 + hide the cursor in hanoi.c if it is running automatically.
5145 + amend lrtest.c to account for optimizations that exploit margin
5147 + add a simple terminfo demo, dots.c
5148 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
5149 tell it to use write() rather than putc(), since the latter is not
5150 safe in a signal handler according to POSIX.
5151 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
5152 of output-file pointer in ncurses library.
5153 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
5155 + correct CC_SHARED_OPTS for building shared libraries for SCO
5157 + remove usleep() from alternatives in napms(), since it may interact
5158 with alarm(), causing a process to be interrupted by SIGALRM (with
5159 advice from Bela Lubkin).
5160 + modify terminal_interface-curses-forms.ads.m4 to build/work with
5161 GNAT 3.10 (patch by Juergen Pfeifer).
5162 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
5163 work with gcc 2.7.2.3
5164 + minor fix to test/tclock.c to avoid beeping more than once per second
5165 + add 's' and ' ' decoding to test/rain.c
5168 + corrected BeOS code for lib_twait.c, making nodelay() function work.
5171 + correct ncurses' value for cursor-column in PutCharLR(), which was
5172 off-by-one in one case (patch by Ilya Zakharevich).
5173 + fix some minor errors in position_check() debugging code, found while
5174 using this to validate the PutCharLR() patch.
5175 + modify firework, lrtest, worm examples to be resizable, and to
5176 recognize 'q' for quit, 's' for single-step and ' ' for resume.
5177 + restore reverted change to terminal_interface-curses-forms.ads.m4,
5178 add a note on building with gnat 3.10p to Ada95/TODO.
5179 + add a copy of the standalone configure script for the test-directory
5180 to simplify testing on SCO and Solaris.
5183 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
5184 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
5185 Blain, comments by Alexander V Lukyanov).
5186 + simplify definition of PANEL and eliminate internal functions
5187 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
5188 (patch by Juergen Pfeifer, analysis by Philippe Blain
5190 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
5191 man_db.renames, since Debian is not concerned with 14-character
5192 filename limitation (Debian bug report by Josip Rodin
5193 <joy@cibalia.gkvk.hr>).
5194 + corrected scoansi terminfo entry by testing with scoterm and console.
5195 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
5196 since this does not work for gnat 3.10p
5197 + modify tclock example to be resizable (if ncurses' sigwinch handler
5198 is used), and in color.
5199 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
5200 shared library rules.
5203 + add newer NetBSD console terminfo entries
5204 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
5205 <Faroul@beyond.kn-bremen.de>)
5206 + remove -lcurses -ltermcap from configure script's check for the gpm
5207 library, since they are not really necessary (a properly configured
5208 gpm library has no dependency on any curses library), and if the
5209 curses library is not installed, this would cause the test to fail.
5210 + modify tic's -C option so that terminfo "use=" clauses are translated
5211 to "tc=" clauses even when running it as captoinfo.
5212 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
5213 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
5214 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
5215 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
5216 + correct a problem in libpanel, where the _nc_top_panel variable was
5217 not set properly when bottom_panel() is called to hide a panel which
5218 is the only one on the stack (report/analysis by Michael Andres
5219 <ma@suse.de>, patch by Juergen Pfeifer).
5222 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
5223 <j@interface-business.de>).
5224 + add top-level uninstall.data and uninstall.man makefile rules.
5225 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
5226 that hard-links work on Unix again.
5227 + change default value of cf_cv_builtin_bool to 1 (suggested by
5228 Jeremy Buhler), making it less likely that a conflicting declaration
5229 of bool will be seen when compiling with C++.
5232 + improved configure checks for builtin.h
5233 + minor changes to C++ binding (remove static initializations, and make
5234 configure-test for parameter initializations) for features not
5235 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
5236 applies to SGI, though I found SCO has the same characteristics).
5237 + corrected quoting of ETIP_xxx definitions which support old versions
5238 of g++, e.g., those using -lg++
5239 + remove 'L' code from safe_sprintf.c, since 'long double' is not
5240 widely portable. safe_sprintf.c is experimental, however, and
5241 exists mainly as a fallback for systems without snprintf (reported
5242 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
5243 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
5244 so that it is not unnecessarily made extern (Jeffrey C Honig).
5247 + move definition for builtin.h in configure tests to specific check
5248 for libg++, since qt uses the same filename incompatibly.
5249 + correct logic of lib_termcap.c tgetstr function, which did not copy
5250 the result to the buffer parameter. Testing shows Solaris does
5251 update this, though of course tgetent's buffer is untouched (reported
5252 in Peter Edwards <peter.edwards@ireland.com> in
5253 mpc.lists.freebsd.current newsgroup.
5254 + corrected beterm terminfo entry, which lists some capabilities which
5255 are not actually provided by the BeOS Terminal.
5256 + add special logic to replace select() calls on BeOS, whose select()
5257 function works only for sockets.
5258 + correct missing escape in mkterm.h.awk.in, which caused part
5259 of the copyright noticed to be omitted (reported by Peter
5260 Wemm <peter@netplex.com.au>).
5261 > several small changes to make the c++ binding and demo work on OS/2
5262 EMX (related to a clean reinstall of EMX):
5263 + correct library-prefix for c++ binding; none is needed.
5264 + add $x suffix to make_hash and make_keys so 'make distclean' works.
5265 + correct missing $x suffix for tack, c++ demo executables.
5266 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
5267 CF_STDCPP_LIBRARY (for -lstdc++)
5270 + add cygwin terminfo entry -TD
5271 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
5272 + add configure option --without-cxx-binding, modifying the existing
5273 --without-cxx option to check only for the C++ compiler
5274 characteristics. Whether or not the C++ binding is needed, the
5275 configure script checks for the size/type of bool, to make ncurses
5276 match. Otherwise C++ applications cannot use ncurses.
5279 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
5280 + minor corrections to beterm terminfo entry.
5281 + modify lib_setup.c to reject values of $TERM which have a '/' in
5283 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
5284 than one is on BeOS. That would break a switch statement.
5285 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
5286 nonfunctional link().
5287 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
5288 BeOS's bool, which is declared as an unsigned char.
5291 + add ms-vt100 terminfo entry -TD
5292 + minor fixes for misc/emx.src, based on testing with tack.
5293 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
5296 + minor correction for 'screen' terminfo entry.
5297 + clarify description of errret values for setupterm in manpage.
5298 + modify tput to allow it to emit capabilities for hardcopy terminals
5299 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
5300 + modify the 'o' (panel) test in ncurses.c to show the panels in color
5301 or at least in bold, to test Juergen's change to wrefresh().
5302 > patches by Juergen Pfeifer:
5303 + Fixes a problem using wbkgdset() with panels. It has actually
5304 nothing to with panels but is a problem in the implementation of
5305 wrefresh(). Whenever a window changes its background attribute to
5306 something different than newscr's background attribute, the whole
5307 window is touched to force a copy to newscr. This is an unwanted
5308 side-effect of wrefresh() and it is actually not necessary. A
5309 changed background attribute affects only further outputs of
5310 background it doesn't mean anything to the current content of the
5311 window. So there is no need to force a copy. (reported by Frank
5312 Heckenbach <frank@g-n-u.de>).
5313 + an upward compatible enhancement of the NCursesPad class in the C++
5314 binding. It allows one to add a "viewport" window to a pad and then
5315 to use panning to view the pad through the viewport window.
5318 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
5319 signal was received while not in curses mode, e.g., endwin() was
5320 called in preparation for spawning a shell command (reported by Frank
5321 Heckenbach <frank@g-n-u.de>)
5322 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
5323 + change test for xterm mouse capability: it now checks only if the
5324 user's $DISPLAY variable is set in conjunction with the kmous
5325 capability being present in the terminfo. Before, it checked if any
5326 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
5327 However, some emulators which are incompatible with xterm in other
5328 ways do support the xterm mouse capability.
5329 + reviewed and made minor changes in ncurses to quiet g++ warnings
5330 about shadowed or uninitialized variables. g++ incorrectly warns
5331 about uninitialized variables because it does not take into account
5332 short-circuit expression evaluation.
5333 + change ncurses 'b' test to start in color pair 0 and to show in the
5334 right margin those attributes which are suppressed by no_color_video,
5336 + modify ifdef's in curses.h so that __attribute__ is not redefined
5337 when compiling with g++, but instead disabled the macros derived for
5338 __attribute__ since g++ does not consistently recognize the same
5339 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
5340 + update dependencies for term.h in ncurses/modules (reported by
5344 + modify the form demo in ncurses.c to illustrate how to manipulate the
5345 field appearance, e.g, for highlighting or translating the field
5347 + correct logic in write_entry from split-out of home_terminfo in
5348 980919, which prevented update of $HOME/.terminfo (reported by Philip
5349 Spencer <pspencer@fields.utoronto.ca>).
5352 + modify linux terminfo description to make use of kernel 2.2.x mods
5353 that support cursor style, e.g., to implement cvvis (patch by Frank
5354 Heckenbach <frank@g-n-u.de>)
5355 + add special-case in setupterm to retain previously-saved terminal
5356 settings in cur_term, which happens when curses and termcap calls are
5357 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
5358 + suppress initialization of key-tries in _nc_keypad() if we are only
5359 disabling keypad mode, e.g., in endwin() called when keypad() was
5361 + modify the Ada95 makefile to ensure that always the Ada files from
5362 the development tree are used for building and not the eventually
5363 installed ones (patch by Juergen Pfeifer).
5366 + use TTY definition in tack/sysdep.c rather than struct termios
5367 (reported by Philippe De Muyter).
5368 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
5369 not present on sysV68 (reported by Philippe De Muyter).
5370 + correct definition in comp_hash.c to build with configure
5371 --with-rcs-ids option.
5374 + modified ifdef's for sigaction and sigvec to ensure we do not try to
5375 handle SIGTSTP if neither is available (from report by Philippe De
5377 > patch by Philippe De Muyter:
5378 + in tic.c, use `unlink' if `remove' is not available.
5379 + use only `unsigned' as fallback value for `speed_t'. Some files used
5383 + fix some compiler warnings in tack.
5384 + add a check for predefined bool type in CC, based on report that
5385 BeOS predefines a bool type.
5386 + correct logic for infocmp -e option, i.e., the configure
5387 --with-fallbacks option, which I'd not updated when implementing
5388 extended names (cf: 990301). The new implementation adds a "-E"
5389 option to infocmp -TD
5390 > patch by Juergen Pfeifer:
5391 + introduce the private type Curses_Bool in the Ada95 binding
5392 implementation. This is to clearly represent the use of "bool" also
5393 in the binding. It should have no effect on the generated code.
5394 + improve the man page for field_buffer() to tell the people, that the
5395 whole buffer including leading/trailing spaces is returned. This is
5396 a common source of confusion, so it's better to document it clearly.
5399 > patch by Juergen Pfeifer:
5400 + use pragma PreElaborate in several places.
5401 + change a few System.Address uses to more specific types.
5402 + change interface version-number to 1.0
5403 + regenerate Ada95 HTML files.
5406 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
5407 if it appears that curses was never initialized, e.g., by initscr().
5408 For instance, this guards against setting the terminal modes to
5409 strange values if endwin() is called after setupterm(). In the same
5410 context, Solaris curses will dump core.
5411 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
5412 equivalent values in rmso or rmul by ensuring we do not modify the
5413 data which would be returned by the terminfo or termcap interfaces
5414 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
5415 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
5417 + improve fallback declaration of 'bool' when the --without-cxx option
5418 is given, by using a 'char' on i386 and related hosts (prompted by
5419 discussion with Alexander V Lukyanov).
5422 + include time.h in lib_napms.c if nanosleep is used (patch by
5423 R Lindsay Todd <toddr@rpi.edu>).
5424 + add an "#undef bool" to curses.h, in case someone tries to define it,
5426 + add check to tparm to guard against divide by zero (reported by Aaron
5427 Campbell <aaron@ug.cs.dal.ca>).
5430 + minor fix to build tack on CLIX (mismatched const).
5431 > patch by Juergen Pfeifer:
5432 + change Juergen's old email address with new one in the files where it
5433 is referenced. The Ada95 HTML pages are regenerated.
5434 + update MANIFEST to list the tack files.
5437 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
5441 + add 'tack' program (which is GPL'd), updating it to work with the
5442 modified TERMTYPE struct and making a fix to support setaf/setab
5443 capabilities. Note that the tack program is not part of the
5444 ncurses libraries, but an application which can be distributed with
5445 ncurses. The configure script will ignore the directory if it is
5447 + modify gpm mouse support so that buttons 2 and 3 are used for
5448 select/paste only when shift key is pressed, making them available
5449 for use by an application (patch by Klaus Weide).
5450 + add complete list of function keys to scoansi terminfo entry - TD
5453 + add a simple test program cardfile.c to illustrate how to read form
5454 fields, and showing forms within panels.
5455 + change shared-library versioning for the Hurd to be like Linux rather
5456 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
5457 + add linux-lat terminfo entry.
5458 + back-out _nc_access check in read_termcap.c (both incorrect and
5459 unnecessary, except to guard against a small window where the file's
5460 ownership may change).
5463 + remove conflicting _nc_free_termtype() function from test module
5465 + use _nc_access check in read_termcap.c for termpaths[] array (noted
5466 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
5467 > patch by Juergen Pfeifer:
5468 + modify menu creation to not inherit status flag from the default menu
5469 which says that the associated marker string has been allocated and
5470 should be freed (bug reported by Marek Paliwoda"
5471 <paliwoda@kki.net.pl>)
5473 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
5474 + minor fixes to xterm-xfree86 terminfo entry - TD.
5475 + split up an expression in configure script check for ldconfig to
5476 workaround limitation of BSD/OS sh (reported by Jeff Haas
5477 <jmh@mail.msen.com>).
5478 + correct a typo in man/form_hook.3x (Todd C Miller).
5481 + parenthesize and undef 'index' symbol in c++ binding and demo, to
5482 accommodate its definition on NeXT (reported by Francisco A. Tomei
5484 + add sigismember() to base/sigaction.c compatibility to link on NeXT
5485 (reported by Francisco A. Tomei Torres).
5486 + further refinements to inequality in hashmap.c to cover a case with
5487 ^U in nvi (patch by Alexander V Lukyanov).
5490 + add fallback definition for getcwd, to link on NeXT.
5491 + add a copy of cur_term to tic.c to make it link properly on NeXT
5492 (reported by Francisco A. Tomei Torres).
5493 + change inequality in hashmap.c which checks the distance traveled by
5494 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
5495 scrolling logic (patch by Alexander V Lukyanov, reported by Jeffrey
5499 + modify lib_color.c to handle a special case where the curscr
5500 attributes have been made obsolete (patch by Alexander V Lukyanov).
5501 + update BSD/OS console terminfo entries to use klone+sgr and
5502 klone+color (patch by Jeffrey C Honig).
5503 + update glibc addon configure script for extended capabilities.
5504 + correct a couple of warnings in the --enable-const configuration.
5505 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
5506 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
5509 + correct typos in linux-c initc string - TD
5510 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
5511 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
5512 Alexander V Lukyanov).
5515 + back-out change to wgetch because it causes a problem with ^Z
5516 handling in lynx (reported by Kim DeVaughn).
5519 + add -G option to tic and infocmp, to reverse the -g option.
5520 + recode functions in name_match.c to avoid use of strncpy, which
5521 caused a 4-fold slowdown in tic (cf: 980530).
5522 + correct a few warnings about sign-extension in recent changes.
5523 > patch by Juergen Pfeifer:
5524 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
5525 + improved parameter checking in new_fieldtype().
5526 + fixed a typo in wgetch() timeout handling.
5527 + allow slk_init() to be called per newterm call. The internal SLK
5528 state is stored in the SCREEN struct after every newterm() and then
5529 reset for the next newterm.
5530 + fix the problem that a slk_refresh() refreshes stdscr if the
5531 terminal has true SLKs.
5532 + update HTML documentation for Ada binding.
5535 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
5536 such as "#if TRUE" work. This was originally done to allow for a C++
5537 compiler which would warn of implicit conversions between enum and
5538 int, but is not needed for g++ (reported by Kim DeVaughn).
5539 + add use_extended_names() function to allow applications to suppress
5540 read of the extended capabilities.
5541 + add configure option --enable-tcap-names to support logic which
5542 allows ncurses' tic to define new (i.e., extended) terminal
5543 capabilities. This is activated by the tic -x switch. The infocmp
5544 program automatically shows or compares extended capabilities.
5545 Note: This changes the Strings and similar arrays in the TERMTYPE
5546 struct so that applications which manipulate it must be recompiled.
5547 + use macros typeMalloc, typeCalloc and typeRealloc consistently
5548 throughout ncurses library.
5549 + add _nc_strdup() to doalloc.c.
5550 + modify define_key() to allow multiple strings to be bound to the
5552 + correct logic error in _nc_remove_string, from 990220.
5553 > patch for Ada95 binding (Juergen Pfeifer):
5554 + regenerate some of the html documentation
5555 + minor cleanup in terminal_interface-curses.adb
5558 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
5559 xterm and ncsa terminfo entries by removing the unneeded ones. Note
5560 that some entries will return kend & khome versus kslt and kfnd, for
5561 PC-style keyboards versus strict vt220 compatiblity - TD
5562 + add function keybound(), which returns the definition associated with
5564 + modify define_key() to undefine the given string when no keycode is
5566 + modify keyok() so it works properly if there is more than one string
5567 defined for a keycode.
5568 + add check to tic to warn about terminfo descriptions that contain
5569 more than one key assigned to the same string. This is shown only if
5570 the verbose (-v) option is given. Moved related logic (tic -v) from
5571 comp_parse.c into the tic program.
5572 + add/use _nc_trace_tries() to show the function keys that will be
5574 + rename init_acs to _nc_init_acs (request by Alexander V Lukyanov).
5575 > patch for Ada95 binding (Juergen Pfeifer):
5576 + remove all the *_adabind.c from ncurses, menu and form projects.
5577 Those little helper routines have all been implemented in Ada and are
5579 + The option handling routines in menu and form have been made more
5580 save. They now make sure that the unused bits in options are always
5582 + modify configuration scripts to
5583 + use gnatmake as default compiler name. This is a safer choice than
5584 gcc, because some GNAT implementations use other names for the
5585 compilerdriver to avoid conflicts.
5586 + use new default installation locations for the Ada files according
5587 to the proposed GNU Ada filesystem standard (for Linux).
5588 + simplify the Makefiles for the Ada binding
5589 + rename ada_include directory to src.
5592 + enable sigwinch handler by default.
5593 + disable logic that allows setbuf to be turned off/on, because some
5594 implementations will overrun the buffer after it has been disabled
5598 + suppress sc/rc capabilities from terminal description if they appear
5599 in smcup/rmcup. This affects only scrolling optimization, to fix a
5600 problem reported by several people with xterm's alternate screen,
5601 though the problem is more general.
5602 > patch for Ada95 binding (Juergen Pfeifer):
5603 + removed all pragma Preelaborate() stuff, because the just released
5604 gnat-3.11p complains on some constructs.
5605 + fixed some upper/lower case notations because gnat-3.11p found
5607 + used a new method to generate the HTML documentation of the Ada95
5608 binding. This invalidates nearly the whole ./Ada95/html subtree.
5609 Nearly all current files in this subtree are removed
5612 + cache last result from _nc_baudrate, for performance (suggested by
5613 Alexander V Lukyanov).
5614 + modify ClrUpdate() function to workaround a problem in nvi, which
5615 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
5616 ncurses repainted the screen with nulls before resuming normal
5617 operation (patch by Alexander V Lukyanov).
5618 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
5619 be any substring rather than the prefix.
5620 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
5621 not link a module if the only symbols exported from the module are
5622 uninitialized ones (patch by Ilya Zakharevich). Ilya says that he
5623 has seen messages claiming this behavior conforms to the standard.)
5624 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
5625 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
5626 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
5627 problem where ncurses applications which were run via a shell script
5628 would hang when given a ^Z. Also, check if the terminal's process
5629 group is consistent, i.e., a shell has not taken ownership of it,
5630 before deciding to save the current terminal settings in the SIGTSTP
5631 handler (patch by Klaus Weide).
5632 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
5633 der Poel <bvdpoel@kootenay.com>).
5634 + correct a couple of typos in the macros supporting the configure
5635 --with-shlib-version option.
5638 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
5639 by Kimio Ishii <ishii@csl.sony.co.jp>).
5640 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
5641 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
5642 + modify tput to accept termcap names as an alternative to terminfo
5643 names (patch by Jeffrey C Honig).
5644 + correct a typo in term.7 (Todd C Miller).
5645 + add configure --with-shlib-version option to allow installing shared
5646 libraries named according to release or ABI versions. This
5647 parameterizes some existing logic in the configure script, and is
5648 intended for compatiblity upgrades on Digital Unix, which used
5649 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
5650 + resync configure script against autoconf 2.13 + patches
5651 + minor improvements for teraterm terminfo entry based on the program's
5652 source distribution.
5655 + change default for configure --enable-big-core to assume machines do
5656 have enough memory to resolve terminfo.src in-memory.
5657 + correct name of ncurses library in TEST_ARGS when configuring with
5659 + minor fixes to compile ncurses library with broken-linker with g++.
5660 + add --enable-broken-linker configure option, default to environment
5661 variable $BROKEN_LINKER (request by Jeffrey C Honig).
5662 + change key_names[] array to static since it is not part of the curses
5663 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
5666 + add Tera Term terminfo entry - TD
5669 + reviewed/corrected macros in curses.h as per XSI document.
5670 + provide support for termcap PC variable by copying it from terminfo
5671 data and using it as the padding character in tputs (reported by
5672 Alexander V Lukyanov).
5673 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
5674 kf9-kf12 capabilities, as well as adding kcbt.
5675 + document the mouse handling mechanism in menu_driver and make a small
5676 change in menu_driver's return codes to provide more consistency
5677 (patch by Juergen Pfeifer).
5678 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
5679 by Uchiyama Yasushi <uch@nop.or.jp>).
5680 + move lib_restart.c to ncurses/base, since it uses curses functions
5681 directly, and therefore cannot be used in libtinfo.so
5682 + rename micro_char_size to micro_col_size, adding #define to retain
5684 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
5685 XSI and Solaris 2.5.
5686 + minor makefile files to build ncurses test_progs
5687 + update html files in misc directory to reflect changes since 4.2
5690 + disable scroll hints when hashmap is enabled (patch by Alexander
5692 + move logic for tic's verify of -e option versus -I and -C so that the
5693 terminfo data is not processed if we cannot handle -e (reported by
5694 Steven Schwartz <steves@unitrends.com>.
5695 + add test-driver traces to terminfo and termcap functions.
5696 + provide support for termcap ospeed variable by copying it from the
5697 internal cur_term member, and using ospeed as the baudrate reference
5698 for the delay_output and tputs functions. If an application does not
5699 set ospeed, the library behaves as before, except that _nc_timed_wait
5700 is no longer used, or needed, since ospeed always has a value. But
5701 the application can modify ospeed to adjust the output of padding
5702 characters (prompted by a bug report for screen 3.7.6 and email from
5703 Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
5704 + removed some unused ifdef's as part of Alexander's restructuring.
5705 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
5706 Version 2. This includes making some parameters NCURSES_CONST
5707 rather than const, e.g., in termcap.h.
5708 + change linux terminfo entry to use ncv#2, since underline does not
5712 + miscellaneous corrections for curses.h to match XSI.
5713 + change --enable-no-padding configure option to be normally enabled.
5714 + add section to ncurses manpage for environment variables.
5715 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
5716 changes, found no sign of problems on Linux (or on SunOS, Solaris)
5717 running screen built with ncurses.
5718 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
5719 Roskin <pavel_roskin@geocities.com>).
5720 + correct several font specification typos in man-pages.
5723 + correct default value for BUILD_CC (reported by Larry Virden).
5726 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
5727 it from changing the terminfo directory after chdir'ing to it.
5728 Otherwise, a relative path in $TERMINFO would confuse tic (prompted
5729 by a Debian bug report).
5730 + correct/update ncsa terminfo entry (report by Larry Virden).
5731 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
5733 + add Mathew Vernon's mach console entries to terminfo.src
5734 + more changes, moving functions, as part of Alexander's restructuring.
5735 + modify configure script for GNU/Hurd share-library support, introduce
5736 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
5740 + add environment variable NCURSES_NO_SETBUF to allow disabling the
5741 setbuf feature, for testing purposes.
5742 + correct ifdef's for termcap.h versus term.h that suppress redundant
5743 declarations of prototypes (reported by H.J.Lu).
5744 + modify Makefile.os2 to add linker flags which allow multiple copies
5745 of an application to coexist (reported by Ilya Zakharevich).
5746 + update Makefile.glibc and associated configure script so that ncurses
5747 builds as a glibc add-on with the new directory configuration
5748 (reported by H.J.Lu).
5751 + modify gen_reps() function in gen.c to work properly on SunOS
5752 (sparc), which is a left-to-right architecture.
5753 + modify relative_move and tputs to avoid an interaction with the
5754 BSD-style padding. The relative_move function could produce a string
5755 to replace on the screen which began with a numeric character, which
5756 was then interpreted by tputs as padding. Now relative_move will not
5757 generate a string with a leading digit in that case (overwrite).
5758 Also, tputs will only interpret padding if the string begins with a
5759 digit; as coded it permitted a string to begin with a decimal point
5760 or asterisk (reported by Larry Virden).
5761 > patches by Juergen Pfeifer:
5762 + fix a typo in m_driver.c mouse handling and improves the error
5764 + fix broken mouse handling in the Ada95 binding
5765 + make the Ada95 sample application menus work with the new menu mouse
5767 + improve the mouse handling introduced by Ilya; it now handles menus
5769 + repair a minor bug in the menu_driver code discovered during this
5771 + add new function wmouse_trafo() to hide implementation details of
5772 _yoffset member of WINDOW struct needed for mouse coordinate
5776 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
5777 some older implementations (e.g., SunOS 4.x) return the buffer
5778 address rather than its length.
5779 > patch by Rick Ohnemus:
5780 + modify demo.cc to get it to compile with newer versions of egcs.
5781 + trim a space that appears at the end of the table preprocessor lines
5782 ('\" t). This space prevents some versions of man from displaying
5783 the pages - changed to remove all trailing whitespace (TD)
5784 + finally, 'make clean' does not remove panel objects.
5785 > patches by Ilya Zakharevich:
5786 + allow remapping of OS/2 mouse buttons using environment variable
5787 MOUSE_BUTTONS_123 with the default value 132.
5788 + add mouse support to ncurses menus.
5791 + modify misc/makedef.cmd to report old-style .def file symbols, and to
5792 generate the .def files sorted by increasing names rather than the
5794 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
5795 from misc/*.old), and updated based on the entrypoint coding he used
5796 for an older version of ncurses.
5797 + add README.emx, to document how to build on OS/2 EMX.
5798 + updates for config.guess, config.sub from Lynx
5799 > patches by Ilya Zakharevich:
5800 + minor fixes for mouse handling mode:
5801 a) Do not initialize mouse if the request is to have no mouse;
5802 b) Allow switching of OS/2 VIO mouse on and off.
5803 + modify Makefile.os2 to support alternative means of generating
5804 configure script, by translating Unix script with Perl.
5805 > patches by Juergen Pfeifer:
5806 + Updates MANIFEST to reflect changes in source structure
5807 + Eliminates a problem introduced with my last patch for the C++
5808 binding in the panels code. It removes the update() call done in the
5810 + Changes in the Ada95 binding to better support systems where
5811 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
5814 + modify install-script for manpages to skip over .orig and .rej files
5815 (request by Larry Virden).
5816 > patches/discussion by Alexander V Lukyanov:
5817 + move base-library sources into ncurses/base and tty (serial terminal)
5818 sources into ncurses/tty, as part of Alexander V Lukyanov's proposed
5819 changes to ncurses library.
5820 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
5821 be linked into the normal ncurses library.
5822 + move macro winch to a function, to hide details of struct ldat
5823 > patches by Juergen Pfeifer:
5824 + fix a potential compile problem in cursesw.cc
5825 + some Ada95 cosmetics
5826 + fix a gen.c problem when compiling on 64-Bit machines
5827 + fix Ada95/gen/Makefile.in "-L" linker switch
5828 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
5831 + ifdef'd out lib_freeall.c when not configured.
5832 + rename _tracebits() to _nc_tracebits().
5833 + move terminfo-library sources into ncurses/tinfo, and trace-support
5834 functions into ncurses/trace as part of Alexander V Lukyanov's
5835 proposed changes to ncurses library.
5836 + modify generated term.h to always specify its own definitions for
5837 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
5838 broken configure scripts.
5841 + modify terminfo parsing to accept octal and hexadecimal constants,
5843 + remove an autoconf 2.10 artifact from the configure script's check
5844 for "-g" compiler options. (Though harmless, this confused someone
5845 at Debian, who recently issued a patch that results in the opposite
5847 + add configure option --with-ada-compiler to accommodate installations
5848 that do not use gcc as the driver for GNAT (patch by Juergen
5852 + ensure ./man exists in configure script, needed when configuring
5853 with --srcdir option.
5854 + modify infocmp "-r" option to remove limit on formatted termcap
5855 output, which makes it more like Solaris' version.
5856 + modify captoinfo to treat no-argument case more like Solaris'
5857 version, which uses the contents of $TERMCAP as the entry to format.
5858 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
5859 (patch by Alexander V Lukyanov).
5862 + modify --with-terminfo-dirs option so that the default value is the
5863 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
5864 rid of a hardcoded list of candidate directories in the configure
5866 + add some error-checking to _nc_read_file_entry() to ensure that
5867 strings are properly terminated (Todd C Miller).
5868 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
5869 correspond with contents (reported by Neil Zanella
5870 <nzanella@cs.mun.ca>).
5871 + remove redundant configure check for C++ which did not work when $CXX
5872 was specified with a full pathname (reported by Andreas Jaeger).
5873 + corrected bcopy/memmove check; the macro was not standalone.
5876 + remove unnecessary portion of OS/2 EMX mouse change from
5877 check_pending() (reported by Alexander V Lukyanov).
5880 + implement mouse support for OS/2 EMX (adapted from patch against
5881 4.2(?) by Ilya Zakharevich).
5882 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
5883 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
5884 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
5885 some older entries - TD
5886 + modify tic to compile into %'char' form in preference to %{number},
5887 since that is a little more efficient.
5888 + minor correction to infocmp to avoid displaying "difference" between
5889 two capabilities that are rendered in equivalent forms.
5890 + add -g option to tic/infocmp to force character constants to be
5891 displayed in quoted form. Otherwise their decimal values are shown.
5892 + modify setupterm so that cancelled strings are treated the same as
5893 absent strings, cancelled and absent booleans false (does not affect
5895 + modify tic, infocmp to discard redundant i3, r3 strings when output
5897 > patch by Alexander V Lukyanov:
5898 + improve performance of tparm, now it takes 19% instead of 25% when
5900 + rename maxlen/minlen to prec/width for better readability.
5901 + use format string for printing strings.
5902 + use len argument correctly in save_text, and pass it to save_number.
5905 + make test_progs compile (but hashmap does not function).
5906 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
5907 associated logic to avoid freeing the SP->_setbuf data.
5908 + add modules home_terminfo and getenv_num to libtinfo.
5909 + move write_entry to libtinfo, to work with termcap caching.
5910 + minor fixes to blue.c to build with atac.
5911 + remove softscroll.c module; no longer needed for testing.
5912 > patches by Todd C Miller:
5913 + use strtol(3) instead of atoi(3) when parsing env variables so we can
5914 detect a bogus (non-numeric) value.
5915 + check for terminal names > MAX_NAME_SIZE in a few more places when
5916 dealing with env variables again.
5917 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
5918 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
5919 string #define (compile time vs runtime).
5920 + when setting errno to ENOMEM, set it right before the return, not
5921 before code that could, possibly, set errno to a different value.
5922 > patches by Alexander V Lukyanov:
5923 + use default background in update_cost_from_blank()
5924 + disable scroll-hints when hashmap is configured.
5925 + improve integration of hashmap scrolling code, by adding oldhash and
5926 newhash data to SP struct.
5927 + invoke del_curterm from delscreen.
5928 + modify del_curterm to set cur_term to null if it matches the
5929 function's parameter which is deleted.
5930 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
5931 exit_insert_mode combination, adjusting InsCharCost to check
5932 enter_insert_mode, exit_insert_mode and insert_padding. Add
5933 insert_padding in insert mode after each char. This adds new costs
5937 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
5938 consistent treatment.
5939 + modify ncurses to restore output to unbuffered on endwin, and resume
5940 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
5941 + corrected HTML version numbers (according to the W3C validator, they
5942 never were HTML 2.0-compliant, but are acceptable 3.0).
5945 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
5946 capability name, as in SVr4.
5947 + modified term.h, termcap.h headers to avoid redundant declarations.
5948 + change 'u_int' type in tset.c to unsigned, making this compile on
5949 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
5952 + corrections to mailing addresses, and moving the magic line that
5953 causes the man program to invoke tbl to the first line of each
5954 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
5955 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
5956 (from J.J.G.Ripoll, with further integration by TD).
5957 + correct a typo in icl6404 terminfo entry.
5958 + add xtermm and xtermc terminfo entries.
5959 > from esr's terminfo version:
5960 + Added Francesco Potorti's tuned Wyse 99 entries.
5961 + dtterm enacs (from Alexander V Lukyanov).
5962 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
5965 + document AT&T acs characters in terminfo.5 manpage.
5966 + use EMX _scrsize() function if terminfo and environment do not
5967 declare the screen size (reported by Ilya Zakharevich
5968 <ilya@math.ohio-state.edu>).
5969 + remove spurious '\' characters from eterm and osborne terminfo
5970 entries (prompted by an old Debian bug report).
5971 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
5972 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
5973 + correct misplaced parenthesis which caused file-descriptor from
5974 opening termcap to be lost, from 980725 changes (reported by Andreas
5978 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
5979 when termios is not used (patch by Todd C Miller).
5980 + add function _nc_doalloc, to ensure that failed realloc calls do not
5981 leak memory (reported by Todd C Miller).
5982 + improved ncsa-telnet terminfo entry.
5985 + correct missing braces around a trace statement in read_entry.c,
5986 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
5990 + fix missing include <errno.h> in ditto.c (reported by Bernhard
5991 Rosenkraenzer <bero@k5.sucks.eu.org>)
5992 + add NCSA telnet terminfo entries from Francesco Potorti
5993 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
5994 + make handling of $LINES and $COLUMNS variables more compatible with
5995 Solaris by allowing them to individually override the window size
5996 as obtained via ioctl.
5999 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
6000 which may reset all attributes in the 'op' capability, so that colors
6001 are set before turning on bold and other attributes, but still after
6002 turning attributes off.
6003 + add 'ditto.c' to test directory to illustrate use of newterm for
6004 initializing multiple screens.
6005 + modify _nc_write_entry() to recover from failed attempt to link alias
6006 for a terminfo on a filesystem which does not preserve character case
6007 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
6010 + updated versions of config.guess and config.sub based on automake 1.3
6011 + change name-comparisons in lib_termcap to compare no more than 2
6012 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
6013 with Solaris curses).
6014 + fix typo in curs_insstr.3x (patch by Todd C Miller)
6015 + use 'access()' to check if ncurses library should be permitted to
6016 open or modify files with fopen/open/link/unlink/remove calls, in
6017 case the calling application is running in setuid mode (request by
6018 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
6019 <dps@io.stargate.co.uk>).
6020 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
6021 + qnxt2 and minitel terminfo entries from esr's version.
6024 + use -R option with ldconfig on FreeBSD because otherwise it resets
6025 the search path to /usr/lib (reported by Dan Nelson).
6026 + add -soname option when building shared libraries on OpenBSD 2.x
6027 (request by QingLong).
6028 + add configure options --with-manpage-format and
6029 --with-manpage-renames (request by QingLong).
6030 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
6031 omitting the high-order byte, producing a 254 in the compiled
6033 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
6034 tigetnum and tigetstr to be compatible with Solaris (gleaned from
6035 Debian distribution of 1.9.9g-8.8).
6036 + modify _nc_syserr_abort to abort only when compiled for debugging,
6037 otherwise simply exit with an error.
6040 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
6041 "_g" for a debug build).
6042 + update Ada95 'make clean' rule to include generics .ali files
6043 + add a configure test to ensure that if GNAT is found, that it can
6044 compile/link working Ada95 program.
6045 + flush output in beep and flash functions, fixing a problem with
6046 getstr (patch by Alexander V Lukyanov)
6047 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
6048 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
6049 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
6050 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
6054 + merge changes from current XFree86 xterm terminfo descriptions.
6055 + add configure option '--without-ada'.
6056 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
6057 corresponds to vt100.
6058 + change translation for termcap 'rs' to terminfo 'rs2', which is
6059 the documented equivalent, rather than 'rs1'.
6062 + slow 'worm' down a little, for very fast machines.
6063 + corrected firstchar/lastchar computation in lib_hline.c
6064 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
6065 CHANGED_TO_EOL macros.
6066 + modify init_pair so that if a color-pair is reinitialized, we will
6067 repaint the areas of the screen whose color changes, like SVr4 curses
6068 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
6069 + modify getsyx/setsyx macros to comply with SVr4 man-page which
6070 says that leaveok() affects their behavior (report by Darryl Miles,
6071 patch by Alexander V Lukyanov).
6074 + review terminfo.5 against Solaris 2.6 curses version, corrected
6075 several minor errors/omissions.
6076 + implement tparm %l format.
6077 + implement tparm printf-style width and precision for %s, %d, %x, %o
6079 + implement tparm dynamic variables (reported by Xiaodan Tang).
6082 + update man-page for for wattr_set, wattr_get (cf: 980509)
6083 + correct limits in hashtest, which would cause nonprinting characters
6084 to be written to large screens.
6085 + correct configure script, when --without-cxx was specified: the
6086 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
6087 2.8 tolerated the missing 'int'.
6088 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
6089 compiler's name might be something like "egcs" (patch by Juergen
6091 + correct curs_addch.3x, which implied that echochar could directly
6092 display control characters (patch by Alexander V Lukyanov).
6093 + fix typos in ncurses-intro.html (patch by Sidik Isani
6094 <isani@cfht.hawaii.edu>)
6097 + add configure test for conflicting use of exception in math.h and
6099 + minor optimization to 'hash()' function in hashmap.c, reduces its
6101 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
6102 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
6103 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
6104 > patch by Alexander V Lukyanov:
6105 + correct problem on Solaris (with poll() function) where getch could
6106 hang indefinitely even if timeout(x) was called. This turned out to
6107 be because milliseconds was not updated before 'goto retry' in
6109 + simplified the function _nc_timed_wait and fixed another bug, which
6110 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
6112 + removed the cycle on EINTR, as it seems to be useless.
6115 + add makefile-rule for test/keynames
6116 + modify run_tic.sh and shlib to ensure that user's .profile does not
6117 override the $PATH used to run tic (patch by Tim Mooney).
6118 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
6119 needed for HP-UX shared-library path (recommended by Tim Mooney).
6120 + remove special case of HP-UX -L options, use +b options to embed
6121 $(libdir) in the shared libraries (recommended by Tim Mooney).
6122 + add checks for some possible buffer overflows and unchecked
6123 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
6124 <Todd.Miller@courtesan.com>)
6127 + correct maxx/maxy expression for num_columns/num_lines in derwin
6128 (patch by Alexander V Lukyanov).
6129 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
6130 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
6131 configure option (suggested by Mike Hopkirk).
6132 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
6133 Hopkirk <hops@sco.com>).
6134 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
6135 Makefile.in, since this conflicts when g++ is used with HP-UX
6136 compiler (reported by Tim Mooney).
6137 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
6138 in some C++ implementations (reported by several people running
6139 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
6142 + modify write_entry.c so that it will not attempt to link aliases
6143 with embedded '/', but give only a warning.
6144 + put -L$(libdir) first when linking programs, except for HP-UX.
6145 + modify comp_scan.c to handle SVr4 terminfo description for att477,
6146 which contains a colon in the description field.
6147 + modify configure script to support SCO osr5.0.5 shared libraries,
6148 from comp.unix.sco.programmer newsgroup item (Mike Hopkirk).
6149 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
6151 + minor adjustments of const/NCURSES_CONST from IRIX compile.
6152 + add updates based on esr's 980509 version of terminfo.src.
6155 + correct macros for wattr_set, wattr_get, separate wattrset macro from
6156 these to preserve behavior that allows attributes to be combined with
6158 + add configure option --enable-no-padding, to allow environment
6159 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
6160 thereby making terminal emulators (e.g., for vt100) a little more
6161 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6162 + modify configure script to embed ABI in shared libraries for HP-UX
6163 10.x (detailed request by Tim Mooney).
6164 + add test/example of the 'filter()' function.
6165 + add nxterm and xterm-color terminfo description (request by Cristian
6166 Gafton <gafton@redhat.com>).
6167 + modify rxvt terminfo description to clear alternate screen before
6168 switching back to normal screen, for compatibility with applications
6169 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
6170 + modify linux terminfo description to reset color palette (reported
6171 by Telford Tendys <telford@eng.uts.edu.au>).
6172 + correction to doupdate, for case where terminal does not support
6173 insert/delete character. The logic did not check that there was a
6174 difference in alignment of changes to old/new screens before
6175 repainting the whole non-blank portion of the line. Modified to fall
6176 through into logic that reduces by the portion which does not differ
6177 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6178 + minor performance improvement to wnoutrefresh by moving some
6179 comparisons out of inner loop.
6182 + modify configure script to substitute NCURSES_CONST in curses.h
6183 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
6184 xterm-8bit to correspond to XFree86 3.9Ag.
6185 + remove restriction that forces ncurses to use setaf/setab if the
6186 number of colors is greater than 8. (see 970524 for xterm-16color).
6187 + change order of -L options (so that $(libdir) is searched first) when
6188 linking tic and other programs, to workaround HP's linker.
6189 Otherwise, the -L../lib is embedded when linking against shared
6190 libraries and the installed program does not run (reported by Ralf
6192 + modify configuration of shared libraries on Digital Unix so that
6193 versioning is embedded in the library, rather than implied by
6194 links (patch by Tim Mooney).
6197 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
6198 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
6199 <R.Hildebrandt@tu-bs.de>).
6200 + correct configure tests in CF_SHARED_OPTS which used $CC value to
6201 check for gcc, rather than autoconf's $GCC value. This did not
6202 work properly if the full pathname of the compiler were given
6203 (reported by Michael Yount <yount@csf.Colorado.edu>).
6204 + revise check for compiler options to force ANSI mode since repeating
6205 an option such as -Aa causes HP's compiler to fail on its own headers
6206 (reported by Clint Olsen <olsenc@ichips.intel.com>).
6209 + ifdef'd has_key() and mcprint() as extended functions.
6210 + modified several prototypes to correspond with 1997 version of
6211 X/Open Curses (affects ABI since developers have used attr_get).
6212 + remove spurious trailing blanks in glibc addon-scripts (patch by
6214 + insert a few braces at locations where gcc-2.8.x asks to use them to
6215 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
6216 by Juergen Pfeifer).
6219 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
6220 before -l to accommodate Solaris' linker (reported by Larry Virden).
6223 + modify lib_color.c to eliminate dependency on orig_colors and
6224 orig_pair, since SVr4 curses does not require these either, but
6225 uses them when they are available.
6226 + add detailed usage-message to infocmp.
6227 + correct a typo in att6386 entry (a "%?" which was "?").
6228 + add -f option to infocmp and tic, which formats the terminfo
6229 if/then/else/endif so that they are readable (with newlines and
6231 + fixes for glibc addon scripts (patch by H.J.Lu).
6234 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
6235 declared (from Adam J Richter <adam@yggdrasil.com>)
6236 + remove spurious curs_set() call from leaveok() (J T Conklin).
6237 + corrected handling leaveok() in doupdate() (patch by Alexander V.
6239 + improved version of wredrawln (patch by Alexander V. Lukyanov).
6240 + correct c++/Makefile.in so install target do not have embedded ../lib
6241 to confuse it (patch by Thomas Graf <graf@essi.fr>).
6242 + add warning to preinstall rule which checks if the installer would
6243 overwrite a curses.h or termcap.h that is not derived from ncurses.
6244 (The recommended configuration for developers who need both is to
6245 use --disable-overwrite).
6246 + modify preinstall rule in top-level Makefile to avoid implicit
6247 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
6248 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
6249 <te@informatik.uni-hannover.de>)
6250 + refine ifdef's for TRACE so that libncurses has fewer dependencies
6251 on libtinfo when TRACE is disabled.
6252 + modify configure script so that if the --with-termlib option is used
6253 to generate a separate terminfo library, we chain it to the ncurses
6254 library with a "-l" option (reported by Darryl Miles and Ian T.
6258 + correct limits and window in wredrawln function (reported/analysis by
6259 Alexander V. Lukyanov).
6260 + correct sed expression in configure script for --with-fallback
6261 option (patch by Jesse Thilo).
6262 + correct some places in configure script where $enableval was used
6263 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
6264 + modify some man-pages so no '.' or '..' falls between TH and SH
6265 macros, to accommodate man_db program (reported by Ian T. Zimmerman
6267 + terminfo.src 10.2.1 downloaded from ESR's webpage (ESR).
6268 > several changes by Juergen Pfeifer:
6269 + add copyright notices (and rcs id's) on remaining man-pages.
6270 + corrected prototypes for slk_* functions, using chtype rather than
6272 + implemented the wcolor_set() and slk_color() functions
6273 + the slk_attr_{set,off,on} functions need an additional void*
6274 parameter according to XSI.
6275 + fix the C++ and Ada95 binding as well as the man pages to
6276 reflect above enhancements.
6279 + use 'stat()' rather than 'access()' in toe.c to check for the
6280 existence of $HOME/.terminfo, since it may be a file.
6281 + suppress configure CF_CXX_LIBRARY check if we are not using g++
6282 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
6284 + turn on hashmap scrolling code by default, intend to remedy defects
6286 + minor corrections to terminfo.src changelog.
6288 980302 4.2 release for upload to prep.ai.mit.edu
6289 + correct Florian's email address in ncurses-intro.html
6290 + terminfo.src 10.2.0 (ESR).
6293 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
6294 QingLong <qinglong@Bolizm.ihep.su>).
6295 + minor documentation fixes (patch by Juergen Pfeifer).
6296 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
6297 <claesg@algonet.se>).
6298 + correct sign-extension in lib_insstr.c (reported by Sotiris
6299 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
6302 + regenerated some documentation overlooked in 980214 patch
6303 (ncurses-intro.doc, curs_outopts.3x.html)
6304 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
6306 + change maintainer's mailing address to florian@gnu.org, change
6307 tentative mailing list address to bug-ncurses-request@gnu.org (patch
6308 by Florian La Roche).
6309 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
6310 Hasse <gh@raditex.se>).
6311 + restore version numbers to Ada95 binding, accidentally deleted by
6312 copyright patch (patch by Juergen Pfeifer).
6315 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
6316 distributions, though it is retained in development.
6317 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
6319 + update mailing-list information (bug-ncurses@gnu.org).
6320 + update announcement for upcoming 4.2 release.
6321 + modify -lm test to check for 'sin()' rather than 'floor()'
6322 + remove spurious commas from terminfo.src descriptions.
6323 + change copyright notices to Free Software Foundation
6326 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
6328 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
6329 + ifdef-out true-return from _nc_mouse_inline() which depends on
6330 merge of QNX patch (pending 4.2 release).
6331 > patch to split off seldom-used modules in ncurses (J T Conklin):
6332 This reduces size by up to 2.6kb.
6333 + move functionality of _nc_usleep into napms, add configuration case
6335 + moved wchgat() from lib_addch.c to lib_chgat.c
6336 + moved clearok(), immedok(), leaveok(), and scrollok() from
6337 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
6339 + moved napms() from lib_kernel.c to lib_napms.c
6340 + moved echo() and noecho() from lib_raw.c to lib_echo.c
6341 + moved nl() and nonl() from lib_raw.c to lib_nl.c
6344 + corrected conversion in tclock.c (cf: 971018).
6345 + updates to Makefile.glibc and associated Linux configure script
6347 + workaround a quoting problem on SunOS with tar-copy.sh
6348 + correct init_pair() calls in worm.c to work when use_default_colors()
6350 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
6352 + add ncv capability to FreeBSD console (cons25w), making reverse
6354 + correct sense of configure-test for sys/time.h inclusion with
6356 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
6357 + remove unused/obsolete test-program rules from progs/Makefile.in
6358 (the rules in ncurses/Makefile.in work).
6359 + remove shared-library loader flags from test/Makefile.in, etc.
6360 + simplify test/configure.in using new version of autoconf to create
6362 + suppress suffix rules in test/Makefile.in, provide explicit
6363 dependency to work with --srcdir option and less capable 'make'
6365 > adapted from patch for QNX by Xiaodan Tang:
6366 + initialize %P and %g variables set/used in tparm, and also ensure
6367 that empty strings don't return a null result from tparam_internal
6368 + add QNX-specific prototype for vsscanf()
6369 + move initialization of SP->_keytry from init_keytry() to newterm() to
6370 avoid resetting it via a keyok() call by mouse_activate().
6371 + reorganized some functions in lib_mouse() to use case-statements.
6372 + remove sgr string from qnx terminfo entry since it is reported to
6373 turn off attributes inconsistently.
6376 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
6377 test for no_color_video.
6378 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
6380 + implement no_color_video attribute, and as a special case, reverse
6381 colors when the reverse attribute cannot be combined with color.
6382 + check for empty string in $TERM variable (reported by Brett Michaels
6384 > from reports by Fred Fish:
6385 + add configure-test for isascii
6386 + add configure-test for -lm library.
6387 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
6388 > patches by J.J.G.Ripoll
6389 + add configure/makefile variables to support .exe extension on
6390 OS/2 EMX (requires additional autoconf patches).
6391 + explicitly initialize variables in lib_data.c to appease OS/2 linker
6392 > patches by Fred Fish <fnf@ninemoons.com>
6393 + misc/Makefile.in (install.data): Avoid trying to install the CVS
6395 + aclocal.m4 (install.includes): Remove files in the include directory
6396 where we are going to install new ones, not the original source
6398 + misc/terminfo.src: Add entry for "beterm", derived from termcap
6399 distributed with BeOS PR2 using captoinfo.
6400 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
6401 + aclocal.m4: Assume bool types are unsigned.
6402 + progs/infocmp.c: workaround mwcc 32k function data limit
6405 + correct initialization of color-pair (cf: 970524) in xmas.c, which
6406 was using only one color-pair for all colors (reported by
6408 + add multithread options for objects build on EMX, for compatibility
6410 + split up an expression in MKlib_gen.sh to work around a problem on
6411 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
6412 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
6414 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
6415 + remove bold/underline from sun console entries since they're not
6417 + correct _tracef calls in _tracedump(), which did not separate format
6419 + correct getopt string for tic "-o" option, and add it to man-page
6420 synopsis (reported by Darren Hiebert <darren@hmi.com>).
6421 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
6422 optimization (Alexander V. Lukyanov).
6423 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
6424 Muyter <phdm@macqel.be>).
6425 > patches by Juergen Pfeifer:
6426 + Improve a feature of the forms driver. For invisible fields
6427 (O_VISIBLE off) only the contents but not the attributes are cleared.
6428 We now clear both. (Reported by Javier Kohan
6429 <jkohan@adan.fceia.unr.edu.ar>)
6430 + The man page form_field_opts.3x makes now clear, that invisible
6431 fields are also always inactive.
6432 + adjust ifdef's to compile the C++ binding with the just released
6433 gcc-2.8.0 c++ and the corresponding new C++ libraries.
6436 + correct "?" command in ncurses.c; it was performing non-screen writes
6437 while the program was in screen mode. (It "worked" in 1.9.9e because
6438 that version sets OPOST and OCRNL incorrectly).
6439 + return error from functions in lib_kernel, lib_raw and lib_ti if
6440 cur_term is null, or if underlying I/O fails.
6441 + amend change to tputs() so that it does not return an error if
6442 cur_term is null, since some applications depend on being able to use
6443 tputs without initializing the terminal (reported by Christian J.
6444 Robinson <infynity@cyberhighway.net>).
6447 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
6448 1.9.9e, together with fixes/additions for the "ansi" terminal type.
6449 + add tic check for save/restore cursor if change_scroll_region is
6450 defined (reference: O'Reilly book).
6451 + modify read_termcap.c to handle EMX-style pathnames (reported by
6453 + modify lib_raw.c to use EMX's setmode (patch from J.J.G.Ripoll).
6454 Ripoll says EMX's curses does this.
6455 + modify _nc_tic_expand() to generate \0 rather than \200.
6456 + move/revise 'expand()' from dump_entry.c to ncurses library as
6457 _nc_tic_expand(), for use by tack.
6458 + decode \a as \007 for terminfo, as per XSI.
6459 + correct translation of terminfo "^@", to \200, like \0.
6460 + modify next_char() to treat <cr><lf> the same as <newline>, for
6461 cross-platform compatibility.
6462 + use new version of autoconf (971230) to work around limited
6463 environment on CLIX, due to the way autoconf builds --help message.
6464 > patch by Juergen Pfeifer:
6465 + check that the Ada95 binding runs against the correct version of
6467 + insert constants about the library version into the main spec-file of
6471 + modify open/fopen calls to use binary mode, needed for EMX.
6472 + modify configure script to work with autoconf 2.10 mods for OS/2
6473 EMX (from J.J.G.Ripoll).
6474 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
6475 bypasses limited sed buffer length.
6476 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
6477 (J.J.G.Ripoll) to support OS/2 EMX:
6478 + add a _scrolling flag to SP, to set when we encounter a terminal
6479 that simply cannot scroll.
6480 + corrected logic in _nc_add_to_try(), by ensuring that strings with
6481 embedded \200 characters are matched.
6482 + don't assume the host has 'link()' function, for linking terminfo
6486 + if there's no ioctl's to support sigwinch handler, disable it.
6487 + add configure option --disable-ext-funcs to remove the extended
6488 functions from the build.
6489 + add configure option --with-termlib to generate the terminfo
6490 functions as a separate library.
6491 + add 'sources' rule to facilitate cross-compiling.
6492 + review/fix order of mostlyclean/clean/distclean rules.
6493 + modify install-rule for headers to first remove old header, in
6494 case there was a symbolic link that confuses the install script.
6495 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
6496 + add null pointer checks in wnoutrefresh(), overlap() (patch by
6497 Xiaodan Tang <xtang@qnx.com>)
6498 + correct tputs(), which could dereference a null cur_term if invoked
6499 before terminal is initialized (patch by Christopher Seawood
6501 > patch by Juergen Pfeifer:
6502 + makes better use of "pragma Inline" in the Ada95 binding
6503 + resynchronizes the generated html manpages
6506 + additional fixes for man-pages section-references
6507 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
6509 + remove hpa/vpa from rxvt terminal description because they are not
6510 implemented correctly, added sgr0.
6511 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
6512 Leitgeb <leitgeb@leland.stanford.edu>)
6515 + modify protection when installing libraries to (normally) not
6516 executable. HP-UX shared libraries are an exception.
6517 + add configure check for 'tack'.
6518 + implement script for renaming section-references in man-page install,
6519 for Debian configuration.
6520 + add validity-check for SP in trace code in baudrate() (reported by
6522 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
6523 + modify 'overlay()' so that copy applies target window background to
6525 + correct 'mvwin()' so that it does not clear the previous locations.
6526 + correct lib_acs.c so that 8-bit character is not sign expanded in
6527 case of wide characters in chtype.
6528 + correct control-char test in lib_addch.c for use with wide chars
6529 + use attribute in the chtype when adding a control character in
6530 lib_addch.c control char was added with current attribute
6533 + save/restore errno in _tracef() function
6534 + change treatment of initialize_color to use a range of 0..1000
6535 (recommended by Daniel Weaver).
6536 + set umask in mkinstalldirs, fixing problems reported by users who
6537 have set root's umask to 077.
6538 + correct bug in tic that caused capabilities to be reprinted at the
6539 end of output when they had embedded comments.
6540 + rewrote wredrawln to correspond to XSI, and split-out since it is
6541 not often used (from report by Alexander V. Lukyanov, 970825)
6542 + rewrote Dan Nelson's change to make it portable, as well as to
6543 correct logic for handling backslashes.
6544 + add code to _nc_tgetent() to make it work more like a real tgetent().
6545 It removes all empty fields, and removes all but the first in a group
6546 of duplicate caps. The code was pulled from the BSD libtermcap code
6547 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
6548 + don't include --enable-widec in the --with-develop configure option,
6549 since it is not binary-compatible with 4.1 (noted by Alexander V.
6551 > patch by Juergen Pfeifer:
6552 + further improvements of the usage of elaboration pragmas in the Ada95
6554 + enhanced Ada95 sample to use the user_data mechanism for panels.
6555 + a fix for the configuration script to make gnat-3.10 the required
6557 + resync of the html version of the manpages
6560 > fixes/updates for terminfo.src:
6561 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
6563 + add hds200 description (Walter Skorski)
6564 + add EMX 0.9b descriptions
6565 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
6566 + rename xhpterm back to hpterm.
6567 > patch by Juergen Pfeifer:
6568 + Improves the usage of elaboration pragmas for the Ada95 binding.
6569 + Adds a translation of the test/rain.c into Ada95 to the samples.
6570 This has been contributed to the project by Laurent Pautet
6574 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
6576 + correction & simplification of delay computation in tputs, based on
6577 comments from Daniel Weaver.
6578 + replace test for SCO with more precise header tests.
6579 + add configure test for unsigned literals, use in NCURSES_BITS macro.
6580 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
6581 since they probably are not needed, and are less efficient (noted by
6583 + add -L$(libdir) to loader options, after -L../lib so that loaders
6584 that record this information will tend to do the right thing if
6585 the programs are moved around after installing them (suggested by
6587 + add -R option to loader options for programs for Solaris if the
6588 --enable-rpath option is specified for the libraries.
6591 + correct installed filename for shared libraries on *BSD (reported by
6595 + cleanup logic for deciding when tputs() should call delay_output(),
6596 based on comments from Daniel Weaver.
6597 + modified tputs() to avoid use of float.
6598 + correct use of trailpad in tputs(), which used the wrong variable
6599 in call to delay_output().
6600 + correct inverted expression for null-count in delay_output()
6601 (analysis by Daniel Weaver).
6602 + apply --enable-rpath option to Solaris (requested by Larry Virden).
6603 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
6604 + correct check for error-return by _nc_tgetent(), which returns 0
6606 + add configure test for BSD 4.4 cgetent() function, modify
6607 read_termcap.c to use the host's version of that if found, using the
6608 terminal database on FreeBSD (reported by Peter Wemm).
6609 + add u8, u9 strings to sun-il description for Daniel Weaver.
6610 + use NCURSES_CONST in panel's user-pointer.
6611 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
6612 so that will work on NeXT.
6613 + use _nc_set_screen() rather than assignments to SP to fix port to
6614 NeXT (reported by Francisco A. Tomei Torres).
6617 + force mandatory padding in bell and flash_screen, as specified in
6619 + don't allow padding_baud_rate to override mandatory delays (reported
6621 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
6622 defined, or if the cur_term pointer is not initialized. XSI treats
6623 this as unspecified. (requested by Daniel Weaver).
6624 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
6625 when that feature is not configured.
6626 + remove _nc_err_abort() calls when write_entry.c finds a directory but
6627 cannot write to it, e.g., when translating part/all of /etc/termcap
6628 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
6629 (this dates back to 951102, in 1.9.7a).
6630 + minor ifdef fixes to compile with atac and glibc 2.0.5c
6631 + add check for -lgen when configuring regexpr.h
6632 + modify Solaris shared-library option "-d y" to "-dy" to workaround
6633 incompatibility of gcc 2.7.2 vs vendor's tools.
6636 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
6638 + remove dangling backslash in panel/Makefile.in
6639 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
6641 + correct length of allocation in _nc_add_to_try(), to allow for
6643 + correct logic in _nc_remove_key(), which was discarding too many
6644 nodes (patch by Alexander V. Lukyanov)
6647 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
6648 shared libraries link properly (see 970524).
6649 + modify Linux shared-library generation to include library
6650 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
6651 panel libraries (suggested by Juergen Pfeifer).
6652 + modify configure script to use config.guess and config.sub rather
6653 than uname, which is unreliable on some systems.
6654 + updated Makefile.glibc, test-built with glibc 2.0.5c
6655 + modify keyname() to return values consistent with SVr4 curses (patch
6657 > changes requested by Daniel Weaver:
6658 + modify delay_output() so that it uses the same output function as
6659 tputs() if called from that function.
6660 + move _baudrate from SCREEN to TERMINAL so that low-level use of
6661 tputs works when SP is not set.
6662 > patch by Juergen Pfeifer:
6663 + factor lib_menu and lib_form into smaller modules
6664 + clean up the interface between panel and SCREEN
6665 + minor changes to the Ada95 mouse support implemenation
6666 + minor bugfix in C++ binding to ripoff windows
6667 + fix a few Ada95 html documentation pages
6670 + split-out lib_ungetch.c, make runtime link to resizeterm() to
6671 decouple those modules from lib_restart.c
6672 + add xterm-xf86-v39t description to terminfo.src
6673 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
6674 endwin() to avoid unnecessary repainting if the application has
6675 established an atexit function, etc. Encountered this problem in
6676 the c++ demo, whose destructors repaint the screen.
6677 + combine _nc_get_screensize() and resizeterm() calls as new function
6678 _nc_update_screensize().
6679 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
6681 + implement install-rules for Ada95 makefiles.
6682 + use screen_lines or MAXLINES as needed where LINES was coded,
6683 as well as screen_columns for COLS, in the ncurses library.
6684 > patch by Alexander V. Lukyanov:
6685 + modify logic for ripped-off lines to handle several SCREENs.
6686 > patch by Juergen Pfeifer:
6687 + factors lib_slk.c into some smaller modules
6688 + factors panel.c into some smaller modules
6689 + puts the static information about the current panel stack into the
6690 SCREEN structure to allow different panel stacks on different
6692 + preliminary fix for an error adjusting LINES to account for
6696 + move _nc_max_click_interval and other mouse interface items to SCREEN
6697 struct so that they are associated with a single terminal, and also
6698 save memory when the application does not need a mouse (roughly 3k vs
6700 + modify mouseinterval() so that a negative parameter queries the
6701 click-interval without modifying it.
6702 + modify ncurses 'i' test to work with ncurses' apparent extension from
6703 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
6705 + add configure options --with-ada-includes and --with-ada-objects,
6706 to drive Ada95 binding install (not yet implemented).
6707 + install C++ binding as -lncurses++ and associated headers with the
6708 other ncurses headers.
6709 + fix header uninstall if configure --srcdir is used.
6710 > minor interface changes to support 'tack' program -TD
6711 (request by Daniel Weaver <danw@znyx.com>).
6712 + export functions _nc_trans_string() and _nc_msec_cost().
6713 + add variable _nc_nulls_sent, to record the number of padding
6714 characters output in delay_output().
6715 + move tests for generic_type and hard_copy terminals in setupterm()
6716 to the end of that function so that the library will still be
6717 initialized, though not generally useful for curses programs.
6718 > patches by Alexander V. Lukyanov:
6719 + modify ClrBottom() to avoid using clr_eos if there is only one line
6721 + typo in configure --help.
6722 > patch by J T Conklin (with minor resync against Juergen's changes)
6723 + split-out lib_flash.c from lib_beep.c
6724 + split-out lib_hline.c and lib_vline.c from lib_box.c
6725 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
6728 > patch by Juergen Pfeifer:
6729 + correct source/target of c++/edit_cfg.sh
6732 + add color, mouse support to kterm terminfo entry.
6733 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
6734 providing "xterm"-style mouse.
6735 + updated rxvt's terminfo description to correspond to 2.21b, with
6736 fixes for the acsc (the box1 capability is incorrect, ech1 does not
6738 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
6739 an entry from equivalents in XENIX or AIX. This lets ncurses handle
6740 the distribution copy of rxvt's terminfo.
6741 + modify acsc capability for linux and linux-koi8 terminfo descriptions
6742 (from Pavel Roskin <pavel@absolute.spb.su>).
6743 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
6744 rather than 'i' (see 970802).
6745 + updated terminfo.src with reformatted acsc entries, and repaired the
6746 trashed entries with spurious '\' characters that this exposed.
6747 + add logic to dump_entry.c to reformat acsc entries into canonical
6748 form (sorted, unique mapping).
6749 + add configure script to generate c++/etip.h
6750 + add configure --with-develop option, to enable by default most of the
6751 experimental options (requested by Alexander V. Lukyanov).
6752 + rename 'deinstall' to 'uninstall', following GNU convention
6753 (suggested by Alexander V. Lukyanov).
6754 > patches by Alexander V. Lukyanov:
6755 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
6756 line of the screen, since carriage return will not cause a newline.
6757 + remove clause from PutCharLR() that would try to use
6758 eat_newline_glitch since that apparently does not work on some
6759 terminals (e.g., M$ telnet).
6760 + correct a limit check in scroll_csr_backward()
6761 > patches by Juergen Pfeifer:
6762 + adds dummy implementations of methods above() and below() to the
6764 + fixes missing returncode in NCursesWindow::ripoffline()
6765 + fixes missing returncode in TestApplication::run() in demo.cc
6766 + We should at least give a comment in etip.h why it is currently a
6767 problem to install the C++ binding somewhere
6768 + makes the WINDOW* argument of wenclose() a const.
6769 + modifies several of the routines in lib_adabind.c to use a const
6773 + add 'deinstall' rules.
6774 + use explicit assignments in configure --without-progs option to
6775 work around autoconf bug which doesn't always set $withval.
6776 + check for ldconfig, don't try to run it if not found.
6777 + implement simple/unoptimized case in lib_doupdate.c to handle
6778 display with magic cookie glitch, tested with ncurses.c program.
6779 + correct missing _tracef in getmouse(), to balance the returnCode
6781 + simplify show_attr() in ncurses.c using termattrs().
6782 > patches by Juergen Pfeifer:
6783 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
6785 + fixes a typo in a comment of frm_driver.c
6786 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
6787 generics should be compiled. Proper fixes to the configuration
6788 scripts are also provided.
6791 + several modifications to the configure script (requested by Ward
6793 + add configure options --without-progs, to suppress the build of the
6794 utility programs, e.g., for cross-compiling.
6795 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
6796 Makefile.in, to simplify setup for cross compiling.
6797 + add logic in configure script to recognize "--target=vxworks", and
6798 generate load/install actions for VxWorks objects.
6799 + move typedef for sigaction_t into SigAction.h to work around problem
6800 generating lint library.
6801 + modify fty_regex.c to reflect renaming of ifdef's for regular
6803 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
6804 reside in <sys/ioctl.h>.
6805 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
6806 the more obscure tests, which rely upon color.
6807 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
6808 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
6809 implementation difference wrt SVr4 curses, allow 's' test to work.
6810 + add missing endwin() to testscanw.c program (reported by Fausto
6811 Saporito <fausap@itb.it>).
6812 + fixes/updates for Makefile.glibc and related files under sysdeps
6814 > patches by Juergen Pfeifer:
6815 + add checks for null pointers, especially WINDOW's throughout the
6817 + solve a problem with wrong calculation of panel overlapping (reported
6819 + make sure that a panel's window isn't a pad.
6820 + do more error checking in module lib_touch.c
6821 + missing files for Ada95 binding from the last patch
6822 + synch. of generated html pages (RCS-Id's were wrong in html files)
6823 + support for Key_Resize in Ada binding
6824 + changed documentation style in ./c++/cursesm.h
6825 > patches by Alexander V. Lukyanov:
6826 + undo attempt to do recursive inlining for PutChar(), noting that it
6827 did not improve timing measurably, but inflated the size of
6831 + modify rain.c to use color.
6832 + correct scroll_csr_backward() to match scroll_csr_forward().
6833 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
6834 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
6835 of configure cache variables in 970906.
6836 + correct logic involving changes to O_VISIBLE option in
6837 Synchronize_Options function in frm_driver.c (Tony Hoffmann
6838 <Tony.Hoffmann@hia.nrc.ca>)
6839 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
6840 cross compiling (suggested by Chris Johns).
6841 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
6842 use it to support screen-size calculation (reported by Chris Johns).
6843 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
6844 Chris Johns <cjohns@plessey.com.au>)
6845 > patches by Juergen Pfeifer:
6846 + simplified, made minor corrections to Ada95 binding to form
6848 + The C++ binding has been enhanced:
6849 + Improve NCursesWindow class: added additional methods to cover
6850 more ncurses functionality. Make refresh() and noutrefresh()
6851 virtual members to allow different implementation in the
6853 + CAUTION: changed order of parameters in vline() and hline() of
6854 NCursesWindow class.
6855 + Make refresh() in NCursesPanel non-static, it is now a
6856 reimplementation of refresh() in the base class. Added
6857 noutrefresh() to NCursesPanel.
6858 + Added NCursesForm and related classes to support libform
6860 + Moved most of configuration related stuff from cursesw.h to etip.h
6861 + Added NCursesApplication class to support easy configuration of
6862 menu and forms related attributes as well as ripped of title lines
6863 and Soft-Label-Keys for an application.
6864 + Support of Auto-Cleanup for a menu's fieldlist.
6865 + Change of return type for current_item() and operator[] for menus.
6867 + Fixed a bug in form/fld_def.c: take into account that copyarg and
6868 freearg for a fieldtype may be NULL, makearg must not be NULL
6869 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
6870 not be NULL, copyarg and freearg may be NULL.
6871 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
6872 already disconnected.
6873 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
6874 navigation requests.
6875 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
6876 case-insensitiva comparision routine.
6877 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
6878 forms field by index.
6879 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
6881 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
6882 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
6883 broken (didn't handle colors correctly).
6884 + Enhanced lib_mouse.c: added _nc_has_mouse() function
6885 + Added _nc_has_mouse() prototype to curses.priv.h
6886 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
6887 streamlined implementation of wbkgd()
6888 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
6889 move of subwindows. Fixed update behavior of movements of regular
6891 + Fixed lib_pad.c: make chtype argument of pechochar() const.
6892 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
6893 of the original. Subwindows become regular windows by doing a
6895 + Improved manpage form_fieldtype.3x
6896 > patches by Alexander V. Lukyanov:
6897 + simplify the PutChar() handling of exit_am_mode, because we already
6898 know that auto_right_margin is true.
6899 + add a check in PutChar() for ability to insert to the case of
6900 shifting character to LR corner.
6901 + in terminal initialization by _nc_screen_resume(), make sure that
6902 terminal right margin mode is known.
6903 + move logic that invokes touchline(), or does the equivalent, into
6904 _nc_scroll_window().
6905 + modify scrolling logic use of insert/delete line capability, assuming
6906 that they affect the screen contents only within the current
6908 + modify rain.c to demonstrate SIGWINCH handler.
6909 + remove logic from getch() that would return an ERR if the application
6910 called getch() when the cursor was at the lower-right corner of the
6911 physical screen, and the terminal does not have insert-character
6913 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
6914 is read, and modify logic in getch() so this fix will yield the
6915 desired behavior, i.e., the screen is repainted automatically when
6916 the terminal window is resized.
6919 + add configure option --enable-sigwinch
6920 + modify view.c to test KEY_RESIZE logic, with "-r" option.
6921 + modify testcurs.c to eliminate misleading display wrt cursor type
6922 by testing if the terminal supports cnorm, civis, cvvis.
6923 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
6924 _nc_curr_col variables into linked programs: move these variables,
6925 making new modules lib_cur_term and trace_buf (reported by Francisco
6926 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
6927 > patches by Alexander V. Lukyanov:
6928 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
6929 the SIGWINCH handler has been called since the last call to
6931 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
6932 + add SIGWINCH handler to ncurses library which is used if there is no
6933 application SIGWINCH handler in effect when the screen is
6935 + make linked list of all SCREEN structures.
6936 + move curses.h include before definition of SCREEN to use types in
6938 + correction to ensure that wgetstr uses only a newline to force a
6942 + add experimental configure option --enable-safe-sprintf; the normal
6943 mode now allocates a buffer as large as the screen for the
6944 lib_printw.c functions.
6945 + modify wgetch to refresh screen when reading ungetch'd characters,
6946 since the application may require this - SVr4 does this.
6947 + refine treatment of newline in wgetstr to echo only when this would
6948 force the screen to scroll.
6951 + remove override in wgetstr() that forces keypad(), since SVr4 does
6953 + correct y-reference for erasure in wgetstr() when a wrap forces a
6955 + correct x-position in waddch() after a wrap forces a scroll.
6956 + echo newline in wgetstr(), making testscanw.c scroll properly when
6958 + modify vwscanw() to avoid potential buffer overflow.
6959 + rewrote lib_printw.c to eliminate fixed-buffer limits.
6960 > patches by Alexander V. Lukyanov:
6961 + correct an error in handling cooked mode in wgetch(); processing
6962 was in the wrong order.
6963 + simplified logic in wgetch() that handles backspace, etc., by using
6965 + correct wechochar() so that it interprets the output character as
6967 + modify pechochar() to use prefresh() rather than doupdate(), since
6968 the latter does not guarantee immediate refresh of the pad.
6969 + modify pechochar() so that if called with a non-pad WINDOW, will
6970 invoke wechochar() instead.
6971 + modify fifo indices to allow fifo to be longer than 127 bytes.
6974 + add xterm-8bit to terminfo.src
6975 + moved logic for SP->_fifohold inside check_pending() to make it
6976 work properly when we add calls to that function.
6977 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
6978 are assigned to bool values (patch by H.J.Lu).
6979 > patches by Alexander V. Lukyanov:
6980 + several fixes to getch:
6981 1. Separate cooked and raw keys in fifo
6982 2. Fix the case of ungetch'ed KEY_MOUSE
6983 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
6984 4. correctly handle input errors (i.e., EINTR) without loss of raw
6986 5. recognize ESC KEY_LEFT and similar
6987 6. correctly handle the case of receiption of KEY_MOUSE from gpm
6988 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
6989 single mouse events (press/release) to be ignored in favor of
6990 composed events (click). Improves on a fix from integrating gpm
6992 + add another call to check_pending, before scrolling, for
6993 line-breakout optimization
6994 + improve hashmap.c by
6995 1. fixed loop condition in grow_hunks()
6996 2. not marking lines with offset 0
6997 3. fixed condition of 'too far' criteria, thus one-line hunks are
6998 ignored and two lines interchanged won't pass.
6999 + rewrote/simplified _nc_scroll_optimize() by separating into two
7000 passes, forward/backward, looking for chunks moving only in the given
7002 + move logic that emits sgr0 when initializing the screen to
7003 _nc_screen_init(), now invoked from newterm.
7004 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
7005 function and screen cleanup (i.e., color) into _nc_screen_wrap()
7007 + add new functions _nc_screen_init(), _nc_screen_resume() and
7009 + rename _nc_mvcur_scrolln() to _nc_scrolln().
7010 + add a copy of acs_map[] to the SCREEN structure, where it can be
7011 stored/retrieved via set_term().
7012 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
7016 + implement experimental _nc_perform_scroll().
7017 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
7018 initializing the screen, as does SVr4 (reported by Alexander V.
7020 + added test_progs rule to ncurses/Makefile.
7021 + modify test/configure.in to check if initscr is already in $LIBS
7022 before looking for (n)curses library.
7023 + correct version-number in configure script for OSF1 shared-library
7024 options (patch by Tim Mooney).
7025 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
7026 originally patched) since the c++ demo files do not necessarily
7027 include ncurses_cfg.h
7028 + supply default value for --enable-assertions option in configure
7029 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
7030 > patches by Alexander V. Lukyanov:
7031 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
7033 + optimize waddch_literal() and waddch_nosync() by factoring out
7034 common subexpressions.
7035 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
7036 + corrections to render_char(), to make handling of colored blanks
7037 match SVr4 curses, as well as to correct a bug that xor'd space
7038 against the background character.
7039 + replaced hash function with a faster one (timed it)
7040 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
7041 cost_effective() calls on the same lines.
7042 + modified cost_effective() so it is now slightly more precise.
7043 > patches for glibc integration (H.J.Lu):
7044 + add modules define_key, keyok, name_match, tries
7045 + add makefile rules for some of the unit tests in ncurses (mvcur,
7046 captoinfo, hardscroll, hashmap).
7047 + update Linux configure-script for wide-character definitions.
7050 + modify _tracebits() to show the character size (e.g., CS8).
7051 + modify tparm() to emit '\200' where the generated string would have a
7052 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
7053 terminal type ncr7900).
7054 + modify install process so that ldconfig is not invoked if the
7055 package is built with an install-prefix.
7056 + correct test program for chtype size (reported by Tim Mooney).
7057 + add configure option --disable-scroll-hints, using this to ifdef the
7058 logic that computes indices for _nc_scroll_optimize().
7059 + add module ncurses/softscroll.c, to perform single-stage computation
7060 of scroll indices used in _nc_scroll_optimize(). This is faster than
7061 the existing scrolling algorithm, but tends to make too-small hunks.
7062 + eliminate fixed buffer size in _nc_linedump().
7063 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
7064 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
7065 by Alexander V. Lukyanov).
7066 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
7067 + correct processing of "configure --enable-assertions" option (patch
7068 by Juergen Pfeifer).
7071 + add '-s' (single-step) option too test/hashtest.c, correct an error
7072 in loop limit for '-f' (footer option), toggle scrollok() when
7073 writing footer to avoid wrap at lower-right corner.
7074 + correct behavior of clrtoeol() immediately after wrapping cursor,
7075 which was not clearing the line at the cursor position (reported by
7076 Liviu Daia <daia@stoilow.imar.ro>).
7077 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
7078 (reported by Klaus Weide <kweide@tezcat.com>).
7079 + many corrections to make progs/capconvert work, as well as make it
7080 reasonably portable and integrated with ncurses 4.1 (reported by Dave
7081 Furstenau <df@ravine.binary.net>).
7084 + add flag SP->_fifohold, corresponding logic to modify the behavior of
7085 the line breakout logic so that if the application does not read
7086 input, refreshes will not be stopped, but only slowed.
7087 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
7088 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
7089 masks are identical with the A_xxx masks.
7090 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
7091 configuration of wide-characters.
7092 + modify tset to behave more like SVr4's tset, which does not modify
7093 the settings of intr, quit or erase unless they are given as command
7094 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
7095 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
7096 does not have getttynam().
7097 + extend baudrate table in tset.c to match baudrate() function.
7098 + add table entries for 230400 and 460800 bd to baudrate() function.
7099 + improve breakout logic by allowing it before the first line updated,
7100 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
7101 + correct initialization of vcost in relative_move(), for cursor-down
7102 case (patch by Alexander V. Lukyanov).
7103 > nits gleaned from Debian distribution of 1.9.9g-3:
7104 + install symbolic link for intotocap.
7105 + reference libc directly when making shared libraries.
7106 + correct renaming of curs_scr_dmp.3x in man_db.renames.
7107 + guard tgetflag() and other termcap functions against null cur_term
7111 + corrected initial state of software echo (error in 970405, reported
7112 by Alexander V. Lukyanov).
7113 + reviewed/added messages to configure script, so that all non-test
7114 options should be accompanied by a message.
7115 + add configure check for long filenames, using this to determine if
7116 it is safe to allow long aliases for terminal descriptions as does
7118 + add configure options for widec (wide character), hashmap (both
7120 > patch by Alexander V. Lukyanov:
7121 + hashmap.c - improved by heuristic, so that scroll test works much
7122 better when csr is not available.
7123 + hardscroll.c - patched so that it continues to scroll other chunks
7124 after failure to scroll one.
7125 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
7126 is avoided as it is relative costly. Fixed wrong coordinates in one
7127 case and wrong string in TRACE.
7128 > patch by Juergen Pfeifer:
7129 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
7133 + remove alternate character set from kterm terminfo entry; it uses the
7134 shift-out control for a purpose incompatible with curses, i.e., font
7136 + disentangle 'xterm' terminfo entry from some derived entries that
7137 should be based on xterm-r6 instead.
7138 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
7139 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
7140 + correct logic in lib_mvcur.c that uses back_tab.
7143 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
7144 contents of curscr are saved in newscr before clearing the screen.
7145 This is needed to make repainting work with the present logic of
7147 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
7150 + add limit checks to _nc_read_file_entry() to guard against overflow
7151 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
7152 + correct some loop-variable errors in xmc support in lib_doupdate.c
7153 + modify ncurses 'b' test to add gaps, specified by user, to allow
7154 investigation of interaction with xmc (magic cookie) code.
7155 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
7156 list from has_colors(), which gcc ignores, but SVr4 does not
7157 (reported by Larry Virden).
7158 + correct rmso capability in wy50-mc description.
7159 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
7161 > patch by Juergen Pfeifer:
7162 + Add bindings for keyok() and define_key() to the Ada95 packages.
7163 + Improve man pages menu_post.3x and menu_format.3x
7164 + Fix the HTML pages in the Ada95/html directory to reflect the above
7168 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
7169 pending changes to both curscr and newscr are flushed properly.
7170 This fixes a case where the first scrolling operation in nvi would
7171 cause the screen to be cleared unnecessarily and repainted before
7172 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
7174 + correct error in trans_string() which added embedded newlines in a
7175 terminfo description to the stored strings.
7176 + remove spurious newlines from sgr in wyse50 (and several other)
7177 terminfo descriptions.
7178 + add configure option for experimental xmc (magic cookie) code,
7179 "--enable-xmc-glitch". When disabled (the default), attributes that
7180 would store a magic cookie are suppressed in vidputs(). The magic
7181 cookie code is far from workable at this stage; the configuration
7182 option is a stopgap.
7183 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
7184 + correct path for invoking make_keys (a missing "./").
7187 + correct sign-extension problem with "infocmp -e", which corrupted
7188 acsc values computed for linux fallback data.
7189 + correct dependency on ncurses/names.c (a missing "./").
7190 + modify configure script to use '&&' even for cd'ing to existing
7191 directories to work around broken shell interpreters.
7192 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
7196 + restore logic in _nc_scroll_optimize() which marks as touched the
7197 lines in curscr that are shifted.
7198 + add new utility 'make_keys' to compute keys.tries as a table rather
7199 than a series of function calls.
7200 + correct include-dependency for tic.h used by name_match
7201 + removed buffer-allocation for name and description from m_item_new.c,
7202 since this might result in incompatibilities with SVr4. Also fixed
7203 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
7204 report by Avery Pennarun <apenwarr@foxnet.net>)
7205 + removed the mechanism to timestamp the generated Ada95 sources. This
7206 resulted always in generating patches for the HTML doc, even when
7207 nothing really changed (patch by Juergen Pfeifer).
7208 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
7211 + remove ech capability from rxvt description because it does not work.
7212 + add missing case logic for infocmp -I option (reported by Lorenzo M.
7213 Catucci <lorenzo@argon.roma2.infn.it>)
7214 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
7215 caused glitches in the ncurses 'p' test since the area outside the
7216 pad was not compared when setting up indices for _nc_scroll_optimize.
7217 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
7218 4.4, as well as to eliminate fixed-size buffer (reported by Chris
7219 Tanner <tannerc@aecl.ca>)
7220 + correct prototype for termattrs() as per XPG4 version 2.
7221 + add placeholder prototypes for color_set(), erasewchar(),
7222 term_attrs(), wcolor_set() as per XPG4 version 2.
7223 + correct attribution for progs/progs.priv.h and lib_twait.c
7224 + improve line-breakout logic by checking based on changed lines rather
7225 than total lines (patch by Alexander V. Lukyanov).
7226 + correct loop limits for table-lookup of enumerated value in form
7227 (patch by Juergen Pfeifer).
7228 + improve threshhold computation for determining when to call ClrToEOL
7229 (patch by Alexander V. Lukyanov).
7232 + add configure option --disable-database to force the library to
7233 use only the fallback data.
7234 + add configure option --with-fallbacks, to specify list of fallback
7235 terminal descriptions.
7236 + add a symbolic link for ncurses.h during install; too many programs
7237 still assume there's an ncurses.h
7238 + add new terminfo.src entry for xterm-xf86-v33.
7239 + restore terminfo.src entry for emu to using setf/setb, since it is
7240 not, after all, generating ANSI sequences. Corrected missing comma
7241 that caused setf/setb entries to merge.
7242 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
7243 that applications can disable ncurses' mouse and supply their own
7245 + add extensions keyok() and define_key(). These are designed to allow
7246 the user's application better control over the use of function keys,
7247 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
7248 a mailing-list thread started by Kenneth Albanowski
7249 <kjahds@kjahds.com> Nov'1995).
7250 + restore original behavior in ncurses 'g' test, i.e., explicitly
7251 set the keypad mode rather than use the default, since it confuses
7253 + rewrote the newdemo banner so it's readable (reported by Hugh
7255 + tidy up exit from hashtest (reported by Hugh Daniel).
7256 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
7258 + correct tput program, checking return-value of setupterm (patch by
7260 + correct logic in pnoutrefresh() and pechochar() functions (reported
7261 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
7262 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
7263 original implementation (1.9.6).
7264 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
7265 <rwuest@sire.vt.com>)
7266 + move calls of _nc_background() out of various loops, as its return
7267 value will be the same for the whole window being operated on (patch
7269 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
7270 SVr4 headers (patch by J T Conklin <jtc@NetBSD.ORG>)
7271 + modify glibc addon-configure scripts (patch by H.J.Lu).
7272 + correct a bug in hashmap.c: the size used for clearing the hashmap
7273 table was incorrect, causing stack corruption for large values of
7274 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
7275 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
7276 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
7278 > several changes by Juergen Pfeifer:
7279 + correct a missing error-return in form_driver.c when wrapping of a
7280 field is not possible.
7281 + correct logic in form_driver.c for configurations that do not have
7282 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
7283 + change several c++ binding functions to inline.
7284 + modify c++ menu binding to inherit from panels, for proper
7286 + correct freeing of menu items in c++ binding.
7287 + modify c++ binding to reflect removal of const from user data pointer
7288 in forms/menus libraries.
7291 + add description of xterm-16color.
7292 + modify name of shared-library on *BSD to end with $(REL_VERSION)
7293 rather than $(ABI_VERSION) to match actual convention on FreeBSD
7295 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
7296 (reported by Hugh Daniel <hugh@rat.toad.com>).
7297 + corrected include-dependency in menu/Makefile so that "make install"
7298 works properly w/o first doing "make".
7299 + add fallback definition for isascii, used in infocmp.
7300 + modify xmas to use color, and to exit right away when a key is
7302 + modify gdc so that the scrolled digits function as described (there
7303 was no time delay between the stages, and the digits overwrote the
7304 bounding box without tidying up).
7305 + modify lib_color.c to use setaf/setab only for the ANSI color codes
7306 0 through 7. Using 16 colors requires setf/setb.
7307 + modify ncurses 'c' test to work with 16 colors, as well as the normal
7309 + remove const qualifier from user data pointer in forms and menus
7310 libraries (patch by Juergen Pfeifer).
7311 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
7312 function, thereby not interpreting tabs, etc., as per spec (patch by
7313 Alexander V. Lukyanov).
7316 + suppress check for pre-existing ncurses header if the --prefix
7317 option is specified.
7318 + add configure options "--with-system-type" and
7319 "--with-system-release" to assist in checking the generated
7321 + add configure option "--enable-rpath" to allow installers to specify
7322 that programs linked against shared libraries will have their library
7323 path embedded, allowing installs into nonstandard locations.
7324 + add flags to OSF1 shared-library options to specify version and
7325 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
7326 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
7327 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
7328 + modify link flags to accommodate HP-UX linker which embeds absolute
7329 pathnames in executables linked against shared libraries (reported by
7330 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
7331 <ats@hubert.wustl.edu>).
7332 + drop unnecessary check for attribute-change in onscreen_mvcur() since
7333 mvcur() is the only caller within the library, and that check in turn
7334 is exercised only from lib_doupdate.c (patch by Alexander V.
7336 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
7337 can use the background of stdscr as a parameter to that function
7338 (patch by Alexander V. Lukyanov).
7339 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
7340 the latter's internal functions, as well as to eliminate unnecessary
7341 cursor save/restore operations (patch by Alexander V. Lukyanov).
7342 + omit parameter of ClrUpdate(), since it is called only for newscr,
7343 further optimized/reduced by using ClearScreen() and TransformLine()
7344 to get rid of duplicate code (patch by Alexander V. Lukyanov).
7345 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
7346 that are smaller than the distance to be moved (patch by Alexander V.
7348 + correct a place where the panel library was not ifdef'd in ncurses.c
7350 + documentation fixes (Juergen Pfeifer)
7352 970515 4.1 release for upload to prep.ai.mit.edu
7353 + re-tag changes since 970505 as 4.1 release.
7356 + modify ncurses 'g' test to allow mouse input
7357 + modify default xterm description to include mouse.
7358 + modify configure script to add -Wwrite-strings if gcc warnings are
7359 enabled while configuring --enable-const (and fixed related
7361 + add toggle, status display for keypad mode to ncurses 'g' test to
7362 verify that keypad and scrollok are not inherited from parent window
7363 during a call to newwin.
7364 + correction to MKexpanded.sh to make it work when configure --srcdir
7365 is used (reported by H.J.Lu).
7366 + revise test for bool-type, ensuring that it checks if builtin.h is
7367 available before including it, adding test for sizeof(bool) equal
7368 to sizeof(short), and warning user if the size cannot be determined
7369 (reported by Alexander V. Lukyanov).
7370 + add files to support configuration of ncurses as an add-on library
7371 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
7374 + correct buffer overrun in lib_traceatr.c
7375 + modify change to lib_vidattr.c to avoid redundant orig_pair.
7376 + turn on 'echo()' in hanoi.c, since it is initially off.
7377 + rename local 'errno' variable in etip.h to avoid conflict with global
7379 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
7382 970505 4.1 pre-release
7383 + regenerate the misc directory html dumps without the link list, which
7385 + correct dependency in form directory makefile which caused
7386 unnecessary recompiles.
7387 + correct substitution for ABI_VERSION in test-makefile
7388 + modify install rules for shared-library targets to remove the target
7389 before installing, since some install programs do not properly handle
7390 overwrite of symbolic links.
7391 + change order of top-level targets so that 'include' immediate
7392 precedes the 'ncurses' directory, reducing the time between new
7393 headers and new libraries (requested by Larry Virden).
7394 + modify lib_vidattr.c so that colors are turned off only before
7395 modifying other attributes, turned on after others. This makes the
7396 hanoi.c program display correctly on FreeBSD console.
7397 + modify debug code in panel library to print user-data addresses
7398 rather than the strings which they (may) point to.
7399 + add check to ensure that C++ binding and demo are not built with g++
7400 versions below 2.7, since the binding uses templates.
7401 + modify c++ binding and demo to build and run with SGI's c++ compiler.
7402 (It also compiles with the Sun SparcWorks compiler, but the demo does
7403 not link, due to a vtbl problem).
7404 + corrections to demo.cc, to fix out-of-scope variables (Juergen
7408 + correct memory leak in _nc_trace_buf().
7409 + add configure test for regexpr.h, for Unixware 1.x.
7410 + correct missing "./" prefixing names of generated files in ncurses
7412 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
7413 to workaround shell bug on FreeBSD 2.1.5
7414 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
7415 that caused incorrect result in ncurses_cfg.h
7416 + correct initialization in lib_trace.c, which omitted version info.
7417 + remove ech, el1 attributes from cons25w description; they appear to
7418 malfunction in FreeBSD 2.1.5
7419 + correct color attributes in terminfo.src and lib_color.c to match
7420 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
7422 + use curs_set() rather than checks via tigetstr() for test programs
7423 that hide the cursor: firework, rain, worm.
7424 + ensure that if the terminal lacks change_scroll_region, parm_index
7425 and parm_rindex are used only to scroll the whole screen (patch by
7427 + correct curs_set() logic, which did not return ERR if the requested
7428 attributes did not exist, nor did it assume an unknown initial state
7429 for the cursor (patch by Alexander V. Lukyanov).
7430 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
7431 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
7432 + correct hashmap.c, which did not update index information (patch by
7433 Alexander V. Lukyanov).
7434 + fixes for C++ binding and demo (see c++/NEWS) (Juergen Pfeifer).
7435 + correct index in lib_instr.c (Juergen Pfeifer).
7436 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
7437 (patch by Juergen Pfeifer).
7440 + corrected cost computation in PutRange(), which was using
7441 milliseconds compared to characters by adding two new members to the
7442 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
7443 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
7444 const array of strings (suggested by Alexander V. Lukyanov). The
7445 original suggestion in 970118 used a perl script.
7446 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
7447 well as noting the attributes that are not supported by a terminal.
7448 + trace the computation of cost values in lib_mvcur.c
7449 + modify _nc_visbuf() to use octal rather than hex, corrected sign
7450 extension bug in that function that caused buffer overflow.
7451 + modify trace in lib_acs.c to use _nc_visbuf().
7452 + suppress trace within _traceattr2().
7453 + correct logic of _tracechtype2(), which did not account for repeats
7454 or redefinition within an acsc string.
7455 + modify debug-library version baudrate() to use environment variable
7456 $BAUDRATE to override speed computation. This is needed for
7458 + correct problems shown by "weblint -pedantic".
7459 + update mailing-list information (now ncurses@bsdi.com).
7462 + Improve form_field_validation.3x manpage to better describe the
7463 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
7464 precise information how the range checking can be avoided. (patch by
7465 Juergen Pfeifer, reported by Bryan Henderson)
7466 + change type of min/max value of form types TYPE_INTEGER to long to
7467 match SVr4 documentation.
7468 + set the form window to stdscr in set_form_win() so that form_win()
7469 won't return null (patch by Juergen Pfeifer, reported by Bryan
7470 Henderson <bryanh@giraffe.netgate.net>).
7473 + corrected ifdef'ing of inline (cf: 970321) for TRACE vs C++.
7474 + corrected toggle_attr_off() macro (patch by Andries Brouwer).
7475 + modify treatment of empty token in $MANPATH to /usr/man (reported by
7476 <Andries.Brouwer@cwi.nl>)
7477 + modify traces that record functions-called so that chtype and attr_t
7478 values are expressed symbolically, to simplify reuse of generated
7479 test-scripts on SVr4 regression testing.
7480 + add new trace functions _traceattr2() and _tracechtype2()
7483 + add configure option --enable-const, to support the use of 'const'
7484 where XSI should have, but did not, specify. This defines
7485 NCURSES_CONST, which is an empty token otherwise, for strict
7487 + make processing of configure options more verbose by echoing the
7488 --enable/--with values.
7489 + add configure option --enable-big-core
7490 + set initial state of software echo off as per XSI.
7491 + check for C++ builtin.h header
7492 + correct computation of absolute-path for $INSTALL that dropped "-c"
7493 parameter from the expression.
7494 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
7495 ncurses is integrated into larger systems (adapted from diffs by
7497 + correct inequality in lib_doupdate.c that caused a single-char to not
7498 be updated when the char on the right-margin was not blank, idcok()
7499 was true (patch by Alexander V Lukyanov (in 970124), reported
7500 by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> in 970329).
7501 + modify 'clean' rule in include/Makefile so that files created by
7502 configure script are removed in 'distclean' rule instead.
7505 + correct array limit in tparam_internal(), add case to interpret "%x"
7506 (patch by Andreas Schwab)
7507 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
7508 value properly when non-numeric characters were given (reported by
7509 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7512 + move definition of __INTERNAL_CAPS_VISIBLE before include for
7513 progs.priv.h (patch by David MacKenzie).
7514 + add configuration summary, reordered check for default include
7515 directory to better accommodate a case where installer is configuring
7516 a second copy of ncurses (reported by Klaus Weide
7517 <kweide@tezcat.com>)
7518 + moved the #define for 'inline' as an empty token from the
7519 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
7520 (reported by Ward Horner).
7521 + modify test for bool builtin type to use 'unsigned' rather than
7522 'unknown' when cross-compiling (reported by Ward Horner).
7525 + add header dependencies so that "make install.libs" will succeed
7526 even if "make all" is not done first.
7527 + moved some macros from lib_doupdate.c to curses.priv.h to use in
7528 expanded functions with ATAC.
7529 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
7530 the winnstr functions can return more characters than will fit on one
7534 + modify script that generates lib_gen.c to support traces of called &
7536 + add new configure option "--disable-macros", for testing calls within
7538 + corrected logic that screens level-checking of called/return traces.
7541 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
7542 addressing request by Ward Horner.
7543 + check for cross-compiling before trying to invoke the autoconf
7544 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
7545 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
7546 a pointer-increment.
7547 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
7551 + add configure option --enable-expanded, together with code that
7552 implements an expanded form of certain complex macros, for testing
7554 + disable CHECK_POSITION unless --with-assertions is configured
7555 (Alexander V Lukyanov pointed out that this is redundant).
7556 + use keyname() to show traced chtype values where applicable rather
7557 than _tracechar(), which truncates the value to 8-bits.
7558 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
7559 + modify makefiles in progs and test directories to avoid using C
7560 preprocessor options on link commands (reported by Ward Horner)
7561 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
7563 + modify ifdef's to use configure-defined symbols consistently
7564 (reported by Ward Horner)
7565 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
7566 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
7567 + rename struct try to struct tries, to avoid name conflict with C++
7568 (reported by Gary Johnson).
7569 + modify worm.c to hide cursor while running.
7570 + add -Wcast-qual to gcc warnings, fix accordingly.
7571 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
7572 wrapping (Alexander V Lukyanov).
7573 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
7574 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
7575 + extend IRIX configuration to IRIX64
7576 + supply missing install.libs rule needed after restructuring
7580 + modify "make mostlyclean" to leave automatically-generated source
7581 in the ncurses directory, for use in cross-compiles.
7582 + autogenerated object-dependencies for test directory
7583 + add configure option --with-rcs-ids
7584 + modify configuration scripts to generate major/minor/patch versions
7585 (suggested by Alexander V Lukyanov).
7586 + supply missing va_end's in lib_scanw.c
7587 + use stream I/O for trace-output, to eliminate fixed-size buffer
7588 + add TRACE_ICALLS definition/support to lib_trace.c
7589 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
7592 + add/modify traces for called/return values to simplify extraction
7594 + changed _nc_visbuf to quote its result, and to dynamically allocate
7595 the returned buffer.
7596 + invoke ldconfig after installing shared library
7597 + modify install so that overwrite applies to shared library -lcurses
7598 in preference to static library (reported by Zeyd M Ben-Halim 960928).
7599 + correct missing ';' in 961221 mod to overwrite optional use of $(LN_S)
7601 + fixes to allow "make install" to work without first doing a "make
7602 all" (suggested by Larry Virden).
7605 + correct order of #ifdef for TABS_OK.
7606 + instrumented toe.c to test memory-leaks.
7607 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
7608 + include <sys/types.h> in configuration test for regex.h (patch by
7610 + make infocmp recognize -I option, for SVr4 compatibility (reported by
7611 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7614 + add extension 'use_default_colors()', modified test applications that
7615 use default background (firework, gdc, hanoi, knight, worm) to
7617 + correct some limit checks in lib_doupdate.c exposed while running
7619 + use typeCalloc macro for readability.
7620 + add/use definition for CONST to accommodate testing with Solaris
7621 (SVr4) curses, which doesn't use 'const' in its prototypes.
7622 + modify ifdef's in test/hashtest.c and test/view.c to compile with
7624 + modify _tracedump() to pad pad colors & attrs lines to match change
7625 in 970101 showing first/last changes.
7626 + corrected location of terminating null on dynamically allocated forms
7627 fields (patch by Per Foreby).
7630 + added headers to make view.c compile on SCO with the resizeterm()
7631 code (i.e., struct winsize) - though this compiles, I don't have a
7632 suitable test configuration since SIGWINCH doesn't pass my network to
7633 that machine - T.Dickey.
7634 + update test/configure.in to supply some default substitutions.
7635 + modify configure script to add -lncurses after -lgpm to fix problem
7636 linking against static libraries.
7637 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
7639 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
7640 <jbuhler@cs.washington.edu>)
7641 + modify headers to accommodate compilers that don't allow duplicate
7642 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
7644 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
7645 + modify lib_doupdate to make el, el1 and ed optimization use the
7646 can_clear_with macro, and change EmitRange to allow leaving cursor at
7647 the middle of interval, rather than always at the end (patch by
7648 Alexander V Lukyanov). This was originally 960929, resync 970106.
7651 + workaround defect in autoconf 2.12 (which terminates configuration
7652 if no C++ compiler is found) by adding an option --without-cxx.
7653 + modify several man-pages to use tbl, where .nf/.fi was used (reported
7655 + correct font-codes in some man-pages (patch by Jesse Thilo
7656 <Jesse.Thilo@pobox.com>)
7657 + use configure script's knowledge of existence of g++ library for the
7658 c++ Makefile (reported by Paul Jackson).
7659 + correct misleading description of --datadir configuration option
7660 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
7663 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
7665 > the logic for non_dest_scroll_region was interchanged between the
7666 forward & reverse scrolling cases.
7667 > multiple returns from the function allowed certain conditions to do
7668 part of an operation before discovering that it couldn't be
7669 completed, returning an error without restoring the cursor.
7670 > some returns were ERR, where the function had completed the
7671 operation, because the insert/delete line logic was improperly
7672 tested (this was probably the case Peter saw).
7673 > contrary to comments, some scrolling cases were tested after the
7674 insert/delete line method.
7675 + modify _tracedump() to show first/last changes.
7676 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
7677 refresh problem (reported by Peter Wemm) that caused nvi to not show
7678 result of ":r !ls" until a ^L was typed.
7680 961229 (internal alpha)
7681 + correct some of the writable-strings warnings (reported by Gary
7682 Johnson <gjohnson@season.com>). Note that most of the remaining ones
7683 are part of the XSI specification, and can't be "fixed".
7684 + improve include-dependencies in form, menu, panel directories.
7685 + correct logic of delay_output(), which would return early if
7686 there is data on stdin.
7687 + modify interface & logic of _nc_timed_wait() to support 2 file
7688 descriptors, needed for GPM.
7689 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
7690 support, correcting logic in wgetch() and _nc_mouse_parse() which
7691 prevented patch from working properly -TD
7692 + improve performance of panel algorithm (Juergen Pfeifer 961203).
7693 + strip RCS id's from generated .html files in Ada95 subtree.
7694 + resync with generated .html files (Juergen Pfeifer 961223).
7695 + terminfo.src 10.1.0 (ESR).
7698 + release as 4.0 to accommodate Linux ld.so.1.8.5
7699 + correct syntax/spelling, regenerated .doc files from .html using
7701 + refined forms/menus makefiles (Juergen Pfeifer 961223).
7704 + remove logic in read_entry.c that attempts to refine errno by using
7705 'access()' for the directory (from patch by Florian La Roche).
7706 + correct configure test/substitution that inhibits generating
7707 include-path to /usr/include if gcc is used (reported by Florian La
7709 + modify setupterm() to allocate new TERMINAL for each call, just as
7710 solaris' curses does (Alexander V Lukyanov 960829).
7711 + corrected memory leaks in read_entry.c
7712 + add configure options --with-dbmalloc, --with-dmalloc, and
7713 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
7714 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
7716 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
7717 i.e., set current directory before linking.
7718 + split-out panel.priv.h, improve dependencies for forms, menus
7719 (Juergen Pfeifer 961204).
7720 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
7721 freeing the corresponding WINDOW (found using Purify).
7722 + modify delwin() to return ERR if the window to be deleted has
7723 subwindows, needed as a side-effect of resizeterm() (found using
7724 Purify). Tested and found that SVr4 curses behaves this way.
7725 + implement logic for _nc_freeall(), bringing stub up to date.
7728 + modify wbkgd() so that it doesn't set nulls in the rendered text,
7729 even if its argument doesn't specify a character (fixes test case by
7730 Juergen Pfeifer for bug-report).
7731 + set window-attributes in wbkgd(), to simplify comparison against
7732 Solaris curses, which does this.
7735 + replace most constants in ncurses 'o' test by expressions, making it
7736 work with wider range of screen sizes.
7737 + add options to ncurses.c to specify 'e' test softkey format, and the
7738 number of header/footer lines to rip-off.
7739 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
7741 + add shell-out (!) command to ncurses 'p' test to allow test of
7742 resize between endwin/refresh.
7743 + correct line-wrap case in mvcur() by emitting carriage return,
7744 overlooked in 960928, but needed due to SVr4 compatibility changes to
7745 terminal modes in 960907.
7746 + correct logic in wresize that causes new lines to be allocated,
7747 broken for the special case of increasing rows only in 960907's fix
7749 + modify configure script to generate $(LDFLAGS) with -L and -l options
7750 in preference to explicit library filenames. (NOTE: this may
7751 require further amending, since I vaguely recall a dynamic loader
7752 that did not work properly without the full names, but it should be
7753 handled as an exception to the rule, since some linkers do bulk
7754 inclusion of libraries when given the full name - T.Dickey).
7755 + modify configure script to allow user-supplied $CFLAGS to set the
7756 debug-option in all libraries (requested by lots of people) -TD
7757 + use return consistently from main(), rather than exit (reported by
7759 + add --enable-getcap-cache option to configure, normally disabled
7760 (requested by Florian La Roche).
7761 + make configure test for gettimeofday() and possibly -lbsd more
7762 efficient (requested by Florian La Roche <florian@knorke.saar.de>)
7763 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
7764 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
7765 by Alexander V Lukyanov).
7768 + corrected README wrt Ada95 (Juergen Pfeifer)
7771 + integrate resizeterm() into doupdate(), so that if screen size
7772 changes between endwin/refresh, ncurses will resize windows to fit
7773 (this needs additional testing with pads and softkeys).
7774 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
7775 data used in ncurses library.
7776 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
7777 between initscr() and newwin() initialization (reported by
7778 Alexander V Lukyanov).
7779 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
7780 (set beta versions to those values -- NOTE that subsequent pre-4.0
7781 beta may not be interchangeable).
7782 + modify configure script to work with autoconf 2.12
7784 961130 1.9.9g release
7785 + add copyright notices to configuration scripts (written by Thomas
7789 > patch, mostly for panel (Juergen Pfeifer):
7790 + cosmetic improvement for a few routines in the ncurses core library
7791 to avoid warning messages.
7792 + the panel overlap detection was broken
7793 + the panel_window() function was not fool-proof.
7795 + Cosmetic changes (also to avoid warning messages when compiling with
7799 > patch by Juergen Pfeifer:
7800 + eliminates warning messages for the compile of libform.
7801 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
7802 + Updates man page and the Ada95 binding to reflect this.
7803 + Improves inlining in libmenu and libform.
7806 + improve the use of the "const" qualifier in the
7807 panel library (Juergen Pfeifer)
7808 + change set_panel_userptr() and panel_userptr() to use void*
7813 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
7815 + correct initialization of the stdscr pseudo panel in panel library
7817 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
7820 + typo in curs_termcap man page (reported by Hendrik Reichel
7821 <106065.2344@compuserve.com>)
7822 + change default xterm entry to xterm-r6.
7823 + add entry for color_xterm
7826 + lint found several functions that had only #define implementations
7827 (e.g., attr_off), modified curses.h.in to generate them as per XSI
7828 Curses requirement that every macro be available as a function.
7829 + add check in infocmp.c to guard against string compare of
7830 CANCELLED_STRING values.
7831 + modify firework.c, rain.c to hide cursor while running.
7832 + correct missing va_end in lib_tparm.c
7833 + modify hanoi.c to work on non-color terminals, and to use timing
7834 delays when in autoplay mode.
7835 + correct 'echochar()' to refresh immediately (reported by Adrian
7836 Garside <94ajg2@eng.cam.ac.uk>)
7838 + reorganize terminfo.src entries for xterm.
7841 + corrected error in line-breakout logic (lib_doupdate.c)
7842 + modified newdemo to use wgetch(win) rather than getch() to eliminate
7843 a spurious clear-screen.
7844 + corrected ifdef's for 'poll()' configuration.
7845 + added modules to ncurses, form, menu for Ada95 binding (Juergen
7847 + modify set_field_buffer() to allow assignment of string longer than
7848 the initial buffer length, and to return the complete string rather
7849 than only the initial size (Juergen Pfeifer and Per Foreby
7853 + configure for 'poll()' in preference to 'select()', since older
7854 systems are more likely to have a broken 'select()'.
7855 + modified render_char() to avoid OR'ing colors.
7856 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
7857 resize test, use wbkgd and corrected box() parameters.
7858 + make flushinp() test work in ncurses.c by using napms() instead of
7860 + undo ESR's changes to xterm-x11r6 (it no longer matched the X11R6.1
7861 distribution, as stated)
7862 + terminfo 9.13.18 resync (ESR)
7863 + check for getenv("HOME") returning null (ESR).
7864 + change buffer used to decode xterm-mouse commands to unsigned to
7865 handle displays wider than 128 chars (Juergen Pfeifer).
7866 + correct typo curs_outopts.3x (Juergen Pfeifer).
7867 + correct limit-checking in wenclose() (Juergen Pfeifer).
7868 + correction to Peter Wemm's newwin change (Thomas Fehr
7870 + corrections to logic that combines colors and attributes; they must
7871 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
7875 + reset flags in 'getwin()' that might cause refresh to attempt to
7876 manipulate the non-existent parent of a window that is read from a
7877 file (lib_screen.c).
7878 + restructure _nc_timed_wait() to log more information, and to try to
7879 recover from badly-behaved 'select()' calls (still testing this).
7880 + move define for GOOD_SELECT into configure script.
7881 + corrected extra '\' character inserted before ',' in comp_scan.c
7882 + corrected expansion of %-format characters in dump_entry.c; some were
7883 rendered as octal constants.
7884 + modify dump_entry.c to make terminfo output more readable and like
7885 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
7886 comma, "\^" and "\:" as well.
7887 + corrected some memory leaks in ncurses.c, and a minor logic error
7888 in the top-level command-parser.
7889 + correction for label format 4 (PC style with info line), a
7890 slk_clear(), slk_restore() sequence didn't redraw the info line
7892 + modified the slk window (if simulated) to inherit the background and
7893 default character attributes from stdscr (Juergen Pfeifer).
7894 + corrected limit-check in set_top_row (Juergen Pfeifer).
7897 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
7898 had '.lastchar' entry one beyond '._maxx'.
7899 + modify ncurses test-program to work with data piped to it.
7900 + corrected pathname computation in run_tic.sh, removing extra "../"
7901 (reported by Tim Mooney).
7902 + modified configure script to use previous install's location for
7904 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
7908 + revised xterm terminfo descriptions to reflect the several versions
7910 + corrected a pointer reference in dump_entry.c that didn't test if
7914 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
7915 + add -x option to hashtest to control whether it allows writes to the
7917 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
7918 simpler to construct tests (for double-check of _nc_hash_map tests).
7919 + correct ifdef's for c++ in curses.h
7920 + change default xterm type to xterm-x11r6.
7921 + correct quoting in configure that made man-pages installed with
7922 $datadir instead of actual terminfo path.
7923 + correct whitespace in include/Caps, which caused kf11, clr_eol and
7924 clr_end to be omitted from terminfo.5
7925 + fix memory leaks in delscreen() (adapted from Alexander V Lukyanov).
7926 + improve appearance of marker in multi-selection menu (Juergen
7928 + fix behavior for forms with all fields inactive (Juergen Pfeifer)
7929 + document 'field_index()' (Juergen Pfeifer)
7931 + add some more XENIX keycap translations to include/Caps.
7932 + modify newwin to set initial state of each line to 'touched'
7933 (from patch by Peter Wemm <peter@spinner.dialix.com>)
7934 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander V Lukyanov).
7937 + ifdef'd out _nc_hash_map (still slower)
7938 + add graphic characters to vt52 description.
7939 + use PutAttrChar in ClrToEOL to ensure proper background, position.
7940 + simplify/correct logic in 'mvcur()' that does wrapping; it was
7941 updating the position w/o actually moving the cursor, which broke
7943 + ensure that 'doupdate()' sets the .oldindex values back to a sane
7944 state; this was causing a spurious refresh in ncurses 'r'.
7945 + add logic to configure (from vile) to guard against builders who
7946 don't remove config.cache & config.status when doing new builds -TD
7947 + corrected logic for 'repeat_char' in EmitRange (cf: eric #317), which
7948 did not follow the 2-parameter scheme specified in XSI.
7949 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
7950 clearok work properly (report by Michael Elkins).
7951 + corrected problem with endwin introduced by #314 (removing the
7952 scrolling-region reset) that broke ncurses.c tests.
7953 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
7954 <fischman@math.ucla.edu>).
7955 + corrected formatting of terminfo.5 tables (Juergen Ehling)
7958 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
7959 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
7960 + reverse the default o configure --enable-termcap (consensus).
7962 + modified logic for clearok and related functions (from report by
7963 Michael Elkins) - untested
7965 + correction to #317.
7967 + re-add _nc_hash_map
7968 + modify EmitRange to maintain position as per original design.
7969 + add hashtest.c, program to time the hashmap optimization.
7971 + add logic to deal with magic-cookie (how was this tested?)
7973 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
7975 + merged Alexander V Lukyanov's patch to use ech and rep - untested
7977 + modified handling of interrupted system calls - untested
7978 (lib_getch.c, lib_twait.c).
7979 + new function _nc_mvcur_resume()
7980 + fix return value for 'overlay()', 'overwrite()'
7983 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
7985 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
7986 Ehling <eh@eclipse.aball.de>).
7987 + update xterm-color to reflect XFree86 3.1.3G release.
7988 + correct broken dtterm description from #314 patch (e.g., spurious
7989 newline. The 'pairs' change might work, but no one's tested it
7991 + clarify the documentation for the builtin form fieldtypes (Juergen
7994 + reset scroll region on startup rather than at wrapup time
7995 (enhancement suggested by Alexander V Lukyanov).
7996 + make storage of palette tables and their size counts per-screen for
7997 multi-terminal applications (suggested by Alexander V Lukyanov).
7998 + Improved error reporting for infotocap translation errors.
7999 + Update terminfo.src to 9.13.14.
8002 + rewrote wgetstr to make it erase control chars and also fix bogus use
8003 of _nc_outstr which caused the display to not wrap properly (display
8004 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
8005 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
8006 (and split up this screen to accommodate non-ANSI terminals).
8007 + test enter_insert_mode and exit_insert_mode in has_ic().
8008 + removed bogus logic in mvcur that assumes nl/nonl set output modes
8009 (XSI says they are input modes; SVr4 implements this).
8010 + added macros SET_TTY, GET_TTY to term.h
8011 + correct getstr() logic that altered terminal modes w/o restoring.
8012 + disable ICRNL, etc., during initialization to match SVr4, removing
8013 the corresponding logic from raw, cbreak, etc.
8014 + disable ONLCR during initialization, to match SVr4 (this is needed
8015 for cursor optimization when the cursor-down is a newline).
8016 + replaced ESR's imitation of wresize with my original (his didn't
8020 + memory leaks (Alexander V. Lukyanov).
8021 + modified pnoutrefresh() to be more tolerant of too-large screen
8022 size (reported by Michael Elkins).
8023 + correct handling of terminfo files with no strings (Philippe De
8025 + correct "tic -s" to take into account -I, -C options.
8026 + modify ncurses 'f' test to not print codes 80 through 9F, since they
8027 are considered control codes by ANSI terminals.
8030 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
8031 + make "--enable-getcap" configuration-option work (reported by
8032 Peter Wemm <peter@spinner.DIALix.COM>)
8035 + correct err in 960817 that changed return-value of tigetflag()
8036 (reported by Alexander V. Lukyanov).
8037 + modify infocmp to use library default search-path for terminfo
8038 directory (Alexander V. Lukyanov).
8041 + corrected an err in mvcur that broke resizing-behavior.
8042 + correct fall-thru behavior of _nc_read_entry(), which was not finding
8043 descriptions that existed in directories past the first one searched
8044 (reported by Alexander V. Lukyanov)
8045 + corrected typo in dtterm description.
8047 + add dtterm description
8048 + clarify ncurses 'i' test (drop vscanf subtest)
8051 + correct nl()/nonl() to work as per SVr4 & XSI.
8052 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
8053 + refine configure-test for -g option (Tim Mooney).
8054 + correct interaction between O_BLANK and NEW_LINE request in form
8055 library (Juergen Pfeifer)
8058 + revised fix to tparm; previous fix reversed parameter order.
8060 correct terminfo.src corrupted by #310
8062 + fix idlok() and idcok() and the default of the idlok switch.
8065 + corrected tparm to handle capability strings without explicit pop
8066 (reported by William P Setzer)
8067 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
8068 (reported by Tim Mooney).
8070 + documentation and prototyping errors for has_color, immedok and idcok
8071 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
8072 + updated qnx terminfo entry (by Michael Hunter)
8075 + eliminate quoted includes in ncurses subdirectory, ensure config.h
8077 + newterm initializes terminal settings the same as initscr (reported
8081 + call cbreak() in initscr(), as per XSI & SVr4.
8082 + turn off hardware echo in initscr() as per XSI & SVr4
8084 + terminfo changes (9.3.10), from BRL
8085 + add more checks to terminfo parser.
8086 + add more symbols to infocmp.
8089 + save previous-attribute in lib_vidattr.c if SP is null (reported by
8090 Juergen Fluk <louis@dachau.marco.de>)
8091 + corrected calls on _nc_render so that background character is set
8093 + corrected wbkgdset macro (XSI allows background character to be
8094 null), and tests that use it.
8095 + more corrections to terminfo (xterm & rxvt)
8096 + undid change to mcprint prototype (cannot use size_t in curses.h
8097 because not all systems declare it in the headers that we can safely
8099 + move the ifdefs for errno into curses.priv.h
8101 + terminfo changes (9.3.8)
8102 + modified logic of error-reporting in terminfo parser
8105 + always check for <sys/bsdtypes.h> since ISC needs it to declare
8106 fd_set (Juergen Pfeifer)
8107 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
8108 by Juergen Pfeifer, Mike Long)
8109 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
8110 + corrected prototype for delay_output() -- bump ABI to 3.2
8111 + terminfo patches #306/307 (ESR).
8112 + moved logic that filters out rmul and rmso from setupterm to newterm
8113 where it is less likely to interfere with termcap applications.
8116 + rollback ESR's #305 change to terminfo.src (it breaks existing
8117 applications, e.g., 'less 290').
8118 + correct path of edit_man.sh, and fix typo that made all man-pages
8120 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
8121 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
8122 Philippe De Muyter).
8125 + make lib_vidattr.c more readable using macros.
8126 + filter out rmul, rmso that conflict with sgr0 when reading terminal
8128 + added sanity-checking of various paired string attributes (ESR).
8129 + work around autoconf bug, force $INSTALL to absolute path
8131 + modify man-page install for BSDI to install preformatted .0 files
8132 (reported by David MacKenzie).
8133 + add/use gcc __attribute__ for printf and scanf in curses.h
8134 + added SGR attributes test-case to ncurses
8135 + revised ncurses 't' logic to show trace-disable effect in the menu.
8136 + use getopt in ncurses program to process -s and -t options.
8137 + make ncurses 'p' legend toggle with '?'
8138 + disable scrollok during the ncurses 'p' test; if it is enabled the
8139 stdscr will scroll when putting the box-corners in the lower-right
8143 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
8144 terminals with no scrolling-support (reported by Nikolay Shadrin
8145 <queen@qh.mirea.ac.ru>)
8146 + added ^S scrollok-toggle to ncurses 'g' test.
8147 + added ^T trace-toggle to ncurses tests.
8148 + modified ncurses test program to use ^Q or ESC consistently for
8149 terminating tests (rather than ^D), and to use control keys rather
8150 than function keys in 'g' test.
8151 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
8152 (reported by Philippe De Muyter).
8153 + modify lib_doupdate.c to use effective costs to tradeoff between
8154 delete-character/insert-character vs normal updating (reported by
8156 + compute effective costs for screen update operations (e.g., clr_eos,
8158 + corrected error in knight.c exposed by wrap fixes in 960622; the
8159 msgwin needed scrollok set.
8160 + corrected last change to IDcTransformLine logic to avoid conflict
8161 between PutRange and InsStr
8162 + modified run_tic.sh to not use /usr/tmp (reported by David
8163 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
8165 + corrected off-by-one in RoomFor call in read_entry.c
8168 + modified logic that wraps cursor in addch to follow the XSI spec,
8169 (implemented in SVr4) which states that the cursor position is
8170 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
8172 + added -s option to tic, to provide better diagnostics in run_tic.sh
8173 + improved error-recovery for tabset install.
8174 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
8175 _yoffset to WINDOW).
8176 + modified initialization of SP->_ofp so that init_acs() is called with
8177 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
8178 + documentation fixes (Juergen Pfeifer).
8179 + corrected, using new SCREEN and WINDOW members, the behavior of
8180 ncurses if one uses ripoffline() to remove a line from the top of the
8181 screen (Juergen Pfeifer).
8182 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
8183 ncurses (Juergen Pfeifer).
8184 + incorrect buffer-size in _nc_read_entry, reported by ESR.
8187 + corrected two logic errors in read_entry.c, write_entry.c (called by
8188 tic, the write/read of terminfo entries used inconsistent rules for
8189 locating the entries; the $TERMINFO_DIRS code would find only the
8190 first entry in a list).
8191 + refined pathname computation in run_tic.sh and shlib.
8192 + corrected initialization of $IP in misc/run_tic.sh
8195 + ifdef'd out _nc_hash_map() call because it does not improve speed.
8196 + display version of gcc if configure script identifies it.
8197 + modify configure script to use /usr as Linux's default prefix.
8198 + modify run_tic.sh to use shlib script, fixes some problems installing
8199 with a shared-library configuration.
8200 + adjusted configure script so that it doesn't run tests with the
8201 warnings turned on, which makes config.log hard to read.
8202 + added 'lint' rule to top-level Makefile.
8203 + added configure option '--with-install-prefix' for use by system
8204 builders to install into staging locations (requested by
8205 Charles Levert <charles@comm.polymtl.ca>).
8206 + corrected autoconfigure for Debian man program; it's not installed
8208 + set noecho in 'worm'; it was ifdef'd for debug only
8209 + updated test/configure.in for timing-display in ncurses 'p' test
8210 + corrected misspelled 'getbkgd()'.
8211 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
8212 to blank if no character given, copies attributes to window's
8214 + modified lib_doupdate.c to use lower-level SP's current_attr state
8215 instead of curscr's state, since it is redundant.
8216 + correction to IDcTransformLine logic which controls where InsStr is
8217 invoked (refined by Alexander V Lukyanov).
8219 + conditionally include Chris Torek's hash function _nc_hash_map().
8220 + better fix for nvi refresh-bug (Rick Marshall)
8221 + fix for bug in handling of interrupted keystroke waits,
8225 + auto-configure man-page compression-format and renames for Debian.
8226 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
8227 + re-order curses.priv.h for lint.
8228 + added rules for lintlib, lint
8229 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
8230 + corrected missing INSTALL_DATA in misc/Makefile.in
8231 + flush output when changing cursor-visibility (Rick Marshall)
8232 + fix a minor bug in the _nc_ripoff() routine and improve error
8233 checking when creating the label window (Juergen Pfeifer).
8234 + enhancement to the control over the new PC-style soft key format.
8235 allow caller now to select whether or not one wants to have
8236 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
8237 + typos, don't use inline with -g (Philippe De Muyter)
8238 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
8241 + removed --with-ticdir option altogether, maintain compatibility with
8242 existing applications via symbolic link in run_tic.sh
8243 + patch for termio.h, signal (Philippe De Muyter)
8244 + auto-configure gcc warning options rather than infer from version.
8245 + auto-configure __attribute__ for different gcc versions.
8246 + corrected special use of clearok() in hardscroll.c by resetting flag
8248 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
8249 + include sys/types.h in case stdlib.h does not declare size_t.
8250 + fixes for makefile (Tim Mooney)
8251 + fixes for menus & forms (Juergen Pfeifer)
8254 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
8255 + refined case in lib_doupdate.c for ClrToEOL().
8256 + corrected prior change for PutRange (Alexander V Lukyanov
8257 <lav@yars.free.net>).
8258 + autoconf mods (Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>).
8259 + locale fix for forms (Philippe De Muyter <phdemuyt@ulb.ac.be>)
8260 + renamed "--with-datadir" option to "--with-ticdir" to avoid
8261 confusion, and made this check for the /usr/lib/terminfo pre-existing
8263 > patches 299-301 (ESR):
8265 + mods to tracing, especially for ACS chars.
8266 + corrected off-by-one in IDCtransform.
8267 + corrected intermittent mouse bug by using return-value from read().
8268 + mods to parse_entry.c, for smarter defaults.
8271 + use getopt in 'tic'; added -L option and modified -e option to allow
8275 + don't use fixed buffer-size in tparm().
8276 + modified tic to create terminfo directory if it doesn't exist.
8277 + added -T options to tic and infocmp (for testing/analysis)
8278 + refined the length criteria for termcap and terminfo
8279 + optimize lib_doupdate with memcpy, PutRange
8280 > patches 297, 298 (ESR):
8281 + implement TERMINFO_DIRS, and -o option of tic
8282 + added TRACE_IEVENT
8283 + removed boolean version of 'getm'
8284 + added lib_print.c (for Rick Marshall)
8286 + added 't' to ncurses.c test.
8287 + moved delay_output() to lib_tputs.c
8288 + removed tparam() (was added in 1.9.9, but conflicts with emacs and
8289 is not part of X/Open Curses).
8290 + misc cursor & optimization fixes.
8293 + modified ncurses 'p' test to allow full-screen range for panner size.
8294 + fixes for locale (Philippe De Muyter <phdm@labauto1.ulb.ac.be>)
8295 + don't use fixed buffer-size in fmt_entry().
8296 + added usage-message to 'infocmp'.
8297 + modified install.includes rules to prepend subdirectory-name to
8298 "#include" if needed.
8301 + protect wrefresh, wnoutrefresh from invocation with pad argument.
8302 + corrected default CCFLAGS in test/Makefile.
8305 + implemented logic to support terminals with background color erase
8306 (e.g., rxvt and the newer color xterm).
8307 + improved screen update logic (off-by-one logic error; use clr_eos if
8311 + change ncurses 'a' test to run in raw mode.
8312 + make TIOCGWINSZ configure test less stringent, in case user
8313 configures via terminal that cannot get screen size.
8314 > patches 295, 296 (ESR):
8315 + new "-e" option of tic.
8316 + fix for "infocmp -e".
8317 + restore working-directory in read_termcap.c
8318 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
8319 overhead for programs that use only termcap features.
8323 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
8324 definitions via <termios.h>, modified macros in lib_raw.c to avoid
8325 K&R-style substitution)
8326 > patches 293, 294 (ESR):
8327 + mods to wgetch() in cooked mode
8328 + corrected askuser() logic in tset
8329 + correct interaction of endwin() with mouse processing
8330 + added trace support for TTY flags
8333 + fixes for NeXT, ISC and HPUX auto-configure
8334 + autogenerate development header-dependencies (config.h, *.priv.h)
8335 + corrected single-column formatting of "use=" (e.g., in tic)
8336 + modify tic to read full terminfo-names
8337 + corrected divide-by-zero that caused hang (or worse) when redirecting
8339 + modify tic to generate directories only as-needed (and corrected
8340 instance of use of data from function that had already returned).
8342 ### ncurses-1.9.8a -> 1.9.9e
8344 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
8345 copy-changed-lines behavior.
8346 * added and documented wresize() function.
8347 * more fixes to LOWER-RIGHT corner handling.
8348 * changed the line-breakout optimization code to allow some lines to be
8349 emitted before the first check.
8350 * added option for tic to use symbolic instead of hard links (for AFS)
8351 * fix to restore auto-wrap mode.
8352 * trace level can be controlled by environment variable.
8353 * better handling of NULs in terminal descriptions.
8354 * improved compatibility with observed SVR4 behavior.
8355 * the refresh behavior of over-lapping windows is now more efficient and
8357 * use autoconf 2.7, which results in a working setup for SCO 5.0.
8358 * support for ESCDELAY.
8359 * small fixes for menu/form code.
8360 * the test directory has its own configure.
8361 * fixes to pads when optimizing scrolling.
8362 * fixed several off-by-one bugs.
8363 * fixes for termcap->terminfo translation; less restrictions more correct
8366 ### ncurses-1.9.7 -> 1.9.8a
8368 * teach infocmp -i to recognize ECMA highlight sequences
8369 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
8370 * support infocmp -RBSD.
8371 * satisfy XSI Curses requirement that every macro be available as a function.
8372 * This represents the last big change to the public interface of ncurses. The
8373 ABI_VERSION has now been set at 3.0 and should stay there barring any great
8374 catastrophies or acts of God.
8375 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
8377 * libncurses now gets linked to libcurses to help seamless emulation
8378 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
8381 ### ncurses-1.9.6 -> 1.9.7
8383 * corrected return values of setupterm()
8384 * Fixed some bugs in tput (it does padding now)
8385 * fixed a bug in tic that made it do the wrong thing on entries with more than
8386 one `use' capability.
8387 * corrected the screen-size calculation at startup time to alter the
8388 numeric capabilities as per SVr4, not just LINES and COLS.
8389 * toe(1) introduced; does what infocmp -T used to.
8390 * tic(1) can now translate AIX box1 and font[0123] capabilities.
8391 * tic uses much less core, the dotic.sh kluge can go away now.
8392 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
8393 * Add $HOME/.terminfo as source/target directory for terminfo entries.
8394 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
8395 * added -h option to toe(1).
8396 * added -R option to tic(1) and infocmp(1).
8397 * added fallback-entry-list feature.
8398 * added -i option to infocmp(1).
8399 * do a better job at detecting if we're on SCO.
8401 ### ncurses-1.9.5 -> 1.9.6
8403 * handling of TERMCAP environment variables now works correctly.
8404 * various changes to shorten termcap translations to less that 1024 chars.
8406 * mouse support for xterm.
8407 * most data tables are now const and accordingly live in shareable text space.
8408 * Obey the XPG4/SVr4 practice that echo() is initally off.
8409 * tic is much better at translating XENIX and AIX termcap entries now.
8410 * tic can interpret ko capabilities now.
8411 * integrated Juergen Pfeifer's forms library.
8412 * taught write_entry() how not to write more than it needs to; this change
8413 reduces the size of the terminfo tree by a full 26%!
8414 * infocmp -T option added.
8415 * better warnings about historical tic quirks from tic.
8417 ### ncurses 1.9.4 -> 1.9.5
8419 * menus library is now included with documentation.
8420 * lib_mvcur has been carefully profiled and tuned.
8421 * Fixed a ^Z-handling bug that was tanking lynx(1).
8422 * HJ Lu's patches for ELF shared libraries under Linux
8423 * terminfo.src 9.8.2
8424 * tweaks for compiling in seperate directories.
8425 * Thomas Dickey's patches to support NeXT's brain-dead linker
8426 * Eric Raymond's patches to fix problems with long termcap entries.
8427 * more support for shared libraries under SunOS and IRIX.
8429 ### ncurses 1.9.3 -> 1.9.4
8431 * fixed an undefined-order-of-evaluation bug in lib_acs.c
8432 * systematically gave non-API public functions and data an _nc_ prefix.
8433 * integrated Juergen Pfeifer's menu code into the distribution.
8434 * totally rewrote the knight test game's interface
8436 ### ncurses 1.9.2c -> 1.9.3
8438 * fixed the TERMCAP_FILE Support.
8439 * fixed off-by-one errors in scrolling code
8440 * added tracemunch to the test tools
8441 * took steps to cut the running time of make install.data
8443 ### ncurses 1.9.2c -> 1.9.2d
8445 * revised 'configure' script to produce libraries for normal, debug,
8446 profile and shared object models.
8448 ### ncurses 1.9.1 -> 1.9.2
8450 * use 'autoconf' to implement 'configure' script.
8451 * panels support added
8452 * tic now checks for excessively long termcap entries when doing translation
8453 * first cut at eliminating namespace pollution.
8455 ### ncurses 1.8.9 -> 1.9
8457 * cleanup gcc warnings for the following: use size_t where 'int' is not
8458 appropriate, fixed some shadowed variables, change attr_t to compatible with
8459 chtype, use attr_t in some places where it was confused with 'int'.
8460 * use chtype/attr_t casts as appropriate to ensure portability of masking
8462 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
8463 * supplied missing prototypes in curses.h
8464 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
8465 are consistent (they weren't).
8466 * corrected prototype of tputs in <termcap.h>
8467 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
8468 that may be out of bounds on the stack) -- Purify found this.
8469 * ensure that TRACE is defined in lib_trace.c (to solve prototype
8471 * corrected scrolling-region size in 'mvcur_wrap()'
8472 * more spelling fixes
8473 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
8474 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
8475 core in init_acs()).
8476 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
8479 ### ncurses 1.8.8 -> 1.8.9
8481 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
8482 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
8483 non-portable use of "%x" for pointers, or for chtype data (which is declared
8485 * modified doupdate to ensure that typahead was turned on before attempting
8486 select-call (otherwise, some implementations hang).
8487 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
8488 resolution of traces.
8489 * improved bounds checking on several critical functions.
8490 * the data directory has been replaced by the new master terminfo file.
8491 * -F file-comparison option added to infocmp.
8492 * compatibility with XSI Curses is now documented in the man bages.
8493 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
8495 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
8496 memory_above, memory_below, and hard_copy are now used properly.
8497 * cursor-movement optimization has been completely rewritten.
8498 * vertical-movement optimization now uses hardware scrolling, il, dl.
8500 ### ncurses 1.8.7 -> 1.8.8
8501 * untic no longer exists, infocmp replaces it.
8502 * tic can understand termcap now, especially if it is called captoinfo.
8503 * The Linux Standard Console terminfo entry is called linux insead of console.
8504 It also uses the kernel's new method of changing charsets.
8505 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
8506 you try to run on an undefined terminal.
8507 * I can get things running on AIX but tic can't compile terminfo. I have to
8508 compile entries on another machine. Volunteers to hunt this bug are welcome.
8509 * wbkgd() and wbkgdset() can be used to set a windows background to color.
8510 wclear()/werase() DO NOT use the current attribute to clear the screen.
8511 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
8512 though PDCurses 2.2 has been fixed.
8513 * cleaned up the test/ directory.
8514 * test/worm will segfault after quite a while.
8515 * many spelling corrections courtesy of Thomas E. Dickey
8517 ### ncurses 1.8.6 -> 1.8.7
8518 * cleaned up programs in test/ directory.
8519 * fixed wbkgdset() macro.
8520 * modified getstr() to stop it from advancing cursor in noecho mode.
8521 * modified linux terminfo entry to work with the latest kernel to get
8522 the correct alternate character set.
8523 * also added a linux-mono entry for those running on monochrome screens.
8524 * changed initscr() so that it behaves like the man page says it does.
8525 this fixes the problem with programs in test/ crashing with SIGSEV if
8526 a terminal is undefined.
8527 * modified addch() to avoid using any term.h #define's
8528 * removed duplicate tgoto() in lib_tparm.c
8529 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
8530 * modified delwin() to correctly handle deleting subwindows.
8531 * fixed Makefile.dist to stop installing an empty curses.h
8532 * fixed a couple of out-of-date notes in man pages.
8534 ### ncurses 1.8.5 -> 1.8.6
8535 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
8536 * The handling of attributes has been improved and now does not turn off color
8537 if other attributes are turned off.
8538 * scrolling code is improved. Scrolling in subwindows is still broken.
8539 * Fixes to several bugs that manifest them on platforms other than Linux.
8540 * The default to meta now depends on the status of the terminal when ncurses
8542 * The interface to the tracing facility has changed. Instead of the pair of
8543 functions traceon() and traceoff(), there is just one function trace() which
8544 takes a trace mask argument. The trace masks, defined in curses.h, are
8547 #define TRACE_DISABLE 0x00 /* turn off tracing */
8548 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
8549 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
8550 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
8552 More trace masks may be added, or these may be changed, in future releases.
8553 * The pad code has been improved and the pad test code in test/ncurses.c has
8555 * The prototype ansi entry has been changed to work with a wider variety
8557 * Fix to the prototype ansi entry that enables it to work with PC emulators
8558 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
8559 break operation with any emulators.
8560 * There are now working infocmp, captoinfo, tput, and tclear utilities.
8561 * tic can now compile entries in termcap syntax.
8562 * Core-dump bug in pnoutrefresh fixed.
8563 * We now recognize and compile all the nonstandard capabilities in Ross
8564 Ridge's mytinfo package (rendering it obsolete).
8565 * General cleanup and documentation improvements.
8566 * Fixes and additions to the installation-documentation files.
8567 * Take cursor to normal mode on endwin.
8569 ### ncurses 1.8.4 -> 1.8.5
8570 * serious bugs in updating screen which caused erratic non-display,
8572 * fixed initialization for getch() related variable which cause
8573 unpredictable results.
8574 * fixed another doupdate bug which only appeared if you have
8576 * implemented redrawln() and redrawwin().
8577 * implemented winsnstr() and related functions.
8578 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
8579 * changed Makefile.dist so that installation of man pages will
8580 take note of the terminfo directory.
8581 * fixed Configure (removed the mysterious 'X').
8582 * Eric S. Raymond fixed the script.* files so that they work with
8585 #### ncurses 1.8.3 -> 1.8.4 #### ####
8586 * fixed bug in refreshing the screen after return from shell_mode.
8587 There are still problems but they don't manifest themselves on
8588 my machine (Linux 0.99.14f).
8589 * added wgetnstr() and modified things accordingly.
8590 * fixed the script.src script.test to work with awk not just gawk.
8591 * Configure can now take an argument of the target system.
8592 * added test/ncurses.c which replaces several other programs and
8593 performs more testing.
8594 [Thanks to Eric S Raymond for the last 4]
8595 * more fixes to lib_overlay.c and added test/over.c to illustrate
8597 * fixed ungetch() to take int instead of ch.
8598 * fixes to cure wgetch() if flushinp() is called.
8600 One note I forgot to mention in 1.8.3 is that tracing is off by
8601 default starting in the version. If you want tracing output, put
8602 traceon(); in your code and link with -ldcurses.
8604 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
8606 1) The order of capabilities has been changed in order to achieve
8607 binary compatibility with SVR4 terminfo database. This has the
8608 unfortunate effect of breaking application currently linked with
8609 ncurses. To ensure correct behavior, recompile all such programs.
8610 Most programs using color or newer capabilities will break, others
8611 will probably continue to work ok.
8613 2) Pavel Curtis has renounced his copyright to the public domain.
8614 This means that his original sources (posted to comp.sources.unix,
8615 volume 1) are now in the public domain. The current sources are
8616 NOT in the public domain, they are copyrighted by me. I'm
8617 entertaining ideas on what the new terms ncurses is released under.
8619 3) Eric S. Raymond has supplied a complete set of man pages for
8620 ncurses in ?roff format. They will eventually replace most of the
8621 current docs. Both sets are included in this release.
8623 Other changes and notes from 1.8.2 include:
8624 * SIGSEGV during scrolling no longer occurs.
8625 * Other problems with scrolling and use of idl have been corrected.
8626 * lib_getch.c has been re-written and should perform flawlessly.
8627 please use test/getch.c and any other programs to test this.
8628 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
8629 changed accordingly.
8630 * I've added support for terminals that scroll if you write in the
8631 bottom-right corner.
8632 * fixed more bugs in pads code. If anybody has a program that uses
8633 pads I'd love a copy.
8634 * correct handling for terminal with back_color_erase capability
8635 (such as Linux console, and most PC terminals)
8636 * ^Z handling apparently didn't work (I should never trust code
8637 sent me to me without extensive testing). It now seems to be
8638 fixed. Let me know if you have problems.
8639 * I've added support for Apollo and NeXT, but it may still be
8640 incomplete, especially when dealing with the lack of POSIX
8642 * scrolling should be more efficient on terminals with idl
8643 capabilities. Please see src/lib_scroll.c for more notes.
8644 * The line drawing routines were offset by 1 at both ends. This
8646 * added a few missing prototypes and macros (e.g. setterm())
8647 * fixed code in src/lib_overlay.c which used to crash.
8648 * added a few more programs in test/ The ones from the PDCurses
8649 package are useful, especially if you have SVR4 proper. I'm
8650 interested in the results you get on such a systems (Eric? ;-).
8651 They already exposed certain bugs in ncurses.
8652 * See src/README for porting notes.
8653 * The C++ code should really replace ncurses.h instead of working
8654 around it. It should avoid name-space clashes with nterm.h (use
8655 rows instead of lines, etc.)
8656 * The C++ should compile ok. I've added explicit rules to the
8657 Makefile because no C++ defaults are documented on the suns.
8658 * The docs say that echo() and nocbreak() are mutually exclusive.
8659 At the moment ncurses will switch to cbreak() if the case above
8660 occurs. Should it continue to do so? How about echo() and noraw()?
8661 * PDCurses seem to assume that wclear() will use current attribute
8662 when clearing the screen. According to Eric this is not the case
8664 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
8665 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
8666 * I've also found out that the src/script.* rely on gawk and will not
8667 work with stock awk or even with nawk. Any changes are welcome.
8668 * Linux is more tolerant of NULL dereferences than most systems. This
8669 fact was exposed by hanoi.
8670 * ncurses still seems inefficient in drawing the screen on a serial
8671 link between Linux and suns. The padding may be the culprit.
8672 * There seems to be one lingering problem with doupdate() after shelling
8673 out. Despite the fact the it is sending out the correct information
8674 to the terminal, nothing takes effect until you press ^L or another
8675 refresh takes place. And yes, output does get flushed.
8677 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
8679 * added support for SVR4 and BSDI's BSD/386.
8680 * major update and fix to scrolling routine.
8681 * MORE fixes to stuff in lib_getch.c.
8682 * cleaned-up configuration options and can now generate
8683 Config.* files through an awk script.
8684 * changed setupterm() so it can be called more than once,
8685 add added set_curterm(), del_curterm().
8686 * a few minor cleanups.
8687 * added more prototypes in curses.h
8689 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
8691 * added support for NeXTStep 3.0
8692 * added termcap emulation (not well tested).
8693 * more complete C++ interface to ncurses.
8694 * fixed overlay(), overwrite(), and added copywin().
8695 * a couple of bug fixes.
8696 * a few code cleanups.
8698 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
8700 * The annoying message "can't open file." was due to missing
8701 terminfo entry for the used terminal. It has now been
8702 replaced by a hopefully more helpful message.
8703 * Problems with running on serial lines are now fixed.
8704 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
8705 386bsd/BSDI (if you have others send'em to me)
8707 * The documentation in manual.doc is now more uptodate.
8708 * update optimization and support for hp terminals, and 386bsd
8710 * mvcur optimization for terminals without cursor addressing
8711 (doesn't work on Linux)
8712 * if cursor moved since last update, getch() will refresh the
8713 screen before working.
8714 * getch() & alarm() can now live together. in 0.7.3 a signal
8715 interrupted getch() (bug or feature?) now the getch is
8717 * scanw() et all were sick, now fixed.
8718 * support for 8-bit input (use meta()).
8719 * added default screen size to all terminfos.
8720 * added c++ Ncursesw class.
8721 * several minor bug fixes.
8723 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
8725 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
8726 * more fixes to lib_getch.c
8727 * changes related to Config
8729 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
8731 * docs updated slightly (color usage is now documented).
8732 * yet another fix for getch(), this one fixes problems with ESC being swallowed
8733 if another character is typed before the 1 second timeout.
8734 * Hopefully, addstr() and addch() are 8-bit clean.
8735 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
8736 * order of capabilities changed to reflect that specified in SYSV
8737 this will allow for binary-compatibility with existing terminfo dbs.
8739 * fixed problems with asc_init()
8740 * added A_PROTECT and A_INVIS
8741 * cleaned up vidputs()
8742 * general cleanup of the code
8743 * more attention to portability to other systems
8744 * added terminfos for hp70092 (wont work until changes to lib_update.c are
8745 made) and 386BSD pcvt drivers.
8747 Thanks to Hellmuth Michaelis for his help.
8748 optimization code is slated for the next major release, stay tuned!
8750 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
8751 Please note that the next release will be called 1.8. If you want to know about
8752 the rationale drop me a line.
8754 Included are several test programs in test/.
8755 I've split up the panels library, reversi, tetris, sokoban. They are now
8756 available separately from netcom.com:pub/zmbenhal/
8758 * color and ACS support is now fully compatible with SYSV at the terminfo
8760 * Capabilities now includes as many SYSV caps I could find.
8761 * tigetflag,tigetnum,tigetstr functions added.
8762 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
8763 strnames, strfnames, strcodes arrays are now added.
8764 * keyname() is added.
8765 * All function keys can be defined in terminfo entries.
8766 * fixed lin_tparm.c to behave properly.
8767 * terminfo entries for vt* and xterm are included (improvements are welcome)
8768 * more automation in handling caps and keys.
8769 * included fixes from 0.6.1
8770 * added a few more missing functions.
8771 * fixed a couple of minor bugs.
8772 * updated docs JUST a little (still miles behind in documenting the newer
8775 #### ncurses 0.6 -> ncurses 0.61 ####
8777 1) Included the missing data/console.
8779 2) allow attributes when drawing boxes.
8781 3) corrected usage of win->_delay value.
8783 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
8784 simply return the last character in the sequence. The correct
8785 behavior is to return the entire sequence one character at a time.
8787 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
8788 * removed _numchngd from struct _win_st and made appropriate changes.
8789 * rewritten kgetch() to remove problems with interaction between alarm and
8790 read(). It caused SIGSEGV every now and then.
8791 * fixed a bug that miscounted the numbers of columns when updating.
8792 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
8793 * fixed a bug that cause the lower-right corner to be incorrect.
8794 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
8795 * made resize() and cleanup() static to lib_newterm.c
8796 * added notimeout().
8797 * added timeout() define in curses.h
8798 * added more function prototypes and fixed napms.
8800 * moved screen size detection to lib_setup.c.
8801 * fixed newterm() to confirm to prototype.
8802 * removed SIGWINCH support as SYSV does not define its semantics.
8803 * cleaned-up lib_touch.c
8804 * added waddnstr() and relatives.
8805 * added slk_* support.
8806 * fixed a bug in wdeleteln().
8807 * added PANEL library.
8808 * modified Makefile for smoother installation.
8809 * terminfo.h is really term.h
8811 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
8812 * changed _win_st structure to allow support for missing functionality.
8813 * Addition of terminfo support for all KEY_*.
8814 * Support for nodelay(), timeout(), notimeout().
8815 * fixed a bug with the keypad char reading that did not return ESC until
8816 another key is pressed.
8817 * nl mapping no longer occur on output (as should be)
8818 fixed bug '\n' no causing a LF.
8819 * fixed bug that reset terminal colors regardless of whether we use color
8821 * Better support for ACS (not quite complete).
8822 * fixed bug in wvline().
8824 * changed from signal() to sigaction().
8825 * re-included the contents of important.patch into source.
8827 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
8828 * Addition of more KEY_* definitions.
8829 * Addition of function prototypes.
8830 * Addition of several missing functions.
8831 * No more crashes if screen size is undefined (use SIGWINCH handler).
8832 * added a handler to cleanup after SIGSEGV (hopefully never needed).
8833 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
8834 * renamed compile/dump to tic/untic.
8835 * New scrolling code.
8836 * fixed bug that reversed the sense of nl() and nonl().
8838 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
8839 * more support for color and graphics see test/ for examples.
8840 * fixed various files to allow correct update after shelling out.
8841 * more fixes for updates.
8842 * no more core dumps if you don't have a terminfo entry.
8843 * support for LINES and COLUMNS environment variables.
8844 * support for SIGWINCH signal.
8845 * added a handler for SIGINT for clean exits.
8847 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
8848 * support for color.
8849 * support for PC graphic characters.
8850 * lib_trace.c updated to use stdarg.h and vprintf routines.
8851 * added gdc.c (Great Digital Clock) as an example of using color.
8853 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
8854 * replacing sgtty stuff by termios stuff.
8855 * ANSIfication of some functions.
8856 * Disabling cost analysis 'cause it's incorrect.
8857 * A quick hack for a terminfo entry.