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.1316 2008/10/18 21:51:20 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 + build-fixes for OS/2 EMX.
50 + modify form library to accept control characters such as newline
51 in set_field_buffer(), which is compatible with Solaris (report by
53 + modify configure script to assume --without-hashed-db when
54 --disable-database is used.
55 + add "-e" option in ncurses/Makefile.in when generating source-files
56 to force earlier exit if the build environment fails unexpectedly
57 (prompted by patch by Adrian Bunk).
58 + change configure script to use CF_UTF8_LIB, improved variant of
62 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename
63 original to teraterm2.3 -TD
64 + update "gnome" terminfo to 2.22.3 -TD
65 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD
66 + add "aterm" terminfo -TD
67 + add "linux2.6.26" terminfo -TD
68 + add logic to tic for cancelling strings in user-defined capabilities,
72 + update html documentation.
73 + add -m and -s options to test/keynames.c and test/key_names.c to test
74 the meta() function with keyname() or key_name(), respectively.
75 + correct return value of key_name() on error; it is null.
76 + document some unresolved issues for rpath and pthreads in TO-DO.
77 + fix a missing prototype for ioctl() on OpenBSD in tset.c
78 + add configure option --disable-tic-depends to make explicit whether
79 tic library depends on ncurses/ncursesw library, amends change from
80 20080823 (prompted by Debian #501421).
83 + some build-fixes for configure --disable-ext-funcs (incomplete, but
84 works for C/C++ parts).
85 + improve configure-check for awks unable to handle large strings, e.g.
86 AIX 5.1 whose awk silently gives up on large printf's.
89 + fix build for --with-dmalloc by workaround for redefinition of
90 strndup between string.h and dmalloc.h
91 + fix build for --disable-sigwinch
92 + add environment variable NCURSES_GPM_TERMS to allow override to use
93 GPM on terminals other than "linux", etc.
94 + disable GPM mouse support when $TERM does not happen to contain
95 "linux", since Gpm_Open() no longer limits its assertion to terminals
96 that it might handle, e.g., within "screen" in xterm.
97 + reset mouse file-descriptor when unloading GPM library (report by
99 + fix build for --disable-leaks --enable-widec --with-termlib
100 > patch by Juergen Pfeifer:
101 + use improved initialization for soft-label keys in Ada95 sample code.
102 + discard internal symbol _nc_slk_format (unused since 20080112).
103 + move call of slk_paint_info() from _nc_slk_initialize() to
104 slk_intern_refresh(), improving initialization.
107 + fix bug in mouse code for GPM from 20080920 changes (reported in
108 Debian #500103, also Miroslav Lichvar).
111 + fix shared-library rules for cygwin with tic- and tinfo-libraries.
112 + fix a memory leak when failure to connect to GPM.
113 + correct check for notimeout() in wgetch() (report on linux.redhat
114 newsgroup by FurtiveBertie).
115 + add an example warning-suppression file for valgrind,
116 misc/ncurses.supp (based on example from Reuben Thomas)
119 + change shared-library configuration for OpenBSD, make rpath work.
120 + build-fixes for using libutf8, e.g., on OpenBSD 3.7
123 + corrected fix for --enable-weak-symbols (report by Frederic L W
127 + corrected gcc options for building shared libraries on IRIX64.
128 + add configure check for awk programs unable to handle big-strings,
129 use that to improve the default for --enable-big-strings option.
130 + makefile-fixes for --enable-weak-symbols (report by Frederic L W
132 + update test/configure script.
133 + adapt ifdef's from library to make test/view.c build when mbrtowc()
134 is unavailable, e.g., with HPUX 10.20.
135 + add configure check for wcsrtombs, mbsrtowcs, which are used in
136 test/ncurses.c, and use wcstombs, mbstowcs instead if available,
137 fixing build of ncursew for HPUX 11.00
140 + fixes to make Ada95 demo_panels() example work.
141 + modify Ada95 'rain' test program to accept keyboard commands like the
143 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott
145 + add configure-check to see if the std namespace is legal for cerr
146 and endl, to fix a build issue with Tru64.
147 + consistently use NCURSES_BOOL in lib_gen.c
148 + filter #line's from lib_gen.c
149 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid
150 substitution by IBM xlc to '#' as part of its extensions to digraphs.
151 + update config.guess, config.sub from
152 http://savannah.gnu.org/projects/config
153 (caveat - its maintainer removed support for older Linux systems).
156 + modify configure check for pthread library to work with OSF/1 5.1,
157 which uses #define's to associate its header and library.
158 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t,
159 makes threaded code work on HPUX 11.23
160 + fix a bug in demo_menus in freeing menus (cf: 20080804).
161 + modify configure script for the case where tic library is used (and
162 possibly renamed) to remove its dependency upon ncurses/ncursew
163 library (patch by Dr Werner Fink).
164 + correct manpage for menu_fore() which gave wrong default for
165 the attribute used to display a selected entry (report by Mike Gran).
166 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by
170 + add configure option --enable-weak-symbols to turn on new feature.
171 + add configure-check for availability of weak symbols.
172 + modify linkage with pthread library to use weak symbols so that
173 applications not linked to that library will not use the mutexes,
174 etc. This relies on gcc, and may be platform-specific (patch by Dr
176 + add note to INSTALL to document limitation of renaming of tic library
177 using the --with-ticlib configure option (report by Dr Werner Fink).
178 + document (in manpage) why tputs does not detect I/O errors (prompted
179 by comments by Samuel Thibault).
180 + fix remaining warnings from Klocwork report.
183 + modify _nc_panelhook() data to account for a permanent memory leak.
184 + fix memory leaks in test/demo_menus
185 + fix most warnings from Klocwork tool (report by Larry Zhou).
186 + modify configure script CF_XOPEN_SOURCE macro to add case for
187 "dragonfly" from xterm #236 changes.
188 + modify configure script --with-hashed-db to let $LIBS override the
189 search for the db library (prompted by report by Samson Pierre).
192 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining
196 + build-fix (reports by Christian Ebert, Funda Wang).
199 + compiler-warning fixes for Solaris.
202 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to
203 make those work properly with the "--enable-ext-mouse" configuration
205 + improve documentation of build-cc options in INSTALL.
206 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the
207 -static/-dynamic flags properly to linker, causing test/bs to
211 + correct some ifdef's needed for the broken-linker configuration.
212 + make debugging library's $BAUDRATE feature work for termcap
214 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted
215 by comment on FreeBSD mailing list).
216 + add screen.mlterm terminfo entry -TD
217 + improve mlterm and mlterm+pcfkeys terminfo entries -TD
220 + regenerated html documentation.
221 + expand manpage description of parameters for form_driver() and
222 menu_driver() (prompted by discussion with Adam Spragg).
223 + add null-pointer checks for cur_term in baudrate() and
224 def_shell_mode(), def_prog_mode()
225 + fix some memory leaks in delscreen() and wide acs.
228 + modify test/ditto.c to illustrate multi-threaded use_screen().
229 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
230 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report
234 + finish changes to wgetch(), making it switch as needed to the
235 window's actual screen when calling wrefresh() and wgetnstr(). That
236 allows wgetch() to get used concurrently in different threads with
237 some minor restrictions, e.g., the application should not delete a
238 window which is being used in a wgetch().
239 + simplify mutex's, combining the window- and screen-mutex's.
242 + modify wgetch() to use the screen which corresponds to its window
243 parameter rather than relying on SP; some dependent functions still
245 + factor out most use of SP in lib_mouse.c, using parameter.
246 + add internal _nc_keyname(), replacing keyname() to associate with a
247 particular SCREEN rather than the global SP.
248 + add internal _nc_unctrl(), replacing unctrl() to associate with a
249 particular SCREEN rather than the global SP.
250 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate
251 its associated global buffer _nc_globals.tracemse_buf now in SCREEN.
252 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in
253 preference to the global _nc_globals.tracechr_buf buffer.
256 + modify _nc_keypad() to make it switch temporarily as needed to the
257 screen which must be updated.
258 + wrap cur_term variable to help make _nc_keymap() thread-safe, and
259 always set the screen's copy of this variable in set_curterm().
260 + restore curs_set() state after endwin()/refresh() (report/patch
264 + modify configure script to note that --enable-ext-colors and
265 --enable-ext-mouse are not experimental, but extensions from
267 + corrected manpage description of setcchar() (discussion with
269 + fix for adding a non-spacing character at the beginning of a line
270 (report/patch by Miroslav Lichvar).
273 + modify screen.* terminfo entries using new screen+fkeys to fix
274 overridden keys in screen.rxvt (Debian #478094) -TD
275 + modify internal interfaces to reduce wgetch()'s dependency on the
277 + simplify some loops with macros each_screen(), each_window() and
281 + continue modifying test/ditto.c toward making it demonstrate
282 multithreaded use_screen(), using fifos to pass data between screens.
283 + fix typo in form.3x (report by Mike Gran).
286 + add screen.rxvt terminfo entry -TD
287 + modify tic -f option to format spaces as \s to prevent them from
288 being lost when that is read back in unformatted strings.
289 + improve test/ditto.c, using a "talk"-style layout.
292 + change test/ditto.c to use openpty() and xterm.
293 + add locks for copywin(), dupwin(), overlap(), overlay() on their
295 + add locks for initscr() and newterm() on updates to the SCREEN
297 + finish table in curs_thread.3x manpage.
300 + begin table in curs_thread.3x manpage describing the scope of data
301 used by each function (or symbol) for threading analysis.
302 + add null-pointer checks to setsyx() and getsyx() (prompted by
303 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on
304 python-dev2 mailing list).
307 + add null-pointer checks in set_term() and delscreen().
308 + move _nc_windows into _nc_globals, since windows can be pads, which
309 are not associated with a particular screen.
310 + change use_screen() to pass the SCREEN* parameter rather than
311 stdscr to the callback function.
312 + force libtool to use tag for 'CC' in case it does not detect this,
313 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc
314 (report/patch by Michael Haubenwallner).
315 + override OBJEXT to "lo" when building with libtool, to work on
316 platforms such as AIX where libtool may use a different suffix for
317 the object files than ".o" (report/patch by Michael Haubenwallner).
318 + add configure --with-pthread option, for building with the POSIX
322 + fill in extended-color pair two more places in wbkgrndset() and
323 waddch_nosync() (prompted by Sedeno's patch).
324 + fill in extended-color pair in _nc_build_wch() to make colors work
325 for wide-characters using extended-colors (patch by Alejandro R
327 + add x/X toggles to ncurses.c C color test to test/demo
328 wide-characters with extended-colors.
329 + add a/A toggles to ncurses.c c/C color tests.
330 + modify test/ditto.c to use use_screen().
331 + finish modifying test/rain.c to demonstrate threads.
334 + start modifying test/rain.c for threading demo.
335 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles
336 that the 'F' accepts.
337 + modify test/worm.c to show trail in reverse-video when other threads
338 are working concurrently.
339 + fix a deadlock from improper nesting of mutexes for windowlist and
343 + fixes from 20080223 resolved issue with mutexes; change to use
344 recursive mutexes to fix memory leak in delwin() as called from
348 + fix a size-difference in _nc_globals which caused hanging of mutex
349 lock/unlock when termlib was built separately.
352 + avoid using nanosleep() in threaded configuration since that often
353 is implemented to suspend the entire process.
356 + update test programs to build/work with various UNIX curses for
357 comparisons. This was to reinvestigate statement in X/Open curses
358 that insnstr and winsnstr perform wrapping. None of the Unix-branded
359 implementations do this, as noted in manpage (cf: 20040228).
362 + modify _nc_setupscreen() to set the legacy-coding value the same
363 for both narrow/wide models. It had been set only for wide model,
364 but is needed to make unctrl() work with locale in the narrow model.
365 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by
366 using unctrl() to display illegal bytes rather than trying to append
367 further bytes to make up a valid sequence (reported by Andrey A
369 + modify unctrl() to check codes in 128-255 range versus isprint().
370 If they are not printable, and locale was set, use a "M-" or "~"
374 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE
375 handling). Now it hangs in napms(), no matter whether nanosleep()
376 or poll() or select() are used on Linux.
379 + fixes to build with --disable-ext-funcs
380 + add manpage for use_window and use_screen.
381 + add set_tabsize() and set_escdelay() functions.
384 + remove recursive-mutex definitions, finish threading demo for worm.c
385 + remove a redundant adjustment of lines in resizeterm.c's
386 adjust_window() which caused occasional misadjustment of stdscr when
390 + several improvements to terminfo entries based on xterm #230 -TD
391 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the
392 "link_test" builds properly.
393 + fix for toe command-line options -u/-U to ensure filename is given.
394 + fix allocation-size for command-line parsing in infocmp from 20070728
395 (report by Miroslav Lichvar)
396 + improve resizeterm() by moving ripped-off lines, and repainting the
397 soft-keys (report by Katarina Machalkova)
398 + add clarification in wclear's manpage noting that the screen will be
399 cleared even if a subwindow is cleared (prompted by Christer Enfors
401 + change test/ncurses.c soft-key tests to work with KEY_RESIZE.
404 + continue implementing support for threading demo by adding mutex
408 + add several functions to C++ binding which wrap C functions that
409 pass a WINDOW* parameter (request by Chris Lee).
412 + add note about configure options needed for Berkeley database to the
414 + improve checks for version of Berkeley database libraries.
415 + amend fix for rpath to not modify LDFLAGS if the platform has no
416 applicable transformation (report by Christian Ebert, cf: 20071124).
419 + modify configure option --with-hashed-db to accept a parameter which
420 is the install-prefix of a given Berkeley Database (prompted by
422 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is
423 used in the form library to determine the length of the buffer needed
424 by field_buffer (report by Alfred Fung).
425 + remove unneeded window-parameter from C++ binding for wresize (report
429 + modify the support for filesystems which do not support mixed-case to
430 generate 2-character (hexadecimal) codes for the lower-level of the
431 filesystem terminfo database (request by Michail Vidiassov).
432 + add configure option --enable-mixed-case, to allow overriding the
433 configure script's check if the filesystem supports mixed-case
435 + add wresize() to C++ binding (request by Chris Lee).
436 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make
437 it simpler to tell if the extended functions and/or colors are
441 + update memory-leak checks for changes to names.c and codes.c
442 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler).
445 + continue implementing support for threading demo by adding mutex
447 + add mrxvt terminfo entry, add/fix xterm building blocks for modified
449 + compile with FreeBSD "contemporary" TTY interface (patch by
453 + modify makefile rules to allow clear, tput and tset to be built
454 without libtic. The other programs (infocmp, tic and toe) rely on
456 + add/modify null-pointer checks in several functions for SP and/or
457 the WINDOW* parameter (report by Thorben Krueger).
458 + fixes for field_buffer() in formw library (see Redhat Bugzilla
459 #310071, patches by Miroslav Lichvar).
460 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav
462 + update/improve mlterm and rxvt terminfo entries, e.g., for
463 the modified cursor- and keypad-keys -TD
466 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which
467 changes the CharEq() macro to an inline function to allow comparing
468 cchar_t struct's without comparing gaps in a possibly unpacked
469 memory layout (report by Miroslav Lichvar).
472 + add new functions to lib_trace.c to setup mutex's for the _tracef()
473 calls within the ncurses library.
474 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into
476 + start modifying test/worm.c to provide threading demo (incomplete).
477 + separated ifdef's for some BSD-related symbols in tset.c, to make
478 it compile on LynxOS (report by Greg Gemmer).
480 + modify Ada95/gen/Makefile to use shlib script, to simplify building
481 shared-library configuration on platforms lacking rpath support.
482 + build-fix for Ada95/src/Makefile to reflect changed dependency for
483 the terminal-interface-curses-aux.adb file which is now generated.
484 + restructuring test/worm.c, for use_window() example.
487 + add use_window() and use_screen() functions, to develop into support
488 for threaded library (incomplete).
489 + fix typos in man/curs_opaque.3x which kept the install script from
490 creating symbolic links to two aliases created in 20070818 (report by
494 + remove a spurious newline from output of html.m4, which caused links
495 for Ada95 html to be incorrect for the files generated using m4.
496 + start investigating mutex's for SCREEN manipulation (incomplete).
497 + minor cleanup of codes.c/names.c for --enable-const
498 + expand/revise "Routine and Argument Names" section of ncurses manpage
499 to address report by David Givens in newsgroup discussion.
500 + fix interaction between --without-progs/--with-termcap configure
501 options (report by Michail Vidiassov).
502 + fix typo in "--disable-relink" option (report by Michail Vidiassov).
505 + fix a sign-extension bug in infocmp's repair_acsc() function
507 + fix old configure script bug which prevented "--disable-warnings"
508 option from working (patch by Mike Frysinger).
511 + add 9term terminal description (request by Juhapekka Tolvanen) -TD
512 + modify comp_hash.c's string output to avoid misinterpreting a null
513 "\0" followed by a digit.
514 + modify MKnames.awk and MKcodes.awk to support big-strings.
515 This only applies to the cases (broken linker, reentrant) where
516 the corresponding arrays are accessed via wrapper functions.
517 + split MKnames.awk into two scripts, eliminating the shell redirection
518 which complicated the make process and also the bogus timestamp file
519 which was introduced to fix "make -j".
520 + add test/test_opaque.c, test/test_arrays.c
521 + add wgetscrreg() and wgetparent() for applications that may need it
522 when NCURSES_OPAQUE is defined (prompted by Bryan Christ).
525 + amend treatment of infocmp "-r" option to retain the 1023-byte limit
526 unless "-T" is given (cf: 981017).
527 + modify comp_captab.c generation to use big-strings.
528 + make _nc_capalias_table and _nc_infoalias_table private accessed via
529 _nc_get_alias_table() since the tables are used only within the tic
531 + modify configure script to skip Intel compiler in CF_C_INLINE.
532 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via
533 _nc_get_hash_table() since the tables are used only within the tic
537 + make _nc_capalias_table and _nc_infoalias_table private, accessed via
538 _nc_get_alias_table() since they are used only by parse_entry.c
539 + make _nc_key_names private since it is used only by lib_keyname.c
540 + add --disable-big-strings configure option to control whether
541 unctrl.c is generated using the big-string optimization - which may
542 use strings longer than supported by a given compiler.
543 + reduce relocation tables for tic, infocmp by changing type of
544 internal hash tables to short, and make those private symbols.
545 + eliminate large fixed arrays from progs/infocmp.c
548 + change winnstr() to stop at the end of the line (cf: 970315).
549 + add test/test_get_wstr.c
550 + add test/test_getstr.c
551 + add test/test_inwstr.c
552 + add test/test_instr.c
555 + restore a call to obtain screen-size in _nc_setupterm(), which
556 is used in tput and other non-screen applications via setupterm()
557 (Debian #433357, reported by Florent Bayle, Christian Ohm,
561 + add test/savescreen.c test-program
562 + add check to trace-file open, if the given name is a directory, add
563 ".log" to the name and try again.
564 + add konsole-256color entry -TD
565 + add extra gcc warning options from xterm.
566 + minor fixes for ncurses/hashmap test-program.
567 + modify configure script to quiet c++ build with libtool when the
568 --disable-echo option is used.
569 + modify configure script to disable ada95 if libtool is selected,
570 writing a warning message (addresses FreeBSD ports/114493).
571 + update config.guess, config.sub
574 + add continuous-move "M" to demo_panels to help test refresh changes.
575 + improve fix for refresh of window on top of multi-column characters,
576 taking into account some split characters on left/right window
580 + add "widec" row to _tracedump() output to help diagnose remaining
581 problems with multi-column characters.
582 + partial fix for refresh of window on top of multi-column characters
583 which are partly overwritten (report by Sadrul H Chowdhury).
584 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case
585 multi-column extension bits are passed there.
586 + add setlocale() call to demo_panels.c, needed for wide-characters.
587 + add some output flags to _nc_trace_ttymode to help diagnose a bug
588 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET,
591 + add test/demo_panels.c
592 + implement opaque version of setsyx() and getsyx().
595 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm
597 + split-out key_name() from MKkeyname.awk since it now depends upon
598 wunctrl() which is not in libtinfo (report by Rong-En Fan).
601 + add test/key_name.c
602 + add stdscr cases to test/inchs.c and test_inch_wide.c
603 + update test/configure
604 + correct formatting of DEL (0x7f) in _nc_vischar().
605 + null-terminate result of wunctrl().
606 + add null-pointer check in key_name() (report by Andreas Krennmair,
610 + adapt mouse-handling code from menu library in form-library
611 (discussion with Clive Nicolson).
612 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to
613 illustrate how to use mvcur().
614 + modify wide-character flavor of SetAttr() to preserve the
615 WidecExt() value stored in the .attr field, e.g., in case it
616 is overwritten by chgat (report by Aleksi Torhamo).
617 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo).
618 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman).
621 + modify keyname() to use "^X" form only if meta() has been called, or
622 if keyname() is called without initializing curses, e.g., via
623 initscr() or newterm() (prompted by LinuxBase #1604).
624 + document some portability issues in man/curs_util.3x
625 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications
626 broken by moving that data into SCREEN (cf: 20061230).
629 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a
630 problem reported by Sadrul H Chowdhury with repainting parts of
632 + modify slk_init() so that if there are preceding calls to
633 ripoffline(), those affect the available lines for soft-keys (adapted
634 from patch by Clive Nicolson).
635 + document some portability issues in man/curs_getyx.3x
638 + fix a bug in Ada95/samples/ncurses which caused a variable to
639 become uninitialized in the "b" test.
640 + fix Ada95/gen/Makefile.in adahtml rule to account for recent
641 movement of files, fix a few incorrect manpage references in the
643 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with
645 + correct some functions in Ada95 binding which were using return value
646 from C where none was returned: idcok(), immedok() and wtimeout().
647 + amend recent changes for Ada95 binding to make it build with
648 Cygwin's linker, e.g., with configure options
649 --enable-broken-linker --with-ticlib
652 + add a configure check for gcc's options for inlining, use that to
653 quiet a warning message where gcc's default behavior changed from
655 + improve warning message when checking if GPM is linked to curses
656 library by not warning if its use of "wgetch" is via a weak symbol.
657 + add loader options when building with static libraries to ensure that
658 an installed shared library for ncurses does not conflict. This is
659 reported as problem with Tru64, but could affect other platforms
660 (report Martin Mokrejs, analysis by Tim Mooney).
661 + fix build on cygwin after recent ticlib/termlib changes, i.e.,
662 + adjust TINFO_SUFFIX value to work with cygwin's dll naming
663 + revert a change from 20070303 which commented out dependency of
664 SHLIB_LIST in form/menu/panel/c++ libraries.
665 + fix initialization of ripoff stack pointer (cf: 20070421).
668 + move most static variables into structures _nc_globals and
669 _nc_prescreen, to simplify storage.
670 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding
671 type for data manipulated by signal handlers (prompted by comments
672 in mailing.openbsd.bugs newsgroup).
673 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static
674 to the libtool create- and link-operations.
677 + fix whitespace in curs_opaque.3x which caused a spurious ';' in
678 the installed aliases (report by Peter Santoro).
679 + fix configure script to not try to generate adacurses-config when
680 Ada95 tree is not built.
683 + add man/curs_legacy.3x, man/curs_opaque.3x
684 + fix acs_map binding for Ada95 when --enable-reentrant is used.
685 + add adacurses-config to the Ada95 install, based on version from
686 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by
687 comment on comp.lang.ada newsgroup).
688 + fix includes in c++ binding to build with Intel compiler
690 + update install rule in Ada95 to use mkdirs.sh
691 > other fixes prompted by inspection for Coverity report:
692 + modify ifdef's for c++ binding to use try/catch/throw statements
693 + add a null-pointer check in tack/ansi.c request_cfss()
694 + fix a memory leak in ncurses/base/wresize.c
695 + corrected check for valid memu/meml capabilities in
696 progs/dump_entry.c when handling V_HPUX case.
697 > fixes based on Coverity report:
698 + remove dead code in test/bs.c
699 + remove dead code in test/demo_defkey.c
700 + remove an unused assignment in progs/infocmp.c
701 + fix a limit check in tack/ansi.c tools_charset()
702 + fix tack/ansi.c tools_status() to perform the VT320/VT420
703 tests in request_cfss(). The function had exited too soon.
704 + fix a memory leak in tic.c's make_namelist()
705 + fix a couple of places in tack/output.c which did not check for EOF.
706 + fix a loop-condition in test/bs.c
707 + add index checks in lib_color.c for color palettes
708 + add index checks in progs/dump_entry.c for version_filter() handling
710 + fix a possible null-pointer dereference in copywin()
711 + fix a possible null-pointer dereference in waddchnstr()
712 + add a null-pointer check in _nc_expand_try()
713 + add a null-pointer check in tic.c's make_namelist()
714 + add a null-pointer check in _nc_expand_try()
715 + add null-pointer checks in test/cardfile.c
716 + fix a double-free in ncurses/tinfo/trim_sgr0.c
717 + fix a double-free in ncurses/base/wresize.c
718 + add try/catch block to c++/cursesmain.cc
721 + modify Ada95 binding to build with --enable-reentrant by wrapping
722 global variables (bug: acs_map does not yet work).
723 + modify Ada95 binding to use the new access-functions, allowing it
724 to build/run when NCURSES_OPAQUE is set.
725 + add access-functions and macros to return properties of the WINDOW
726 structure, e.g., when NCURSES_OPAQUE is set.
727 + improved install-sh's quoting.
728 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from
732 + eliminate part of the direct use of WINDOW data from Ada95 interface.
733 + fix substitutions for termlib filename to make configure option
734 --enable-reentrant work with --with-termlib.
735 + change a constructor for NCursesWindow to allow compiling with
736 NCURSES_OPAQUE set, since we cannot pass a reference to
740 + ignore --with-chtype=unsigned since unsigned is always added to
741 the type in curses.h; do the same for --with-mmask-t.
742 + change warning regarding --enable-ext-colors and wide-character
743 in the configure script to an error.
744 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs
745 such as Darwin's libtool program (report by Michail Vidiassov)
746 + modify edit_man.sh to allow for multiple substitutions per line.
747 + set locale in misc/ncurses-config.in since it uses a range
748 + change permissions libncurses++.a install (report by Michail
750 + corrected length of temporary buffer in wide-character version
751 of set_field_buffer() (related to report by Bryan Christ).
754 + fix mk-1st.awk script install_shlib() function, broken in 20070224
755 changes for cygwin (report by Michail Vidiassov).
758 + increase size of array in _nc_visbuf2n() to make "tic -v" work
759 properly in its similar_sgr() function (report/analysis by Peter
761 + add --enable-reentrant configure option for ongoing changes to
762 implement a reentrant version of ncurses:
763 + libraries are suffixed with "t"
764 + wrap several global variables (curscr, newscr, stdscr, ttytype,
765 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as
766 functions returning values stored in SCREEN or cur_term.
767 + move some initialization (LINES, COLS) from lib_setup.c,
768 i.e., setupterm() to _nc_setupscreen(), i.e., newterm().
771 + regenerated html documentation.
772 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs
773 opaque in selected configurations.
774 + move the chunk in lib_acs.c which resets acs capabilities when
775 running on a terminal whose locale interferes with those into
776 _nc_setupscreen(), so the libtinfo/libtinfow files can be made
777 identical (requested by Miroslav Lichvar).
778 + do not use configure variable SHLIB_LIBS for building libraries
779 outside the ncurses directory, since that symbol is customized
780 only for that directory, and using it introduces an unneeded
781 dependency on libdl (requested by Miroslav Lichvar).
782 + modify mk-1st.awk so the generated makefile rules for linking or
783 installing shared libraries do not first remove the library, in
784 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff
786 + revised section "Using NCURSES under XTERM" in ncurses-intro.html
787 (prompted by newsgroup comment by Nick Guenther).
790 + change internal return codes of _nc_wgetch() to check for cases
791 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was
792 ungetch'd, and read by wget_wch().
793 + fix static-library build broken in 20070217 changes to remove "-ldl"
794 (report by Miroslav Lichvar).
795 + change makefile/scripts for cygwin to allow building termlib.
796 + use Form_Hook in manpages to match form.h
797 + use Menu_Hook in manpages, as well as a few places in menu.h
798 + correct form- and menu-manpages to use specific Field_Options,
799 Menu_Options and Item_Options types.
800 + correct prototype for _tracechar() in manpage (cf: 20011229).
801 + correct prototype for wunctrl() in manpage.
804 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav
806 + modify relinking of shared libraries to apply only when rpath is
807 enabled, and add --disable-relink option which can be used to
808 disable the feature altogether (reports by Michail Vidiassov,
810 + fix --with-termlib option for wide-character configuration, stripping
811 the "w" suffix in one place (report by Miroslav Lichvar).
812 + remove "-ldl" from some library lists to reduce dependencies in
813 programs (report by Miroslav Lichvar).
814 + correct description of --enable-signed-char in configure --help
815 (report by Michail Vidiassov).
816 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE,
817 which matches an earlier change to CF_SHARED_OPTS, from xterm #224
819 + remove "${DESTDIR}" from -install_name option used for linking
820 shared libraries on Darwin (report by Michail Vidiassov).
823 + add test/inchs.c, test_inch_wide.c, to test win_wchnstr().
824 + remove libdl from library list for termlib (report by Miroslav
826 + fix configure.in to allow --without-progs --with-termlib (patch by
828 + modify win_wchnstr() to ensure that only a base cell is returned
829 for each multi-column character (prompted by report by Wei Kong
830 regarding change in mvwin_wch() cf: 20041023).
833 + modify fix_wchnstr() in form library to strip attributes (and color)
834 from the cchar_t array (field cells) read from a field's window.
835 Otherwise, when copying the field cells back to the window, the
836 associated color overrides the field's background color (report by
838 + improve tracing for form library, showing created forms, fields, etc.
839 + ignore --enable-rpath configure option if --with-shared was omitted.
840 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints
841 to allow leak-checking when both tic- and tinfo-libraries are built.
842 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding
843 no longer relies on it.
844 + disallow combining configure script options --with-ticlib and
845 --enable-termcap (report by Rong-En Fan).
846 + remove tack from ncurses tree.
849 + fix typo in configure script that broke --with-termlib option
850 (report by Rong-En Fan).
853 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed
854 to tgetent() (report by Rong-en Fan).
855 + update tack/HISTORY and tack/README to tell how to build it after
856 it is removed from the ncurses tree.
857 + fix configure check for libtool's version to trim blank lines
858 (report by sci-fi@hush.ai).
859 + review/eliminate other original-file artifacts in cursesw.cc, making
860 its license consistent with ncurses.
861 + use ncurses vw_scanw() rather than reading into a fixed buffer in
862 the c++ binding for scanw() methods (prompted by report by Nuno Dias).
863 + eliminate fixed-buffer vsprintf() calls in c++ binding.
866 + add _nc_leaks_tic() to separate leak-checking of tic library from
867 term/ncurses libraries, and thereby eliminate a library dependency.
868 + fix test/mk-test.awk to ignore blank lines.
869 + correct paths in include/headers, for --srcdir (patch by Miroslav
873 + add a break-statement in misc/shlib to ensure that it exits on the
874 _first_ matched directory (report by Paul Novak).
875 + add tack/configure, which can be used to build tack outside the
877 + add --with-ticlib option, to build/install the tic-support functions
878 in a separate library (suggested by Miroslav Lichvar).
881 + change MKunctrl.awk to reduce relocation table for unctrl.o
882 + change MKkeyname.awk to reduce relocation table for keyname.o
883 (patch by Miroslav Lichvar).
886 + modify configure check for libtool's version to trim blank lines
887 (report by sci-fi@hush.ai).
888 + modify some modules to allow them to be reentrant if _REENTRANT is
889 defined: lib_baudrate.c, resizeterm.c (local data only)
890 + eliminate static data from some modules: add_tries.c, hardscroll.c,
891 lib_ttyflags.c, lib_twait.c
892 + improve manpage install to add aliases for the transformed program
893 names, e.g., from --program-prefix.
894 + used linklint to verify links in the HTML documentation, made fixes
895 to manpages as needed.
896 + fix a typo in curs_mouse.3x (report by William McBrine).
897 + fix install-rule for ncurses5-config to make the bin-directory.
900 + modify configure script to omit the tic (terminfo compiler) support
901 from ncurses library if --without-progs option is given.
902 + modify install rule for ncurses5-config to do this via "install.libs"
903 + modify shared-library rules to allow FreeBSD 3.x to use rpath.
904 + update config.guess, config.sub
906 20061217 5.6 release for upload to ftp.gnu.org
909 + add ifdef's for <wctype.h> for HPUX, which has the corresponding
910 definitions in <wchar.h>.
911 + revert the va_copy() change from 20061202, since it was neither
912 correct nor portable.
913 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for
915 + ignore wide-acs line-drawing characters that wcwidth() claims are
916 not one-column. This is a workaround for Solaris' broken locale
920 + modify configure --with-gpm option to allow it to accept a parameter,
921 i.e., the name of the dynamic GPM library to load via dlopen()
922 (requested by Bryan Henderson).
923 + add configure option --with-valgrind, changes from vile.
924 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use
925 'return' in preference to 'exit()'.
928 + change default for --with-develop back to "no".
929 + add XTABS to tracing of TTY bits.
930 + updated autoconf patch to ifdef-out the misfeature which declares
931 exit() for configure tests. This fixes a redefinition warning on
933 + use ${CC} rather than ${LD} in shared library rules for IRIX64,
934 Solaris to help ensure that initialization sections are provided for
935 extra linkage requirements, e.g., of C++ applications (prompted by
936 comment by Casper Dik in newsgroup).
937 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish
938 from the autoconf predefined symbol. There was no conflict,
939 since "$target" was used only in the generated edit_man.sh file,
940 but SuSE's rpm package contains a patch.
943 + update man/term.5 to reflect extended terminfo support and hashed
944 database configuration.
945 + updates for test/configure script.
946 + adapted from SuSE rpm package:
947 + remove long-obsolete workaround for broken-linker which declared
949 + improve error recovery in PUTC() macro when wcrtomb() does not
950 return usable results for an 8-bit character.
951 + patches from rpm package (SuSE):
952 + use va_copy() in extra varargs manipulation for tracing version
954 + use a va_list rather than a null in _nc_freeall()'s call to
956 + add some see-also references in manpages to show related
957 wide-character functions (suggested by Claus Fischer).
960 + add a check in lib_color.c to ensure caller does not increase COLORS
961 above max_colors, which is used as an array index (discussion with
963 + add ifdef's allowing ncurses to be built with tparm() using either
964 varargs (the existing status), or using a fixed-parameter list (to
968 + fix redrawing of windows other than stdscr using wredrawln() by
969 touching the corresponding rows in curscr (discussion with Dan
972 + add test/echochar.c
973 + review/cleanup manpage descriptions of error-returns for form- and
974 menu-libraries (prompted by FreeBSD docs/46196).
977 + add AUTHORS file -TD
978 + omit the -D options from output of the new config script --cflags
979 option (suggested by Ralf S Engelschall).
980 + make NCURSES_INLINE unconditionally defined in curses.h
983 + revert change to accommodate bash 3.2, since that breaks other
984 platforms, e.g., Solaris.
985 + minor fixes to NEWS file to simplify scripting to obtain list of
987 + improve some shared-library configure scripting for Linux, FreeBSD
988 and NetBSD to make "--with-shlib-version" work.
989 + change configure-script rules for FreeBSD shared libraries to allow
990 for rpath support in versions past 3.
991 + use $(DESTDIR) in makefile rules for installing/uninstalling the
992 package config script (reports/patches by Christian Wiese,
994 + fix a warning in the configure script for NetBSD 2.0, working around
995 spurious blanks embedded in its ${MAKEFLAGS} symbol.
996 + change test/Makefile to simplify installing test programs in a
997 different directory when --enable-rpath is used.
1000 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford).
1001 + add/install a package config script, e.g., "ncurses5-config" or
1002 "ncursesw5-config", according to configuration options.
1005 + add several GNU Screen terminfo variations with 16- and 256-colors,
1006 and status line (Alain Bench).
1007 + change the way shared libraries (other than libtool) are installed.
1008 Rather than copying the build-tree's libraries, link the shared
1009 objects into the install directory. This makes the --with-rpath
1010 option work except with $(DESTDIR) (cf: 20000930).
1013 + fix ifdef in c++/internal.h for QNX 6.1
1014 + test-compiled with (old) egcs-1.1.2, modified configure script to
1015 not unset the $CXX and related variables which would prevent this.
1016 + fix a few terminfo.src typos exposed by improvments to "-f" option.
1017 + improve infocmp/tic "-f" option formatting.
1020 + make --disable-largefile option work (report by Thomas M Ott).
1021 + updated html documentation.
1022 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
1023 + minor improvements to rxvt+pcfkeys -TD
1026 + move static data from lib_mouse.c into SCREEN struct.
1027 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X
1028 (report by Michail Vidiassov).
1029 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix
1030 option (from lynx changes) -TD
1031 + adapt AC_PROG_EGREP check, noting that this is likely to be another
1032 place aggravated by POSIXLY_CORRECT.
1033 + modify configure check for awk to ensure that it is found (prompted
1034 by report by Christopher Parker).
1038 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD
1039 + remove invis capability from klone+sgr, mainly used by linux entry,
1040 since it does not really do this -TD
1043 + correct logic in wadd_wch() and wecho_wch(), which did not guard
1044 against passing the multi-column attribute into a call on waddch(),
1045 e.g., using data returned by win_wch() (cf: 20041023)
1046 (report by Sadrul H Chowdhury).
1049 + fix kterm's acsc string -TD
1050 + fix for change to tic/infocmp in 20060819 to ensure no blank is
1051 embedded into a termcap description.
1052 + workaround for 20050806 ifdef's change to allow visbuf.c to compile
1053 when using --with-termlib --with-trace options.
1054 + improve tgetstr() by making the return value point into the user's
1055 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla
1057 + correct libraries needed for foldkeys (report by Stanislav Ievlev)
1060 + add terminfo entries for xfce terminal (xfce) and multi gnome
1062 + add test/foldkeys.c
1065 + modify tic and infocmp to avoid writing trailing blanks on terminfo
1066 source output (Debian #378783).
1067 + modify configure script to ensure that if the C compiler is used
1068 rather than the loader in making shared libraries, the $(CFLAGS)
1069 variable is also used (Redhat Bugzilla #199369).
1070 + port hashed-db code to db2 and db3.
1071 + fix a bug in tgetent() from 20060625 and 20060715 changes
1072 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)).
1075 + updated xterm function-keys terminfo to match xterm #216 -TD
1076 + add configure --with-hashed-db option (tested only with FreeBSD 6.0,
1077 e.g., the db 1.8.5 interface).
1080 + modify toe to access termcap data, e.g., via cgetent() functions,
1081 or as a text file if those are not available.
1082 + use _nc_basename() in tset to improve $SHELL check for csh/sh.
1083 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp,
1084 can access termcap data when the terminfo database is disabled.
1087 + widen the test for xterm kmous a little to allow for other strings
1088 than \E[M, e.g., for xterm-sco functionality in xterm.
1089 + update xterm-related terminfo entries to match xterm patch #216 -TD
1090 + update config.guess, config.sub
1093 + fix for install-rule in Ada95 to add terminal_interface.ads
1094 and terminal_interface.ali (anonymous posting in comp.lang.ada).
1095 + correction to manpage for getcchar() (report by William McBrine).
1097 + modify wchgat() to mark updated cells as changed so a refresh will
1098 repaint those cells (comments by Sadrul H Chowdhury and William
1100 + split up dependency of names.c and codes.c in ncurses/Makefile to
1101 work with parallel make (report/analysis by Joseph S Myers).
1102 + suppress a warning message (which is ignored) for systems without
1103 an ldconfig program (patch by Justin Hibbits).
1104 + modify configure script --disable-symlinks option to allow one to
1105 disable symlink() in tic even when link() does not work (report by
1107 + modify MKfallback.sh to use tic -x when constructing fallback tables
1108 to allow extended capabilities to be retrieved from a fallback entry.
1109 + improve leak-checking logic in tgetent() from 20060625 to ensure that
1110 it does not free the current screen (report by Miroslav Lichvar).
1113 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916).
1114 + correct _nc_free_entries() and related functions used for memory leak
1118 + revert a minor change for magic-cookie support from 20060513, which
1119 caused unexpected reset of attributes, e.g., when resizing test/view
1121 + note in clear manpage that the program ignores command-line
1122 parameters (prompted by Debian #371855).
1123 + fixes to make lib_gen.c build properly with changes to the configure
1124 --disable-macros option and NCURSES_NOMACROS (cf: 20060527)
1125 + update/correct several terminfo entries -TD
1126 + add some notes regarding copyright to terminfo.src -TD
1129 + fixes to build Ada95 binding with gnat-4.1.0
1130 + modify read_termtype() so the term_names data is always allocated as
1131 part of the str_table, a better fix for a memory leak (cf: 20030809).
1132 + reduce memory leaks in repeated calls to tgetent() by remembering the
1133 last TERMINAL* value allocated to hold the corresponding data and
1134 freeing that if the tgetent() result buffer is the same as the
1135 previous call (report by "Matt" for FreeBSD gnu/98975).
1136 + modify tack to test extended capability function-key strings.
1137 + improved gnome terminfo entry (GenToo #122566).
1138 + improved xterm-256color terminfo entry (patch by Alain Bench).
1141 + fix two small memory leaks related to repeated tgetent() calls
1142 with TERM=screen (report by "Matt" for FreeBSD gnu/98975).
1143 + add --enable-signed-char to simplify Debian package.
1144 + reduce name-pollution in term.h by removing #define's for HAVE_xxx
1146 + correct typo in curs_terminfo.3x (Debian #369168).
1149 + enable the mouse in test/movewindow.c
1150 + improve a limit-check in frm_def.c (John Heasley).
1151 + minor copyright fixes.
1152 + change configure script to produce test/Makefile from data file.
1155 + add a configure option --enable-wgetch-events to enable
1156 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in
1157 lib_twait.c (report by Bernd Jendrissek).
1158 + remove include/nomacros.h from build, since the ifdef for
1159 NCURSES_NOMACROS makes that obsolete.
1160 + add entrypoints for some functions which were only provided as macros
1161 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(),
1162 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(),
1164 + provide ifdef for NCURSES_NOMACROS which suppresses most macro
1165 definitions from curses.h, i.e., where a macro is defined to override
1166 a function to improve performance. Allowing a developer to suppress
1167 these definitions can simplify some application (discussion with
1169 + improve description of memu/meml in terminfo manpage.
1172 + if msgr is false, reset video attributes when doing an automargin
1173 wrap to the next line. This makes the ncurses 'k' test work properly
1175 + correct caching of keyname(), which was using only half of its table.
1176 + minor fixes to memory-leak checking.
1177 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than
1178 arrays, making ACS_LEN less visible to applications (suggested by
1180 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so
1181 _screen_acs_map will have the same offset in both ncurses/ncursesw,
1182 making the corresponding tinfo/tinfow libraries binary-compatible
1183 (cf: 20041016, report by Stanislav Ievlev).
1186 + improve debug-tracing for EmitRange().
1187 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS
1188 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime
1189 suppression of the related hard-tabs and xmc-glitch features.
1190 + add ncurses version number to top-level manpages, e.g., ncurses, tic,
1191 infocmp, terminfo as well as form, menu, panel.
1192 + update config.guess, config.sub
1193 + modify ncurses.c to work around a bug in NetBSD 3.0 curses
1194 (field_buffer returning null for a valid field). The 'r' test
1195 appears to not work with that configuration since the new_fieldtype()
1196 function is broken in that implementation.
1199 + add hpterm-color terminfo entry -TD
1200 + fixes to compile test-programs with HPUX 11.23
1203 + add copyright notices to files other than those that are generated,
1204 data or adapted from pdcurses (reports by William McBrine, David
1206 + improve rendering on hpterm by not resetting attributes at the end
1207 of doupdate() if the terminal has the magic-cookie feature (report
1209 + add 256color variants of terminfo entries for programs which are
1210 reported to implement this feature -TD
1213 + fix typo in change to NewChar() macro from 20060311 changes, which
1214 broke tab-expansion (report by Frederic L W Meunier).
1217 + document -U option of tic and infocmp.
1218 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed
1219 due to size limit, e.g., converting to termcap format. Also
1220 suppress them if the output format does not contain acsc and it
1221 was not VT100-like, i.e., a one-one mapping (Novell #163715).
1222 + add configure check to ensure that SIGWINCH is defined on platforms
1223 such as OS X which exclude that when _XOPEN_SOURCE, etc., are
1224 defined (report by Nicholas Cole)
1227 + modify write_object() to not write coincidental extensions of an
1228 entry made due to it being referenced in a use= clause (report by
1230 + another fix for infocmp -i option, which did not ensure that some
1231 escape sequences had comparable prefixes (report by Alain Bench).
1234 + improve discussion of init/reset in terminfo and tput manpages
1235 (report by Alain Bench).
1236 + use is3 string for a fallback of rs3 in the reset program; it was
1237 using is2 (report by Alain Bench).
1238 + correct logic for infocmp -i option, which did not account for
1239 multiple digits in a parameter (cf: 20040828) (report by Alain
1241 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib
1242 option work after 20060114 changes (report by Arkadiusz Miskiewicz).
1243 + add copyright notices to test-programs as needed (report by William
1247 + modify ncurses.c 'F' test to combine the wide-characters with color
1248 and/or video attributes.
1249 + modify test/ncurses to use CTL/Q or ESC consistently for exiting
1250 a test-screen (some commands used 'x' or 'q').
1253 + fix an off-by-one in the scrolling-region change (cf_ 20060311).
1256 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when
1257 a null character is found (report by Igor Bogomazov).
1258 + modify progs/Makefile.in to make "tput init" work properly with
1259 cygwin, i.e., do not pass a ".exe" in the reference string used
1260 in check_aliases (report by Samuel Thibault).
1261 + add some checks to ensure current position is within scrolling
1262 region before scrolling on a new line (report by Dan Gookin).
1263 + change some NewChar() usage to static variables to work around
1264 stack garbage introduced when cchar_t is not packed (Redhat #182024).
1267 + workarounds to build test/movewindow with PDcurses 2.7.
1268 + fix for nsterm-16color entry (patch by Alain Bench).
1269 + correct a typo in infocmp manpage (Debian #354281).
1272 + add nsterm-16color entry -TD
1273 + updated mlterm terminfo entry -TD
1274 + remove 970913 feature for copying subwindows as they are moved in
1275 mvwin() (discussion with Bryan Christ).
1276 + modify test/demo_menus.c to demonstrate moving a menu (both the
1277 window and subwindow) using shifted cursor-keys.
1278 + start implementing recursive mvwin() in movewindow.c (incomplete).
1279 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h,
1280 for movewindow.c (report by William McBrine).
1281 + add help-message to test/movewindow.c
1284 + add test/movewindow.c, to test mvderwin().
1285 + fix ncurses soft-key test so color changes are shown immediately
1286 rather than delayed.
1287 + modify ncurses soft-key test to hide the keys when exiting the test
1289 + fixes to build test programs with PDCurses 2.7, e.g., its headers
1290 rely on autoconf symbols, and it declares stubs for nonfunctional
1291 terminfo and termcap entrypoints.
1294 + improved test/configure to build test/ncurses on HPUX 11 using the
1296 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the
1297 benefit of developers who do not read INSTALL.
1300 + correct form library Window_To_Buffer() change (cf: 20040516), which
1301 should ignore the video attributes (report by Ricardo Cantu).
1304 + minor fixes to xmc-glitch experimental code:
1305 + suppress line-drawing
1306 + implement max_attributes
1308 + minor fixes for the database iterator.
1309 + fix some buffer limits in c++ demo (comment by Falk Hueffner in
1313 + add toe -a option, to show all databases. This uses new private
1314 interfaces in the ncurses library for iterating through the list of
1316 + fix toe from 20000909 changes which made it not look at
1318 + make toe's -v option parameter optional as per manpage.
1319 + improve SIGWINCH handling by postponing its effect during newterm(),
1320 etc., when allocating screens.
1323 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use
1324 this in test/filter.c
1325 + fix an error in filter() modification which caused some applications
1329 + check if filter() was called when getting the screensize. Keep it
1330 at 1 if so (based on Redhat #174498).
1331 + add extension nofilter().
1332 + refined the workaround for ACS mapping.
1333 + make ifdef's consistent in curses.h for the extended colors so the
1334 header file can be used for the normal curses library. The header
1335 file installed for extended colors is a variation of the
1336 wide-character configuration (report by Frederic L W Meunier).
1339 + add a workaround to ACS mapping to allow applications such as
1340 test/blue.c to use the "PC ROM" characters by masking them with
1341 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision
1342 of legacy coding (report by Michael Deutschmann).
1343 + add a null-pointer check in the wide-character version of
1344 calculate_actual_width() (report by Victor Julien).
1345 + improve test/ncurses 'd' (color-edit) test by allowing the RGB
1346 values to be set independently (patch by William McBrine).
1347 + modify test/configure script to allow building test programs with
1349 + modified test programs to allow some to work with NetBSD curses.
1350 Several do not because NetBSD curses implements a subset of X/Open
1351 curses, and also lacks much of SVr4 additions. But it's enough for
1353 + update config.guess and config.sub
1356 + use BSD-specific fix for return-value from cgetent() from CVS where
1357 an unknown terminal type would be reportd as "database not found".
1358 + make tgetent() return code more readable using new symbols
1360 + remove references to non-existent "tctest" program.
1361 + remove TESTPROGS from progs/Makefile.in (it was referring to code
1362 that was never built in that directory).
1363 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS).
1366 + add use_legacy_coding() function to support lynx's font-switching
1368 + fix formatting in curs_termcap.3x (report by Mike Frysinger).
1369 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to
1373 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(),
1374 overwrite() and copywin() with different combinations of colors and
1375 attributes (including background color) to make it easy to see the
1376 effect of the different functions.
1377 + corrections to menu/m_global.c for wide-characters (report by
1381 + add configure option --without-dlsym, allowing developers to
1382 configure GPM support without using dlsym() (discussion with Michael
1384 + fix wins_nwstr(), which did not handle single-column non-8bit codes
1388 + move prototypes for wide-character trace functions from curses.tail
1389 to curses.wide to avoid accidental reference to those if
1390 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is
1392 + add/use NCURSES_INLINE definition.
1393 + change some internal functions to use int/unsigned rather than the
1397 + remove a redundant check in lib_color.c (Debian #335655).
1398 + use ld's -search_paths_first option on Darwin to work around odd
1399 search rules on that platform (report by Christian Gennerat, analysis
1401 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro.
1402 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518).
1403 + fix several bugs in test/bs.c (patch by Stephen Lindholm).
1406 + other minor fixes to cygwin based on tack -TD
1407 + correct smacs in cygwin (Debian #338234, report by Baurzhan
1408 Ismagulov, who noted that it was fixed in Cygwin).
1411 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD
1412 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits
1413 since those record the state of multicolumn characters (Debian
1415 + modify werase to clear multicolumn characters that extend into
1416 a derived window (Debian #316663).
1419 + move assignment from environment variable ESCDELAY from initscr()
1420 down to newterm() so the environment variable affects timeouts for
1421 terminals opened with newterm() as well.
1422 + fix a memory leak in keyname().
1423 + add test/demo_altkeys.c
1424 + modify test/demo_defkey.c to exit from loop via 'q' to allow
1425 leak-checking, as well as fix a buffer size in winnstr() call.
1428 + correct order of use-clauses in rxvt-basic entry which made codes for
1429 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp).
1430 + suppress configure check for gnatmake if Ada95/Makefile.in is not
1432 + correct a typo in configure --with-bool option for the case where
1433 --without-cxx is used (report by Daniel Jacobowitz).
1434 + add a note to INSTALL's discussion of --with-normal, pointing out
1435 that one may wish to use --without-gpm to ensure a completely
1436 static link (prompted by report by Felix von Leitner).
1438 20051010 5.5 release for upload to ftp.gnu.org
1441 + document in demo_forms.c some portability issues.
1444 + document side-effect of werase() which sets the cursor position.
1445 + save/restore the current position in form field editing to make
1449 + correct header dependencies in progs, allowing parallel make (report
1450 by Daniel Jacobowitz).
1451 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides
1452 the configure check for --with-build-cc (report by Daniel Jacobowitz).
1453 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for
1455 + update config.guess and config.sub from
1456 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1459 + modify sed expression which computes path for /usr/lib/terminfo
1460 symbolic link in install to ensure that it does not change unexpected
1461 levels of the path (Gentoo #42336).
1462 + modify default for --disable-lp64 configure option to reduce impact
1463 on existing 64-bit builds. Enabling the _LP64 option may change the
1464 size of chtype and mmask_t. However, for ABI 6, it is enabled by
1465 default (report by Mike Frysinger).
1466 + add configure script check for --enable-ext-mouse, bump ABI to 6 by
1467 default if it is used.
1468 + improve configure script logic for bumping ABI to omit this if the
1469 --with-abi-version option was used.
1470 + update address for Free Software Foundation in tack's source.
1471 + correct wins_wch(), which was not marking the filler-cells of
1472 multi-column characters (cf: 20041023).
1475 + modify mouse initialization to ensure that Gpm_Open() is called only
1476 once. Otherwise GPM gets confused in its initialization of signal
1477 handlers (Debian #326709).
1480 + modify logic for backspacing in a multiline form field to ensure that
1481 it works even when the preceding line is full (report by Frank van
1483 + remove comment about BUGS section of ncurses manpage (Debian #325481)
1486 + document some workarounds for shared and libtool library
1487 configurations in INSTALL (see --with-shared and --with-libtool).
1488 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate
1489 cross-compilers which emit the platform name in their version
1491 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1
1492 (report by Frank van Vugt).
1495 + start updating documentation for upcoming 5.5 release.
1496 + fix to make libtool and libtinfo work together again (cf: 20050122).
1497 + fixes to allow building traces into libtinfo
1498 + add debug trace to tic that shows if/how ncurses will write to the
1499 lower corner of a terminal's screen.
1500 + update llib-l* files.
1503 + modify initializers in c++ binding to build with old versions of g++.
1504 + improve special case for 20050115 repainting fix, ensuring that if
1505 the first changed cell is not a character that the range to be
1506 repainted is adjusted to start at a character's beginning (Debian
1510 + fixes to build on QNX 6.1
1511 + improve configure script checks for Intel 9.0 compiler.
1512 + remove #include's for libc.h (obsolete).
1513 + adjust ifdef's in curses.priv.h so that when cross-compiling to
1514 produce comp_hash and make_keys, no dependency on wchar.h is needed.
1515 That simplifies the build-cppflags (report by Frank van Vugt).
1516 + move modules related to key-binding into libtinfo to fix linkage
1517 problem caused by 20050430 changes to MKkeyname.sh (report by
1518 Konstantin Andreev).
1521 + updates/fixes for configure script macros from vile -TD
1522 + make prism9's sgr string agree with the rest of the terminfo -TD
1523 + make vt220's sgr0 string consistent with sgr string, do this for
1524 several related cases -TD
1525 + improve translation to termcap by filtering the 'me' (sgr0) strings
1526 as in the runtime call to tgetent() (prompted by a discussion with
1528 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0
1529 resets line-drawing.
1532 + fix special cases for trimming sgr0 for hurd and vt220 (Debian
1534 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to
1535 allow it to be used by tic to provide information about the runtime
1536 changes that would be made to sgr0 for termcap applications.
1537 + modify make_sed.sh to make the group-name in the NAME section of
1538 form/menu library manpage agree with the TITLE string when renaming
1539 is done for Debian (Debian #78866).
1542 + modify parameter type in c++ binding for insch() and mvwinsch() to
1543 be consistent with underlying ncurses library (was char, is chtype).
1544 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined
1546 + improve configure check for nanosleep(), checking that it works since
1547 some older systems such as AIX 4.3 have a nonworking version.
1550 + update config.guess and config.sub from
1551 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
1552 + modify misc/shlib to work in test-directory.
1553 + suppress $suffix in misc/run_tic.sh when cross-compiling. This
1554 allows cross-compiles to use the host's tic program to handle the
1555 "make install.data" step.
1556 + improve description of $LINES and $COLUMNS variables in manpages
1557 (prompted by report by Dave Ulrick).
1558 + improve description of cross-compiling in INSTALL
1559 + add NCURSES-Programming-HOWTO.html by Pradeep Padala
1560 (see http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/).
1561 + modify configure script to obtain soname for GPM library (discussion
1562 with Daniel Jacobowitz).
1563 + modify configure script so that --with-chtype option will still
1564 compute the unsigned literals suffix for constants in curses.h
1565 (report by Daniel Jacobowitz:
1566 + patches from Daniel Jacobowitz:
1567 + the man_db.renames entry for tack.1 was backwards.
1568 + tack.1 had some 1m's that should have been 1M's.
1569 + the section for curs_inwstr.3 was wrong.
1572 + correction to --with-chtype option (report by Daniel Jacobowitz).
1575 + move build-time edit_man.sh and edit_man.sed scripts to top directory
1576 to simplify reusing them for renaming tack's manpage (prompted by a
1577 review of Debian package).
1578 + revert minor optimization from 20041030 (Debian #313609).
1579 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6,
1580 1.5.10 and 1.5.18 (all work except as noted previously for the c++
1581 install using libtool 1.5.0):
1582 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make
1584 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830
1585 + add configure options --with-chtype and --with-mmask-t, to allow
1586 overriding of the non-LP64 model's use of the corresponding types.
1587 + revise test for size of chtype (and mmask_t), which always returned
1588 "long" due to an uninitialized variable (report by Daniel Jacobowitz).
1591 + change _tracef's that used "%p" format for va_list values to ignore
1592 that, since on some platforms those are not pointers.
1593 + fixes for long-formats in printf's due to largefile support.
1596 + fixes for termcap support:
1597 + reset pointer to _nc_curr_token.tk_name when the input stream is
1598 closed, which could point to free memory (cf: 20030215).
1599 + delink TERMTYPE data which is used by the termcap reader, so that
1600 extended names data will be freed consistently.
1601 + free pointer to TERMTYPE data in _nc_free_termtype() rather than
1603 + add some entrypoints for freeing permanently allocated data via
1604 _nc_freeall() when NO_LEAKS is defined.
1605 + amend 20041030 change to _nc_do_color to ensure that optimization is
1606 applied only when the terminal supports back_color_erase (bce).
1609 + add sun-color terminfo entry -TD
1610 + correct a missing assignment in c++ binding's method
1611 NCursesPanel::UserPointer() from 20050409 changes.
1612 + improve configure check for large-files, adding check for dirent64
1614 + minor change to configure script to improve linker options for the
1618 + document error conditions for ncurses library functions (report by
1620 + regenerated html documentation for ada binding.
1621 see ftp://invisible-island.net/ncurses/patches/gnathtml
1624 + regenerated html documentation for manpages.
1625 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in
1626 ncurses/Makefile (Gentoo #89772).
1627 + modify c++/demo.cc to build with g++ -fno-implicit-templates option
1628 (patch by Mike Frysinger).
1629 + modify tic to filter out long extended names when translating to
1630 termcap format. Only two characters are permissible for termcap
1634 + modify terminfo entries xterm-new and rxvt to add strings for
1635 shift-, control-cursor keys.
1636 + workaround to allow c++ binding to compile with g++ 2.95.3, which
1637 has a broken implementation of static_cast<> (patch by Jeff Chua).
1638 + modify initialization of key lookup table so that if an extended
1639 capability (tic -x) string is defined, and its name begins with 'k',
1640 it will automatically be treated as a key.
1641 + modify test/keynames.c to allow for the possibility of extended
1642 key names, e.g., via define_key(), or via "tic -x".
1643 + add test/demo_termcap.c to show the contents of given entry via the
1647 + minor fixes for vt100/vt52 entries -TD
1648 + add configure option --enable-largefile
1649 + corrected libraries used to build Ada95/gen/gen, found in testing
1653 + update config.guess, config.sub
1654 + modify configure script check for _XOPEN_SOURCE, disable that on
1655 Darwin whose header files have problems (patch by Chris Zubrzycki).
1656 + modify form library Is_Printable_String() to use iswprint() rather
1657 than wcwidth() for determining if a character is printable. The
1658 latter caused it to reject menu items containing non-spacing
1660 + modify ncurses test program's F-test to handle non-spacing characters
1661 by combining them with a reverse-video blank.
1662 + review/fix several gcc -Wconversion warnings.
1665 + correct an off-by-one error in m_driver() for mouse-clicks used to
1666 position the mouse to a particular item.
1667 + implement test/demo_menus.c
1668 + add some checks in lib_mouse to ensure SP is set.
1669 + modify C++ binding to make 20050403 changes work with the configure
1670 --enable-const option.
1673 + modify start_color() to return ERR if it cannot allocate memory.
1674 + address g++ compiler warnings in C++ binding by adding explicit
1675 member initialization, assignment operators and copy constructors.
1676 Most of the changes simply preserve the existing semantics of the
1677 binding, which can leak memory, etc., but by making these features
1678 visible, it provides a framework for improving the binding.
1679 + improve C++ binding using static_cast, etc.
1680 + modify configure script --enable-warnings to add options to g++ to
1681 correspond to the gcc --enable-warnings.
1682 + modify C++ binding to use some C internal functions to make it
1683 compile properly on Solaris (and other platforms).
1686 + amend change from 20050320 to limit it to configurations with a
1688 + fix a bug introduced in 20050320 which broke the translation of
1689 nonprinting characters to uparrow form (report by Takahashi Tamotsu).
1692 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for
1693 chtype and mmask_t, but add configure option --disable-lp64 in case
1694 anyone used that configuration.
1695 + update misc/shlib script to account for Mac OS X (report by Michail
1697 + correct comparison for wrapping multibyte characters in
1698 waddch_literal() (report by Takahashi Tamotsu).
1701 + add -c and -w options to tset to allow user to suppress ncurses'
1702 resizing of the terminal emulator window in the special case where it
1703 is not able to detect the true size (report by Win Delvaux, Debian
1705 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses
1706 codes 128-159 as part of multibyte characters (report by Wang
1707 WenRui, Debian #300512).
1710 + modify ncurses.c 'd' test to make it work with 88-color
1711 configuration, i.e., by implementing scrolling.
1712 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color
1716 + change tracemunch to use strict checking.
1717 + modify ncurses.c 'p' test to test line-drawing within a pad.
1718 + implement environment variable NCURSES_NO_UTF8_ACS to support
1719 miscellaneous terminal emulators which ignore alternate character
1720 set escape sequences when in UTF-8 mode.
1723 + change NCursesWindow::err_handler() to a virtual function (request by
1725 + modify fty_int.c and fty_num.c to handle wide characters (report by
1727 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal
1728 and wide characters inconsistently (report by Wolfgang Gutjahr).
1729 + update llib-* files to reflect internal interface additions/changes.
1732 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc.,
1734 + add aixterm-16color terminfo entry -TD
1735 + modified xterm-new terminfo entry to work with tgetent() changes -TD
1736 + extended changes in tgetent() from 20040710 to allow the substring of
1737 sgr0 which matches rmacs to be at the beginning of the sgr0 string
1738 (request by Thomas Wolff). Wolff says the visual effect in
1739 combination with pre-20040710 ncurses is improved.
1740 + fix off-by-one in winnstr() call which caused form field validation
1741 of multibyte characters to ignore the last character in a field.
1742 + correct logic in winsch() for inserting multibyte strings; the code
1743 would clear cells after the insertion rather than push them to the
1744 right (cf: 20040228).
1745 + fix an inconsistency in Check_Alpha_Field() between normal and wide
1746 character logic (report by Wolfgang Gutjahr).
1749 + fix a bug in editing wide-characters in form library: deleting a
1750 nonwide character modified the previous wide-character.
1751 + update manpage to describe NCURSES_MOUSE_VERSION 2.
1752 + correct manpage description of mouseinterval() (Debian #280687).
1753 + add a note to default_colors.3x explaining why this extension was
1754 added (Debian #295083).
1755 + add traces to panel library.
1758 + improve editing of wide-characters in form library: left/right
1759 cursor movement, and single-character deletions work properly.
1760 + disable GPM mouse support when $TERM happens to be prefixed with
1761 "xterm". Gpm_Open() would otherwise assert that it can deal with
1762 mouse events in this case.
1763 + modify GPM mouse support so it closes the server connection when
1764 the caller disables the mouse (report by Stanislav Ievlev).
1767 + add traces for callback functions in form library.
1768 + add experimental configure option --enable-ext-mouse, which defines
1769 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to
1770 support wheel mice, which may transmit buttons 4 and 5. This works
1771 with xterm and similar X terminal emulators (prompted by question by
1772 Andreas Henningsson, this is also related to Debian #230990).
1773 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to
1774 avoid redefinition warnings on cygwin.
1777 + merge remaining development changes for extended colors (mostly
1778 complete, does not appear to break other configurations).
1779 + add xterm-88color.dat (part of extended colors testing).
1780 + improve _tracedump() handling of color pairs past 96.
1781 + modify return-value from start_color() to return OK if colors have
1782 already been started.
1783 + modify curs_color.3x list error conditions for init_pair(),
1784 pair_content() and color_content().
1785 + modify pair_content() to return -1 for consistency with init_pair()
1786 if it corresponds to the default-color.
1787 + change internal representation of default-color to allow application
1788 to use color number 255. This does not affect the total number of
1789 color pairs which are allowed.
1790 + add a top-level tags rule.
1793 + add a null-pointer check in wgetch() in case it is called without
1794 first calling initscr().
1795 + add some null-pointer checks for SP, which is not set by libtinfo.
1796 + modify misc/shlib to ensure that absolute pathnames are used.
1797 + modify test/Makefile.in, etc., to link test programs only against the
1798 libraries needed, e.g., omit form/menu/panel library for the ones
1799 that are curses-specific.
1800 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that
1801 libtinfo.so and libtinfow.so have the same ABI. The reason for this
1802 is that the corresponding data which belongs to the upper-level
1803 ncurses library has a different size in each model (report by
1807 + minor fixes to allow test-compiles with g++.
1808 + correct column value shown in tic's warnings, which did not account
1809 for leading whitespace.
1810 + add a check in _nc_trans_string() for improperly ended strings, i.e.,
1811 where a following line begins in column 1.
1812 + modify _nc_save_str() to return a null pointer on buffer overflow.
1813 + improve repainting while scrolling wide-character data (Eungkyu Song).
1816 + merge some development changes to extend color capabilities.
1819 + merge some development changes to extend color capabilities.
1820 + fix manpage typo (FreeBSD report docs/75544).
1821 + update config.guess, config.sub
1822 > patches for configure script (Albert Chin-A-Young):
1823 + improved fix to make mbstate_t recognized on HPUX 11i (cf:
1824 20030705), making vsscanf() prototype visible on IRIX64. Tested for
1825 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1,
1826 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0.
1827 + print the result of the --disable-home-terminfo option.
1828 + use -rpath when compiling with SGI C compiler.
1831 + add trace calls to remaining public functions in form and menu
1833 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests.
1834 + fix typo in test/ncurses.c 'c' test from 20041218.
1837 + revise test/ncurses.c 'c' color test to improve use for xterm-88color
1838 and xterm-256color, added 'C' test using the wide-character color_set
1839 and attr_set functions.
1842 + modify configure script to work with Intel compiler.
1843 + fix an limit-check in wadd_wchnstr() which caused labels in the
1844 forms-demo to be one character short.
1845 + fix typo in curs_addchstr.3x (Jared Yanovich).
1846 + add trace calls to most functions in form and menu libraries.
1847 + update working-position for adding wide-characters when window is
1848 scrolled (prompted by related report by Eungkyu Song).
1851 + replace some references on Linux to wcrtomb() which use it to obtain
1852 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is
1853 broken in glibc (see Debian #284260).
1854 + corrected length-computation in wide-character support for
1856 + some fixes to frm_driver.c to allow it to accept multibyte input.
1857 + modify configure script to work with Intel 8.0 compiler.
1860 + amend change to setupterm() in 20030405 which would reuse the value
1861 of cur_term if the same output was selected. This now reuses it only
1862 when setupterm() is called from tgetent(), which has no notion of
1863 separate SCREENs. Note that tgetent() must be called after initscr()
1864 or newterm() to use this feature (Redhat Bugzilla #140326).
1865 + add a check in CF_BUILD_CC macro to ensure that developer has given
1866 the --with-build-cc option when cross-compiling (report by Alexandre
1868 + improved configure script checks for _XOPEN_SOURCE and
1869 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE
1871 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box
1872 for consistency (comment by Dan Nelson).
1875 + update wsvt25 terminfo entry -TD
1876 + modify test/ins_wide.c to test all flavors of ins_wstr().
1877 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array
1878 which consists of multi-column characters, since this function
1879 constructs them (cf: 20041023).
1880 + modify winnstr() to return multibyte character strings for the
1881 wide-character configuration.
1884 + fixes to make slk_set() and slk_wset() accept and store multibyte
1885 or multicolumn characters.
1888 + improve color optimization a little by making _nc_do_color() check
1889 if the old/new pairs are equivalent to the default pair 0.
1890 + modify assume_default_colors() to not require that
1891 use_default_colors() be called first.
1894 + modify term_attrs() to use termattrs(), add the extended attributes
1895 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs().
1896 + add logic in waddch_literal() to clear orphaned cells when one
1897 multi-column character partly overwrites another.
1898 + improved logic for clearing cells when a multi-column character
1899 must be wrapped to a new line.
1900 + revise storage of cells for multi-column characters to correct a
1901 problem with repainting. In the old scheme, it was possible for
1902 doupdate() to decide that only part of a multi-column character
1903 should be repainted since the filler cells stored only an attribute
1904 to denote them as fillers, rather than the character value and the
1908 + minor fixes for traces.
1909 + add SP->_screen_acs_map[], used to ensure that mapping of missing
1910 line-drawing characters is handled properly. For example, ACS_DARROW
1911 is absent from xterm-new, and it was coincidentally displayed the
1915 + amend 20021221 workaround for broken acs to reset the sgr, rmacs
1916 and smacs strings as well. Also modify the check for screen's
1917 limitations in that area to allow the multi-character shift-in
1918 and shift-out which seem to work.
1919 + change GPM initialization, using dl library to load it dynamically
1920 at runtime (Debian #110586).
1923 + correct logic for color pair in setcchar() and getcchar() (patch by
1924 Marcin 'Qrczak' Kowalczyk).
1925 + add t/T commands to ncurses b/B tests to allow a different color to
1926 be tested for the attrset part of the test than is used in the
1930 + fix to make setcchar() to work when its wchar_t* parameter is
1931 pointing to a string which contains more data than can be converted.
1932 + modify wget_wstr() and example in ncurses.c to work if wchar_t and
1933 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk).
1936 + remove check in wget_wch() added to fix an infinite loop, appears to
1937 have been working around a transitory glibc bug, and interferes
1938 with normal operation (report by Marcin 'Qrczak' Kowalczyk).
1939 + correct wadd_wch() and wecho_wch(), which did not pass the rendition
1940 information (report by Marcin 'Qrczak' Kowalczyk).
1941 + fix aclocal.m4 so that the wide-character version of ncurses gets
1942 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib
1943 (adapted from patch by James J Ramsey).
1944 + change configure script for --with-caps option to indicate that it
1945 is no longer experimental.
1946 + change configure script to reflect the fact that --enable-widec has
1947 not been "experimental" since 5.3 (report by Bruno Lustosa).
1950 + add 'B' test to ncurses.c, to exercise some wide-character functions.
1953 + modify infocmp -i option to match 8-bit controls against its table
1954 entries, e.g., so it can analyze the xterm-8bit entry.
1955 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin).
1956 + correct translation of "%%" in terminfo format to termcap, e.g.,
1957 using "tic -C" (Redhat Bugzilla #130921).
1958 + modified configure script CF_XOPEN_SOURCE macro to ensure that if
1959 it defines _POSIX_C_SOURCE, that it defines it to a specific value
1960 (comp.os.stratus newsgroup comment).
1963 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are
1964 fatal, and gnat does not follow the guidelines for pragmas).
1965 However that did find a coding error in Assume_Default_Colors().
1966 + modify several terminfo entries to ensure xterm mouse and cursor
1967 visibility are reset in rs2 string: hurd, putty, gnome,
1968 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The
1969 xterm entries are left alone - old ones for compatibility, and the
1970 new ones do not require this change. -TD
1973 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators
1974 and window managers (Debian #265631).
1975 > terminfo updates -TD
1976 + remove dch/dch1 from rxvt because they are implemented inconsistently
1977 with the common usage of bce/ech
1978 + remove khome from vt220 (vt220's have no home key)
1982 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through
1983 combinations of video attributes so that for instance bold and
1984 underline can be tested. This made the legend too crowded, added
1985 a help window as well.
1986 + modify test/ncurses.c 'b' test to cycle through default colors if
1987 the -d option is set.
1988 + update putty terminfo entry (Robert de Bath).
1991 + modify test/cardfile.c to allow it to read more data than can be
1993 + correct logic in resizeterm.c which kept it from processing all
1994 levels of window hierarchy (reports by Folkert van Heusden,
1998 + modify "tic -cv" to ignore delays when comparing strings. Also
1999 modify it to ignore a canceled sgr string, e.g., for terminals which
2000 cannot properly combine attributes in one control sequence.
2001 + corrections for gnome and konsole entries (Redhat Bugzilla #122815,
2002 patch by Hans de Goede)
2003 > terminfo updates -TD
2004 + make ncsa-m rmacs/smacs consistent with sgr
2005 + add sgr, rc/sc and ech to syscons entries
2006 + add function-keys to decansi
2007 + add sgr to mterm-ansi
2008 + add sgr, civis, cnorm to emu
2009 + correct/simplify cup in addrinfo
2012 > terminfo updates -TD
2013 + add xterm-pc-fkeys
2014 + review/update gnome and gnome-rh90 entries (prompted by Redhat
2016 + review/update konsole entries
2017 + add sgr, correct sgr0 for kterm and mlterm
2018 + correct tsl string in kterm
2021 + add configure option --without-xterm-new
2024 + add check in wget_wch() for printable bytes that are not part of a
2025 multibyte character.
2026 + modify wadd_wchnstr() to render text using window's background
2028 + improve tic's check to compare sgr and sgr0.
2029 + fix c++ directory's .cc.i rule.
2030 + modify logic in tgetent() which adjusts the termcap "me" string
2031 to work with ISO-2022 string used in xterm-new (cf: 20010908).
2032 + modify tic's check for conflicting function keys to omit that if
2033 converting termcap to termcap format.
2034 + add -U option to tic and infocmp.
2035 + add rmam/smam to linux terminfo entry (Trevor Van Bremen)
2036 > terminfo updates -TD
2037 + minor fixes for emu
2039 + change wyse acsc strings to use 'i' map rather than 'I'
2044 + use tic -x to install terminfo database -TD
2045 + add -x to infocmp's usage message.
2046 + correct field used for comparing O_ROWMAJOR in set_menu_format()
2047 (report/patch by Tony Li).
2048 + fix a missing nul check in set_field_buffer() from 20040508 changes.
2049 > terminfo updates -TD
2050 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
2052 + align with xterm patch #192's use of xterm-new -TD
2053 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
2054 + make xterm-new the default "xterm" entry -TD
2057 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow
2058 cross-compiling from a separate directory tree (report/patch by
2060 + modify is_term_resized() to ensure that window sizes are nonzero,
2061 as documented in the manpage (report by Ian Collier).
2062 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build
2063 (Debian #249214, report/patch by Jeff Bailey).
2064 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS
2065 + update config.guess, config.sub
2066 > terminfo updates -TD
2068 + add xterm-xf86-v44
2069 + modify xterm-new aka xterm-xfree86 to accommodate luit, which
2070 relies on G1 being used via an ISO-2022 escape sequence (report by
2075 + reconsidered winsnstr(), decided after comparing other
2076 implementations that wrapping is an X/Open documentation error.
2077 + modify test/inserts.c to test all flavors of insstr().
2080 + add setlocale() calls to a few test programs which may require it:
2081 demo_forms.c, filter.c, ins_wide.c, inserts.c
2082 + correct a few misspelled function names in ncurses-intro.html (report
2084 + correct internal name of key_defined() manpage, which conflicted with
2088 + correct size of internal pad used for holding wide-character
2089 field_buffer() results.
2090 + modify data_ahead() to work with wide-characters.
2093 + improve description of terminfo if-then-else expressions (suggested
2095 + improve test/ncurses.c 'd' test, allow it to use external file for
2096 initial palette (added xterm-16color.dat and linux-color.dat), and
2097 reset colors to the initial palette when starting/ending the test.
2098 + change limit-check in init_color() to allow r/g/b component to
2099 reach 1000 (cf: 20020928).
2102 + modify form library to use cchar_t's rather than char's in the
2103 wide-character configuration for storing data for field buffers.
2104 + correct logic of win_wchnstr(), which did not work for more than
2108 + replace memset/memcpy usage in form library with for-loops to
2109 simplify changing the datatype of FIELD.buf, part of wide-character
2111 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert).
2114 + modify menu library to account for actual number of columns used by
2115 multibyte character strings, in the wide-character configuration
2116 (adapted from patch by Philipp Tomsich).
2117 + add "-x" option to infocmp like tic's "-x", for use in "-F"
2118 comparisons. This modifies infocmp to only report extended
2119 capabilities if the -x option is given, making this more consistent
2120 with tic. Some scripts may break, since infocmp previous gave this
2121 information without an option.
2122 + modify termcap-parsing to retain 2-character aliases at the beginning
2123 of an entry if the "-x" option is used in tic.
2126 + minor compiler-warning and test-program fixes.
2129 + modify tic's missing-sgr warning to apply to terminfo only.
2130 + free some memory leaks in tic.
2131 + remove check in post_menu() that prevented menus from extending
2132 beyond the screen (request by Max J. Werner).
2133 + remove check in newwin() that prevents allocating windows
2134 that extend beyond the screen. Solaris curses does this.
2135 + add ifdef in test/color_set.c to allow it to compile with older
2137 + add napms() calls to test/dots.c to make it not be a CPU hog.
2140 + modify unctrl() to return null if its parameter does not correspond
2141 to an unsigned char.
2142 + add some limit-checks to guard isprint(), etc., from being used on
2143 values that do not fit into an unsigned char (report by Sami Farin).
2146 + fix a typo in the _nc_get_locale() change.
2149 + modify _nc_get_locale() to use setlocale() to query the program's
2150 current locale rather than using getenv(). This fixes a case in tin
2151 which relies on legacy treatment of 8-bit characters when the locale
2152 is not initialized (reported by Urs Jansen).
2153 + add sgr string to screen's and rxvt's terminfo entries -TD.
2154 + add a check in tic for terminfo entries having an sgr0 but no sgr
2155 string. This confuses Tru64 and HPUX curses when combined with
2156 color, e.g., making them leave line-drawing characters in odd places.
2157 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the
2158 original definitions used in Debian package to fix PowerPC bug before
2159 20030802 (Debian #237629).
2162 + modify PutAttrChar() and PUTC() macro to improve use of
2163 A_ALTCHARSET attribute to prevent line-drawing characters from
2164 being lost in situations where the locale would otherwise treat the
2165 raw data as nonprintable (Debian #227879).
2168 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report
2170 + remove ".PP" after ".SH NAME" in a few manpages; this confuses
2171 some apropos script (Debian #237831).
2174 + modify ncurses.c 'r' test so editing commands, like inserted text,
2175 set the field background, and the state of insert/overlay editing
2176 mode is shown in that test.
2177 + change syntax of dummy targets in Ada95 makefiles to work with pmake.
2178 + correct logic in test/ncurses.c 'b' for noncolor terminals which
2179 did not recognize a quit-command (cf: 20030419).
2182 + modify _nc_insert_ch() to allow for its input to be part of a
2184 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states
2185 that this function performs wrapping, unlike all of the other
2186 insert-functions. Currently it does not wrap.
2187 + check for nl_langinfo(CODESET), use it if available (report by
2189 + split-out CF_BUILD_CC macro, actually did this for lynx first.
2190 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC,
2191 which happened to work with bash, but not with Bourne shell (report
2192 by Marco d'Itri via tin-dev).
2195 + some changes to adapt the form library to wide characters, incomplete
2196 (request by Mike Aubury).
2197 + add symbol to curses.h which can be used to suppress include of
2199 #define NCURSES_ENABLE_STDBOOL_H 0
2201 (discussion on XFree86 mailing list).
2204 + modify configure --with-termlib option to accept a value which sets
2205 the name of the terminfo library. This would allow a packager to
2206 build libtinfow.so renamed to coincide with libtinfo.so (discussion
2207 with Stanislav Ievlev).
2208 + improve documentation of --with-install-prefix, --prefix and
2209 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew).
2210 + add configure check if the compiler can use -c -o options to rename
2211 its output file, use that to omit the 'cd' command which was used to
2212 ensure object files are created in a separate staging directory
2213 (prompted by comments by Johnny Wezel, Martin Mokrejs).
2215 20040208 5.4 release for upload to ftp.gnu.org
2218 20040207 pre-release
2219 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param,
2220 and do not count %d if it follows a %p.
2221 + correct an inconsistency between handling of codes in the 128-255
2222 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX
2223 locale, the latter did not show printable results, while the former
2225 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac
2226 OS X, which alters "%%" to "% % " (report by Robert Simms, fix
2227 verified by Scott Corscadden).
2229 20040131 pre-release
2230 + modify SCREEN struct to align it between normal/wide curses flavors
2231 to simplify future changes to build a single version of libtinfo
2232 (patch by Stanislav Ievlev).
2233 + document handling of carriage return by addch() in manpage.
2234 + document special features of unctrl() in manpage.
2235 + documented interface changes in INSTALL.
2236 + corrected control-char test in lib_addch.c to account for locale
2237 (Debian #230335, cf: 971206).
2238 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT.
2239 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package.
2240 + minor configure-script fixes for older ports, e.g., BeOS R4.5.
2242 20040125 pre-release
2243 + amend change to PutAttrChar() from 20030614 which computed the number
2244 of cells for a possibly multi-cell character. The 20030614 change
2245 forced the cell to a blank if the result from wcwidth() was not
2246 greater than zero. However, wcwidth() called for parameters in the
2247 range 128-255 can give this return value. The logic now simply
2248 ensures that the number of cells is greater than zero without
2249 modifying the displayed value.
2251 20040124 pre-release
2252 + looked good for 5.4 release for upload to ftp.gnu.org (but see above)
2253 + modify configure script check for ranlib to use AC_CHECK_TOOL, since
2254 that works better for cross-compiling.
2256 20040117 pre-release
2257 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to
2258 work around core dump in Solaris 8's locale support, e.g., for
2259 zh_CN.GB18030 (report by Saravanan Bellan).
2260 + add includes for <stdarg.h> and <stdio.h> in configure script macro
2261 to make <wchar.h> check work with Tru64 4.0d.
2262 + add terminfo entry for U/Win -TD
2263 + add terminfo entries for SFU aka Interix aka OpenNT (Federico
2265 + modify tput's error messages to prefix them with the program name
2266 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian
2268 + correct a place in tack where exit_standout_mode was used instead of
2269 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)).
2270 + modify c++/cursesf.h to use const in the Enumeration_Field method.
2271 + remove an ambiguous (actually redundant) method from c++/cursesf.h
2272 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev).
2273 + improve sed script which extracts libtool's version in the
2274 CF_WITH_LIBTOOL macro.
2275 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to
2276 simplify local patch for Albert Chin-A-Young)..
2277 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from
2278 patch by Albert Chin-A-Young)..
2279 + fix a missing substitution in configure.in for "$target" needed for
2281 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and
2282 NetBSD 1.6 conflicts with _XOPEN_SOURCE.
2283 + make check for stdbool.h more specific, to ensure that including it
2284 will actually define/declare bool for the configured compiler.
2285 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The
2286 intention of that is to #define NCURSES_BOOL as bool when the
2287 compiler declares bool, and to #define bool as NCURSES_BOOL when it
2288 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213).
2290 20040110 pre-release
2291 + change minor version to 4, i.e., ncurses 5.4
2292 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W
2294 + simplified ncurses/base/version.c by defining the result from the
2295 configure script rather than using sprintf (suggested by Stanislav
2297 + remove obsolete casts from c++/cursesw.h (reported by Stanislav
2299 + modify configure script so that when configuring for termlib, programs
2300 such as tic are not linked with the upper-level ncurses library
2301 (suggested by Stanislav Ievlev).
2302 + move version.c from ncurses/base to ncurses/tinfo to allow linking
2303 of tic, etc., using libtinfo (suggested by Stanislav Ievlev).
2306 + adjust -D's to build ncursesw on OpenBSD.
2307 + modify CF_PROG_EXT to make OS/2 build with EXEEXT.
2308 + add pecho_wchar().
2309 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or
2310 available) on older platforms.
2313 + add -D's to build ncursew on FreeBSD 5.1.
2314 + modify shared library configuration for FreeBSD 4.x/5.x to add the
2315 soname information (request by Marc Glisse).
2316 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only
2317 for limiting the length of a filename in the terminfo database.
2318 + modify termname() to return the terminal name used by setupterm()
2319 rather than $TERM, without truncating to 14 characters as documented
2320 by X/Open (report by Stanislav Ievlev, cf: 970719).
2321 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206).
2324 + add configure option --with-manpage-format=catonly to address
2325 behavior of BSDI, allow install of man+cat files on NetBSD, whose
2326 behavior has diverged by requiring both to be present.
2327 + remove leading blanks from comment-lines in manlinks.sed script to
2328 work with Tru64 4.0d.
2329 + add screen.linux terminfo entry (discussion on mutt-users mailing
2333 + add a check for tic to flag missing backslashes for termcap
2334 continuation lines. ncurses reads the whole entry, but termcap
2335 applications do not.
2336 + add configure option "--with-manpage-aliases" extending
2337 "--with-manpage-aliases" to provide the option of generating ".so"
2338 files rather than symbolic links for manpage aliases.
2339 + add bool definition in include/curses.h.in for configurations with no
2340 usable C++ compiler (cf: 20030607).
2341 + fix pathname of SigAction.h for building with --srcdir (reported by
2345 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h,
2346 since that header is used only within ncurses/tty/lib_tstp.c, for
2347 non-POSIX systems (discussion with Stanislav Ievlev).
2348 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev
2349 <inger@altlinux.org>).
2350 + add test/background.c and test/color_set.c
2351 + modify color_set() function to work with color pair 0 (report by
2352 George Andreou <gbandreo@tem.uoc.gr>).
2353 + add configure option --with-trace, since defining TRACE seems too
2354 awkward for some cases.
2355 + remove a call to _nc_free_termtype() from read_termtype(), since the
2356 corresponding buffer contents were already zeroed by a memset (cf:
2358 + improve configure check for _XOPEN_SOURCE and related definitions,
2359 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's
2360 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>).
2361 + small fixes to compile on Solaris and IRIX64 using cc.
2362 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh
2366 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned
2367 values (Philippe Blain).
2368 + improve the nanosleep() logic in napms() by checking for EINTR and
2369 restarting (Philippe Blain).
2370 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi
2374 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>).
2375 + allow "\|" escape in terminfo; tic should not warn about this.
2376 + save the full pathname of the trace-file the first time it is opened,
2377 to avoid creating it in different directories if the application
2378 opens and closes it while changing its working directory.
2379 + modify configure script to provide a non-empty default for
2383 + add DJGPP to special case of DOS-style drive letters potentially
2384 appearing in TERMCAP environment variable.
2385 + fix some spelling in comments (reports by Jason McIntyre, Jonathon
2387 + update config.guess, config.sub
2390 + fix a memory leak in error-return from setupterm() (report by
2391 Stanislav Ievlev <inger@altlinux.org>).
2392 + use EXEEXT and OBJEXT consistently in makefiles.
2393 + amend fixes for cross-compiling to use separate executable-suffix
2394 BUILD_EXEEXT (cf: 20031018).
2395 + modify MKkey_defs.sh to check for sort utility that does not
2396 recognize key options, e.g., busybox (report by Peter S Mazinger
2398 + fix potential out-of-bounds indexing in _nc_infotocap() (found by
2399 David Krause using some of the new malloc debugging features
2400 under OpenBSD, patch by Ted Unangst).
2401 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a
2402 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>).
2405 + update terminfo for xterm-xfree86 -TD
2406 + add check for multiple "tc=" clauses in a termcap to tic.
2407 + check for missing op/oc in tic.
2408 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and
2409 tic to show cancelled capabilities. These functions were ignoring
2410 the state of the target entry, which should be untouched if cancelled.
2411 + correct comment in tack/output.c (Debian #215806).
2412 + add some null-pointer checks to lib_options.c (report by Michael
2414 + regenerated html documentation.
2415 + correction to tar-copy.sh, remove a trap command that resulted in
2416 leaving temporary files (cf: 20030510).
2417 + remove contact/maintainer addresses for Juergen Pfeifer (his request).
2420 + updated test/configure to reflect changes for libtool (cf: 20030830).
2421 + fix several places in tack/pad.c which tested and used the parameter-
2422 and parameterless strings inconsistently, i.e., in pad_rin(),
2423 pad_il(), pad_indn() and pad_dl() (Debian #215805).
2424 + minor fixes for configure script and makefiles to cleanup executables
2425 generated when cross-compiling for DJGPP.
2426 + modify infocmp to omit check for $TERM for operations that do not
2427 require it, e.g., "infocmp -e" used to build fallback list (report by
2431 + add terminfo entries for DJGPP.
2432 + updated note about maintainer in ncurses-intro.html
2435 + update terminfo entries for gnome terminal.
2436 + modify tack to reset colors after each color test, correct a place
2437 where exit_standout_mode was used instead of exit_attribute_mode.
2438 + improve tack's bce test by making it set colors other than black
2440 + plug a potential recursion between napms() and _nc_timed_wait()
2441 (report by Philippe Blain).
2444 + add --with-rel-version option to allow workaround to allow making
2445 libtool on Darwin generate the "same" library names as with the
2446 --with-shared option. The Darwin ld program does not work well
2447 with a zero as the minor-version value (request by Chris Zubrzycki).
2448 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling.
2449 + modify tack to allow it to run from fallback terminfo data.
2450 > patch by Philippe Blain:
2451 + improve PutRange() by adjusting call to EmitRange() and corresponding
2452 return-value to not emit unchanged characters on the end of the
2454 + improve a check for changed-attribute by exiting a loop when the
2456 + improve logic in TransformLine(), eliminating a duplicated comparison
2457 in the clr_bol logic.
2460 > patch by Philippe Blain:
2461 + in ncurses/tty/lib_mvcur.c,
2462 move the label 'nonlocal' just before the second gettimeofday() to
2463 be able to compute the diff time when 'goto nonlocal' used.
2464 Rename 'msec' to 'microsec' in the debug-message.
2465 + in ncurses/tty/lib_mvcur.c,
2466 Use _nc_outch() in carriage return/newline movement instead of
2467 putchar() which goes to stdout. Move test for xold>0 out of loop.
2468 + in ncurses/tinfo/setbuf.c,
2469 Set the flag SP->_buffered at the end of operations when all has been
2470 successful (typeMalloc can fail).
2471 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf().
2474 + modify configure script to avoid using "head -1", which does not
2475 work if POSIXLY_CORRECT (sic) is set.
2476 + modify run_tic.in to avoid using wrong shared libraries when
2477 cross-compiling (Dan Kegel).
2480 + alter configure script help message to make it clearer that
2481 --with-build-cc does not specify a cross-compiler (suggested by Dan
2482 Kegel <dank@kegel.com>).
2483 + modify configure script to accommodate libtool 1.5, as well as add an
2484 parameter to the "--with-libtool" option which can specify the
2485 pathname of libtool (report by Chris Zubrzycki). We note that
2486 libtool 1.5 has more than one bug in its C++ support, so it is not
2487 able to install libncurses++, for instance, if $DESTDIR or the option
2488 --with-install-prefix is used.
2491 > patch by Philippe Blain:
2492 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
2493 + make baudrate computation in delay_output() consistent with the
2494 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
2497 + modify logic in waddch_literal() to take into account zh_TW.Big5
2498 whose multibyte sequences may contain "printable" characters, e.g.,
2499 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
2500 + improve storage used by _nc_safe_strcpy() by ensuring that the size
2501 is reset based on the initialization call, in case it were called
2502 after other strcpy/strcat calls (report by Philippe Blain).
2503 > patch by Philippe Blain:
2504 + remove an unused ifdef for REAL_ATTR & WANT_CHAR
2505 + correct a place where _cup_cost was used rather than _cuu_cost
2508 + fix a small memory leak in _nc_free_termtype().
2509 + close trace-file if trace() is called with a zero parameter.
2510 + free memory allocated for soft-key strings, in delscreen().
2511 + fix an allocation size in safe_sprintf.c for the "*" format code.
2512 + correct safe_sprintf.c to not return a null pointer if the format
2513 happens to be an empty string. This applies to the "configure
2514 --enable-safe-sprintf" option (Redhat #101486).
2517 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
2519 > patch by Philippe Blain:
2520 + change padding for change_scroll_region to not be proportional to
2521 the size of the scroll-region.
2522 + correct error-return in _nc_safe_strcat().
2525 + correct limit-checks in _nc_scroll_window() (report and test-case by
2526 Thomas Graf <graf@dms.at> cf: 20011020).
2527 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
2531 + use clr_eol in preference to blanks for bce terminals, so select and
2532 paste will have fewer trailing blanks, e.g., when using xterm
2533 (request by Vincent Lefevre).
2534 + correct prototype for wunctrl() in manpage.
2535 + add configure --with-abi-version option (discussion with Charles
2537 > cygwin changes from Charles Wilson:
2538 + aclocal.m4: on cygwin, use autodetected prefix for import
2539 and static lib, but use "cyg" for DLL.
2540 + include/ncurses_dll.h: correct the comments to reflect current
2541 status of cygwin/mingw port. Fix compiler warning.
2542 + misc/run_tic.in: ensure that tic.exe can find the uninstalled
2543 DLL, by adding the lib-directory to the PATH variable.
2544 + misc/terminfo.src (nxterm|xterm-color): make xterm-color
2545 primary instead of nxterm, to match XFree86's xterm.terminfo
2546 usage and to prevent circular links.
2547 (rxvt): add additional codes from rxvt.org.
2548 (rxvt-color): new alias
2549 (rxvt-xpm): new alias
2550 (rxvt-cygwin): like rxvt, but with special acsc codes.
2551 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
2552 with a "native" MSWin GUI. Each takes different acsc codes,
2553 which are both different from the "normal" rxvt's acsc.
2554 (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
2556 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
2560 + update config.guess, config.sub
2561 + add triples for configuring shared libraries with the Debian
2562 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
2565 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
2566 platforms have installed g++ along with the native C compiler, which
2567 would not accept gcc warning options.
2568 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
2569 get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
2570 + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
2571 + correct a sign-extension in wadd_wch() and wecho_wchar() from
2572 20030628 (report by Tomohiro Kubota).
2573 + work around omission of btowc() and wctob() from wide-character
2574 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
2576 + add portability note to curs_get_wstr.3x (Debian #199957).
2579 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
2580 respectively, to avoid calling waddch_noecho() with wide-character
2581 data, since that function assumes its input is 8-bit data.
2582 Similarly, modify waddnwstr() to call wadd_wch().
2583 + remove logic from waddnstr() which transformed multibyte character
2584 strings into wide-characters. Rewrite of waddch_literal() from
2585 20030621 assumes its input is raw multibyte data rather than wide
2586 characters (report by Tomohiro Kubota).
2589 + write getyx() and related 2-return macros in terms of getcury(),
2591 + modify waddch_literal() in case an application passes bytes of a
2592 multibyte character directly to waddch(). In this case, waddch()
2593 must reassemble the bytes into a wide-character (report by Tomohiro
2594 Kubota <kubota@debian.org>).
2597 + modify waddch_literal() in case a multibyte value occupies more than
2599 + modify PutAttrChar() to compute the number of character cells that
2600 are used in multibyte values. This fixes a problem displaying
2601 double-width characters (report/test by Mitsuru Chinen
2602 <mchinen@yamato.ibm.com>).
2603 + add a null-pointer check for result of keyname() in _tracechar()
2604 + modify _tracechar() to work around glibc sprintf bug.
2607 + add a call to setlocale() in cursesmain.cc, making demo display
2608 properly in a UTF-8 locale.
2609 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
2610 by discussion with Gabor Z Papp).
2611 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
2612 appease -Wchar-subscript with g++ 3.3 (Debian #195732).
2613 + fix a redefinition of $RANLIB in the configure script when libtool
2614 is used, which broke configure on Mac OS X (report by Chris Zubrzycki
2616 + simplify ifdef for bool declaration in curses.h.in (suggested by
2617 Albert Chin-A-Young).
2618 + remove configure script check to allow -Wconversion for older
2619 versions of gcc (suggested by Albert Chin-A-Young).
2622 + regenerated html manpages.
2623 + modify ifdef's in curses.h.in that disabled use of __attribute__()
2624 for g++, since recent versions implement the cases which ncurses uses
2626 + modify _nc_get_token() to handle a case where an entry has no
2627 description, and capabilities begin on the same line as the entry
2629 + fix a typo in ncurses_dll.h reported by gcc 3.3.
2630 + add an entry for key_defined.3x to man_db.renames.
2633 + modify setcchar() to allow converting control characters to complex
2634 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
2635 + add tkterm entry -TD
2636 + modify parse_entry.c to allow a terminfo entry with a leading
2637 2-character name (report by Don Libes).
2638 + corrected acsc in screen.teraterm, which requires a PC-style mapping.
2639 + fix trace statements in read_entry.c to use lseek() rather than
2641 + fix signed/unsigned warnings from Sun's compiler (gcc should give
2642 these warnings, but it is unpredictable).
2643 + modify configure script to omit -Winline for gcc 3.3, since that
2645 + modify manlinks.sed to add a few functions that were overlooked since
2646 they return function pointers: field_init, field_term, form_init,
2647 form_term, item_init, item_term, menu_init and menu_term.
2650 + prevent recursion in wgetch() via wgetnstr() if the connection cannot
2651 be switched between cooked/raw modes because it is not a TTY (report
2652 by Wolfgang Gutjahr <gutw@knapp.com>).
2653 + change parameter of define_key() and key_defined() to const (prompted
2655 + add a check in test/configure for ncurses extensions, since there
2656 are some older versions, etc., which would not compile with the
2657 current test programs.
2658 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
2659 convert wchar_t string to multibyte form before printing it.
2660 + corrections to lib_get_wstr.c:
2661 + null-terminate buffer passed to setcchar(), which occasionally
2663 + map special characters such as erase- and kill-characters into
2664 key-codes so those will work as expected even if they are not
2665 mentioned in the terminfo.
2666 + modify PUTC() and Charable() macros to make wide-character line
2667 drawing work for POSIX locale on Linux console (cf: 20021221).
2670 + make typography for program options in manpages consistent (report
2671 by Miloslav Trmac <mitr@volny.cz>).
2672 + correct dependencies in Ada95/src/Makefile.in, so the builds with
2673 "--srcdir" work (report by Warren L Dodge).
2674 + correct missing definition of $(CC) in Ada95/gen/Makefile.in
2675 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
2676 + fix typos and whitespace in manpages (patch by Jason McIntyre
2677 <jmc@prioris.mini.pw.edu.pl>).
2680 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
2681 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
2682 the editing position before making modifications.
2683 + add test/demo_forms and associated test/edit_field.c demos.
2684 + modify test/configure.in to use test/modules for the list of objects
2685 to compile rather than using the list of programs.
2688 + modify logic of acsc to use the original character if no mapping is
2689 defined, noting that Solaris does this.
2690 + modify ncurses 'b' test to avoid using the acs_map[] array since
2691 20021231 changes it to no longer contain information from the acsc
2693 + modify makefile rules in c++, progs, tack and test to ensure that
2694 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link
2695 command (report by Jose Luis Rico Botella <informatica@serpis.com>).
2696 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would
2697 not be shown when colors are used, i.e., if ncv#1 is set in the
2698 terminfo as is done in "screen".
2701 + add a test for slk_color(), in ncurses.c
2702 + fix some issues reported by valgrind in the slk_set() and slk_wset()
2703 code, from recent rewrite.
2704 + modify ncurses 'E' test to use show previous label via slk_label(),
2706 + modify wide-character versions of NewChar(), NewChar2() macros to
2707 ensure that the whole struct is initialized.
2710 + modify setupterm() to check if the terminfo and terminal-modes have
2711 already been read. This ensures that it does not reinvoke
2712 def_prog_mode() when an application calls more than one function,
2713 such as tgetent() and initscr() (report by Olaf Buddenhagen).
2716 + add 'E' test to ncurses.c, to exercise slk_wset().
2717 + correct handling of carriage-return in wgetn_wstr(), used in demo of
2719 + first draft of slk_wset() function.
2722 + improved warnings in tic when suppressing items to fit in termcap's
2724 + built a list in test/README showing which externals are being used
2725 by either programs in the test-directory or via internal library
2727 + adjust include-options in CF_ETIP_DEFINES to avoid missing
2728 ncurses_dll.h, fixing special definitions that may be needed for
2729 etip.h (reported by Greg Schafer <gschafer@zip.com.au>).
2732 + minor fixes for cardfile.c, to make it write the updated fields to
2733 a file when ^W is given.
2734 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in
2738 + correct a case in _nc_remove_string(), used by define_key(), to avoid
2739 infinite loop if the given string happens to be a substring of other
2740 strings which are assigned to keys (report by John McCutchan).
2741 + add key_defined() function, to tell which keycode a string is bound
2742 to (discussion with John McCutchan <ttb@tentacle.dhs.org>).
2743 + correct keybound(), which reported definitions in the wrong table,
2744 i.e., the list of definitions which are disabled by keyok().
2745 + modify demo_keydef.c to show the details it changes, and to check
2749 + restructured test/configure script, make it work for libncursesw.
2750 + add description of link_fieldtype() to manpage (report by
2751 L Dee Holtsclaw <dee@sunbeltsoft.com>).
2754 + corrected ifdef's relating to configure check for wchar_t, etc.
2755 + if the output is a socket or other non-tty device, use 1 millisecond
2756 for the cost in mvcur; previously it was 9 milliseconds because the
2757 baudrate was not known.
2758 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since
2759 glibc copies uninitialized data in that case, as noted by valgrind.
2760 + modify tput to use the same parameter analysis as tparm() does, to
2761 provide for user-defined strings, e.g., for xterm title, a
2762 corresponding capability might be
2764 + modify MKlib_gen.sh to avoid passing "#" tokens through the C
2765 preprocessor. This works around Mac OS X's preprocessor, which
2766 insists on adding a blank on each side of the token (report/analysis
2767 by Kevin Murphy <murphy@genome.chop.edu>).
2770 + add configure check for wchar_t and wint_t types, rather than rely
2771 on preprocessor definitions. Also work around for gcc fixinclude
2772 bug which creates a shadow copy of curses.h if it sees these symbols
2773 apparently typedef'd.
2774 + if database is disabled, do not generate run_tic.sh
2775 + minor fixes for memory-leak checking when termcap is read.
2778 + add checking in tic for incomplete line-drawing character mapping.
2779 + update configure script to reflect fix for AC_PROG_GCC_TRADITIONAL,
2780 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by
2781 Gerben Wierda <Sherlock@rna.nl>).
2782 + make return value from _nc_printf_string() consistent. Before,
2783 depending on whether --enable-safe-sprintf was used, it might not be
2784 cached for reallocating.
2787 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c
2788 + correct a potentially-uninitialized value if _read_termtype() does
2789 not read as much data as expected (report by Wolfgang Rohdewald
2791 + correct several places where the aclocal.m4 macros relied on cache
2792 variable names which were incompatible (as usual) between autoconf
2793 2.13 and 2.5x, causing the test for broken-linker to give incorrect
2794 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser
2795 <te@dbs.uni-hannover.de>).
2796 + do not try to open gpm mouse driver if standard output is not a tty;
2797 the gpm library does not make this check (bug report for dialog
2798 by David Oliveira <davidoliveira@develop.prozone.ws>).
2801 + modified emx.src to correspond more closely to terminfo.src, added
2802 emx-base to the latter -TD
2803 + add configure option for FreeBSD sysmouse, --with-sysmouse, and
2804 implement support for that in lib_mouse.c, lib_getch.c
2807 + revert 20030105 change to can_clear_with(), does not work for the
2808 case where the update is made on cells which are blanks with
2809 attributes, e.g., reverse.
2810 + improve ifdef's to guard against redefinition of wchar_t and wint_t
2811 in curses.h (report by Urs Jansen).
2814 + improve mvcur() by checking if it is safe to move when video
2815 attributes are set (msgr), and if not, reset/restore attributes
2816 within that function rather than doing it separately in the GoTo()
2817 function in tty_update.c (suggested by Philippe Blain).
2818 + add a message in run_tic.in to explain more clearly what does not
2819 work when attempting to create a symbolic link for /usr/lib/terminfo
2820 on OS/2 and other platforms with no symbolic links (report by John
2822 + change several sed scripts to avoid using "\+" since it is not a BRE
2823 (basic regular expression). One instance caused terminfo.5 to be
2824 misformatted on FreeBSD (report by Kazuo Horikawa
2825 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)).
2826 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins).
2829 + improve description of terminfo operators, especially static/dynamic
2830 variables (comments by Mark I Manning IV <mark4th@earthlink.net>).
2831 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to
2832 use the predefined TYPE_ALPHA field-type, and by defining a
2833 specialized type for the middle initial/name.
2834 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature
2836 > patch by Philippe Blain:
2837 + optimize can_clear_with() a little by testing first if the parameter
2838 is indeed a "blank".
2839 + simplify ClrBottom() a little by allowing it to use clr_eos to clear
2840 sections as small as one line.
2841 + improve ClrToEOL() by checking if clr_eos is available before trying
2843 + use tputs() rather than putp() in a few cases in tty_update.c since
2844 the corresponding delays are proportional to the number of lines
2845 affected: repeat_char, clr_eos, change_scroll_region.
2848 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from
2849 global acs_map[] array; removed the lines that did the copying.
2852 + change some overlooked tputs() calls in scrolling code to use putp()
2853 (report by Philippe Blain).
2854 + modify lib_getch.c to avoid recursion via wgetnstr() when the input
2855 is not a tty and consequently mode-changes do not work (report by
2856 <R.Chamberlin@querix.com>).
2857 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render
2858 alternate-characters, i.e., to work with Linux console and UTF-8
2860 + correct line/column reference in adjust_window(), needed to make
2861 special windows such as curscr track properly when resizing (report
2862 by Lucas Gonze <lgonze@panix.com>).
2863 > patch by Philippe Blain:
2864 + correct the value used for blank in ClrBottom() (broken in 20000708).
2865 + correct an off-by-one in GoTo() parameter in _nc_scrolln().
2868 + change several tputs() calls in scrolling code to use putp(), to
2869 enable padding which may be needed for some terminals (patch by
2871 + use '%' as sed substitute delimiter in run_tic script to avoid
2872 problems with pathname delimiters such as ':' and '@' (report by John
2874 + implement a workaround so that line-drawing works with screen's
2875 crippled UTF-8 support (tested with 3.9.13). This only works with
2876 the wide-character support (--enable-widec); the normal library will
2877 simply suppress line-drawing when running in a UTF-8 locale in screen.
2880 + allow BUILD_CC and related configure script variables to be
2881 overridden from the environment.
2882 + make build-tools variables in ncurses/Makefile.in consistent with
2883 the configure script variables (report by Maciej W Rozycki).
2884 + modify ncurses/modules to allow
2885 configure --disable-leaks --disable-ext-funcs
2886 to build (report by Gary Samuelson).
2887 + fix a few places in configure.in which lacked quotes (report by
2888 Gary Samuelson <gary.samuelson@verizon.com>).
2889 + correct handling of multibyte characters in waddch_literal() which
2890 force wrapping because they are started too late on the line (report
2891 by Sam Varshavchik).
2892 + small fix for CF_GNAT_VERSION to ignore the help-message which
2893 gnatmake adds to its version-message.
2894 > Maciej W Rozycki <macro@ds2.pg.gda.pl>:
2895 + use AC_CHECK_TOOL to get proper values for AR and LD for cross
2897 + use $cross_compiling variable in configure script rather than
2898 comparing $host_alias and $target alias, since "host" is
2899 traditionally misused in autoconf to refer to the target platform.
2900 + change configure --help message to use "build" rather than "host"
2901 when referring to the --with-build-XXX options.
2904 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for
2905 possible gnat versions such as 3.2 (report by Chris Lingard
2906 <chris@stockwith.co.uk>).
2907 + modify #define's for CKILL and other default control characters in
2908 tset to use the system's default values if they are defined.
2909 + correct interchanged defaults for kill and interrupt characters
2910 in tset, which caused it to report unnecessarily (Debian #171583).
2911 + repair check for missing C++ compiler, which is broken in autoconf
2912 2.5x by hardcoding it to g++ (report by Martin Mokrejs).
2913 + update config.guess, config.sub (2002-11-30)
2914 + modify configure script to skip --with-shared, etc., when the
2915 --with-libtool option is given, since they would be ignored anyway.
2916 + fix to allow "configure --with-libtool --with-termlib" to build.
2917 + modify configure script to show version number of libtool, to help
2918 with bug reports. libtool still gets confused if the installed
2919 ncurses libraries are old, since it ignores the -L options at some
2920 point (tested with libtool 1.3.3 and 1.4.3).
2921 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to
2922 prevent -I options in the user's environment from introducing
2923 conflicts with the build -I options (may be related to reports by
2924 Patrick Ash and George Goffe).
2925 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to
2926 test/demo_keyok.c to allow building these with libtool.
2929 + add example program test/define_key.c for define_key().
2930 + add example program test/keyok.c for keyok().
2931 + add example program test/ins_wide.c for wins_wch() and wins_wstr().
2932 + modify wins_wch() and wins_wstr() to interpret tabs by using the
2933 winsch() internal function.
2934 + modify setcchar() to allow for wchar_t input strings that have
2935 more than one spacing character.
2938 + fix a boundary check in lib_insch.c (patch by Philippe Blain).
2939 + change type for *printw functions from NCURSES_CONST to const
2940 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>,
2941 but really from a note on X/Open's website stating that either is
2942 acceptable, and the latter will be used in a future revision).
2943 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in
2944 lib_mouse.c (20021026) -TD
2945 + add screen-bce, screen-s entries from screen 3.9.13 (report by
2946 Adam Lazur <zal@debian.org>) -TD
2947 + add mterm terminfo entries -TD
2950 + split-out useful fragments in terminfo for vt100 and vt220 numeric
2951 keypad, i.e., vt100+keypad, vt100+pfkeys, vt100+fnkeys and
2952 vt220+keypad. The last as embedded in various entries had ka3 and
2953 kb2 interchanged (report/discussion with Leonard den Ottolander
2954 <leonardjo@hetnet.nl>).
2955 + add check in tic for keypads consistent with vt100 layout.
2956 + improve checks in tic for color capabilities
2959 + check for missing/empty/illegal terminfo name in _nc_read_entry()
2960 (report by Martin Mokrejs, where $TERM was set to an empty string).
2961 + rewrote lib_insch.c, combining it with lib_insstr.c so both handle
2962 tab and other control characters consistently (report by Philippe
2964 + remove an #undef for KEY_EVENT from curses.tail used in the
2965 experimental NCURSES_WGETCH_EVENTS feature. The #undef confuses
2966 dpkg's build script (Debian #165897).
2967 + fix MKlib_gen.sh, working around the ironically named POSIXLY_CORRECT
2968 feature of GNU sed 4.0 (reported by Ervin Nemeth <airwin@inf.bme.hu>).
2971 + implement logic in lib_mouse.c to handle position reports which are
2972 generated when XFree86 xterm is initialized with private modes 1002
2973 or 1003. These are returned to the application as the
2974 REPORT_MOUSE_POSITION mask, which was not implemented. Tested both
2975 with ncurses 'a' menu (prompted by discussion with Larry Riedel
2976 <Larry@Riedel.org>).
2977 + modify lib_mouse.c to look for "XM" terminfo string, which allows
2978 one to override the escape sequence used to enable/disable mouse
2979 mode. In particular this works for XFree86 xterm private modes
2980 1002 and 1003. If "XM" is missing (note that this is an extended
2981 name), lib_mouse uses the conventional private mode 1000.
2982 + correct NOT_LOCAL() macro in lib_mvcur.c to refer to screen_columns
2983 where it used screen_lines (report by Philippe Blain).
2984 + correct makefile rules for the case when both --with-libtool and
2985 --with-gpm are given (report by Mr E_T <troll@logi.net.au>).
2986 + add note to terminfo manpage regarding the differences between
2987 setaf/setab and setf/setb capabilities (report by Pavel Roskin).
2990 + remove redundant initialization of TABSIZE in newterm(), since it is
2991 already done in setupterm() (report by Philippe Blain).
2992 + add test/inserts.c, to test winnstr() and winsch().
2993 + replace 'sort' in dist.mk with script that sets locale to POSIX.
2994 + update URLs in announce.html.in (patch by Frederic L W Meunier).
2995 + remove glibc add-on files, which are no longer needed (report by
2996 Frederic L W Meunier).
2998 20021012 5.3 release for upload to ftp.gnu.org
2999 + modify ifdef's in etip.h.in to allow the etip.h header to compile
3000 with gcc 3.2 (patch by Dimitar Zhekov <jimmy@is-vn.bg>).
3001 + add logic to setupterm() to make it like initscr() and newterm(),
3002 by checking for $NCURSES_TRACE environment variable and enabling
3003 the debug trace in that case.
3004 + modify setupterm() to ensure that it initializes the baudrate, for
3005 applications such as tput (report by Frank Henigman).
3006 + modify definition of bits used for command-line and library debug
3007 traces to avoid overlap, using new definition TRACE_SHIFT to relate
3009 + document tput's interpretation of parameterized strings according to
3010 whether parameters are given, etc. (discussion with Robert De Bath).
3012 20021005 pre-release
3013 + correct winnwstr() to account for non-character cells generated when
3014 a double-width character is added (report by Michael Bienia
3015 <michael@vorlon.ping.de>).
3016 + modify _nc_viswbuf2n() to provide better results using wctomb().
3017 + correct logic in _nc_varargs() which broke tracing of parameters for
3018 formats such as "%.*s".
3019 + correct scale factor in linux-c and linux-c-nc terminfo entries
3020 (report Floyd Davidson).
3021 + change tic -A option to -t, add the same option to infocmp for
3023 + correct "%c" implementation in lib_tparm.c, which did not map a null
3024 character to a 128 (cf: 980620) (patch by Frank Henigman
3025 <fjhenigman@mud.cgl.uwaterloo.ca>).
3027 20020928 pre-release
3028 + modify MKkey_defs.sh to check for POSIX sort -k option, use that if
3029 it is found, to accommodate newer utility which dropped the
3030 compatibility support for +number options (reported by Andrey A
3032 + modify linux terminfo entry to use color palette feature from
3033 linux-c-nc entry (comments by Tomasz Wasiak and Floyd Davidson).
3034 + restore original color definitions in endwin() if init_color() was
3035 used, and resume those colors on the next doupdate() or refresh()
3036 (report by Tomasz Wasiak <tjwasiak@komputom.com.pl>).
3037 + improve debug-traces by modifying MKlib_gen.sh to generate calls
3038 to returnBool() and returnAttr().
3039 + add/use _nc_visbufn() and _nc_viswbufn() to limit the debug trace
3040 of waddnstr() and similar functions to match the parameters as used.
3041 + add/use _nc_retrace_bool() and _nc_retrace_unsigned().
3042 + correct type used by _nc_retrace_chtype().
3043 + add debug traces to some functions in lib_mouse.c
3044 + modify lib_addch.c to handle non-spacing characters.
3045 + correct parameter of RemAttr() in lib_bkgd.c, which caused the c++
3046 demo's boxes to lose the A_ALTCHARSET flag (broken in 20020629).
3047 + correct width computed in _tracedump(), which did not account for
3048 the attributes (broken in 20010602).
3049 + modify test/tracemunch to replace addresses for windows other than
3050 curscr, newscr and stdscr with window0, window1, etc.
3052 20020921 pre-release
3053 + redid fix for edit_man.sed path.
3054 + workaround for Cygwin bug which makes subprocess writes to stdout
3055 result in core dump.
3056 + documented getbegx(), etc.
3057 + minor fixes to configure script to use '%' consistently as a sed
3058 delimiter rather than '@'.
3059 > patch by Philippe Blain:
3060 + add check in lib_overlay.c to ensure that the windows to be merged
3061 actually overlap, and in copywin(), limit the area to be touched
3062 to the lines given for the destination window.
3064 20020914 pre-release
3065 + modified curses.h so that if the wide-character version is installed
3066 overwriting /usr/include/curses.h, and if it relied on libutf8.h,
3067 then applications that use that header for wide-character support
3068 must define HAVE_LIBUTF8_H.
3069 + modify putwin(), getwin() and dupwin() to allow them to operate on
3070 pads (request by Philippe Blain).
3071 + correct attribute-merging in wborder(), broken in 20020216 (report
3072 by Tomasz Wasiak <tjwasiak@grubasek.komputom.com.pl>).
3073 > patch by Philippe Blain:
3074 + corrected pop-counts in tparam_internal() to '!' and '~' cases.
3075 + use sizeof(NCURSES_CH_T) in one place that used sizeof(chtype).
3076 + remove some unused variables from mvcur test-driver.
3078 20020907 pre-release
3079 + change configure script to allow install of widec-character
3080 (ncursesw) headers to overwrite normal (ncurses) headers, since the
3081 latter is a compatible subset of the former.
3082 + fix path of edit_man.sed in configure script, needed to regenerate
3083 html manpages on Debian.
3084 + fix mismatched enums in vsscanf.c, which caused warning on Solaris.
3085 + update README.emx to reflect current patch used for autoconf.
3086 + change web- and ftp-site to invisible-island.net
3087 > patch by Philippe Blain:
3088 + change case for 'P' in tparam_internal() to indicate that it pops
3089 a variable from the stack.
3090 + correct sense of precision and width in parse_format(), to avoid
3092 + modify lib_tparm.c, absorb really_get_space() into get_space().
3093 + modify getwin() and dupwin() to copy the _notimeout, _idlok and
3094 _idcok window fields.
3095 + better fix for _nc_set_type(), using typeMalloc().
3097 20020901 pre-release
3098 + change minor version to 3, i.e., ncurses 5.3
3099 + update config.guess, config.sub
3100 + retest build with each configure option; minor ifdef fixes.
3101 + make keyname() return a null pointer rather than "UNKNOWN STRING" to
3103 + modify handling of wide line-drawing character functions to use the
3104 normal line-drawing characters when not in UTF-8 locale.
3105 + add check/fix to comp_parse.c to suppress warning about missing acsc
3106 string. This happens in configurations where raw termcap information
3107 is processed; tic already does this and other checks.
3108 + modify tic's check for ich/ich1 versus rmir/smir to only warn about
3109 ich1, to match xterm patch #70 notes.
3110 + moved information for ripped-off lines into SCREEN struct to allow
3111 use in resizeterm().
3112 + add experimental wgetch_events(), ifdef'd with NCURSES_WGETCH_EVENTS
3113 (adapted from patch by Ilya Zakharevich - see ncurses/README.IZ).
3114 + amend check in kgetch() from 20020824 to look only for function-keys,
3115 otherwise escape sequences are not resolved properly.
3116 > patch by Philippe Blain:
3117 + removed redundant assignment to SP->_checkfd from newterm().
3118 + check return-value of setupterm() in restartterm().
3119 + use sizeof(NCURSES_CH_T) in a few places that used sizeof(chtype).
3120 + prevent dupwin() from duplicating a pad.
3121 + prevent putwin() from writing a pad.
3122 + use typeRealloc() or typeMalloc() in preference to direct calls on
3126 + add a check in kgetch() for cooked characters in the fifo to avoid
3127 calling fifo_push() when a KEY_RESIZE is available (report/analysis
3128 by Sam Varshavchik <mrsam@courier-mta.com>).
3129 + fix an overlooked case for bugzilla #68199 (Philippe Blain).
3130 + ensure clearerr() is called before using ferror() e.g., in
3131 lib_screen.c (report by Philippe Blain).
3134 + modify lib_screen.c and lib_newwin.c to maintain the SCREEN-specific
3135 pointers for curscr/stdscr/newscr when scr_save() and scr_restore()
3136 modify the global curscr/stdscr/newscr variables. Fixes Redhat
3137 bugzilla #68199 dated 2002-07-07.
3138 + add checks for null pointer in calls to tparm() and tgoto() based on
3139 FreeBSD bug report. If ncurses were built with termcap support, and
3140 the first call to tgoto() were a zero-length string, the result would
3141 be a null pointer, which was not handled properly.
3142 + correct a typo in terminfo.head, which gave the octal code for colon
3144 + remove the "tic -u" option from 20020810, since it did not account
3145 for nested "tc=" clauses, and when that was addressed, was still
3149 + add tic -A option to suppress capabilities which are commented out
3150 when translating to termcap.
3151 + add tic -u option to provide older behavior of "tc=" clauses.
3152 + modified tic to expand all but the final "tc=" clause in a termcap
3153 entry, to accommodate termcap libraries which do not handle multiple
3155 + correct typo in curs_inopts.3x regarding CS8/CS7 usage (report by
3157 + remove a couple of redundant uses of A_ATTRIBUTES in expressions
3158 using AttrOf(), which already incorporates that mask (report by
3160 + document TABSIZE variable.
3161 + add NCURSES_ASSUMED_COLORS environment variable, to allow users to
3162 override compiled-in default black-on-white assumption used in
3163 assume_default_colors().
3164 + correct an off-by-one comparison against max_colors in COLORFGBG
3166 + correct a use of uninitialized memory found by valgrind (reported by
3167 Olaf Buddenhagen <olafBuddenhagen@web.de>).
3168 + modified wresize() to ensure that a failed realloc will not corrupt
3169 the window structure, and to make subwindows fit within the resized
3170 window (completes Debian #87678, #101699)
3173 + fix an off-by-one in lib_pad.c check for limits of pad (patch by
3175 + revise logic for BeOS in lib_twait.c altered in 20011013 to restore
3176 logic used by lib_getch.c's support for GPM or EMX mouse (report by
3178 + remove NCURSES_CONST from several prototypes in curses.wide, to make
3179 the --enable-const --enable-widec configure options to work together
3180 (report by George Goffe <grgoffe@yahoo.com>).
3183 + finish no-leak checking in cardfile.c, using this for testing changes
3185 + simplify _nc_freeall() using delscreen().
3188 + check error-return from _nc_set_tty_mode() in _nc_initscr() and
3189 reset_prog_mode() (report/patch by Philippe Blain).
3190 + regenerate configure using patch for autoconf 2.52, to address
3191 problem with identifying C++ bool type.
3192 + correct/improve logic to produce an exit status for errors in tput,
3193 which did not exit with an error when told to put a string not in the
3194 current terminfo entry (report by David Gomez <david@pleyades.net>).
3195 + modify configure script AC_OUTPUT() call to work around defect in
3196 autoconf 2.52 which adds an ifdef'd include to the generated
3197 configure definitions.
3198 + remove fstat() check from scr_init(), which also fixes a missing
3199 include for <sys/stat.h> from 20020713 (reported by David Ellement,
3200 fix suggested by Philippe Blain).
3201 + update curs_scanw.3x manpage to note that XSI curses differs from
3202 SVr4 curses: return-values are incompatible.
3203 + correct several prototypes in manpages which used const
3204 inconsistently with the curses.h file, and removed spurious const's
3205 in a few places from curses.h, e.g., for wbkgd() (report by Glenn
3206 Maynard <glenn@zewt.org>).
3207 + change internal type used by tparm() to long, to work with LP64 model.
3208 + modify nc_alloc.h to allow building with g++, for testing.
3211 + add resize-handling to cardfile.c test program.
3212 + altered resizeterm() to avoid having it fail when a child window
3213 cannot be resized because it would be larger than its parent. (More
3214 work must be done on this, but it works well enough to integrate).
3215 + improve a limit-check in lib_refresh.c
3216 + remove check in lib_screen.c relating dumptime to file's modification
3217 times, since that would not necessarily work for remotely mounted
3219 + modify lrtest to simplify debugging changes to resizeterm, e.g.,
3220 t/T commands to enable/disable tracing.
3221 + updated status of multibyte support in TO-DO.
3222 + update contact info in source-files (patch by Juergen Pfeifer).
3225 + add Caps.hpux11, as an example.
3226 + modify version_filter(), used to implement -R option for tic and
3227 infocmp, to use computed array offsets based on the Caps.* file which
3228 is actually configured, rather than constants which correspond to
3230 + reorganized lib_raw.c to avoid updating SP and cur_term state if the
3231 functions fail (reported by Philippe Blain).
3232 + add -Wundef to gcc warnings, adjust a few ifdef's to accommodate gcc.
3235 + correct parameters to setcchar() in ncurses.c (cf: 20020406).
3236 + set locale in most test programs (view.c and ncurses.c were the
3238 + add configure option --with-build-cppflags (report by Maksim A
3239 Nikulin <M.A.Nikulin@inp.nsk.su>).
3240 + correct a typo in wide-character logic for lib_bkgnd.c (Philippe
3242 + modify lib_wacs.c to not cancel the acsc, smacs, rmacs strings when
3243 in UTF-8 locale. Wide-character functions use Unicode values, while
3244 narrow-character functions use the terminfo data.
3245 + fix a couple of places in Ada95/samples which did not compile with
3247 + modify mkinstalldirs so the DOS-pathname case is locale-independent.
3248 + fix locale problem in MKlib_gen.sh by forcing related variables to
3249 POSIX (C), using same approach as autoconf (set variables only if
3250 they were set before). Update MKterminfo.sh and MKtermsort.sh to
3254 + add charset to generated html.
3255 + add mvterm entry, adapted from a FreeBSD bug-report by Daniel Rudy
3256 <dcrudy@pacbell.net> -TD
3257 + add rxvt-16color, ibm+16color entries -TD
3258 + modify check in --disable-overwrite option so that it is used by
3259 default unless the --prefix/$prefix value is not /usr, in attempt to
3260 work around packagers, e.g., for Sun's freeware, who do not read the
3264 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
3265 key code in get_wch().
3266 + extended resize-handling in test/ncurses 'a' menu to the entire
3267 stack of windows created with 'w' commands.
3268 + improve $COLORFGBG feature by interpreting an out-of-range color
3269 value as an SGR 39 or 49, for foreground/background respectively.
3270 + correct a typo in configure --enable-colorfgbg option, and move it
3271 to the experimental section (cf: 20011208).
3274 + add logic to dump_entry.c to remove function-key definitions that do
3275 not fit into the 1023-byte limit for generated termcaps. This makes
3277 + more improvements to tic's warnings, including logic to ignore
3278 differences between delay values in sgr strings.
3279 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
3280 accommodate Caps.osf1r5 which introduced a conflicting definition.
3283 + add simple resize-handling in test/ncurses.c 'a' menu.
3284 + fixes in keyname() and _tracechar() to handle negative values.
3285 + make tic's warnings about mismatches in sgr strings easier to follow.
3286 + correct tic checks for number of parameters in smgbp and smglp.
3287 + improve scoansi terminfo entry, and add scoansi-new entry -TD
3288 + add pcvt25-color terminfo entry -TD
3289 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
3290 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
3291 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
3292 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
3295 + correct and simplify logic for lib_pad.c change in 20020518 (reported
3299 + fix lib_pad.c for case of drawing a double-width character which
3300 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
3301 <lerdsuwa@users.sourceforge.net>)
3302 + modify configure script to work around broken gcc 3.1 "--version"
3303 option, which adds unnecessary trash to the requested information.
3304 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
3305 (reported by Ben Decker <deckerben@freenet.de>).
3308 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
3309 character versions as well.
3310 + implement erasewchar(), killwchar() based on erasechar() and
3312 + modify erasechar() and killchar() to return ERR if the value was
3314 + correct a bug in wresize() in handling subwindows (based on patch by
3315 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
3316 <scott@gossamer-threads.com>).
3317 + improve test/tclock.c by making the second-hand update more often
3318 if gettimeofday() is available.
3321 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
3322 Tsouladze <andyt@mypoints.com>).
3325 + correct return-value from getcchar(), making it consistent with
3327 + reorder loops that generate makefile rules for different models vs
3328 subsets so configure --with-termlib works again. This was broken by
3329 logic added to avoid duplicate rules in changes to accommodate cygwin
3330 dll's (reported by George.R.Goffe@seagate.com).
3331 + update config.guess, config.sub
3334 + modify ifdef's in write_entry.c to allow use of symbolic links on
3335 platforms with no hard links, e.g., BeOS.
3336 + modify a few includes to allow compile with BeOS, which has stdbool.h
3337 with a conflicting definition for 'bool' versus its OS.h definition.
3338 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
3339 alias for 'function'.
3342 + correct form of prototype for ripoffline().
3343 + modify MKlib_gen.sh to test that all functions marked as implemented
3347 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
3348 + implement wgetn_wstr().
3349 + implement win_wchnstr().
3350 + remove redefinition of unget_wch() in lib_gen.c (reported by
3351 Jungshik Shin <jshin@jtan.com>).
3354 + modified several of the test programs to allow them to compile with
3355 vendor curses implementations, e.g., Solaris, AIX -TD
3358 + modified test/configure to allow configuring against ncursesw.
3359 + change WACS_xxx definition to use address, to work like Tru64 curses.
3362 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
3363 effect of echo/noecho and meta modes.
3364 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
3366 + add manpage: curs_get_wch.3x
3367 + implement unget_wch().
3368 + implement wget_wch().
3371 + regenerated html manpages.
3372 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
3373 + implement wins_wch().
3374 + implement win_wch().
3375 + implement wins_nwstr(), wins_wstr().
3378 + add manpages: curs_addwstr.3x, curs_winwstr.3x
3379 + implement winnwstr(), winwstr().
3382 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
3383 + document wunctrl, key_name.
3384 + implement key_name().
3385 + remove const's in lib_box.c incorrectly leftover after splitting off
3387 + update llib-lncurses, llib-ncursesw, fix configure script related to
3391 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
3392 in spurious symlinks on install.
3395 + implement whline_set(), wvline_set(), add manpage curs_border_set.
3396 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
3397 box() and box_set() functions.
3398 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
3399 given UTF-8 string equivalents of WACS_xxx symbols.
3400 + minor fixes to several manpages based on groff -ww output.
3401 + add descriptions of external variables of termcap interface to
3402 the manpage (report by Bruce Evans <bde@zeta.org.au>).
3403 > patches by Bernhard Rosenkraenzer:
3404 + correct configure option --with-bool, which was executed as
3406 + add quotes for parameters of --with-bool and --with-ospeed configure
3408 > patch by Sven Verdoolaege (report by Gerhard Haering
3409 <haering_linux@gmx.de>):
3410 + correct typos in definitions of several wide-character macros:
3411 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
3413 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
3414 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
3417 + implement wide-acs characters for UTF-8 locales. When in UTF-8
3418 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
3420 + correct prototype in keybound manpage (noted from a Debian mailing
3424 + add several cases to the wscanw() example in testcurs.c, showing the
3426 + implement a simple vsscanf() fallback function which uses the %n
3427 conversion to help parse the input data (prompted by discussion with
3428 Albert Chin-A-Young).
3429 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
3430 shared libraries, and to use $(CFLAGS) when linking test programs
3431 (patch by Albert Chin-A-Young).
3432 + add a call to _nc_keypad() in keypad() to accommodate applications
3433 such as nvi, which use curses for output but not for input (fixes
3434 Debian #131263, cf: 20011215).
3435 + add entrypoints to resizeterm.c which provide better control over the
3436 process: is_term_resized() and resize_term(). The latter restores
3437 the original design of resizeterm() before KEY_RESIZE was added in
3438 970906. Do this to accommodate 20010922 changes to view.c, but allow
3439 for programs with their own sigwinch handler, such as lynx (reported
3440 by Russell Ruby <russ@math.orst.edu>).
3443 + fix a typo in change to mk-1st.awk, which broke the shared-library
3444 makefile rules (reported by Martin Mokrejs).
3447 + update config.guess, config.sub
3448 + finish changes needed to build dll's on cygwin.
3449 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
3452 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
3453 + correct missing sed-editing stage in manpage installs which is used
3454 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
3456 + remove -L$(libdir) from linker flags, probably not needed any more
3457 since HPUX is handled properly (reported by Niibe Yutaka
3459 + add configure check for mbstate_t, needed for wide-character
3460 configuration. On some platforms we must include <wchar.h> to
3461 define this (reported by Daniel Jacobowitz).
3462 + incorporate some of the changes needed to build dll's on cygwin.
3465 + workaround for awk did not work with mawk, adjusted shell script.
3468 + add Caps.osf1r5, as an example.
3469 + modify behavior of can_clear_with() so that if an application is
3470 running in a non-bce terminals with default colors enabled, it
3471 returns true, allowing the user to select/paste text without picking
3472 up extraneous trailing blanks (adapted from patch by Daniel
3473 Jacobowitz <dmj+@andrew.cmu.edu>).
3474 + modify generated curses.h to ifdef-out prototypes for extensions if
3475 they are disabled, and to define curses_version() as a string in that
3476 case. This is needed to make the programs such as tic build in that
3478 + modified generated headers.sh to remove a gzip'd version of the
3479 target file if it exists, in case non-gzip'd manpages are installed
3480 into a directory where gzip'd ones exist. In that case, the latter
3482 + corrected a redundant initialization of signal handlers from 20010922
3484 + clarified bug-reporting address in terminfo.src (report by John H
3485 DuBois III <spcecdt@armory.com>).
3486 > several fixes from Robert Joop:
3487 + do not use "-v" option of awk in MKkey_defs.sh because it does not
3488 work with SunOS nawk.
3489 + modify definitions for libutf8 in curses.h to avoid redefinition
3491 + quoted references to compiler in shell command in misc/Makefile, in
3492 case it uses multiple tokens.
3495 + restore special case from 20010922 changes to omit SA_RESTART when
3496 setting up SIGWINCH handler, which is needed to allow wgetch() to be
3497 interrupted by that signal.
3498 + update configure macro CF_WITH_PATHLIST, to omit some double quotes
3499 not needed with autoconf 2.52
3500 + revert configure script to autoconf 2.13 patched with
3501 autoconf-2.13-19990117.patch.gz (or later)
3503 ftp://invisible-island.net/autoconf/
3504 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
3505 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
3506 different problem configuring with Mac OS X (reported by Marc Smith
3507 <marc.a.smith@home.com>).
3510 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
3512 + move prototype for _nc_vsscanf() into curses.h.in to omit
3513 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
3514 ncurses_cfg.h file which is not installed.
3515 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
3516 to work with broken linker configuration, e.g., cygwin (report by
3517 Robert Joop <rj@rainbow.in-berlin.de>).
3518 + make napms() call _nc_timed_wait() rather than poll() or select(),
3519 to work around broken implementations of these on cygwin.
3522 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
3523 by Sven Verdoolaege's rewrite of wide-character support. This makes
3524 libncursesw incompatible again, but makes the header files almost the
3525 same as in the narrow-character configuration.
3526 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
3527 to eliminate differences between the wide/narrow versions of curses.h
3528 + correct typo in configure macro CF_FUNC_VSSCANF
3529 + correct location of call to _nc_keypad() from 20011215 changes which
3530 prevented keypad() from being disabled (reported by Lars Hecking).
3533 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
3534 better, e.g., by adding a 'w' command to create new windows which
3535 may have different keypad() settings.
3536 + corrected logic of keypad() by adding internal screen state to track
3537 whether the terminal's keypad-mode has been set. Use this in
3538 wgetch() to update the keypad-mode according to whether the
3539 associated window's keypad-mode has been set with keypad(). This
3540 corrects a related problem restoring terminal state after handling
3541 SIGTSTP (reported by Mike Castle).
3542 + regenerate configure using patch for autoconf 2.52
3543 autoconf-2.52-patch.gz
3545 ftp://invisible-island.net/autoconf/
3546 + update config.guess, config.sub from
3547 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
3548 + minor changes to quoting in configure script to allow it to work
3552 + modify final checks in lib_setup.c for line and col values, making
3554 + modify acs_map[] if configure --broken-linker is specified, to make
3555 it use a function rather than an array (prompted by an incorrect
3556 implementation in cygwin package).
3557 + correct spelling of configure option --enable-colorfgbg, which
3558 happened to work if --with-develop was set (noted in cygwin package
3560 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
3561 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
3562 + add configure checks to see if ncurses' fallback vsscanf() will
3563 compile either of the special cases for FILE structs, and if not,
3564 force it to the case which simply returns an error (report by
3565 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
3566 64-bits does not allow access to FILE's fields).
3567 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
3568 the ncurses library if no better substitute for this can be found
3570 + modify the build to name dynamic libraries according to the
3571 convention used on OS X and Darwin. Rather than something like
3572 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
3573 There are a few additional minor fixes, such as setting the library
3574 version and compatibility version numbers (patch by Jason Evans
3575 <jevans@apple.com>).
3576 + use 'sh' to run mkinstalldirs, to work around problems with buggy
3577 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
3578 + correct typo in manpage description of curs_set() (Debian #121548).
3579 + replace the configure script existence-check for mkstemp() by one
3580 that checks if the function works, needed for older glibc and
3584 + modify script that generates fallbacks.c to compile a temporary
3585 copy of the terminfo source in case the host does not contain all of
3586 the entries requested for fallbacks (request by Greg Roelofs).
3587 + modify configure script to accommodate systems such as Mac OS X whose
3588 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
3589 which normally makes 'bool' consistent with C++. Include <stdbool.h>
3590 from curses.h to force consistent usage, define a new type
3591 NCURSES_BOOL and related that to the exported 'bool' as either a
3592 typedef or definition, according to whether <stdbool.h> is present
3593 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
3596 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
3599 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3600 (Benjamin C W Sittler).
3601 + add putty terminfo entry -TD
3602 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
3603 this may not otherwise be defined to make test/view.c compile.
3606 + review/correct several missing/generated items in curses.wide, sorted
3607 the lists to make subsequent diff's easier to track.
3610 + add manual pages for add_wch(), echo_wchar(), getcchar(),
3611 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
3612 + implement wecho_wchar()
3613 + modify _tracedump() to handle wide-characters by mapping them to '?'
3614 and control-characters to '.', to make the trace file readable. Also
3615 dynamically allocate the buffer used by _tracedump() for formatting
3617 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
3618 in a trace by using curly braces.
3619 + implement _nc_viscbuf(), for tracing cchar_t arrays.
3620 + correct trace-calls in setcchar() and getcchar() functions, which
3621 traced the return values but not the entry to each function.
3622 + correct usage message in test/view.c, which still mentioned -u flag.
3625 + modify configure script to allow building with termcap only, or with
3626 fallbacks only. In this case, we do not build tic and toe.
3627 + add configure --with-termpath option, to override default TERMPATH
3628 value of /etc/termcap:/usr/share/misc/termcap.
3629 + cosmetic change to tack: make menu descriptions agree with menu
3633 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
3634 to ensure that if the parameter of wscrl() is larger than the size of
3635 the scrolling region, then the scrolling region will be cleared
3636 (report by Ben Kohlen <bckohlen@yahoo.com>).
3637 + add trace/varargs.c, using this to trace parameters in lib_printw.c
3638 + implement _tracecchar_t2() and _tracecchar_t().
3639 + split-out trace/visbuf.c
3640 + correct typo in lib_printw.c changes from 20010922 (report by Mike
3644 + modify run_tic.sh to check if the build is a cross-compile. In that
3645 case, do not use the build's tic to install the terminfo database
3646 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
3647 + modify mouse click resolution so that mouseinterval(-1) will disable
3648 it, e.g., to handle touchscreens via a slow connection (request by
3649 Byron Stanoszek <gandalf@winds.org>).
3650 + correct mouseinterval() default value shown in curs_mouse.3x
3651 + remove conflicting definition of mouse_trafo() (reported by Lars
3652 Hecking, using gcc 2.95.3).
3655 + simpler fix for signal_name(), to replace the one overlooked in
3656 20010929 (reported by Larry Virden).
3659 + add -i option to view.c, to test ncurses' check for non-default
3660 signal handler for SIGINT, etc.
3661 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
3662 <bbraun@synack.net>).
3663 + modify tset to restore original I/O modes if an error is encountered.
3664 Also modify to use buffered stderr consistently rather than mixing
3666 + change signal_name() function to use if-then-else rather than case
3667 statement, since signal-values aren't really integers (reported by
3669 + add limit checks in wredrawln(), fixing a problem where lynx was
3670 repainting a pad which was much larger than the screen.
3673 + fix: PutRange() was counting the second part of a wide character as
3674 part of a run, resulting in a cursor position that was one too far
3675 (patch by Sven Verdoolaege).
3676 + modify resizeterm() to not queue a KEY_RESIZE if there was no
3677 SIGWINCH, thereby separating the two styles of SIGWINCH handling
3679 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
3680 + eliminate several static buffers in the terminfo compiler, using
3682 + modify MKkeyname.awk so that keyname() does not store its result into
3683 a static buffer that is overwritten by the next call.
3684 + reorganize the output of infocmp -E and -e options to compile cleanly
3685 with gcc -Wwrite-strings warnings.
3686 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
3689 + add label to test/view.c, showing the name of the last key or signal
3690 that made the screen repaint, to make it clearer when a sigwinch
3692 + use ExitProgram() consistently in the test-programs to make it
3693 simpler to test leaks with dmalloc, etc.
3694 + move hashtab static data out of hashmap.c into SCREEN struct.
3695 + make NO_LEAK code compile with revised WINDOWLIST structs.
3698 + modify tgetent() to check if exit_attribute_mode resets the alternate
3699 character set, and if so, attempt to adjust the copy of the termcap
3700 "me" string which it will return to eliminate that part. In
3701 particular, 'screen' would lose track of line-drawing characters
3702 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
3706 + specify DOCTYPE in html manpages.
3707 + add missing macros for several "generated" functions: attr_get(),
3708 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
3710 + modify view.c to agree with non-experimental status of ncurses'
3712 + change the sense of the -r option, making it default to ncurses'
3714 + add a note explaining what functions are unsafe in a signal
3716 + add a -c option, to set color display, for testing.
3717 + unset $data variable in MKterminfo.sh script, to address potential
3718 infinite loop if shell malfunction (report by Samuel Mikes
3719 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
3720 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
3721 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
3722 + correct logic for COLORFGBG environment variable: if rxvt is compiled
3723 with xpm support, the variable has three fields, making it slightly
3724 incompatible with itself. In either case, the background color is
3728 + move calls to def_shell_mode() and def_prog_mode() before loop with
3729 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
3730 the tty modes before saving them (patch by John David Anglin
3731 <dave@hiauly1.hia.nrc.ca>).
3732 + duplicate logic used to initialize trace in newterm(), in initscr()
3733 to avoid confusing trace of initscr().
3734 + simplify allocation of WINDOW and WINDOWLIST structs by making the
3735 first a part of the second rather than storing a pointer. This saves
3736 a call to malloc for each window (discussion with Philippe Blain).
3737 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
3739 + modify c++/Makefile.in to accommodate archive programs that are
3740 different for C++ than for C, and add cases for vendor's C++
3741 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
3742 + correct manpage description of criteria for deciding if the terminal
3743 supports xterm mouse controls.
3744 + add several configure script options to aid with cross-compiling:
3745 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
3746 --with-build-libs (request by Greg Roelofs).
3747 + change criteria for deciding if configure is cross-compiling from
3748 host/build mismatch to host/target mismatch (request by Greg Roelofs
3749 <greg.roelofs@philips.com>).
3750 + correct logic for infocmp -e and -E options which writes the data for
3751 the ext_Names[] array. This is needed if one constructs a fallback
3752 table for a terminfo entry which uses extended termcap names, e.g.,
3753 AX in a color xterm.
3754 + fix undefined NCURSES_PATHSEP when configure --disable-database
3758 + fix for VALID_BOOLEAN() macro when char is not signed.
3759 + modify 'clean' rule for C++ binding to work with Sun compiler, which
3760 caches additional information in a subdirectory of the objects.
3761 + added llib-ncursesw.
3764 + add Caps.keys example for experimental extended function keys
3765 (adapted from a patch by Ilya Zakharevich).
3766 + correct parameter types of vidputs() and vidattr() to agree with
3767 header files (report by William P Setzer).
3768 + fix typos in several man-pages (patch by William P Setzer).
3769 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
3770 macro, which made ncurses C++ binding fail to build with other
3771 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
3772 + workaround for bug in HPUX 11.x C compiler: add a blank after
3773 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
3774 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
3775 Albert Chin-A-Young).
3776 + correct definition of key_end in Caps.aix4, which left KEY_END
3777 undefined (report by Albert Chin-A-Young).
3778 + remove a QNX-specific fallback prototype for vsscanf(), which is
3779 obsolete with QNX RTP.
3780 + review/fix some of the T() and TR() macro calls, having noticed that
3781 there was no data for delwin() in a trace of dialog because there was
3782 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
3783 now selected under TRACE_IEVENT rather than TRACE_CALLS.
3786 + add a _nc_access() check before opening files listed via $TERMPATH.
3787 + using modified man2html, regenerate some of the html manpages to fix
3788 broken HREF's where the link was hyphenated.
3791 + add some limit/pointer checks to -S option of tputs.
3792 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
3793 (Benjamin C W Sittler).
3794 + add a note in curs_termcap.3x regarding a defect in the XSI
3795 description of tgetent (based on a discussion with Urs Jansen
3796 regarding the HPUX 11.x implementation, whose termcap interface is
3797 not compatible with existing termcap programs).
3798 + modify manhtml rule in dist.mk to preserve copyright notice on the
3799 generated files, as well as to address HTML style issues reported by
3800 tidy and weblint. Regenerated/updated corresponding html files.
3801 + comment out use of Protected_Character and related rarely used
3802 attributes in ncurses Ada95 test/demo to compile with wide-character
3806 + implement a simple example in C++ demo to test scanw().
3807 + corrected stdio function used to implement scanw() in cursesw.cc
3808 + correct definition of RemAttr() macro from 20010602 changes, which
3809 caused C++ SillyDemo to not show line-drawing characters.
3810 + modify C++ binding, adding getKey() which can be overridden by user
3811 to substitute functions other than getch() for keyboard processing
3812 of forms and menus (patch by Juergen Pfeifer).
3815 + fix some of the trace calls which needed modification to work with
3816 new wide-character structures.
3817 + modify magic-cookie code in tty_update.c to compile with new
3818 wide-character structures (report by <George.R.Goffe@seagate.com>).
3819 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
3820 compiling for wide-character configuration.
3821 + make addwnstr() handle non-spacing characters (patch by Sven
3825 + add configure check to define _GNU_SOURCE, needed to prop up glibc
3827 + split-out include/curses.wide to solve spurious redefinitions caused
3828 by defining _GNU_SOURCE, and move includes for <signal.h> before
3829 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
3831 + extended ospeed change to NetBSD and OpenBSD -TD
3832 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
3833 work properly for termcap applications (patch by Andrey A Chernov).
3836 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
3837 <eugene@anime.net>, Sven Verdoolaege).
3838 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
3841 + change overlooked several CharOf/UChar instances.
3842 > several patches from Sven Verdoolaege:
3843 + correct a typo in wunctrl(), which made it appear that botwc() was
3844 needed (no such function: use btowc()).
3845 + reimplement wide-character demo in test/view.c, using new functions.
3846 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
3847 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
3850 + add parentheses in macros for malloc in test.priv.h, fixes an
3851 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
3852 + add Caps.uwin, as an example.
3853 + change the way curses.h is generated, making the list of function
3854 key definitions extracted from the Caps file.
3855 + add #undef's before possible redefinition of ERR and OK in curses.h
3856 + modify logic in tic, toe, tput and tset which checks for basename of
3857 argv[0] to work properly on systems such as OS/2 which have
3858 case-independent filenames and/or program suffixes, e.g., ".ext".
3861 + add a configure check, if --enable-widec is specified, for putwc(),
3862 which may be in libutf8.
3863 + remove some unnecessary text from curs_extend.3x and
3864 default_colors.3x which caused man-db to make incorrect symbolic
3865 links (Debian bug report #99550).
3866 + add configure check if cast for _IO_va_list is needed to compile
3867 C++ vscan code (Debian bug report #97945).
3868 > several patches from Sven Verdoolaege:
3869 + correct code that used non-standard auto-initialization of a struct,
3870 which gcc allows (report by Larry Virden).
3871 + use putwc() in PUTC() macro.
3872 + make addstr() work for the special case where the codeset is
3873 non-stateful (eg. UTF-8), as well as stateful codesets.
3876 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
3877 from 20010602 (report by Mike Castle).
3880 + modify mvcur() to avoid emitting newline characters when nonl() mode
3881 is set. Normally this is not a problem since the actual terminal
3882 mode is set to suppress nl/crlf translations, however it is useful to
3883 allow the caller to manipulate the terminal mode to avoid staircasing
3884 effects after spawning a process which writes messages (for lynx
3886 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
3887 + remove redundant type-conversion in fifo_push()
3888 + correct definition of addwstr() macro in curses.h.in
3889 + remove _nc_utf8_outch()
3890 + rename most existing uses of CharOf() to UChar(), e.g., where it is
3891 used to prevent sign-extension in ctype macros.
3892 + change some chtype's to attr_t's where the corresponding variables
3893 are used to manipulate attributes.
3894 + UpdateAttr() was applied to both attributes (attr_t) and characters
3895 (chtype). Modify macro and calls to it to make these distinct.
3896 + add CharEq() macro, use in places where wide-character configuration
3897 implementation uses a struct for cchar_t.
3898 + moved struct ldat into curses.priv.h, to hide implementation details.
3899 + change CharOf() macro to use it for masking A_CHARTEXT data from
3901 + add L() macro to curses.priv.h, for long-character literals.
3902 + replace several assignments from struct ldat entries to chtype or
3903 char values with combinations of CharOf() and AttrOf() macros.
3904 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
3905 we are using chtype data.
3906 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
3908 + add/use SetChar() macro, to change a cchar_t based on a character and
3910 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
3911 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
3912 where a pointer would be more useful.
3913 + add stubs for tracing cchar_t values.
3914 + add/use macro ISBLANK()
3915 + add/use constructors for cchar_t's: NewChar(), NewChar2().
3916 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
3917 passing cchar_t's by address.
3918 + add/use PUTC_DATA, PUTC() macros.
3919 + for wide-character configuration, move the window background data to
3920 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
3921 is defined or not, the offsets in the struct will not change.
3922 + modify addch() to work with wide-characters.
3923 + mark several wide-character functions as generated in curses.h.in
3924 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
3925 wborder_set() and waddnwstr().
3928 + add experimental --with-caps=XXX option to customize to similar
3929 terminfo database formats such as AIX 4.x
3930 + add Caps.aix4 as an example.
3931 + modify Caps to add columns for the the KEY_xxx symbols.
3932 + modify configure --with-widec to suppress overwrite of libcurses.so
3934 + add checks to toe.c to avoid being confused by files and directories
3935 where we would expect the reverse, e.g., source-files in the
3936 top-level terminfo levels as is the case for AIX.
3939 + add top-level 'depend' rule for the C sources, assuming that the
3940 makedepend program is available. As a side-effect, this makes
3941 the generated sources, as in "make sources" (prompted by a report
3942 by Mike Castle that "make -j" fails because the resulting parallel
3943 processes race to generate ncurses/names.c).
3944 + modify configure script so that --disable-overwrite option's action
3945 to add a symbolic link for libcurses applies to the static library as
3946 well as the shared library when both are configured (report by Felix
3947 Natter <f.natter@ndh.net>).
3948 + add ELKS terminfo entries (Federico Bianchi
3949 <bianchi@www.arte.unipi.it>)
3950 + add u6 (CSR) to Eterm (Michael Jennings).
3953 + modify test/ncurses.c to work with xterm-256color, which has fewer
3954 color pairs than colors*colors (report by David Ellement
3955 <ellement@sdd.hp.com>).
3958 + corrected screen.xterm-xfree86 entry.
3959 + update comment in Caps regarding IBM (AIX) function-key definitions.
3962 + modify c++/Makefile.in to link with libncurses++w.a when configured
3963 for wide-characters (patch by Sven Verdoolaege).
3964 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
3965 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
3966 + update config.guess, config.sub from autoconf 2.49e (alpha).
3969 + add secondary check in tic.c, similar_sgr() to see if the reason
3970 for mismatch was that the individual capabilities used a time-delay
3971 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
3972 and remove time-delay from Apple_Terminal entries.
3973 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
3974 <bsittler@iname.com>).
3975 + correct definitions of shifted editing keys for xterm-xfree86 -TD
3976 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
3977 + prevent relative_move() from doing an overwrite if it detects 8-bit
3978 characters when configured for UTF-8 (reported by Sven Verdoolaege
3979 <skimo@kotnet.org>).
3982 + add configure checks for strstream.h vscan function, and similar
3983 stdio-based function which may be used in C++ binding for gcc 3.0
3984 (reports by George Goffe, Lars Hecking, Mike Castle).
3985 + rewrite parts of configure.in which used changequote(). That feature
3986 is broken in the latest autoconf alphas (e.g., 2.49d).
3987 + add a missing pathname for ncurses_dll.h, needed when building in
3988 a directory outside the source tree (patch by Sven Verdoolaege
3989 <skimo@kotnet.org>).
3990 > fix 2 bugs in test/bs.c Erik Sigra <sigra@home.se>:
3991 + no ships were ever placed in the last row or in the last column.
3992 This made the game very easy to win, because you never had to waste
3993 any shots there, but the computer did.
3994 + the squares around a sunken ship that belonged to the player were not
3995 displayed as already hit by the computer, like it does for the
3999 + add some examples of customizing screen's terminfo:
4000 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
4001 + modify screen's terminfo entry to match the khome/kend in screen
4002 3.09.08 (Debian bug report #92215).
4003 + correct a memory leak in forms library (report by Stefan Vogtner
4004 <stefan@vogtner.de>) (patch by Juergen Pfeifer).
4007 + change symbols used to guard against repeated includes to begin
4008 consistently with "NCURSES_" rather than a leading underscore. There
4009 are other symbols defined in the header files which begin with a
4010 leading underscore, but they are part of the legacy interface.
4011 + reorder includes in c++ binding so that rcs identifiers can be
4013 + add .cc.ii rule to c++ makefile, to get preprocessor output for
4015 + correct configure script handling of @keyword@ substitutions when the
4016 --with-manpage-renames option is given (cf: 20000715, fixes Debian
4018 + report stack underflow/overflow in tparm() when tic -cv option is
4020 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
4021 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
4024 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
4025 2.95.2, and correcting some conflicting color pair initializations.
4026 + add missing copyright notice for cursesw.h
4027 + review, make minor fixes for use of '::' for referring to C-language
4028 interface from C++ binding.
4029 + modify configure check for g++ library slightly to accommodate
4030 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
4031 <rho@mipos2.intel.com>).
4032 + add configure check for c++ <sstream> header, replace hardcoded
4034 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
4035 vscan from strstreambuf to follow standard, use wrapper for C vscanf
4036 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
4037 <taggart@carmen.fc.hp.com>, fixes Debian .
4040 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
4041 to make quieter loading of /etc/termcap (patch by Todd C Miller).
4042 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
4043 (patch by Todd C Miller).
4046 + compiler-warning fixes (reported by Nelson Beebe).
4049 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
4053 + broaden patterns used to match OS/2 EMX in configure script to cover
4054 variant used in newer config.guess/config.sub
4055 + remove changequote() calls from configure script, since this feature
4056 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
4057 + remove macro callPutChar() from tty_update.c, since this is no longer
4058 needed (reported by Philippe Blain).
4059 + add a null-pointer check in tic.c to handle the case when the input
4060 file is really empty. Modify the next_char() function in comp_scan.c
4061 to allow arbitrarily long lines, and incidentally supply a newline to
4062 files that do not end in a newline. These changes improve tic's
4063 recovery from attempts to read binary files, e.g., its output from
4064 the terminfo database (reported by Bernhard Rosenkraenzer).
4067 + revert change to c++/demo.cc from 20001209, which changed definition
4068 of main() apparently to accommodate cygwin linker, but broke the demo
4070 + workaround for broken egcs 2.91.66 which calls member functions
4071 (i.e., lines() and colors() of NCursesWindow before calling its
4072 constructor. Add calls to initialize() in a few constructors which
4073 did not do this already.
4074 + use the GNAT preprocessor to make the necessary switch between TRACE
4075 and NO_TRACE configurations (patch by Juergen Pfeifer).
4076 > patches by Bernhard Rosenkraenzer:
4077 + modify kterm terminfo entry to use SCS sequence to support alternate
4078 character set (it does not work with SI/SO).
4079 + --with-ospeed=something didn't work. configure.in checked for a
4080 $enableval where it should check for $withval. Also,
4081 ncurses/llib-lncurses still had a hardcoded short.
4084 + correction to my merge of Tom Riddle's patch that broke tic in some
4085 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
4088 + modify view.c to test halfdelay(). Like other tests, this recognizes
4089 the 's' and space commands for stopping/starting polled input, shows
4090 a freerunning clock in the header. If given a parameter to 's', that
4091 makes view.c use halfdelay() with that parameter rather than
4093 + fix to allow compile with the experimental configure option
4095 + modify postprocess_termcap() to avoid overwriting key_backspace,
4096 key_left, key_down when processing a non-base entry (report/patch by
4098 + modify _nc_wrap_entry(), adding option to reallocate the string
4099 table, needed in _nc_merge_entry() when merging termcap entries.
4100 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
4101 + modify a few configure script macros to keep $CFLAGS used only for
4102 compiler options, preprocessor options in $CPPFLAGS.
4105 + correct marker positions in lrtest.c after receiving a sigwinch.
4106 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
4107 + fixes to tclock for resizing behavior, redundant computation (report
4108 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
4111 + improved scoansi terminfo entry -TD
4112 + modify configure script and makefile in Ada95/src to compile a stub
4113 for the trace functions when ncurses does not provide those.
4116 + add ncurses_dll.h and related definitions to support generating DLL's
4117 with cygwin (adapted from a patch by Charles Wilson
4118 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
4119 work with 'indent') -TD
4122 + correct prototypes for some functions in curs_termcap.3x, matching
4123 termcap.h, which matches X/Open.
4124 > patch by Juergen Pfeifer:
4125 + a revised version of the Ada enhancements sent in by "H.
4126 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
4128 - small fixes to the existing ncurses binding
4129 - addition of some more low-level functions to the binding, including
4130 termcap and terminfo functions
4131 - An Ada implementation of the "ncurses" test application originally
4135 + modify logic in lib_setup.c to allow either lines or columns value
4136 from terminfo to be used if the screen size cannot be determined
4137 dynamically rather than requiring both (patch by Ehud Karni
4138 <ehud@unix.simonwiesel.co.il>).
4139 + add check in lib_tgoto.c's is_termcap() function to reject null or
4140 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
4142 + add definition from configure script that denotes the path-separator,
4143 which is normally a colon. The path-separator is a semicolon on
4144 OS/2 EMX and similar systems which may use a colon within pathnames.
4145 + alter logic to set default for --disable-overwrite option to set it
4146 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
4147 accommodating the most common cause of problems: gcc's nonstandard
4148 search rules. Other locations such as /usr/local/ncurses will
4149 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
4152 + modify default for --disable-overwrite configure option to disable
4153 if the --prefix or $prefix value is not /usr.
4154 + add cygwin to systems for which ncurses is installed by default into
4155 /usr rather than /usr/local.
4158 + minor optimization in comp_error.c and lib_termname.c, using
4159 strncat() to replace strncpy() (patch by Solar Designer).
4160 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
4161 geteuid() to use_terminfo_vars() (patch by Solar Designer
4163 + improved cygwin terminfo entry, based on patch by
4164 <ernie_boyd@yahoo.com>.
4165 + modify _nc_write_entry() to allow for the possibility that linking
4166 aliases on a filesystem that ignores case would not succeed because
4167 the source and destination differ only by case, e.g., NCR260VT300WPP0
4168 on cygwin (report by Neil Zanella).
4169 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
4170 Rosenkraenzer <bero@redhat.de>).
4173 + add configure option --with-ospeed to assist packagers in transition
4174 to 5.3 change to ospeed type.
4175 + add/use CharOf() macro to suppress sign-extension of char type on
4176 platforms where this is a problem in ctype macros, e.g., Solaris.
4177 + change trace output to binary format.
4178 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
4179 macro, for OS/2 EMX configuration.
4180 + rearrange a few configure macros, moving preprocessor options to
4181 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
4182 use $CPPFLAGS in both the compile and preprocessor checks).
4183 + add a check in relative_move() to guard against buffer overflow in
4184 the overwrite logic.
4187 + add message to configure script showing g++ version.
4188 + resync config.guess, config.sub
4189 + modify lib_delwin.c, making it return ERR if the window did not exist
4190 (suggested by Neil Zanella).
4191 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
4192 to test/review ncurses library. (Would use lclint, but it doesn't
4194 + reorganized knight.c to avoid forward references. Correct screen
4195 updates when backtracking, especially to the first cell. Add F/B/a
4198 20001021 5.2 release for upload to ftp.gnu.org
4199 + update generated html files from manpages.
4200 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
4202 + fix an uninitialized pointer in read_termcap.c (report by Todd C
4203 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
4204 + correct help-message and array limit in knight.c (patch by Brian
4205 Raiter <breadbox@muppetlabs.com>).
4206 > patch by Juergen Pfeifer:
4207 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
4208 for some identifiers defined in the standard package.
4209 + cosmetic change to forms/fty_enum.c
4212 + correct an off-by-one position in test/railroad.c which could cause
4213 wrapping at the right margin.
4214 + test/repair some issues with libtool configuration. Make
4215 --disable-echo force libtool --silent. (Libtool does not work for
4216 OS/2 EMX, works partly for SCO - libtool is still very specific to
4218 + change default of --with-manpage-tbl to "no", since for most of the
4219 platforms which do have tbl installed, the system "man" program
4220 understands how to run tbl automatically.
4221 + minor improvement to force_bar() in comp_parse.c (Bernhard
4222 Rosenkraenzer <bero@redhat.de>).
4223 + modify lib_tparm.c to use get_space() before writing terminating
4224 null character, both for consistency as well as to ensure that if
4225 save_char() was called immediately before, that the allocated memory
4226 is enough (patch by Sergei Ivanov).
4227 + add note about termcap ML capability which is duplicated between two
4228 different capabilities: smgl and smglr (reported by Sergei Ivanov
4229 <svivanov@pdmi.ras.ru>).
4230 + correct parameter counts in include/Caps for dclk as well as some
4231 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
4232 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
4233 + add support for building with libtool (apparently version 1.3.5,
4234 since old versions do not handle -L../lib), using new configure
4235 option --with-libtool.
4236 + add configure option --with-manpage-tbl, which causes the manpages to
4237 be preprocessed by tbl(1) prior to installation,
4238 + add configure option --without-curses-h, which causes the
4239 installation process to install curses.h as ncurses.h and make
4240 appropriate changes to headers and manpages.
4243 + correct order of options/parameters in run_tic.in invocation of tic,
4244 which did not work with standard getopt() (reported by Ethan
4245 Butterfield <primus@veris.org>).
4246 + correct logic for 'reverse' variable in lib_vidattr.c, which was
4247 setting it true without checking if newmode had A_REVERSE set, e.g.,
4248 using $TERM=ansi on OS/2 EMX (see 20000917).
4249 > patch by Todd C Miller:
4250 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
4251 Previously, _nc_cgetset() would still get called on cp so the
4252 simplest thing is to set cp to NULL if !use_terminfo_vars().
4253 + added checks for an empty $HOME environment variable.
4254 > patches for OS/2 EMX (Ilya Zakharevich):
4255 + modify convert_configure.pl to support INSTALL. Change compiler
4256 options in that script to use multithreading, needed for the mouse.
4257 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
4258 to set up a 3-button mouse.
4259 + improve code for OS/2 mouse support, using _nc_timed_wait() to
4260 replace select() call.
4263 + change type of ospeed variable back to short to match its use in
4264 legacy applications (reported by Andrey A Chernov).
4265 + add case to configure script for --enable-rpath on IRIX (patch by
4266 Albert Chin-A-Young).
4267 + minor fix to position_check() function, to ensure it gets the whole
4268 cursor report before decoding.
4269 + add configure option --disable-assumed-color, to allow pre-5.1
4270 convention of default colors used for color-pair 0 to be configured
4271 (see assume_default_colors()).
4272 + rename configure option --enable-hashmap --disable-hashmap, and
4273 reorder the configure options, splitting the experimental and
4275 + add configure option --disable-root-environ, which tells ncurses to
4276 disregard $TERMINFO and similar environment variables if the current
4277 user is root, or running setuid/setgid (based on discussion with
4279 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
4280 $TERMINFO variable for installs.
4281 + add table entry for plab_norm to tput, so it passes in strings
4282 for that capability.
4283 + modify parse_format() in lib_tparm.c to ignore precision if it is
4284 longer than 10000 (report by Jouko Pynnonen).
4285 + rewrote limit checks in lib_mvcur.c using new functions
4286 _nc_safe_strcat(), etc. Made other related changes to check lengths
4287 used for strcat/strcpy (report by Jouko Pynnonen
4288 <jouko@solutions.fi>).
4291 + modify several descriptions, including those for setaf, setab, in
4292 include/Caps to indicate that the entries are parameterized. This
4293 information is used to tell which strings are translated when
4294 converting to termcap. Fixes a problem where the generated termcap
4295 would contain a spurious "%p1" for the terminfo "%p1%d".
4296 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
4297 absolute pathname for the build tree's lib directory (prompted by
4298 discussion with Albert Chin-A-Young).
4299 + modify "make install.man" and "make uninstall.man" to include tack's
4301 + various fixes for install scripts used to support configure --srcdir
4302 and --with-install-prefix (reported by Matthew Clarke
4303 <Matthew_Clarke@mindlink.bc.ca>).
4304 + make configure script checks on variables $GCC and $GXX consistently
4305 compare against 'yes' rather than test if they are nonnull, since
4306 either may be set to the corresponding name of the C or C++ compiler
4307 (report/patch by Albert Chin-A-Young).
4310 + modify rs2 capability in xterm-r6 and similar where cursor
4311 save/restore bracketed the sequence for resetting video attributes.
4312 The cursor restore would undo that (report by John Hawkinson
4313 <jhawk@MIT.EDU> (see NetBSD misc/11052)).
4314 + using parameter check added to tic, corrected 27 typos in
4316 + modify tic to verify that its inputs are really files, in case
4317 someone tries to read a directory (or /dev/zero).
4318 + add a check for empty buffers returned by fgets() in comp_scan.c
4319 next_char() function, in case tic is run on a non-text file (fixes
4320 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
4321 + add to railroad.c some code exercising tgoto(), providing an
4322 alternate form of display if the terminal supports cursor addressing.
4323 + split-out tgoto() again, this time into new file lib_tgoto.c, and
4324 implement a conventional BSD-style tgoto() which is used if the
4325 capability string does not contain terminfo-style padding or
4326 parameters (requested by Andrey A Chernov).
4327 + add check to tic which reports capabilities that do not reference
4328 the expected number of parameters.
4329 + add error checking to infocmp's -v and -m options to ensure that
4330 the option value is indeed a number.
4331 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
4332 handler is setup. Separated the old/new sigaction data for SIGTSTP
4333 from the other signals.
4336 + add S0, E0 extensions to screen's terminfo entry, which is another
4337 way to solve the misconfiguration issue -TD
4338 + completed special case for tgoto from 20000916
4341 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
4342 + add Matrix Orbital terminfo entries (from Eric Z Ayers
4344 + add special case to lib_tparm.c to allow 'screen' program to use a
4345 termcap-style parameter "%." to tgoto() for switching character sets.
4346 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
4348 + updated notes in README.emx regarding autoconf patches.
4349 + replace a lookup table in lib_vidattr.c used to decode no_color_video
4350 with a logic expression (suggested by Philippe Blain).
4351 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
4352 character set attribute from the displayed text.
4353 + correct inequality in parameter analysis of rewritten lib_tparm.c
4354 which had the effect of ignoring p9 in set_attributes (sgr), breaking
4355 alternate character set (reported by Piotr Majka <charvel@link.pl>).
4356 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
4357 with Sun WorkShop compilers since these tokens were empty (cf:
4358 20000902, reported by Albert Chin-A-Young).
4361 + correct an uninitialized parameter to open_tempfile() in tic.c which
4362 made "tic -I" give an ambiguous error message about tmpnam.
4363 + add special case in lib_vidattr.c to reset underline and standout for
4364 devices that have no sgr0 defined (patch by Don Lewis
4365 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
4366 mode, since there is no exit-bold-mode capability.
4367 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
4368 + modify tparm to disallow arithmetic on strings, analyze the varargs
4369 list to read strings as strings and numbers as numbers.
4370 + modify tparm's internal function spop() to treat a null pointer as
4372 + modify tput program so it can be renamed or invoked via a link as
4373 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
4375 + add private entrypoint _nc_basename(), use to consolidate related
4376 code in progs, as well as accommodating OS/2 EMX pathnames.
4377 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
4378 removal (except via AC_SUBST) from configure.in, making
4379 --enable-const work again (reported by Juergen Pfeifer).
4380 + regen'd configure to pick up "hpux*" change from 20000902.
4383 + modify tset.c to check for transformed "reset" program name, if any.
4384 + add a check for null pointer in Make_Enum_Type() (reported by Steven
4385 W Orr <steveo@world.std.com>).
4386 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
4387 using strtok(), because it is non-reentrant (reported by Andrey A
4388 Chernov <ache@nagual.pp.ru>).
4389 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
4390 This differed from the "hpux*" case by using reversed symbolic
4391 links, which made the 5.1 version not match the configuration of
4392 5.0 shared libraries (reported by Albert Chin-A-Young).
4393 + correct a dependency in Ada95/src/Makefile.in which prevented
4394 building with configure --srcdir (patch by H Nanosecond
4395 <aldomel@ix.netcom.com>).
4396 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
4397 GCC_SCANF was not previously defined (reported by Pavel Roskin
4399 + add MKncurses_def.sh to generate fallback definitions for
4400 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
4401 code to consistently use "#if" rather than "#ifdef".
4404 + add QNX qansi entries to terminfo -TD
4405 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
4406 + add configure option --with-database to allow specifying a different
4407 terminfo source-file to install. On OS/2 EMX, this defaults to
4409 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
4410 setting .exe extension on OS/2 EMX.
4411 + add .exe extension in Ada95/gen/Makefile.in,
4412 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
4413 <jmcoopr@webmail.bmi.net>).
4414 + add configure check for filesystems (such as OS/2 EMX) which do not
4415 distinguish between upper/lowercase filenames, use this to fix tags
4417 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
4418 only sets the revents members of that array when there is activity
4419 corresponding to the related file (report by Glenn Cooper
4420 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
4421 + change configure script to use AC_CANONICAL_SYSTEM rather than
4422 AC_CANONICAL_HOST, which means that configure --target will set
4423 a default program-prefix.
4424 + add note on cross-compiling to INSTALL (which does not rely on the
4425 AC_CANONICAL_* macros).
4428 + add cases for EMX OS/2 to config.guess, config.sub
4429 + new version of config.guess, config.sub from lynx 2.8.4dev.7
4430 + add definitions via transform.h to allow tic and tput to check for
4431 the transformed aliases rather than the original infotocap, etc.
4432 + simplify transform-expressions in progs/Makefile.in, make the
4433 uninstall rule work for transformed program names.
4434 + change symbol used by --install-prefix configure option from
4435 INSTALL_PREFIX to DESTDIR (the latter has become common usage
4436 although the name is misleading).
4437 + modify programs to use curses_version() string to report the version
4438 of ncurses with which they are compiled rather than the
4439 NCURSES_VERSION string. The function returns the patch level in
4440 addition to the major and minor version numbers.
4443 + modify CF_MAN_PAGES configure macro to make transformed program names
4444 a parameter to that macro rather than embedding them in the macro.
4445 + newer config.guess, config.sub (reference version used in lynx
4447 + add configure option --with-default-terminfo-dir=DIR to allow
4448 specifying the default terminfo database directory (request by Albert
4450 + minor updates for terminfo.src from FreeBSD termcap change-history.
4451 + correct notes in README and INSTALL regarding documentation files
4452 that were moved from misc directory to doc (report by Rich Kulawiec
4454 + change most remaining unquoted parameters of 'test' in configure
4455 script to use quotes, for instance fixing a problem in the
4456 --disable-database option (reported by Christian Mondrup
4457 <scancm@biobase.dk>).
4458 + minor adjustments to work around some of the incompatibilities/bugs
4459 in autoconf 2.29a alpha.
4460 + add -I/usr/local/include when --with-ncurses option is used in
4461 test/configure script.
4462 + correct logic in adjust_cancels(), which did not check both
4463 alternatives when reclassifying an extended name between boolean,
4464 number and string, causing an infinite loop in tic.
4467 + correct a missing backslash in curses.priv.h
4470 + change handling of non_dest_scroll_region in tty_update.c to clear
4471 text after it is shifted in rather than before shifting out. Also
4472 correct row computation (reported by Ruediger Kuhlmann
4473 <uck4@rz.uni-karlsruhe.de>).
4474 + add/use new trace function to display chtype values from winch() and
4476 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
4477 trace attribute changes under TRACE_CALLS to use this.
4478 + modify MKlib_gen.sh so that functions returning chtype will call
4480 + add returnChar() trace, for functions returning chtype.
4481 + change indent.pro to line up parenthesis.
4484 + fix a heap problem with the c++ binding (report by
4485 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
4486 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
4487 + modify the check for big-core to force a couple of memory accesses,
4488 which may work as needed for older/less-capable machines (if not,
4489 there's still the explicit configure option).
4490 > fixes based on diff's for Amiga and BeOS found at
4491 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
4492 + alter definition of NCURSES_CONST to make it non-empty.
4493 + add amiga-vnc terminfo entry.
4494 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
4495 an (unspecified) symbol conflict.
4496 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
4497 simplify working around implementations that define random
4498 combinations of the related macros to zero.
4499 + modify configure test for tcgetattr() to allow for old
4500 implementations, e.g., on BeOS, which only defined it as a macro.
4501 > patches by Bruno Haible:
4502 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
4503 locale, ignore those which are set to an empty value, as per SUSV2.
4504 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
4505 + modify _nc_utf8_outch() to avoid sign-extension when checking for
4509 + correct manlinks.sed script to avoid using ERE "\+", which is not
4510 understood by older versions of sed (patch by Albert Chin-A-Young).
4511 + implement configure script options that transform installed program
4512 names, e.g., --program-prefix, including the manpage names and cross
4513 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
4514 + correct several mismatches between manpage filename and ".TH"
4515 directives, renaming dft_fgbg.3x to default_colors.3x and
4516 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
4517 + correct missing includes for <string.h> in several places, including
4518 the C++ binding. This is not noted by gcc unless we use the
4519 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
4520 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
4521 interface if neither termio or termios is available. Tested this
4522 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
4525 20000708 5.1 release for upload to ftp.gnu.org
4526 + document configure options in INSTALL.
4527 + add man-page for ncurses trace functions.
4528 + correct return value shown in curs_touch.3x for is_linetouched() and
4529 is_wintouched(), in curs_initscr.3x for isendwin(), and in
4530 curs_termattr.3x for has_ic() and has_il().
4531 + add prototypes for touchline() and touchwin(), adding them to the
4532 list of generated functions.
4533 + modify fifo_push() to put ERR into the fifo just like other values to
4534 return from wgetch(). It was returning without doing that, making
4535 end-of-file condition incorrectly return a 0 (reported by Todd C
4537 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
4538 are needed for SCO OpenServer.
4539 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
4540 dynamic loaders on SCO and IRIX64.
4541 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
4543 + correct assignment in assume_default_colors() which tells ncurses
4544 whether to use default colors, or the assumed ones (reported by Gary
4545 Funck <gary@Intrepid.Com>).
4546 + review/correct logic in mk-1st.awk for making symbolic links for
4547 shared libraries, in particular for FreeBSD, etc.
4548 + regenerate misc/*.def files for OS/2 EMX dll's.
4549 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
4550 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
4551 Wemm) (err in 20000610).
4552 + minor updates to release notes, as well as adding/updating URLs for
4553 examples cited in announce.html
4554 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
4555 + correct placement of ifdef for NCURSES_XNAMES in function
4556 _nc_free_termtype(), fixes a memory leak.
4557 + add a call to _nc_synchook() to the end of function whline() like
4558 that in wvline() (difference was in 1.9.4).
4559 + make ClearScreen() a little faster by moving two instances of
4560 UpdateAttr() out of for-loops.
4561 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
4564 20000701 pre-release
4565 + change minor version to 1, i.e., ncurses 5.1
4566 + add experimental configure option --enable-colorfgbg to check for
4567 $COLORTERM variable as set by rxvt/aterm/Eterm.
4568 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
4569 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
4570 several manpages so manlinks.sed can find aliases for creating
4572 + add explanation to run_tic.sh regarding extended terminal
4574 + change message format for edit_cfg.sh, since some people interpret
4576 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
4577 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
4578 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
4579 support when poll() is used rather than select() (prompted by
4580 discussion with David Allen <DAllen24@aol.com>).
4582 20000624 pre-release
4583 + modify TransformLine() to check for cells with different color pairs
4584 that happen to render the same display colors.
4585 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
4586 + improve cost computation in PutRange() by accounting for the use
4587 of parm_right_cursor in mvcur().
4588 + correct cost computation in EmitRange(), which was not using the
4589 normalized value for cursor_address.
4590 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
4593 + update config.guess, config.sub (reference version used in PCRE 3.2).
4594 + resync changes to gnathtml against version 1.22, regenerated html
4595 files under doc/html/ada using this (1.22.1.1).
4596 + regenerated html files under doc/html/man after correcting top and
4597 bottom margin options for man2html in dist.mk
4598 + minor fixes to test programs ncurses 'i' and testcurs program to make
4599 the subwindow's background color cover the subwindow.
4600 + modify configure script so AC_MSG_ERROR is temporarily defined to a
4601 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
4602 without requiring user to add --without-cxx option (adapted from
4603 comment by Akim Demaille <akim@epita.fr> to autoconf mailing list).
4604 + modify headers.sh to avoid creating temporary files in the build
4605 directory when installing headers (reported by Sergei Pokrovsky
4609 + regenerated the html files under doc/html/ada/files and
4610 doc/html/ada/funcs with a slightly-improved gnathtml.
4611 + add kmous capability to linux terminfo entry to allow it to use
4612 xterm-style events provided by gpm patch by Joerg Schoen.
4613 + make the configure macro CF_SHARED_OPTS a little smarter by testing
4614 if -fPIC is supported by gcc rather than -fpic. The former option
4615 allows larger symbol tables.
4616 + update config.guess and config.sub (patches by
4617 Kevin Buettner <kev@primenet.com> (for elf64_ia64),
4618 Bernd Kuemmerlen <bkuemmer@mevis.de> (for MacOS X)).
4619 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
4623 + modify echo() behavior of getch() to match Solaris curses for
4624 carriage return and backspace (reported by Neil Zanella).
4625 + change _nc_flush() to a function.
4626 + modify delscreen() to check if the output stream has been closed, and
4627 if so, free the buffer allocated for setbuf (this provides an
4628 ncurses-specific way to avoid a memory leak when repeatedly calling
4629 newterm reported by Chipp C <at_1@zdnetonebox.com>).
4630 + correct typo in curs_getch.3x manpage regarding noecho (reported by
4631 David Malone <dwmalone@maths.tcd.ie>).
4632 + add a "make libs" rule.
4633 + make the Ada95 interface build with configure --enable-widec.
4634 + if the configure --enable-widec option is given, append 'w' to names
4635 of the generated libraries (e.g., libncursesw.so) to avoid conflict
4636 with existing ncurses libraries.
4639 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
4640 is configured with the experimental wide-character support.
4641 + add a simple UTF-8 output driver to the experimental wide-character
4642 support. If any of the environment variables LC_ALL, LC_CTYPE or
4643 LANG contain the string "UTF-8", this driver will be used to
4644 translate the output to UTF-8. This works with XFree86 xterm.
4645 + modify configure script to allow building shared libraries on BeOS
4646 (from a patch by Valeriy E Ushakov).
4647 + modify lib_addch.c to allow repeated update to the lower-right
4648 corner, rather than displaying only the first character written until
4649 the cursor is moved. Recent versions of SVr4 curses can update the
4650 lower-right corner, and behave this way (reported by Neil Zanella).
4651 + add a limit-check in _nc_do_color(), to avoid using invalid color
4652 pair value (report by Brendan O'Dea <bod@compusol.com.au>).
4655 + the tack program knows how to use smcup and rmcup but the "show caps
4656 that can be tested" feature did not reflect this knowledge. Correct
4657 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
4658 + xterm-16color does allow bold+colors, removed ncv#32 from that
4662 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
4663 broke check for screen's AX capability (reported by Valeriy E Ushakov
4665 + change man2html rule in dist.mk to workaround bug in some
4666 man-programs that ignores locale when rendering hyphenation.
4667 + change web- and ftp-site to dickey.his.com
4670 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
4671 problem linking tack on MacOS X DP3.
4672 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
4673 (reported by Gerben Wierda <wierda@holmes.nl>).
4674 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
4676 + add -d option to ncurses.c, to turn on default-colors for testing.
4677 + add a check to _nc_makenew() to ensure that newwin() and newpad()
4678 calls do not silently fail by passing too-large limits.
4679 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
4680 internal window and pad sizes. Note that since this is visible in
4681 the WINDOW struct, it would be an ABI change to make this an 'int'
4682 (prompted by a question by Bastian Trompetter
4683 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
4686 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
4688 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
4689 example of an illegal ANSI resonse can be found using Microsoft's
4690 Telnet client. A correct display can be found using a VT-4xx
4691 terminal or XFree86 xterm with:
4692 XTerm*VT100*decTerminalID: 450
4693 (patch by Daniel Weaver).
4694 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
4695 for resume. Add '-n' option to force gdc's standard input to
4696 /dev/null, to both illustrate the use of newterm() for specifying
4697 alternate inputs as well as for testing signal handling.
4698 + minor fix for configure option --with-manpage-symlinks, for target
4699 directories that contain a period ('.') (reported by Larry Virden).
4702 + minor additions to beterm entry (feedback from Rico Tudor) -TD
4703 + corrections/updates for some IBM terminfo entries -TD
4704 + modify _nc_screen_wrap() so that when exiting curses mode with
4705 non-default colors, the last line on the screen will be cleared to
4706 the screen's default colors (request by Alexander V Lukyanov).
4707 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
4708 read for demonstrating the REQ_NEW_LINE operation (prompted by a
4709 question by Tony L Keith <tlkeith@keithconsulting.com>).
4710 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
4711 documented extension of ncurses which allows a zero pointer.
4712 + modify fmt_complex() to avoid buffer overflow in case of excess
4713 recursion, and to recognize "%e%?" as a synonym for else-if, which
4714 means that it will not recur for that special case.
4715 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
4716 is defined (patch by Todd C Miller).
4717 + modify one of the m4 files used to generate the Ada95 sources,
4718 to avoid using the token "symbols" (patch by Juergen Pfeifer).
4721 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
4722 + correct spelling error in terminfo entry name: bq300-rv was given as
4723 bg300-rv in esr's version.
4724 + modify redrawwin() macro so its parameter is fully parenthesized
4725 (fixes Debian bug report #61088).
4726 + correct formatting error in dump_entry() which set incorrect column
4727 value when no newline trimming was needed at the end of an entry,
4728 before appending "use=" clauses (cf: 960406).
4731 + add configure option --with-manpage-symlinks
4732 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
4733 + change makefiles so trace() function is provided only if TRACE is
4734 defined, e.g., in the debug library. Modify related calls to
4735 _tracechar() to use unctrl() instead.
4738 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
4739 terminfo entries, use presence of this as a check for a small
4740 improvement in setting default colors.
4741 + improve logic in _nc_do_color() implementing assume_default_colors()
4742 by passing in previous color pair info to eliminate redundant call to
4743 set_original_colors(). (Part of this is from a patch by Alexander
4745 + modify warning in _nc_trans_string() about a possibly too-long string
4746 to do this once only rather than for each character past the
4747 threshold (600). Change interface of _nc_trans_string() to allow
4748 check for buffer overflow.
4749 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
4750 struct each time before reading new data into it, rather than once
4751 per loop (cf: 990301). This affects multi-entry in-core operations
4752 such as "infocmp -Fa".
4755 + remove a spurious pointer increment in _nc_infotocap() changes from
4756 20000311. Add check for '.' in format of number, since that also
4757 is not permitted in termcap.
4758 + correct typo in rxvt-basic terminfo from temporary change made while
4759 integrating 20000318.
4762 + revert part of the vt220 change (request by Todd C Miller).
4763 + add ansi-* terminfo entries from ESR's version.
4764 + add -a option to tic and infocmp, which retains commented-out
4765 capabilities during source translation/comparison, e.g., captoinfo
4767 + modify cardfile.c to display an empty card if no input data file is
4768 found, fixes a core dump in that case (reported by Bruno Haible).
4769 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
4770 result for OS/2 EMX.
4771 + supply required parameter for _nc_resolve_uses() call in
4772 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
4773 > patches by Bruno Haible <haible@ilog.fr>:
4774 + fix a compiler warning in fty_enum.c
4775 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
4776 makefiles, which resulted in redundant linking (cf: 20000122).
4779 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
4780 + improved tack/README (patch by Daniel Weaver).
4781 + modify tput.c to ensure that unspecified parameters are passed to
4783 + add a few checks in infocmp to guard against buffer overflow when
4784 displaying string capabilities.
4785 + add check for zero-uses in infocmp's file_comparison() function
4786 before calling _nc_align_termtype(). Otherwise one parameter is
4787 indexed past the end of the uses-array.
4788 + add an option -q to infocmp to specify the less verbose output,
4789 keeping the existing format as the default, though not retaining the
4790 previous behavior that made the -F option compare each entry to
4792 + adapted patch by ESR to make infocmp -F less verbose -TD
4793 (the submitted patch was unusable because it did not compile
4795 + modify write_entry.c to ensure that absent or cancelled booleans
4796 are written as FALSE, for consistency with infocmp which now
4797 assumes this. Note that for the small-core configuration, tic
4798 may not produce the same result as before.
4799 + change some private library interfaces used by infocmp, e.g.,
4801 + add a check in _nc_infotocap() to ensure that cm-style capabilities
4802 accept only %d codes when converting the format from terminfo to
4804 + modify ENTRY struct to separate the data in 'parent' into the name
4805 and link values (the original idea to merge both into 'parent' was
4807 + discard repair_acsc(tterm);
4808 > patch by Juergen Pfeifer:
4809 + drop support for gnat 3.10
4810 + move generated documentation and html files under ./doc directory,
4811 adding makefile rules for this to dist.mk
4814 + correct conflicting use of tparm() in 20000226 change to tic, which
4815 made it check only one entry at a time.
4816 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
4818 + make the example in ncurses-intro.html do something plausible, and
4819 corrected misleading comment (reported by Neil Zanella).
4820 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
4821 to fix a case where the cursor position was not updated as in
4822 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
4823 + add a limit-check for wresize() to ensure that a subwindow does not
4824 address out of bounds.
4825 + correct offsets used for subwindows in wresize() (patch by Michael
4826 Andres <ma@suse.de>).
4827 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
4828 Juergen Pfeifer). This generated a file with a space in its name,
4830 + fix a few spelling errors in tack.
4831 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
4832 otherwise it does not build properly for older HPUX shared library
4834 + add several terminfo entries from esr's "11.0".
4837 + make 'tput flash' work properly for xterm by flushing output in
4838 delay_output() when using napms(), and modifying xterm's terminfo to
4839 specify no padding character. Otherwise, xterm's reported baud rate
4840 can mislead ncurses into producing too few padding characters
4842 + add a check to tic for consistency between sgr and the separate
4843 capabilities such as smso, use this to check/correct several
4844 terminfo entries (Debian #58530).
4845 + add a check to tic if cvvis is the same as cnorm, adjusted several
4846 terminfo entries to remove the conflict (Debian #58530).
4847 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
4849 + minor clarification for curs_set() and leaveok() manpages.
4850 + use mkstemp() for creating temporary file for tic's processing of
4851 $TERMCAP contents (fixes Debian #56465).
4852 + correct two errors from integrating Alexander's changes: did not
4853 handle the non-bce case properly in can_erase_with() (noted by
4854 Alexander), and left fg/bg uninitialized in the pair-zero case of
4855 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
4856 Ismael Cordeiro <ismael@cordeiro.com>).
4859 + store default-color code consistently as C_MASK, even if given as
4860 -1 for convenience (adapted from patches by Alexander V Lukyanov).
4861 > patches by Alexander V Lukyanov:
4862 + change can_clear_with() macro to accommodate logic for
4863 assume_default_colors(), making most of the FILL_BCE logic
4864 unnecessary. Made can_clear_with() an inline function to make it
4868 + corrected form of recent copyright dates.
4869 + minor corrections to xterm-xf86-v333 terminfo entry -TD
4870 > patches by Alexander V Lukyanov:
4871 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
4872 colors are white on black.
4873 + fix initialization of tstLine so that it is filled with current blank
4874 character in any case. Previously it was possible to have it filled
4875 with old blank. The wrong over-optimization was introduced in 991002
4876 patch. (it is not very critical as the only bad effect is not using
4877 clr_eos for clearing if blank has changed).
4880 + minor corrections/updates to several terminfo entries: rxvt-basic,
4881 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
4882 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
4883 allowing poll() to be used on Linux.
4884 + add CF_FUNC_POLL macro to check if poll() is able to select from
4885 standard input. If not we will not use it, preferring select()
4886 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
4887 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
4888 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
4889 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
4890 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
4893 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm -TD
4894 + modify CF_MATH_LIB configure macro to parameterize the test function
4895 used, for reuse in dialog and similar packages.
4896 + correct tests for file-descriptors in OS/2 EMX mouse support. A
4897 negative value could be used by FD_SET, causing the select() call
4898 to wait indefinitely.
4901 + additional fixes for non-bce terminals (handling of delete_character)
4902 to work when assume_default_colors() is not specified.
4903 + modify warning message from _nc_parse_entry() regarding extended
4904 capability names to print only if tic/infocmp/toe have the -v flag
4905 set, and not at all in ordinary user applications. Otherwise, this
4906 warning would be shown for screen's extended capabilities in programs
4907 that use the termcap interface (reported by Todd C Miller).
4908 + modify use of _nc_tracing from programs such as tic so their debug
4909 level is not in the same range as values set by trace() function.
4910 + small panel header cleanup (patch by Juergen Pfeifer).
4911 + add 'railroad' demo for termcap interface.
4912 + modify 'tic' to write its usage message to stderr (patch by Todd C
4916 + add prototype for erase() to curses.h.in, needed to make test
4917 programs build with c++/g++.
4918 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
4919 + correct install rule for tack.1; it assumed that file was in the
4920 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
4921 + modify terminfo/termcap translation to suppress acsc before trying
4922 sgr if the entry would be too large (patch by Todd C Miller).
4923 + document a special case of incompatiblity between ncurses 4.2 and
4924 5.0, add a section for this in INSTALL.
4925 + add TRACE_DATABASE flag for trace().
4928 + update mach, add mach-color terminfo entries based on Debian diffs
4930 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
4931 terminfo entries -TD
4932 + change OTrs capabilities to rs2 in terminfo.src -TD
4933 + add obsolete and extended capabilities to 'screen' terminfo -TD
4934 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
4935 + make conversion to termcap ug (underline glitch) more consistently
4937 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
4938 was in the original pre-1.9.7 version, when $HOME/.terminfo was
4940 + modify 'toe' to ignore terminfo directories to which it has no
4942 + modify read_termtype(), fixing 'toe', which could dump core when it
4943 found an incomplete entry such as "dumb" because it did not
4944 initialize its buffer for _nc_read_file_entry().
4945 + use -fPIC rather than -fpic for shared libraries on Linux, not
4946 needed for i386 but some ports (from Debian diffs for 5.0) -TD
4947 + use explicit VALID_NUMERIC() checks in a few places that had been
4948 overlooked, and add a check to ensure that init_tabs is nonzero,
4949 to avoid divide-by-zero (reported by Todd C Miller).
4950 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
4954 + reorder tests during mouse initialization to allow for gpm to run in
4955 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
4956 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
4957 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
4958 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
4959 stty lnext on systems such as FreeBSD (report by Bruce Evans
4960 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
4961 + fix a potential (but unlikely) buffer overflow in failed() function
4962 of tset.c (reported by Todd C Miller).
4963 + add manual-page for ncurses extensions, documented curses_version(),
4964 use_extended_names().
4967 + treat as untranslatable to termcap those terminfo strings which
4968 contain non-decimal formatting, e.g., hexadecimal or octal.
4969 + correct commented-out capabilities that cannot be translated to
4970 termcap, which did not check if a colon must be escaped.
4971 + correct termcap translation for "%>" and "%+", which did not check
4972 if a colon must be escaped, for instance.
4973 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
4974 buffer (originally for _nc_infotocap() in 960301 -TD).
4975 + correct expression used for terminfo equivalent of termcap %B,
4976 adjust regent100 entry which uses this.
4977 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
4978 + eliminate a fixed-buffer in tic, used for translating comments.
4979 + add manpage for infotocap
4982 + add kvt and gnome terminfo entries -TD
4983 + correct translation of "%%" by infotocap, which was emitted as "%".
4984 + add "obsolete" termcap strings to terminfo.src
4985 + modify infocmp to default to showing obsolete capabilities rather
4987 + modify write_entry.c so that if extended names (i.e., configure
4988 --enable-tcap-names) are active, then tic will also write "obsolete"
4989 capabilities that are present in the terminfo source.
4990 + modify tic so that when running as captoinfo or infotocap, it
4991 initializes the output format as in -C and -I options, respectively.
4992 + improve infocmp and tic -f option by splitting long strings that do
4993 not have if-then-else construct, but do have parameters, e.g., the
4994 initc for xterm-88color.
4995 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
4999 + additional fixes for non-bce terminals (handling of clear_screen,
5000 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
5002 + several small changes to xterm terminfo entries -TD.
5003 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
5004 SP, since it is part of that struct.
5005 + remove obsolete shlib-versions, which was unintentionally re-added
5007 + modify infocmp -e, -E options to ensure that generated fallback.c
5008 type for Booleans agrees with term.h (reported by Eric Norum
5009 <eric@cls.usask.ca>).
5010 + correct configure script's use of $LIB_PREFIX, which did not work
5011 for installing the c++ directory if $libdir did not end with "/lib"
5012 (reported by Huy Le <huyle@ugcs.caltech.edu>).
5013 + modify infocmp so -L and -f options work together.
5014 + modify the initialization of SP->_color_table[] in start_color() so
5015 that color_content() will return usable values for COLORS greater
5017 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
5018 xterm-88color, to limit the displayed/computed colors to 16.
5019 > patch by Juergen Pfeifer:
5020 + simplify coding of the panel library according to suggestions by
5022 + improve macro coding for a few macros in curses.priv.h
5025 + modify treatment of color pair 0 so that if ncurses is configured
5026 to support default colors, and they are not active, then ncurses
5027 will set that explicitly, not relying on orig_colors or orig_pair.
5028 + add new extension, assume_default_colors() to provide better control
5029 over the use of default colors.
5030 + modify test programs to use more-specific ifdef's for existence of
5031 wresize(), resizeterm() and use_default_colors().
5032 + modify configure script to add specific ifdef's for some functions
5033 that are included when --enable-ext-funcs is in effect, so their
5034 existence can be ifdef'd in the test programs.
5035 + reorder some configure options, moving those extensions that have
5036 evolved from experimental status into a new section.
5037 + change configure --enable-tcap-names to enable this by default.
5040 + install tack's manpage (reported by Robert Weiner
5041 <robert@progplus.com>)
5042 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
5043 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
5044 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
5047 + modify linux terminfo entry to indicate that dim does not mix with
5048 color (reported by Klaus Weide <kweide@enteract.com>).
5049 + correct several typos in terminfo entries related to missing '['
5051 + fix several compiler warnings in c++ binding (reported by Tim
5052 Mooney for alphaev56-dec-osf4.0f
5053 + rename parameter of _nc_free_entries() to accommodate lint.
5054 + correct lint rule for tack, used incorrect list of source files.
5055 + add case to config.guess, config.sub for Rhapsody.
5056 + improve configure tests for libg++ and libstdc++ by omitting the
5057 math library (which is missing on Rhapsody), and improved test for
5058 the math library itself (adapted from path by Nelson H. F. Beebe).
5059 + explicitly initialize to zero several data items which were
5060 implicitly initialized, e.g., cur_term. If not explicitly
5061 initialized, their storage type is C (common), and causes problems
5062 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
5064 + modify Ada95 binding to not include the linker option for Ada
5065 bindings in the Ada headers, but in the Makefiles instead (patch by
5068 19991023 5.0 release for upload to ftp.gnu.org
5069 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
5071 + add function curses_version(), to return ncurses library version
5072 (request by Bob van der Poel).
5073 + remove rmam, smam from cygwin terminfo entry.
5074 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
5075 as update ncv to indicate that 'dim' conflicts with colors.
5076 + modify configure script to use symbolic links for FreeBSD shared
5077 libraries by default.
5078 + correct ranf() function in rain and worm programs to ensure it does
5080 + hide the cursor in hanoi.c if it is running automatically.
5081 + amend lrtest.c to account for optimizations that exploit margin
5083 + add a simple terminfo demo, dots.c
5084 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
5085 tell it to use write() rather than putc(), since the latter is not
5086 safe in a signal handler according to POSIX.
5087 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
5088 of output-file pointer in ncurses library.
5089 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
5091 + correct CC_SHARED_OPTS for building shared libraries for SCO
5093 + remove usleep() from alternatives in napms(), since it may interact
5094 with alarm(), causing a process to be interrupted by SIGALRM (with
5095 advice from Bela Lubkin).
5096 + modify terminal_interface-curses-forms.ads.m4 to build/work with
5097 GNAT 3.10 (patch by Juergen Pfeifer).
5098 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
5099 work with gcc 2.7.2.3
5100 + minor fix to test/tclock.c to avoid beeping more than once per second
5101 + add 's' and ' ' decoding to test/rain.c
5104 + corrected BeOS code for lib_twait.c, making nodelay() function work.
5107 + correct ncurses' value for cursor-column in PutCharLR(), which was
5108 off-by-one in one case (patch by Ilya Zakharevich).
5109 + fix some minor errors in position_check() debugging code, found while
5110 using this to validate the PutCharLR() patch.
5111 + modify firework, lrtest, worm examples to be resizable, and to
5112 recognize 'q' for quit, 's' for single-step and ' ' for resume.
5113 + restore reverted change to terminal_interface-curses-forms.ads.m4,
5114 add a note on building with gnat 3.10p to Ada95/TODO.
5115 + add a copy of the standalone configure script for the test-directory
5116 to simplify testing on SCO and Solaris.
5119 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
5120 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
5121 Blain, comments by Alexander V Lukyanov).
5122 + simplify definition of PANEL and eliminate internal functions
5123 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
5124 (patch by Juergen Pfeifer, analysis by Philippe Blain
5126 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
5127 man_db.renames, since Debian is not concerned with 14-character
5128 filename limitation (Debian bug report by Josip Rodin
5129 <joy@cibalia.gkvk.hr>).
5130 + corrected scoansi terminfo entry by testing with scoterm and console.
5131 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
5132 since this does not work for gnat 3.10p
5133 + modify tclock example to be resizable (if ncurses' sigwinch handler
5134 is used), and in color.
5135 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
5136 shared library rules.
5139 + add newer NetBSD console terminfo entries
5140 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
5141 <Faroul@beyond.kn-bremen.de>)
5142 + remove -lcurses -ltermcap from configure script's check for the gpm
5143 library, since they are not really necessary (a properly configured
5144 gpm library has no dependency on any curses library), and if the
5145 curses library is not installed, this would cause the test to fail.
5146 + modify tic's -C option so that terminfo "use=" clauses are translated
5147 to "tc=" clauses even when running it as captoinfo.
5148 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
5149 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
5150 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
5151 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
5152 + correct a problem in libpanel, where the _nc_top_panel variable was
5153 not set properly when bottom_panel() is called to hide a panel which
5154 is the only one on the stack (report/analysis by Michael Andres
5155 <ma@suse.de>, patch by Juergen Pfeifer).
5158 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
5159 <j@interface-business.de>).
5160 + add top-level uninstall.data and uninstall.man makefile rules.
5161 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
5162 that hard-links work on Unix again.
5163 + change default value of cf_cv_builtin_bool to 1 (suggested by
5164 Jeremy Buhler), making it less likely that a conflicting declaration
5165 of bool will be seen when compiling with C++.
5168 + improved configure checks for builtin.h
5169 + minor changes to C++ binding (remove static initializations, and make
5170 configure-test for parameter initializations) for features not
5171 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
5172 applies to SGI, though I found SCO has the same characteristics).
5173 + corrected quoting of ETIP_xxx definitions which support old versions
5174 of g++, e.g., those using -lg++
5175 + remove 'L' code from safe_sprintf.c, since 'long double' is not
5176 widely portable. safe_sprintf.c is experimental, however, and
5177 exists mainly as a fallback for systems without snprintf (reported
5178 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
5179 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
5180 so that it is not unnecessarily made extern (Jeffrey C Honig).
5183 + move definition for builtin.h in configure tests to specific check
5184 for libg++, since qt uses the same filename incompatibly.
5185 + correct logic of lib_termcap.c tgetstr function, which did not copy
5186 the result to the buffer parameter. Testing shows Solaris does
5187 update this, though of course tgetent's buffer is untouched (reported
5188 in Peter Edwards <peter.edwards@ireland.com> in
5189 mpc.lists.freebsd.current newsgroup.
5190 + corrected beterm terminfo entry, which lists some capabilities which
5191 are not actually provided by the BeOS Terminal.
5192 + add special logic to replace select() calls on BeOS, whose select()
5193 function works only for sockets.
5194 + correct missing escape in mkterm.h.awk.in, which caused part
5195 of the copyright noticed to be omitted (reported by Peter
5196 Wemm <peter@netplex.com.au>).
5197 > several small changes to make the c++ binding and demo work on OS/2
5198 EMX (related to a clean reinstall of EMX):
5199 + correct library-prefix for c++ binding; none is needed.
5200 + add $x suffix to make_hash and make_keys so 'make distclean' works.
5201 + correct missing $x suffix for tack, c++ demo executables.
5202 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
5203 CF_STDCPP_LIBRARY (for -lstdc++)
5206 + add cygwin terminfo entry -TD
5207 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
5208 + add configure option --without-cxx-binding, modifying the existing
5209 --without-cxx option to check only for the C++ compiler
5210 characteristics. Whether or not the C++ binding is needed, the
5211 configure script checks for the size/type of bool, to make ncurses
5212 match. Otherwise C++ applications cannot use ncurses.
5215 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
5216 + minor corrections to beterm terminfo entry.
5217 + modify lib_setup.c to reject values of $TERM which have a '/' in
5219 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
5220 than one is on BeOS. That would break a switch statement.
5221 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
5222 nonfunctional link().
5223 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
5224 BeOS's bool, which is declared as an unsigned char.
5227 + add ms-vt100 terminfo entry -TD
5228 + minor fixes for misc/emx.src, based on testing with tack.
5229 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
5232 + minor correction for 'screen' terminfo entry.
5233 + clarify description of errret values for setupterm in manpage.
5234 + modify tput to allow it to emit capabilities for hardcopy terminals
5235 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
5236 + modify the 'o' (panel) test in ncurses.c to show the panels in color
5237 or at least in bold, to test Juergen's change to wrefresh().
5238 > patches by Juergen Pfeifer:
5239 + Fixes a problem using wbkgdset() with panels. It has actually
5240 nothing to with panels but is a problem in the implementation of
5241 wrefresh(). Whenever a window changes its background attribute to
5242 something different than newscr's background attribute, the whole
5243 window is touched to force a copy to newscr. This is an unwanted
5244 side-effect of wrefresh() and it is actually not necessary. A
5245 changed background attribute affects only further outputs of
5246 background it doesn't mean anything to the current content of the
5247 window. So there is no need to force a copy. (reported by Frank
5248 Heckenbach <frank@g-n-u.de>).
5249 + an upward compatible enhancement of the NCursesPad class in the C++
5250 binding. It allows one to add a "viewport" window to a pad and then
5251 to use panning to view the pad through the viewport window.
5254 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
5255 signal was received while not in curses mode, e.g., endwin() was
5256 called in preparation for spawning a shell command (reported by Frank
5257 Heckenbach <frank@g-n-u.de>)
5258 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
5259 + change test for xterm mouse capability: it now checks only if the
5260 user's $DISPLAY variable is set in conjunction with the kmous
5261 capability being present in the terminfo. Before, it checked if any
5262 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
5263 However, some emulators which are incompatible with xterm in other
5264 ways do support the xterm mouse capability.
5265 + reviewed and made minor changes in ncurses to quiet g++ warnings
5266 about shadowed or uninitialized variables. g++ incorrectly warns
5267 about uninitialized variables because it does not take into account
5268 short-circuit expression evaluation.
5269 + change ncurses 'b' test to start in color pair 0 and to show in the
5270 right margin those attributes which are suppressed by no_color_video,
5272 + modify ifdef's in curses.h so that __attribute__ is not redefined
5273 when compiling with g++, but instead disabled the macros derived for
5274 __attribute__ since g++ does not consistently recognize the same
5275 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
5276 + update dependencies for term.h in ncurses/modules (reported by
5280 + modify the form demo in ncurses.c to illustrate how to manipulate the
5281 field appearance, e.g, for highlighting or translating the field
5283 + correct logic in write_entry from split-out of home_terminfo in
5284 980919, which prevented update of $HOME/.terminfo (reported by Philip
5285 Spencer <pspencer@fields.utoronto.ca>).
5288 + modify linux terminfo description to make use of kernel 2.2.x mods
5289 that support cursor style, e.g., to implement cvvis (patch by Frank
5290 Heckenbach <frank@g-n-u.de>)
5291 + add special-case in setupterm to retain previously-saved terminal
5292 settings in cur_term, which happens when curses and termcap calls are
5293 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
5294 + suppress initialization of key-tries in _nc_keypad() if we are only
5295 disabling keypad mode, e.g., in endwin() called when keypad() was
5297 + modify the Ada95 makefile to ensure that always the Ada files from
5298 the development tree are used for building and not the eventually
5299 installed ones (patch by Juergen Pfeifer).
5302 + use TTY definition in tack/sysdep.c rather than struct termios
5303 (reported by Philippe De Muyter).
5304 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
5305 not present on sysV68 (reported by Philippe De Muyter).
5306 + correct definition in comp_hash.c to build with configure
5307 --with-rcs-ids option.
5310 + modified ifdef's for sigaction and sigvec to ensure we do not try to
5311 handle SIGTSTP if neither is available (from report by Philippe De
5313 > patch by Philippe De Muyter:
5314 + in tic.c, use `unlink' if `remove' is not available.
5315 + use only `unsigned' as fallback value for `speed_t'. Some files used
5319 + fix some compiler warnings in tack.
5320 + add a check for predefined bool type in CC, based on report that
5321 BeOS predefines a bool type.
5322 + correct logic for infocmp -e option, i.e., the configure
5323 --with-fallbacks option, which I'd not updated when implementing
5324 extended names (cf: 990301). The new implementation adds a "-E"
5325 option to infocmp -TD
5326 > patch by Juergen Pfeifer:
5327 + introduce the private type Curses_Bool in the Ada95 binding
5328 implementation. This is to clearly represent the use of "bool" also
5329 in the binding. It should have no effect on the generated code.
5330 + improve the man page for field_buffer() to tell the people, that the
5331 whole buffer including leading/trailing spaces is returned. This is
5332 a common source of confusion, so it's better to document it clearly.
5335 > patch by Juergen Pfeifer:
5336 + use pragma PreElaborate in several places.
5337 + change a few System.Address uses to more specific types.
5338 + change interface version-number to 1.0
5339 + regenerate Ada95 HTML files.
5342 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
5343 if it appears that curses was never initialized, e.g., by initscr().
5344 For instance, this guards against setting the terminal modes to
5345 strange values if endwin() is called after setupterm(). In the same
5346 context, Solaris curses will dump core.
5347 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
5348 equivalent values in rmso or rmul by ensuring we do not modify the
5349 data which would be returned by the terminfo or termcap interfaces
5350 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
5351 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
5353 + improve fallback declaration of 'bool' when the --without-cxx option
5354 is given, by using a 'char' on i386 and related hosts (prompted by
5355 discussion with Alexander V Lukyanov).
5358 + include time.h in lib_napms.c if nanosleep is used (patch by
5359 R Lindsay Todd <toddr@rpi.edu>).
5360 + add an "#undef bool" to curses.h, in case someone tries to define it,
5362 + add check to tparm to guard against divide by zero (reported by Aaron
5363 Campbell <aaron@ug.cs.dal.ca>).
5366 + minor fix to build tack on CLIX (mismatched const).
5367 > patch by Juergen Pfeifer:
5368 + change Juergen's old email address with new one in the files where it
5369 is referenced. The Ada95 HTML pages are regenerated.
5370 + update MANIFEST to list the tack files.
5373 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
5377 + add 'tack' program (which is GPL'd), updating it to work with the
5378 modified TERMTYPE struct and making a fix to support setaf/setab
5379 capabilities. Note that the tack program is not part of the
5380 ncurses libraries, but an application which can be distributed with
5381 ncurses. The configure script will ignore the directory if it is
5383 + modify gpm mouse support so that buttons 2 and 3 are used for
5384 select/paste only when shift key is pressed, making them available
5385 for use by an application (patch by Klaus Weide).
5386 + add complete list of function keys to scoansi terminfo entry - TD
5389 + add a simple test program cardfile.c to illustrate how to read form
5390 fields, and showing forms within panels.
5391 + change shared-library versioning for the Hurd to be like Linux rather
5392 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
5393 + add linux-lat terminfo entry.
5394 + back-out _nc_access check in read_termcap.c (both incorrect and
5395 unnecessary, except to guard against a small window where the file's
5396 ownership may change).
5399 + remove conflicting _nc_free_termtype() function from test module
5401 + use _nc_access check in read_termcap.c for termpaths[] array (noted
5402 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
5403 > patch by Juergen Pfeifer:
5404 + modify menu creation to not inherit status flag from the default menu
5405 which says that the associated marker string has been allocated and
5406 should be freed (bug reported by Marek Paliwoda"
5407 <paliwoda@kki.net.pl>)
5409 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
5410 + minor fixes to xterm-xfree86 terminfo entry - TD.
5411 + split up an expression in configure script check for ldconfig to
5412 workaround limitation of BSD/OS sh (reported by Jeff Haas
5413 <jmh@mail.msen.com>).
5414 + correct a typo in man/form_hook.3x (Todd C Miller).
5417 + parenthesize and undef 'index' symbol in c++ binding and demo, to
5418 accommodate its definition on NeXT (reported by Francisco A. Tomei
5420 + add sigismember() to base/sigaction.c compatibility to link on NeXT
5421 (reported by Francisco A. Tomei Torres).
5422 + further refinements to inequality in hashmap.c to cover a case with
5423 ^U in nvi (patch by Alexander V Lukyanov).
5426 + add fallback definition for getcwd, to link on NeXT.
5427 + add a copy of cur_term to tic.c to make it link properly on NeXT
5428 (reported by Francisco A. Tomei Torres).
5429 + change inequality in hashmap.c which checks the distance traveled by
5430 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
5431 scrolling logic (patch by Alexander V Lukyanov, reported by Jeffrey
5435 + modify lib_color.c to handle a special case where the curscr
5436 attributes have been made obsolete (patch by Alexander V Lukyanov).
5437 + update BSD/OS console terminfo entries to use klone+sgr and
5438 klone+color (patch by Jeffrey C Honig).
5439 + update glibc addon configure script for extended capabilities.
5440 + correct a couple of warnings in the --enable-const configuration.
5441 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
5442 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
5445 + correct typos in linux-c initc string - TD
5446 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
5447 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
5448 Alexander V Lukyanov).
5451 + back-out change to wgetch because it causes a problem with ^Z
5452 handling in lynx (reported by Kim DeVaughn).
5455 + add -G option to tic and infocmp, to reverse the -g option.
5456 + recode functions in name_match.c to avoid use of strncpy, which
5457 caused a 4-fold slowdown in tic (cf: 980530).
5458 + correct a few warnings about sign-extension in recent changes.
5459 > patch by Juergen Pfeifer:
5460 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
5461 + improved parameter checking in new_fieldtype().
5462 + fixed a typo in wgetch() timeout handling.
5463 + allow slk_init() to be called per newterm call. The internal SLK
5464 state is stored in the SCREEN struct after every newterm() and then
5465 reset for the next newterm.
5466 + fix the problem that a slk_refresh() refreshes stdscr if the
5467 terminal has true SLKs.
5468 + update HTML documentation for Ada binding.
5471 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
5472 such as "#if TRUE" work. This was originally done to allow for a C++
5473 compiler which would warn of implicit conversions between enum and
5474 int, but is not needed for g++ (reported by Kim DeVaughn).
5475 + add use_extended_names() function to allow applications to suppress
5476 read of the extended capabilities.
5477 + add configure option --enable-tcap-names to support logic which
5478 allows ncurses' tic to define new (i.e., extended) terminal
5479 capabilities. This is activated by the tic -x switch. The infocmp
5480 program automatically shows or compares extended capabilities.
5481 Note: This changes the Strings and similar arrays in the TERMTYPE
5482 struct so that applications which manipulate it must be recompiled.
5483 + use macros typeMalloc, typeCalloc and typeRealloc consistently
5484 throughout ncurses library.
5485 + add _nc_strdup() to doalloc.c.
5486 + modify define_key() to allow multiple strings to be bound to the
5488 + correct logic error in _nc_remove_string, from 990220.
5489 > patch for Ada95 binding (Juergen Pfeifer):
5490 + regenerate some of the html documentation
5491 + minor cleanup in terminal_interface-curses.adb
5494 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
5495 xterm and ncsa terminfo entries by removing the unneeded ones. Note
5496 that some entries will return kend & khome versus kslt and kfnd, for
5497 PC-style keyboards versus strict vt220 compatiblity - TD
5498 + add function keybound(), which returns the definition associated with
5500 + modify define_key() to undefine the given string when no keycode is
5502 + modify keyok() so it works properly if there is more than one string
5503 defined for a keycode.
5504 + add check to tic to warn about terminfo descriptions that contain
5505 more than one key assigned to the same string. This is shown only if
5506 the verbose (-v) option is given. Moved related logic (tic -v) from
5507 comp_parse.c into the tic program.
5508 + add/use _nc_trace_tries() to show the function keys that will be
5510 + rename init_acs to _nc_init_acs (request by Alexander V Lukyanov).
5511 > patch for Ada95 binding (Juergen Pfeifer):
5512 + remove all the *_adabind.c from ncurses, menu and form projects.
5513 Those little helper routines have all been implemented in Ada and are
5515 + The option handling routines in menu and form have been made more
5516 save. They now make sure that the unused bits in options are always
5518 + modify configuration scripts to
5519 + use gnatmake as default compiler name. This is a safer choice than
5520 gcc, because some GNAT implementations use other names for the
5521 compilerdriver to avoid conflicts.
5522 + use new default installation locations for the Ada files according
5523 to the proposed GNU Ada filesystem standard (for Linux).
5524 + simplify the Makefiles for the Ada binding
5525 + rename ada_include directory to src.
5528 + enable sigwinch handler by default.
5529 + disable logic that allows setbuf to be turned off/on, because some
5530 implementations will overrun the buffer after it has been disabled
5534 + suppress sc/rc capabilities from terminal description if they appear
5535 in smcup/rmcup. This affects only scrolling optimization, to fix a
5536 problem reported by several people with xterm's alternate screen,
5537 though the problem is more general.
5538 > patch for Ada95 binding (Juergen Pfeifer):
5539 + removed all pragma Preelaborate() stuff, because the just released
5540 gnat-3.11p complains on some constructs.
5541 + fixed some upper/lower case notations because gnat-3.11p found
5543 + used a new method to generate the HTML documentation of the Ada95
5544 binding. This invalidates nearly the whole ./Ada95/html subtree.
5545 Nearly all current files in this subtree are removed
5548 + cache last result from _nc_baudrate, for performance (suggested by
5549 Alexander V Lukyanov).
5550 + modify ClrUpdate() function to workaround a problem in nvi, which
5551 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
5552 ncurses repainted the screen with nulls before resuming normal
5553 operation (patch by Alexander V Lukyanov).
5554 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
5555 be any substring rather than the prefix.
5556 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
5557 not link a module if the only symbols exported from the module are
5558 uninitialized ones (patch by Ilya Zakharevich). Ilya says that he
5559 has seen messages claiming this behavior conforms to the standard.)
5560 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
5561 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
5562 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
5563 problem where ncurses applications which were run via a shell script
5564 would hang when given a ^Z. Also, check if the terminal's process
5565 group is consistent, i.e., a shell has not taken ownership of it,
5566 before deciding to save the current terminal settings in the SIGTSTP
5567 handler (patch by Klaus Weide).
5568 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
5569 der Poel <bvdpoel@kootenay.com>).
5570 + correct a couple of typos in the macros supporting the configure
5571 --with-shlib-version option.
5574 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
5575 by Kimio Ishii <ishii@csl.sony.co.jp>).
5576 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
5577 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
5578 + modify tput to accept termcap names as an alternative to terminfo
5579 names (patch by Jeffrey C Honig).
5580 + correct a typo in term.7 (Todd C Miller).
5581 + add configure --with-shlib-version option to allow installing shared
5582 libraries named according to release or ABI versions. This
5583 parameterizes some existing logic in the configure script, and is
5584 intended for compatiblity upgrades on Digital Unix, which used
5585 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
5586 + resync configure script against autoconf 2.13 + patches
5587 + minor improvements for teraterm terminfo entry based on the program's
5588 source distribution.
5591 + change default for configure --enable-big-core to assume machines do
5592 have enough memory to resolve terminfo.src in-memory.
5593 + correct name of ncurses library in TEST_ARGS when configuring with
5595 + minor fixes to compile ncurses library with broken-linker with g++.
5596 + add --enable-broken-linker configure option, default to environment
5597 variable $BROKEN_LINKER (request by Jeffrey C Honig).
5598 + change key_names[] array to static since it is not part of the curses
5599 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
5602 + add Tera Term terminfo entry - TD
5605 + reviewed/corrected macros in curses.h as per XSI document.
5606 + provide support for termcap PC variable by copying it from terminfo
5607 data and using it as the padding character in tputs (reported by
5608 Alexander V Lukyanov).
5609 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
5610 kf9-kf12 capabilities, as well as adding kcbt.
5611 + document the mouse handling mechanism in menu_driver and make a small
5612 change in menu_driver's return codes to provide more consistency
5613 (patch by Juergen Pfeifer).
5614 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
5615 by Uchiyama Yasushi <uch@nop.or.jp>).
5616 + move lib_restart.c to ncurses/base, since it uses curses functions
5617 directly, and therefore cannot be used in libtinfo.so
5618 + rename micro_char_size to micro_col_size, adding #define to retain
5620 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
5621 XSI and Solaris 2.5.
5622 + minor makefile files to build ncurses test_progs
5623 + update html files in misc directory to reflect changes since 4.2
5626 + disable scroll hints when hashmap is enabled (patch by Alexander
5628 + move logic for tic's verify of -e option versus -I and -C so that the
5629 terminfo data is not processed if we cannot handle -e (reported by
5630 Steven Schwartz <steves@unitrends.com>.
5631 + add test-driver traces to terminfo and termcap functions.
5632 + provide support for termcap ospeed variable by copying it from the
5633 internal cur_term member, and using ospeed as the baudrate reference
5634 for the delay_output and tputs functions. If an application does not
5635 set ospeed, the library behaves as before, except that _nc_timed_wait
5636 is no longer used, or needed, since ospeed always has a value. But
5637 the application can modify ospeed to adjust the output of padding
5638 characters (prompted by a bug report for screen 3.7.6 and email from
5639 Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
5640 + removed some unused ifdef's as part of Alexander's restructuring.
5641 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
5642 Version 2. This includes making some parameters NCURSES_CONST
5643 rather than const, e.g., in termcap.h.
5644 + change linux terminfo entry to use ncv#2, since underline does not
5648 + miscellaneous corrections for curses.h to match XSI.
5649 + change --enable-no-padding configure option to be normally enabled.
5650 + add section to ncurses manpage for environment variables.
5651 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
5652 changes, found no sign of problems on Linux (or on SunOS, Solaris)
5653 running screen built with ncurses.
5654 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
5655 Roskin <pavel_roskin@geocities.com>).
5656 + correct several font specification typos in man-pages.
5659 + correct default value for BUILD_CC (reported by Larry Virden).
5662 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
5663 it from changing the terminfo directory after chdir'ing to it.
5664 Otherwise, a relative path in $TERMINFO would confuse tic (prompted
5665 by a Debian bug report).
5666 + correct/update ncsa terminfo entry (report by Larry Virden).
5667 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
5669 + add Mathew Vernon's mach console entries to terminfo.src
5670 + more changes, moving functions, as part of Alexander's restructuring.
5671 + modify configure script for GNU/Hurd share-library support, introduce
5672 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
5676 + add environment variable NCURSES_NO_SETBUF to allow disabling the
5677 setbuf feature, for testing purposes.
5678 + correct ifdef's for termcap.h versus term.h that suppress redundant
5679 declarations of prototypes (reported by H.J.Lu).
5680 + modify Makefile.os2 to add linker flags which allow multiple copies
5681 of an application to coexist (reported by Ilya Zakharevich).
5682 + update Makefile.glibc and associated configure script so that ncurses
5683 builds as a glibc add-on with the new directory configuration
5684 (reported by H.J.Lu).
5687 + modify gen_reps() function in gen.c to work properly on SunOS
5688 (sparc), which is a left-to-right architecture.
5689 + modify relative_move and tputs to avoid an interaction with the
5690 BSD-style padding. The relative_move function could produce a string
5691 to replace on the screen which began with a numeric character, which
5692 was then interpreted by tputs as padding. Now relative_move will not
5693 generate a string with a leading digit in that case (overwrite).
5694 Also, tputs will only interpret padding if the string begins with a
5695 digit; as coded it permitted a string to begin with a decimal point
5696 or asterisk (reported by Larry Virden).
5697 > patches by Juergen Pfeifer:
5698 + fix a typo in m_driver.c mouse handling and improves the error
5700 + fix broken mouse handling in the Ada95 binding
5701 + make the Ada95 sample application menus work with the new menu mouse
5703 + improve the mouse handling introduced by Ilya; it now handles menus
5705 + repair a minor bug in the menu_driver code discovered during this
5707 + add new function wmouse_trafo() to hide implementation details of
5708 _yoffset member of WINDOW struct needed for mouse coordinate
5712 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
5713 some older implementations (e.g., SunOS 4.x) return the buffer
5714 address rather than its length.
5715 > patch by Rick Ohnemus:
5716 + modify demo.cc to get it to compile with newer versions of egcs.
5717 + trim a space that appears at the end of the table preprocessor lines
5718 ('\" t). This space prevents some versions of man from displaying
5719 the pages - changed to remove all trailing whitespace (TD)
5720 + finally, 'make clean' does not remove panel objects.
5721 > patches by Ilya Zakharevich:
5722 + allow remapping of OS/2 mouse buttons using environment variable
5723 MOUSE_BUTTONS_123 with the default value 132.
5724 + add mouse support to ncurses menus.
5727 + modify misc/makedef.cmd to report old-style .def file symbols, and to
5728 generate the .def files sorted by increasing names rather than the
5730 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
5731 from misc/*.old), and updated based on the entrypoint coding he used
5732 for an older version of ncurses.
5733 + add README.emx, to document how to build on OS/2 EMX.
5734 + updates for config.guess, config.sub from Lynx
5735 > patches by Ilya Zakharevich:
5736 + minor fixes for mouse handling mode:
5737 a) Do not initialize mouse if the request is to have no mouse;
5738 b) Allow switching of OS/2 VIO mouse on and off.
5739 + modify Makefile.os2 to support alternative means of generating
5740 configure script, by translating Unix script with Perl.
5741 > patches by Juergen Pfeifer:
5742 + Updates MANIFEST to reflect changes in source structure
5743 + Eliminates a problem introduced with my last patch for the C++
5744 binding in the panels code. It removes the update() call done in the
5746 + Changes in the Ada95 binding to better support systems where
5747 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
5750 + modify install-script for manpages to skip over .orig and .rej files
5751 (request by Larry Virden).
5752 > patches/discussion by Alexander V Lukyanov:
5753 + move base-library sources into ncurses/base and tty (serial terminal)
5754 sources into ncurses/tty, as part of Alexander V Lukyanov's proposed
5755 changes to ncurses library.
5756 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
5757 be linked into the normal ncurses library.
5758 + move macro winch to a function, to hide details of struct ldat
5759 > patches by Juergen Pfeifer:
5760 + fix a potential compile problem in cursesw.cc
5761 + some Ada95 cosmetics
5762 + fix a gen.c problem when compiling on 64-Bit machines
5763 + fix Ada95/gen/Makefile.in "-L" linker switch
5764 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
5767 + ifdef'd out lib_freeall.c when not configured.
5768 + rename _tracebits() to _nc_tracebits().
5769 + move terminfo-library sources into ncurses/tinfo, and trace-support
5770 functions into ncurses/trace as part of Alexander V Lukyanov's
5771 proposed changes to ncurses library.
5772 + modify generated term.h to always specify its own definitions for
5773 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
5774 broken configure scripts.
5777 + modify terminfo parsing to accept octal and hexadecimal constants,
5779 + remove an autoconf 2.10 artifact from the configure script's check
5780 for "-g" compiler options. (Though harmless, this confused someone
5781 at Debian, who recently issued a patch that results in the opposite
5783 + add configure option --with-ada-compiler to accommodate installations
5784 that do not use gcc as the driver for GNAT (patch by Juergen
5788 + ensure ./man exists in configure script, needed when configuring
5789 with --srcdir option.
5790 + modify infocmp "-r" option to remove limit on formatted termcap
5791 output, which makes it more like Solaris' version.
5792 + modify captoinfo to treat no-argument case more like Solaris'
5793 version, which uses the contents of $TERMCAP as the entry to format.
5794 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
5795 (patch by Alexander V Lukyanov).
5798 + modify --with-terminfo-dirs option so that the default value is the
5799 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
5800 rid of a hardcoded list of candidate directories in the configure
5802 + add some error-checking to _nc_read_file_entry() to ensure that
5803 strings are properly terminated (Todd C Miller).
5804 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
5805 correspond with contents (reported by Neil Zanella
5806 <nzanella@cs.mun.ca>).
5807 + remove redundant configure check for C++ which did not work when $CXX
5808 was specified with a full pathname (reported by Andreas Jaeger).
5809 + corrected bcopy/memmove check; the macro was not standalone.
5812 + remove unnecessary portion of OS/2 EMX mouse change from
5813 check_pending() (reported by Alexander V Lukyanov).
5816 + implement mouse support for OS/2 EMX (adapted from patch against
5817 4.2(?) by Ilya Zakharevich).
5818 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
5819 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
5820 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
5821 some older entries - TD
5822 + modify tic to compile into %'char' form in preference to %{number},
5823 since that is a little more efficient.
5824 + minor correction to infocmp to avoid displaying "difference" between
5825 two capabilities that are rendered in equivalent forms.
5826 + add -g option to tic/infocmp to force character constants to be
5827 displayed in quoted form. Otherwise their decimal values are shown.
5828 + modify setupterm so that cancelled strings are treated the same as
5829 absent strings, cancelled and absent booleans false (does not affect
5831 + modify tic, infocmp to discard redundant i3, r3 strings when output
5833 > patch by Alexander V Lukyanov:
5834 + improve performance of tparm, now it takes 19% instead of 25% when
5836 + rename maxlen/minlen to prec/width for better readability.
5837 + use format string for printing strings.
5838 + use len argument correctly in save_text, and pass it to save_number.
5841 + make test_progs compile (but hashmap does not function).
5842 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
5843 associated logic to avoid freeing the SP->_setbuf data.
5844 + add modules home_terminfo and getenv_num to libtinfo.
5845 + move write_entry to libtinfo, to work with termcap caching.
5846 + minor fixes to blue.c to build with atac.
5847 + remove softscroll.c module; no longer needed for testing.
5848 > patches by Todd C Miller:
5849 + use strtol(3) instead of atoi(3) when parsing env variables so we can
5850 detect a bogus (non-numeric) value.
5851 + check for terminal names > MAX_NAME_SIZE in a few more places when
5852 dealing with env variables again.
5853 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
5854 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
5855 string #define (compile time vs runtime).
5856 + when setting errno to ENOMEM, set it right before the return, not
5857 before code that could, possibly, set errno to a different value.
5858 > patches by Alexander V Lukyanov:
5859 + use default background in update_cost_from_blank()
5860 + disable scroll-hints when hashmap is configured.
5861 + improve integration of hashmap scrolling code, by adding oldhash and
5862 newhash data to SP struct.
5863 + invoke del_curterm from delscreen.
5864 + modify del_curterm to set cur_term to null if it matches the
5865 function's parameter which is deleted.
5866 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
5867 exit_insert_mode combination, adjusting InsCharCost to check
5868 enter_insert_mode, exit_insert_mode and insert_padding. Add
5869 insert_padding in insert mode after each char. This adds new costs
5873 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
5874 consistent treatment.
5875 + modify ncurses to restore output to unbuffered on endwin, and resume
5876 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
5877 + corrected HTML version numbers (according to the W3C validator, they
5878 never were HTML 2.0-compliant, but are acceptable 3.0).
5881 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
5882 capability name, as in SVr4.
5883 + modified term.h, termcap.h headers to avoid redundant declarations.
5884 + change 'u_int' type in tset.c to unsigned, making this compile on
5885 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
5888 + corrections to mailing addresses, and moving the magic line that
5889 causes the man program to invoke tbl to the first line of each
5890 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
5891 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
5892 (from J.J.G.Ripoll, with further integration by TD).
5893 + correct a typo in icl6404 terminfo entry.
5894 + add xtermm and xtermc terminfo entries.
5895 > from esr's terminfo version:
5896 + Added Francesco Potorti's tuned Wyse 99 entries.
5897 + dtterm enacs (from Alexander V Lukyanov).
5898 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
5901 + document AT&T acs characters in terminfo.5 manpage.
5902 + use EMX _scrsize() function if terminfo and environment do not
5903 declare the screen size (reported by Ilya Zakharevich
5904 <ilya@math.ohio-state.edu>).
5905 + remove spurious '\' characters from eterm and osborne terminfo
5906 entries (prompted by an old Debian bug report).
5907 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
5908 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
5909 + correct misplaced parenthesis which caused file-descriptor from
5910 opening termcap to be lost, from 980725 changes (reported by Andreas
5914 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
5915 when termios is not used (patch by Todd C Miller).
5916 + add function _nc_doalloc, to ensure that failed realloc calls do not
5917 leak memory (reported by Todd C Miller).
5918 + improved ncsa-telnet terminfo entry.
5921 + correct missing braces around a trace statement in read_entry.c,
5922 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
5926 + fix missing include <errno.h> in ditto.c (reported by Bernhard
5927 Rosenkraenzer <bero@k5.sucks.eu.org>)
5928 + add NCSA telnet terminfo entries from Francesco Potorti
5929 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
5930 + make handling of $LINES and $COLUMNS variables more compatible with
5931 Solaris by allowing them to individually override the window size
5932 as obtained via ioctl.
5935 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
5936 which may reset all attributes in the 'op' capability, so that colors
5937 are set before turning on bold and other attributes, but still after
5938 turning attributes off.
5939 + add 'ditto.c' to test directory to illustrate use of newterm for
5940 initializing multiple screens.
5941 + modify _nc_write_entry() to recover from failed attempt to link alias
5942 for a terminfo on a filesystem which does not preserve character case
5943 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
5946 + updated versions of config.guess and config.sub based on automake 1.3
5947 + change name-comparisons in lib_termcap to compare no more than 2
5948 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
5949 with Solaris curses).
5950 + fix typo in curs_insstr.3x (patch by Todd C Miller)
5951 + use 'access()' to check if ncurses library should be permitted to
5952 open or modify files with fopen/open/link/unlink/remove calls, in
5953 case the calling application is running in setuid mode (request by
5954 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
5955 <dps@io.stargate.co.uk>).
5956 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
5957 + qnxt2 and minitel terminfo entries from esr's version.
5960 + use -R option with ldconfig on FreeBSD because otherwise it resets
5961 the search path to /usr/lib (reported by Dan Nelson).
5962 + add -soname option when building shared libraries on OpenBSD 2.x
5963 (request by QingLong).
5964 + add configure options --with-manpage-format and
5965 --with-manpage-renames (request by QingLong).
5966 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
5967 omitting the high-order byte, producing a 254 in the compiled
5969 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
5970 tigetnum and tigetstr to be compatible with Solaris (gleaned from
5971 Debian distribution of 1.9.9g-8.8).
5972 + modify _nc_syserr_abort to abort only when compiled for debugging,
5973 otherwise simply exit with an error.
5976 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
5977 "_g" for a debug build).
5978 + update Ada95 'make clean' rule to include generics .ali files
5979 + add a configure test to ensure that if GNAT is found, that it can
5980 compile/link working Ada95 program.
5981 + flush output in beep and flash functions, fixing a problem with
5982 getstr (patch by Alexander V Lukyanov)
5983 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
5984 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
5985 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
5986 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
5990 + merge changes from current XFree86 xterm terminfo descriptions.
5991 + add configure option '--without-ada'.
5992 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
5993 corresponds to vt100.
5994 + change translation for termcap 'rs' to terminfo 'rs2', which is
5995 the documented equivalent, rather than 'rs1'.
5998 + slow 'worm' down a little, for very fast machines.
5999 + corrected firstchar/lastchar computation in lib_hline.c
6000 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
6001 CHANGED_TO_EOL macros.
6002 + modify init_pair so that if a color-pair is reinitialized, we will
6003 repaint the areas of the screen whose color changes, like SVr4 curses
6004 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
6005 + modify getsyx/setsyx macros to comply with SVr4 man-page which
6006 says that leaveok() affects their behavior (report by Darryl Miles,
6007 patch by Alexander V Lukyanov).
6010 + review terminfo.5 against Solaris 2.6 curses version, corrected
6011 several minor errors/omissions.
6012 + implement tparm %l format.
6013 + implement tparm printf-style width and precision for %s, %d, %x, %o
6015 + implement tparm dynamic variables (reported by Xiaodan Tang).
6018 + update man-page for for wattr_set, wattr_get (cf: 980509)
6019 + correct limits in hashtest, which would cause nonprinting characters
6020 to be written to large screens.
6021 + correct configure script, when --without-cxx was specified: the
6022 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
6023 2.8 tolerated the missing 'int'.
6024 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
6025 compiler's name might be something like "egcs" (patch by Juergen
6027 + correct curs_addch.3x, which implied that echochar could directly
6028 display control characters (patch by Alexander V Lukyanov).
6029 + fix typos in ncurses-intro.html (patch by Sidik Isani
6030 <isani@cfht.hawaii.edu>)
6033 + add configure test for conflicting use of exception in math.h and
6035 + minor optimization to 'hash()' function in hashmap.c, reduces its
6037 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
6038 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
6039 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
6040 > patch by Alexander V Lukyanov:
6041 + correct problem on Solaris (with poll() function) where getch could
6042 hang indefinitely even if timeout(x) was called. This turned out to
6043 be because milliseconds was not updated before 'goto retry' in
6045 + simplified the function _nc_timed_wait and fixed another bug, which
6046 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
6048 + removed the cycle on EINTR, as it seems to be useless.
6051 + add makefile-rule for test/keynames
6052 + modify run_tic.sh and shlib to ensure that user's .profile does not
6053 override the $PATH used to run tic (patch by Tim Mooney).
6054 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
6055 needed for HP-UX shared-library path (recommended by Tim Mooney).
6056 + remove special case of HP-UX -L options, use +b options to embed
6057 $(libdir) in the shared libraries (recommended by Tim Mooney).
6058 + add checks for some possible buffer overflows and unchecked
6059 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
6060 <Todd.Miller@courtesan.com>)
6063 + correct maxx/maxy expression for num_columns/num_lines in derwin
6064 (patch by Alexander V Lukyanov).
6065 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
6066 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
6067 configure option (suggested by Mike Hopkirk).
6068 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
6069 Hopkirk <hops@sco.com>).
6070 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
6071 Makefile.in, since this conflicts when g++ is used with HP-UX
6072 compiler (reported by Tim Mooney).
6073 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
6074 in some C++ implementations (reported by several people running
6075 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
6078 + modify write_entry.c so that it will not attempt to link aliases
6079 with embedded '/', but give only a warning.
6080 + put -L$(libdir) first when linking programs, except for HP-UX.
6081 + modify comp_scan.c to handle SVr4 terminfo description for att477,
6082 which contains a colon in the description field.
6083 + modify configure script to support SCO osr5.0.5 shared libraries,
6084 from comp.unix.sco.programmer newsgroup item (Mike Hopkirk).
6085 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
6087 + minor adjustments of const/NCURSES_CONST from IRIX compile.
6088 + add updates based on esr's 980509 version of terminfo.src.
6091 + correct macros for wattr_set, wattr_get, separate wattrset macro from
6092 these to preserve behavior that allows attributes to be combined with
6094 + add configure option --enable-no-padding, to allow environment
6095 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
6096 thereby making terminal emulators (e.g., for vt100) a little more
6097 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6098 + modify configure script to embed ABI in shared libraries for HP-UX
6099 10.x (detailed request by Tim Mooney).
6100 + add test/example of the 'filter()' function.
6101 + add nxterm and xterm-color terminfo description (request by Cristian
6102 Gafton <gafton@redhat.com>).
6103 + modify rxvt terminfo description to clear alternate screen before
6104 switching back to normal screen, for compatibility with applications
6105 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
6106 + modify linux terminfo description to reset color palette (reported
6107 by Telford Tendys <telford@eng.uts.edu.au>).
6108 + correction to doupdate, for case where terminal does not support
6109 insert/delete character. The logic did not check that there was a
6110 difference in alignment of changes to old/new screens before
6111 repainting the whole non-blank portion of the line. Modified to fall
6112 through into logic that reduces by the portion which does not differ
6113 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
6114 + minor performance improvement to wnoutrefresh by moving some
6115 comparisons out of inner loop.
6118 + modify configure script to substitute NCURSES_CONST in curses.h
6119 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
6120 xterm-8bit to correspond to XFree86 3.9Ag.
6121 + remove restriction that forces ncurses to use setaf/setab if the
6122 number of colors is greater than 8. (see 970524 for xterm-16color).
6123 + change order of -L options (so that $(libdir) is searched first) when
6124 linking tic and other programs, to workaround HP's linker.
6125 Otherwise, the -L../lib is embedded when linking against shared
6126 libraries and the installed program does not run (reported by Ralf
6128 + modify configuration of shared libraries on Digital Unix so that
6129 versioning is embedded in the library, rather than implied by
6130 links (patch by Tim Mooney).
6133 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
6134 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
6135 <R.Hildebrandt@tu-bs.de>).
6136 + correct configure tests in CF_SHARED_OPTS which used $CC value to
6137 check for gcc, rather than autoconf's $GCC value. This did not
6138 work properly if the full pathname of the compiler were given
6139 (reported by Michael Yount <yount@csf.Colorado.edu>).
6140 + revise check for compiler options to force ANSI mode since repeating
6141 an option such as -Aa causes HP's compiler to fail on its own headers
6142 (reported by Clint Olsen <olsenc@ichips.intel.com>).
6145 + ifdef'd has_key() and mcprint() as extended functions.
6146 + modified several prototypes to correspond with 1997 version of
6147 X/Open Curses (affects ABI since developers have used attr_get).
6148 + remove spurious trailing blanks in glibc addon-scripts (patch by
6150 + insert a few braces at locations where gcc-2.8.x asks to use them to
6151 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
6152 by Juergen Pfeifer).
6155 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
6156 before -l to accommodate Solaris' linker (reported by Larry Virden).
6159 + modify lib_color.c to eliminate dependency on orig_colors and
6160 orig_pair, since SVr4 curses does not require these either, but
6161 uses them when they are available.
6162 + add detailed usage-message to infocmp.
6163 + correct a typo in att6386 entry (a "%?" which was "?").
6164 + add -f option to infocmp and tic, which formats the terminfo
6165 if/then/else/endif so that they are readable (with newlines and
6167 + fixes for glibc addon scripts (patch by H.J.Lu).
6170 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
6171 declared (from Adam J Richter <adam@yggdrasil.com>)
6172 + remove spurious curs_set() call from leaveok() (J T Conklin).
6173 + corrected handling leaveok() in doupdate() (patch by Alexander V.
6175 + improved version of wredrawln (patch by Alexander V. Lukyanov).
6176 + correct c++/Makefile.in so install target do not have embedded ../lib
6177 to confuse it (patch by Thomas Graf <graf@essi.fr>).
6178 + add warning to preinstall rule which checks if the installer would
6179 overwrite a curses.h or termcap.h that is not derived from ncurses.
6180 (The recommended configuration for developers who need both is to
6181 use --disable-overwrite).
6182 + modify preinstall rule in top-level Makefile to avoid implicit
6183 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
6184 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
6185 <te@informatik.uni-hannover.de>)
6186 + refine ifdef's for TRACE so that libncurses has fewer dependencies
6187 on libtinfo when TRACE is disabled.
6188 + modify configure script so that if the --with-termlib option is used
6189 to generate a separate terminfo library, we chain it to the ncurses
6190 library with a "-l" option (reported by Darryl Miles and Ian T.
6194 + correct limits and window in wredrawln function (reported/analysis by
6195 Alexander V. Lukyanov).
6196 + correct sed expression in configure script for --with-fallback
6197 option (patch by Jesse Thilo).
6198 + correct some places in configure script where $enableval was used
6199 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
6200 + modify some man-pages so no '.' or '..' falls between TH and SH
6201 macros, to accommodate man_db program (reported by Ian T. Zimmerman
6203 + terminfo.src 10.2.1 downloaded from ESR's webpage (ESR).
6204 > several changes by Juergen Pfeifer:
6205 + add copyright notices (and rcs id's) on remaining man-pages.
6206 + corrected prototypes for slk_* functions, using chtype rather than
6208 + implemented the wcolor_set() and slk_color() functions
6209 + the slk_attr_{set,off,on} functions need an additional void*
6210 parameter according to XSI.
6211 + fix the C++ and Ada95 binding as well as the man pages to
6212 reflect above enhancements.
6215 + use 'stat()' rather than 'access()' in toe.c to check for the
6216 existence of $HOME/.terminfo, since it may be a file.
6217 + suppress configure CF_CXX_LIBRARY check if we are not using g++
6218 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
6220 + turn on hashmap scrolling code by default, intend to remedy defects
6222 + minor corrections to terminfo.src changelog.
6224 980302 4.2 release for upload to prep.ai.mit.edu
6225 + correct Florian's email address in ncurses-intro.html
6226 + terminfo.src 10.2.0 (ESR).
6229 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
6230 QingLong <qinglong@Bolizm.ihep.su>).
6231 + minor documentation fixes (patch by Juergen Pfeifer).
6232 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
6233 <claesg@algonet.se>).
6234 + correct sign-extension in lib_insstr.c (reported by Sotiris
6235 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
6238 + regenerated some documentation overlooked in 980214 patch
6239 (ncurses-intro.doc, curs_outopts.3x.html)
6240 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
6242 + change maintainer's mailing address to florian@gnu.org, change
6243 tentative mailing list address to bug-ncurses-request@gnu.org (patch
6244 by Florian La Roche).
6245 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
6246 Hasse <gh@raditex.se>).
6247 + restore version numbers to Ada95 binding, accidentally deleted by
6248 copyright patch (patch by Juergen Pfeifer).
6251 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
6252 distributions, though it is retained in development.
6253 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
6255 + update mailing-list information (bug-ncurses@gnu.org).
6256 + update announcement for upcoming 4.2 release.
6257 + modify -lm test to check for 'sin()' rather than 'floor()'
6258 + remove spurious commas from terminfo.src descriptions.
6259 + change copyright notices to Free Software Foundation
6262 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
6264 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
6265 + ifdef-out true-return from _nc_mouse_inline() which depends on
6266 merge of QNX patch (pending 4.2 release).
6267 > patch to split off seldom-used modules in ncurses (J T Conklin):
6268 This reduces size by up to 2.6kb.
6269 + move functionality of _nc_usleep into napms, add configuration case
6271 + moved wchgat() from lib_addch.c to lib_chgat.c
6272 + moved clearok(), immedok(), leaveok(), and scrollok() from
6273 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
6275 + moved napms() from lib_kernel.c to lib_napms.c
6276 + moved echo() and noecho() from lib_raw.c to lib_echo.c
6277 + moved nl() and nonl() from lib_raw.c to lib_nl.c
6280 + corrected conversion in tclock.c (cf: 971018).
6281 + updates to Makefile.glibc and associated Linux configure script
6283 + workaround a quoting problem on SunOS with tar-copy.sh
6284 + correct init_pair() calls in worm.c to work when use_default_colors()
6286 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
6288 + add ncv capability to FreeBSD console (cons25w), making reverse
6290 + correct sense of configure-test for sys/time.h inclusion with
6292 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
6293 + remove unused/obsolete test-program rules from progs/Makefile.in
6294 (the rules in ncurses/Makefile.in work).
6295 + remove shared-library loader flags from test/Makefile.in, etc.
6296 + simplify test/configure.in using new version of autoconf to create
6298 + suppress suffix rules in test/Makefile.in, provide explicit
6299 dependency to work with --srcdir option and less capable 'make'
6301 > adapted from patch for QNX by Xiaodan Tang:
6302 + initialize %P and %g variables set/used in tparm, and also ensure
6303 that empty strings don't return a null result from tparam_internal
6304 + add QNX-specific prototype for vsscanf()
6305 + move initialization of SP->_keytry from init_keytry() to newterm() to
6306 avoid resetting it via a keyok() call by mouse_activate().
6307 + reorganized some functions in lib_mouse() to use case-statements.
6308 + remove sgr string from qnx terminfo entry since it is reported to
6309 turn off attributes inconsistently.
6312 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
6313 test for no_color_video.
6314 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
6316 + implement no_color_video attribute, and as a special case, reverse
6317 colors when the reverse attribute cannot be combined with color.
6318 + check for empty string in $TERM variable (reported by Brett Michaels
6320 > from reports by Fred Fish:
6321 + add configure-test for isascii
6322 + add configure-test for -lm library.
6323 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
6324 > patches by J.J.G.Ripoll
6325 + add configure/makefile variables to support .exe extension on
6326 OS/2 EMX (requires additional autoconf patches).
6327 + explicitly initialize variables in lib_data.c to appease OS/2 linker
6328 > patches by Fred Fish <fnf@ninemoons.com>
6329 + misc/Makefile.in (install.data): Avoid trying to install the CVS
6331 + aclocal.m4 (install.includes): Remove files in the include directory
6332 where we are going to install new ones, not the original source
6334 + misc/terminfo.src: Add entry for "beterm", derived from termcap
6335 distributed with BeOS PR2 using captoinfo.
6336 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
6337 + aclocal.m4: Assume bool types are unsigned.
6338 + progs/infocmp.c: workaround mwcc 32k function data limit
6341 + correct initialization of color-pair (cf: 970524) in xmas.c, which
6342 was using only one color-pair for all colors (reported by
6344 + add multithread options for objects build on EMX, for compatibility
6346 + split up an expression in MKlib_gen.sh to work around a problem on
6347 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
6348 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
6350 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
6351 + remove bold/underline from sun console entries since they're not
6353 + correct _tracef calls in _tracedump(), which did not separate format
6355 + correct getopt string for tic "-o" option, and add it to man-page
6356 synopsis (reported by Darren Hiebert <darren@hmi.com>).
6357 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
6358 optimization (Alexander V. Lukyanov).
6359 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
6360 Muyter <phdm@macqel.be>).
6361 > patches by Juergen Pfeifer:
6362 + Improve a feature of the forms driver. For invisible fields
6363 (O_VISIBLE off) only the contents but not the attributes are cleared.
6364 We now clear both. (Reported by Javier Kohan
6365 <jkohan@adan.fceia.unr.edu.ar>)
6366 + The man page form_field_opts.3x makes now clear, that invisible
6367 fields are also always inactive.
6368 + adjust ifdef's to compile the C++ binding with the just released
6369 gcc-2.8.0 c++ and the corresponding new C++ libraries.
6372 + correct "?" command in ncurses.c; it was performing non-screen writes
6373 while the program was in screen mode. (It "worked" in 1.9.9e because
6374 that version sets OPOST and OCRNL incorrectly).
6375 + return error from functions in lib_kernel, lib_raw and lib_ti if
6376 cur_term is null, or if underlying I/O fails.
6377 + amend change to tputs() so that it does not return an error if
6378 cur_term is null, since some applications depend on being able to use
6379 tputs without initializing the terminal (reported by Christian J.
6380 Robinson <infynity@cyberhighway.net>).
6383 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
6384 1.9.9e, together with fixes/additions for the "ansi" terminal type.
6385 + add tic check for save/restore cursor if change_scroll_region is
6386 defined (reference: O'Reilly book).
6387 + modify read_termcap.c to handle EMX-style pathnames (reported by
6389 + modify lib_raw.c to use EMX's setmode (patch from J.J.G.Ripoll).
6390 Ripoll says EMX's curses does this.
6391 + modify _nc_tic_expand() to generate \0 rather than \200.
6392 + move/revise 'expand()' from dump_entry.c to ncurses library as
6393 _nc_tic_expand(), for use by tack.
6394 + decode \a as \007 for terminfo, as per XSI.
6395 + correct translation of terminfo "^@", to \200, like \0.
6396 + modify next_char() to treat <cr><lf> the same as <newline>, for
6397 cross-platform compatibility.
6398 + use new version of autoconf (971230) to work around limited
6399 environment on CLIX, due to the way autoconf builds --help message.
6400 > patch by Juergen Pfeifer:
6401 + check that the Ada95 binding runs against the correct version of
6403 + insert constants about the library version into the main spec-file of
6407 + modify open/fopen calls to use binary mode, needed for EMX.
6408 + modify configure script to work with autoconf 2.10 mods for OS/2
6409 EMX (from J.J.G.Ripoll).
6410 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
6411 bypasses limited sed buffer length.
6412 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
6413 (J.J.G.Ripoll) to support OS/2 EMX:
6414 + add a _scrolling flag to SP, to set when we encounter a terminal
6415 that simply cannot scroll.
6416 + corrected logic in _nc_add_to_try(), by ensuring that strings with
6417 embedded \200 characters are matched.
6418 + don't assume the host has 'link()' function, for linking terminfo
6422 + if there's no ioctl's to support sigwinch handler, disable it.
6423 + add configure option --disable-ext-funcs to remove the extended
6424 functions from the build.
6425 + add configure option --with-termlib to generate the terminfo
6426 functions as a separate library.
6427 + add 'sources' rule to facilitate cross-compiling.
6428 + review/fix order of mostlyclean/clean/distclean rules.
6429 + modify install-rule for headers to first remove old header, in
6430 case there was a symbolic link that confuses the install script.
6431 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
6432 + add null pointer checks in wnoutrefresh(), overlap() (patch by
6433 Xiaodan Tang <xtang@qnx.com>)
6434 + correct tputs(), which could dereference a null cur_term if invoked
6435 before terminal is initialized (patch by Christopher Seawood
6437 > patch by Juergen Pfeifer:
6438 + makes better use of "pragma Inline" in the Ada95 binding
6439 + resynchronizes the generated html manpages
6442 + additional fixes for man-pages section-references
6443 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
6445 + remove hpa/vpa from rxvt terminal description because they are not
6446 implemented correctly, added sgr0.
6447 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
6448 Leitgeb <leitgeb@leland.stanford.edu>)
6451 + modify protection when installing libraries to (normally) not
6452 executable. HP-UX shared libraries are an exception.
6453 + add configure check for 'tack'.
6454 + implement script for renaming section-references in man-page install,
6455 for Debian configuration.
6456 + add validity-check for SP in trace code in baudrate() (reported by
6458 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
6459 + modify 'overlay()' so that copy applies target window background to
6461 + correct 'mvwin()' so that it does not clear the previous locations.
6462 + correct lib_acs.c so that 8-bit character is not sign expanded in
6463 case of wide characters in chtype.
6464 + correct control-char test in lib_addch.c for use with wide chars
6465 + use attribute in the chtype when adding a control character in
6466 lib_addch.c control char was added with current attribute
6469 + save/restore errno in _tracef() function
6470 + change treatment of initialize_color to use a range of 0..1000
6471 (recommended by Daniel Weaver).
6472 + set umask in mkinstalldirs, fixing problems reported by users who
6473 have set root's umask to 077.
6474 + correct bug in tic that caused capabilities to be reprinted at the
6475 end of output when they had embedded comments.
6476 + rewrote wredrawln to correspond to XSI, and split-out since it is
6477 not often used (from report by Alexander V. Lukyanov, 970825)
6478 + rewrote Dan Nelson's change to make it portable, as well as to
6479 correct logic for handling backslashes.
6480 + add code to _nc_tgetent() to make it work more like a real tgetent().
6481 It removes all empty fields, and removes all but the first in a group
6482 of duplicate caps. The code was pulled from the BSD libtermcap code
6483 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
6484 + don't include --enable-widec in the --with-develop configure option,
6485 since it is not binary-compatible with 4.1 (noted by Alexander V.
6487 > patch by Juergen Pfeifer:
6488 + further improvements of the usage of elaboration pragmas in the Ada95
6490 + enhanced Ada95 sample to use the user_data mechanism for panels.
6491 + a fix for the configuration script to make gnat-3.10 the required
6493 + resync of the html version of the manpages
6496 > fixes/updates for terminfo.src:
6497 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
6499 + add hds200 description (Walter Skorski)
6500 + add EMX 0.9b descriptions
6501 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
6502 + rename xhpterm back to hpterm.
6503 > patch by Juergen Pfeifer:
6504 + Improves the usage of elaboration pragmas for the Ada95 binding.
6505 + Adds a translation of the test/rain.c into Ada95 to the samples.
6506 This has been contributed to the project by Laurent Pautet
6510 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
6512 + correction & simplification of delay computation in tputs, based on
6513 comments from Daniel Weaver.
6514 + replace test for SCO with more precise header tests.
6515 + add configure test for unsigned literals, use in NCURSES_BITS macro.
6516 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
6517 since they probably are not needed, and are less efficient (noted by
6519 + add -L$(libdir) to loader options, after -L../lib so that loaders
6520 that record this information will tend to do the right thing if
6521 the programs are moved around after installing them (suggested by
6523 + add -R option to loader options for programs for Solaris if the
6524 --enable-rpath option is specified for the libraries.
6527 + correct installed filename for shared libraries on *BSD (reported by
6531 + cleanup logic for deciding when tputs() should call delay_output(),
6532 based on comments from Daniel Weaver.
6533 + modified tputs() to avoid use of float.
6534 + correct use of trailpad in tputs(), which used the wrong variable
6535 in call to delay_output().
6536 + correct inverted expression for null-count in delay_output()
6537 (analysis by Daniel Weaver).
6538 + apply --enable-rpath option to Solaris (requested by Larry Virden).
6539 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
6540 + correct check for error-return by _nc_tgetent(), which returns 0
6542 + add configure test for BSD 4.4 cgetent() function, modify
6543 read_termcap.c to use the host's version of that if found, using the
6544 terminal database on FreeBSD (reported by Peter Wemm).
6545 + add u8, u9 strings to sun-il description for Daniel Weaver.
6546 + use NCURSES_CONST in panel's user-pointer.
6547 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
6548 so that will work on NeXT.
6549 + use _nc_set_screen() rather than assignments to SP to fix port to
6550 NeXT (reported by Francisco A. Tomei Torres).
6553 + force mandatory padding in bell and flash_screen, as specified in
6555 + don't allow padding_baud_rate to override mandatory delays (reported
6557 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
6558 defined, or if the cur_term pointer is not initialized. XSI treats
6559 this as unspecified. (requested by Daniel Weaver).
6560 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
6561 when that feature is not configured.
6562 + remove _nc_err_abort() calls when write_entry.c finds a directory but
6563 cannot write to it, e.g., when translating part/all of /etc/termcap
6564 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
6565 (this dates back to 951102, in 1.9.7a).
6566 + minor ifdef fixes to compile with atac and glibc 2.0.5c
6567 + add check for -lgen when configuring regexpr.h
6568 + modify Solaris shared-library option "-d y" to "-dy" to workaround
6569 incompatibility of gcc 2.7.2 vs vendor's tools.
6572 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
6574 + remove dangling backslash in panel/Makefile.in
6575 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
6577 + correct length of allocation in _nc_add_to_try(), to allow for
6579 + correct logic in _nc_remove_key(), which was discarding too many
6580 nodes (patch by Alexander V. Lukyanov)
6583 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
6584 shared libraries link properly (see 970524).
6585 + modify Linux shared-library generation to include library
6586 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
6587 panel libraries (suggested by Juergen Pfeifer).
6588 + modify configure script to use config.guess and config.sub rather
6589 than uname, which is unreliable on some systems.
6590 + updated Makefile.glibc, test-built with glibc 2.0.5c
6591 + modify keyname() to return values consistent with SVr4 curses (patch
6593 > changes requested by Daniel Weaver:
6594 + modify delay_output() so that it uses the same output function as
6595 tputs() if called from that function.
6596 + move _baudrate from SCREEN to TERMINAL so that low-level use of
6597 tputs works when SP is not set.
6598 > patch by Juergen Pfeifer:
6599 + factor lib_menu and lib_form into smaller modules
6600 + clean up the interface between panel and SCREEN
6601 + minor changes to the Ada95 mouse support implemenation
6602 + minor bugfix in C++ binding to ripoff windows
6603 + fix a few Ada95 html documentation pages
6606 + split-out lib_ungetch.c, make runtime link to resizeterm() to
6607 decouple those modules from lib_restart.c
6608 + add xterm-xf86-v39t description to terminfo.src
6609 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
6610 endwin() to avoid unnecessary repainting if the application has
6611 established an atexit function, etc. Encountered this problem in
6612 the c++ demo, whose destructors repaint the screen.
6613 + combine _nc_get_screensize() and resizeterm() calls as new function
6614 _nc_update_screensize().
6615 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
6617 + implement install-rules for Ada95 makefiles.
6618 + use screen_lines or MAXLINES as needed where LINES was coded,
6619 as well as screen_columns for COLS, in the ncurses library.
6620 > patch by Alexander V. Lukyanov:
6621 + modify logic for ripped-off lines to handle several SCREENs.
6622 > patch by Juergen Pfeifer:
6623 + factors lib_slk.c into some smaller modules
6624 + factors panel.c into some smaller modules
6625 + puts the static information about the current panel stack into the
6626 SCREEN structure to allow different panel stacks on different
6628 + preliminary fix for an error adjusting LINES to account for
6632 + move _nc_max_click_interval and other mouse interface items to SCREEN
6633 struct so that they are associated with a single terminal, and also
6634 save memory when the application does not need a mouse (roughly 3k vs
6636 + modify mouseinterval() so that a negative parameter queries the
6637 click-interval without modifying it.
6638 + modify ncurses 'i' test to work with ncurses' apparent extension from
6639 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
6641 + add configure options --with-ada-includes and --with-ada-objects,
6642 to drive Ada95 binding install (not yet implemented).
6643 + install C++ binding as -lncurses++ and associated headers with the
6644 other ncurses headers.
6645 + fix header uninstall if configure --srcdir is used.
6646 > minor interface changes to support 'tack' program -TD
6647 (request by Daniel Weaver <danw@znyx.com>).
6648 + export functions _nc_trans_string() and _nc_msec_cost().
6649 + add variable _nc_nulls_sent, to record the number of padding
6650 characters output in delay_output().
6651 + move tests for generic_type and hard_copy terminals in setupterm()
6652 to the end of that function so that the library will still be
6653 initialized, though not generally useful for curses programs.
6654 > patches by Alexander V. Lukyanov:
6655 + modify ClrBottom() to avoid using clr_eos if there is only one line
6657 + typo in configure --help.
6658 > patch by J T Conklin (with minor resync against Juergen's changes)
6659 + split-out lib_flash.c from lib_beep.c
6660 + split-out lib_hline.c and lib_vline.c from lib_box.c
6661 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
6664 > patch by Juergen Pfeifer:
6665 + correct source/target of c++/edit_cfg.sh
6668 + add color, mouse support to kterm terminfo entry.
6669 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
6670 providing "xterm"-style mouse.
6671 + updated rxvt's terminfo description to correspond to 2.21b, with
6672 fixes for the acsc (the box1 capability is incorrect, ech1 does not
6674 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
6675 an entry from equivalents in XENIX or AIX. This lets ncurses handle
6676 the distribution copy of rxvt's terminfo.
6677 + modify acsc capability for linux and linux-koi8 terminfo descriptions
6678 (from Pavel Roskin <pavel@absolute.spb.su>).
6679 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
6680 rather than 'i' (see 970802).
6681 + updated terminfo.src with reformatted acsc entries, and repaired the
6682 trashed entries with spurious '\' characters that this exposed.
6683 + add logic to dump_entry.c to reformat acsc entries into canonical
6684 form (sorted, unique mapping).
6685 + add configure script to generate c++/etip.h
6686 + add configure --with-develop option, to enable by default most of the
6687 experimental options (requested by Alexander V. Lukyanov).
6688 + rename 'deinstall' to 'uninstall', following GNU convention
6689 (suggested by Alexander V. Lukyanov).
6690 > patches by Alexander V. Lukyanov:
6691 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
6692 line of the screen, since carriage return will not cause a newline.
6693 + remove clause from PutCharLR() that would try to use
6694 eat_newline_glitch since that apparently does not work on some
6695 terminals (e.g., M$ telnet).
6696 + correct a limit check in scroll_csr_backward()
6697 > patches by Juergen Pfeifer:
6698 + adds dummy implementations of methods above() and below() to the
6700 + fixes missing returncode in NCursesWindow::ripoffline()
6701 + fixes missing returncode in TestApplication::run() in demo.cc
6702 + We should at least give a comment in etip.h why it is currently a
6703 problem to install the C++ binding somewhere
6704 + makes the WINDOW* argument of wenclose() a const.
6705 + modifies several of the routines in lib_adabind.c to use a const
6709 + add 'deinstall' rules.
6710 + use explicit assignments in configure --without-progs option to
6711 work around autoconf bug which doesn't always set $withval.
6712 + check for ldconfig, don't try to run it if not found.
6713 + implement simple/unoptimized case in lib_doupdate.c to handle
6714 display with magic cookie glitch, tested with ncurses.c program.
6715 + correct missing _tracef in getmouse(), to balance the returnCode
6717 + simplify show_attr() in ncurses.c using termattrs().
6718 > patches by Juergen Pfeifer:
6719 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
6721 + fixes a typo in a comment of frm_driver.c
6722 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
6723 generics should be compiled. Proper fixes to the configuration
6724 scripts are also provided.
6727 + several modifications to the configure script (requested by Ward
6729 + add configure options --without-progs, to suppress the build of the
6730 utility programs, e.g., for cross-compiling.
6731 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
6732 Makefile.in, to simplify setup for cross compiling.
6733 + add logic in configure script to recognize "--target=vxworks", and
6734 generate load/install actions for VxWorks objects.
6735 + move typedef for sigaction_t into SigAction.h to work around problem
6736 generating lint library.
6737 + modify fty_regex.c to reflect renaming of ifdef's for regular
6739 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
6740 reside in <sys/ioctl.h>.
6741 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
6742 the more obscure tests, which rely upon color.
6743 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
6744 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
6745 implementation difference wrt SVr4 curses, allow 's' test to work.
6746 + add missing endwin() to testscanw.c program (reported by Fausto
6747 Saporito <fausap@itb.it>).
6748 + fixes/updates for Makefile.glibc and related files under sysdeps
6750 > patches by Juergen Pfeifer:
6751 + add checks for null pointers, especially WINDOW's throughout the
6753 + solve a problem with wrong calculation of panel overlapping (reported
6755 + make sure that a panel's window isn't a pad.
6756 + do more error checking in module lib_touch.c
6757 + missing files for Ada95 binding from the last patch
6758 + synch. of generated html pages (RCS-Id's were wrong in html files)
6759 + support for Key_Resize in Ada binding
6760 + changed documentation style in ./c++/cursesm.h
6761 > patches by Alexander V. Lukyanov:
6762 + undo attempt to do recursive inlining for PutChar(), noting that it
6763 did not improve timing measurably, but inflated the size of
6767 + modify rain.c to use color.
6768 + correct scroll_csr_backward() to match scroll_csr_forward().
6769 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
6770 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
6771 of configure cache variables in 970906.
6772 + correct logic involving changes to O_VISIBLE option in
6773 Synchronize_Options function in frm_driver.c (Tony Hoffmann
6774 <Tony.Hoffmann@hia.nrc.ca>)
6775 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
6776 cross compiling (suggested by Chris Johns).
6777 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
6778 use it to support screen-size calculation (reported by Chris Johns).
6779 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
6780 Chris Johns <cjohns@plessey.com.au>)
6781 > patches by Juergen Pfeifer:
6782 + simplified, made minor corrections to Ada95 binding to form
6784 + The C++ binding has been enhanced:
6785 + Improve NCursesWindow class: added additional methods to cover
6786 more ncurses functionality. Make refresh() and noutrefresh()
6787 virtual members to allow different implementation in the
6789 + CAUTION: changed order of parameters in vline() and hline() of
6790 NCursesWindow class.
6791 + Make refresh() in NCursesPanel non-static, it is now a
6792 reimplementation of refresh() in the base class. Added
6793 noutrefresh() to NCursesPanel.
6794 + Added NCursesForm and related classes to support libform
6796 + Moved most of configuration related stuff from cursesw.h to etip.h
6797 + Added NCursesApplication class to support easy configuration of
6798 menu and forms related attributes as well as ripped of title lines
6799 and Soft-Label-Keys for an application.
6800 + Support of Auto-Cleanup for a menu's fieldlist.
6801 + Change of return type for current_item() and operator[] for menus.
6803 + Fixed a bug in form/fld_def.c: take into account that copyarg and
6804 freearg for a fieldtype may be NULL, makearg must not be NULL
6805 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
6806 not be NULL, copyarg and freearg may be NULL.
6807 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
6808 already disconnected.
6809 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
6810 navigation requests.
6811 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
6812 case-insensitiva comparision routine.
6813 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
6814 forms field by index.
6815 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
6817 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
6818 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
6819 broken (didn't handle colors correctly).
6820 + Enhanced lib_mouse.c: added _nc_has_mouse() function
6821 + Added _nc_has_mouse() prototype to curses.priv.h
6822 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
6823 streamlined implementation of wbkgd()
6824 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
6825 move of subwindows. Fixed update behavior of movements of regular
6827 + Fixed lib_pad.c: make chtype argument of pechochar() const.
6828 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
6829 of the original. Subwindows become regular windows by doing a
6831 + Improved manpage form_fieldtype.3x
6832 > patches by Alexander V. Lukyanov:
6833 + simplify the PutChar() handling of exit_am_mode, because we already
6834 know that auto_right_margin is true.
6835 + add a check in PutChar() for ability to insert to the case of
6836 shifting character to LR corner.
6837 + in terminal initialization by _nc_screen_resume(), make sure that
6838 terminal right margin mode is known.
6839 + move logic that invokes touchline(), or does the equivalent, into
6840 _nc_scroll_window().
6841 + modify scrolling logic use of insert/delete line capability, assuming
6842 that they affect the screen contents only within the current
6844 + modify rain.c to demonstrate SIGWINCH handler.
6845 + remove logic from getch() that would return an ERR if the application
6846 called getch() when the cursor was at the lower-right corner of the
6847 physical screen, and the terminal does not have insert-character
6849 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
6850 is read, and modify logic in getch() so this fix will yield the
6851 desired behavior, i.e., the screen is repainted automatically when
6852 the terminal window is resized.
6855 + add configure option --enable-sigwinch
6856 + modify view.c to test KEY_RESIZE logic, with "-r" option.
6857 + modify testcurs.c to eliminate misleading display wrt cursor type
6858 by testing if the terminal supports cnorm, civis, cvvis.
6859 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
6860 _nc_curr_col variables into linked programs: move these variables,
6861 making new modules lib_cur_term and trace_buf (reported by Francisco
6862 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
6863 > patches by Alexander V. Lukyanov:
6864 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
6865 the SIGWINCH handler has been called since the last call to
6867 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
6868 + add SIGWINCH handler to ncurses library which is used if there is no
6869 application SIGWINCH handler in effect when the screen is
6871 + make linked list of all SCREEN structures.
6872 + move curses.h include before definition of SCREEN to use types in
6874 + correction to ensure that wgetstr uses only a newline to force a
6878 + add experimental configure option --enable-safe-sprintf; the normal
6879 mode now allocates a buffer as large as the screen for the
6880 lib_printw.c functions.
6881 + modify wgetch to refresh screen when reading ungetch'd characters,
6882 since the application may require this - SVr4 does this.
6883 + refine treatment of newline in wgetstr to echo only when this would
6884 force the screen to scroll.
6887 + remove override in wgetstr() that forces keypad(), since SVr4 does
6889 + correct y-reference for erasure in wgetstr() when a wrap forces a
6891 + correct x-position in waddch() after a wrap forces a scroll.
6892 + echo newline in wgetstr(), making testscanw.c scroll properly when
6894 + modify vwscanw() to avoid potential buffer overflow.
6895 + rewrote lib_printw.c to eliminate fixed-buffer limits.
6896 > patches by Alexander V. Lukyanov:
6897 + correct an error in handling cooked mode in wgetch(); processing
6898 was in the wrong order.
6899 + simplified logic in wgetch() that handles backspace, etc., by using
6901 + correct wechochar() so that it interprets the output character as
6903 + modify pechochar() to use prefresh() rather than doupdate(), since
6904 the latter does not guarantee immediate refresh of the pad.
6905 + modify pechochar() so that if called with a non-pad WINDOW, will
6906 invoke wechochar() instead.
6907 + modify fifo indices to allow fifo to be longer than 127 bytes.
6910 + add xterm-8bit to terminfo.src
6911 + moved logic for SP->_fifohold inside check_pending() to make it
6912 work properly when we add calls to that function.
6913 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
6914 are assigned to bool values (patch by H.J.Lu).
6915 > patches by Alexander V. Lukyanov:
6916 + several fixes to getch:
6917 1. Separate cooked and raw keys in fifo
6918 2. Fix the case of ungetch'ed KEY_MOUSE
6919 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
6920 4. correctly handle input errors (i.e., EINTR) without loss of raw
6922 5. recognize ESC KEY_LEFT and similar
6923 6. correctly handle the case of receiption of KEY_MOUSE from gpm
6924 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
6925 single mouse events (press/release) to be ignored in favor of
6926 composed events (click). Improves on a fix from integrating gpm
6928 + add another call to check_pending, before scrolling, for
6929 line-breakout optimization
6930 + improve hashmap.c by
6931 1. fixed loop condition in grow_hunks()
6932 2. not marking lines with offset 0
6933 3. fixed condition of 'too far' criteria, thus one-line hunks are
6934 ignored and two lines interchanged won't pass.
6935 + rewrote/simplified _nc_scroll_optimize() by separating into two
6936 passes, forward/backward, looking for chunks moving only in the given
6938 + move logic that emits sgr0 when initializing the screen to
6939 _nc_screen_init(), now invoked from newterm.
6940 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
6941 function and screen cleanup (i.e., color) into _nc_screen_wrap()
6943 + add new functions _nc_screen_init(), _nc_screen_resume() and
6945 + rename _nc_mvcur_scrolln() to _nc_scrolln().
6946 + add a copy of acs_map[] to the SCREEN structure, where it can be
6947 stored/retrieved via set_term().
6948 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
6952 + implement experimental _nc_perform_scroll().
6953 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
6954 initializing the screen, as does SVr4 (reported by Alexander V.
6956 + added test_progs rule to ncurses/Makefile.
6957 + modify test/configure.in to check if initscr is already in $LIBS
6958 before looking for (n)curses library.
6959 + correct version-number in configure script for OSF1 shared-library
6960 options (patch by Tim Mooney).
6961 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
6962 originally patched) since the c++ demo files do not necessarily
6963 include ncurses_cfg.h
6964 + supply default value for --enable-assertions option in configure
6965 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
6966 > patches by Alexander V. Lukyanov:
6967 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
6969 + optimize waddch_literal() and waddch_nosync() by factoring out
6970 common subexpressions.
6971 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
6972 + corrections to render_char(), to make handling of colored blanks
6973 match SVr4 curses, as well as to correct a bug that xor'd space
6974 against the background character.
6975 + replaced hash function with a faster one (timed it)
6976 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
6977 cost_effective() calls on the same lines.
6978 + modified cost_effective() so it is now slightly more precise.
6979 > patches for glibc integration (H.J.Lu):
6980 + add modules define_key, keyok, name_match, tries
6981 + add makefile rules for some of the unit tests in ncurses (mvcur,
6982 captoinfo, hardscroll, hashmap).
6983 + update Linux configure-script for wide-character definitions.
6986 + modify _tracebits() to show the character size (e.g., CS8).
6987 + modify tparm() to emit '\200' where the generated string would have a
6988 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
6989 terminal type ncr7900).
6990 + modify install process so that ldconfig is not invoked if the
6991 package is built with an install-prefix.
6992 + correct test program for chtype size (reported by Tim Mooney).
6993 + add configure option --disable-scroll-hints, using this to ifdef the
6994 logic that computes indices for _nc_scroll_optimize().
6995 + add module ncurses/softscroll.c, to perform single-stage computation
6996 of scroll indices used in _nc_scroll_optimize(). This is faster than
6997 the existing scrolling algorithm, but tends to make too-small hunks.
6998 + eliminate fixed buffer size in _nc_linedump().
6999 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
7000 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
7001 by Alexander V. Lukyanov).
7002 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
7003 + correct processing of "configure --enable-assertions" option (patch
7004 by Juergen Pfeifer).
7007 + add '-s' (single-step) option too test/hashtest.c, correct an error
7008 in loop limit for '-f' (footer option), toggle scrollok() when
7009 writing footer to avoid wrap at lower-right corner.
7010 + correct behavior of clrtoeol() immediately after wrapping cursor,
7011 which was not clearing the line at the cursor position (reported by
7012 Liviu Daia <daia@stoilow.imar.ro>).
7013 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
7014 (reported by Klaus Weide <kweide@tezcat.com>).
7015 + many corrections to make progs/capconvert work, as well as make it
7016 reasonably portable and integrated with ncurses 4.1 (reported by Dave
7017 Furstenau <df@ravine.binary.net>).
7020 + add flag SP->_fifohold, corresponding logic to modify the behavior of
7021 the line breakout logic so that if the application does not read
7022 input, refreshes will not be stopped, but only slowed.
7023 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
7024 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
7025 masks are identical with the A_xxx masks.
7026 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
7027 configuration of wide-characters.
7028 + modify tset to behave more like SVr4's tset, which does not modify
7029 the settings of intr, quit or erase unless they are given as command
7030 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
7031 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
7032 does not have getttynam().
7033 + extend baudrate table in tset.c to match baudrate() function.
7034 + add table entries for 230400 and 460800 bd to baudrate() function.
7035 + improve breakout logic by allowing it before the first line updated,
7036 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
7037 + correct initialization of vcost in relative_move(), for cursor-down
7038 case (patch by Alexander V. Lukyanov).
7039 > nits gleaned from Debian distribution of 1.9.9g-3:
7040 + install symbolic link for intotocap.
7041 + reference libc directly when making shared libraries.
7042 + correct renaming of curs_scr_dmp.3x in man_db.renames.
7043 + guard tgetflag() and other termcap functions against null cur_term
7047 + corrected initial state of software echo (error in 970405, reported
7048 by Alexander V. Lukyanov).
7049 + reviewed/added messages to configure script, so that all non-test
7050 options should be accompanied by a message.
7051 + add configure check for long filenames, using this to determine if
7052 it is safe to allow long aliases for terminal descriptions as does
7054 + add configure options for widec (wide character), hashmap (both
7056 > patch by Alexander V. Lukyanov:
7057 + hashmap.c - improved by heuristic, so that scroll test works much
7058 better when csr is not available.
7059 + hardscroll.c - patched so that it continues to scroll other chunks
7060 after failure to scroll one.
7061 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
7062 is avoided as it is relative costly. Fixed wrong coordinates in one
7063 case and wrong string in TRACE.
7064 > patch by Juergen Pfeifer:
7065 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
7069 + remove alternate character set from kterm terminfo entry; it uses the
7070 shift-out control for a purpose incompatible with curses, i.e., font
7072 + disentangle 'xterm' terminfo entry from some derived entries that
7073 should be based on xterm-r6 instead.
7074 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
7075 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
7076 + correct logic in lib_mvcur.c that uses back_tab.
7079 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
7080 contents of curscr are saved in newscr before clearing the screen.
7081 This is needed to make repainting work with the present logic of
7083 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
7086 + add limit checks to _nc_read_file_entry() to guard against overflow
7087 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
7088 + correct some loop-variable errors in xmc support in lib_doupdate.c
7089 + modify ncurses 'b' test to add gaps, specified by user, to allow
7090 investigation of interaction with xmc (magic cookie) code.
7091 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
7092 list from has_colors(), which gcc ignores, but SVr4 does not
7093 (reported by Larry Virden).
7094 + correct rmso capability in wy50-mc description.
7095 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
7097 > patch by Juergen Pfeifer:
7098 + Add bindings for keyok() and define_key() to the Ada95 packages.
7099 + Improve man pages menu_post.3x and menu_format.3x
7100 + Fix the HTML pages in the Ada95/html directory to reflect the above
7104 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
7105 pending changes to both curscr and newscr are flushed properly.
7106 This fixes a case where the first scrolling operation in nvi would
7107 cause the screen to be cleared unnecessarily and repainted before
7108 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
7110 + correct error in trans_string() which added embedded newlines in a
7111 terminfo description to the stored strings.
7112 + remove spurious newlines from sgr in wyse50 (and several other)
7113 terminfo descriptions.
7114 + add configure option for experimental xmc (magic cookie) code,
7115 "--enable-xmc-glitch". When disabled (the default), attributes that
7116 would store a magic cookie are suppressed in vidputs(). The magic
7117 cookie code is far from workable at this stage; the configuration
7118 option is a stopgap.
7119 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
7120 + correct path for invoking make_keys (a missing "./").
7123 + correct sign-extension problem with "infocmp -e", which corrupted
7124 acsc values computed for linux fallback data.
7125 + correct dependency on ncurses/names.c (a missing "./").
7126 + modify configure script to use '&&' even for cd'ing to existing
7127 directories to work around broken shell interpreters.
7128 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
7132 + restore logic in _nc_scroll_optimize() which marks as touched the
7133 lines in curscr that are shifted.
7134 + add new utility 'make_keys' to compute keys.tries as a table rather
7135 than a series of function calls.
7136 + correct include-dependency for tic.h used by name_match
7137 + removed buffer-allocation for name and description from m_item_new.c,
7138 since this might result in incompatibilities with SVr4. Also fixed
7139 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
7140 report by Avery Pennarun <apenwarr@foxnet.net>)
7141 + removed the mechanism to timestamp the generated Ada95 sources. This
7142 resulted always in generating patches for the HTML doc, even when
7143 nothing really changed (patch by Juergen Pfeifer).
7144 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
7147 + remove ech capability from rxvt description because it does not work.
7148 + add missing case logic for infocmp -I option (reported by Lorenzo M.
7149 Catucci <lorenzo@argon.roma2.infn.it>)
7150 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
7151 caused glitches in the ncurses 'p' test since the area outside the
7152 pad was not compared when setting up indices for _nc_scroll_optimize.
7153 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
7154 4.4, as well as to eliminate fixed-size buffer (reported by Chris
7155 Tanner <tannerc@aecl.ca>)
7156 + correct prototype for termattrs() as per XPG4 version 2.
7157 + add placeholder prototypes for color_set(), erasewchar(),
7158 term_attrs(), wcolor_set() as per XPG4 version 2.
7159 + correct attribution for progs/progs.priv.h and lib_twait.c
7160 + improve line-breakout logic by checking based on changed lines rather
7161 than total lines (patch by Alexander V. Lukyanov).
7162 + correct loop limits for table-lookup of enumerated value in form
7163 (patch by Juergen Pfeifer).
7164 + improve threshhold computation for determining when to call ClrToEOL
7165 (patch by Alexander V. Lukyanov).
7168 + add configure option --disable-database to force the library to
7169 use only the fallback data.
7170 + add configure option --with-fallbacks, to specify list of fallback
7171 terminal descriptions.
7172 + add a symbolic link for ncurses.h during install; too many programs
7173 still assume there's an ncurses.h
7174 + add new terminfo.src entry for xterm-xf86-v33.
7175 + restore terminfo.src entry for emu to using setf/setb, since it is
7176 not, after all, generating ANSI sequences. Corrected missing comma
7177 that caused setf/setb entries to merge.
7178 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
7179 that applications can disable ncurses' mouse and supply their own
7181 + add extensions keyok() and define_key(). These are designed to allow
7182 the user's application better control over the use of function keys,
7183 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
7184 a mailing-list thread started by Kenneth Albanowski
7185 <kjahds@kjahds.com> Nov'1995).
7186 + restore original behavior in ncurses 'g' test, i.e., explicitly
7187 set the keypad mode rather than use the default, since it confuses
7189 + rewrote the newdemo banner so it's readable (reported by Hugh
7191 + tidy up exit from hashtest (reported by Hugh Daniel).
7192 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
7194 + correct tput program, checking return-value of setupterm (patch by
7196 + correct logic in pnoutrefresh() and pechochar() functions (reported
7197 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
7198 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
7199 original implementation (1.9.6).
7200 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
7201 <rwuest@sire.vt.com>)
7202 + move calls of _nc_background() out of various loops, as its return
7203 value will be the same for the whole window being operated on (patch
7205 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
7206 SVr4 headers (patch by J T Conklin <jtc@NetBSD.ORG>)
7207 + modify glibc addon-configure scripts (patch by H.J.Lu).
7208 + correct a bug in hashmap.c: the size used for clearing the hashmap
7209 table was incorrect, causing stack corruption for large values of
7210 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
7211 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
7212 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
7214 > several changes by Juergen Pfeifer:
7215 + correct a missing error-return in form_driver.c when wrapping of a
7216 field is not possible.
7217 + correct logic in form_driver.c for configurations that do not have
7218 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
7219 + change several c++ binding functions to inline.
7220 + modify c++ menu binding to inherit from panels, for proper
7222 + correct freeing of menu items in c++ binding.
7223 + modify c++ binding to reflect removal of const from user data pointer
7224 in forms/menus libraries.
7227 + add description of xterm-16color.
7228 + modify name of shared-library on *BSD to end with $(REL_VERSION)
7229 rather than $(ABI_VERSION) to match actual convention on FreeBSD
7231 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
7232 (reported by Hugh Daniel <hugh@rat.toad.com>).
7233 + corrected include-dependency in menu/Makefile so that "make install"
7234 works properly w/o first doing "make".
7235 + add fallback definition for isascii, used in infocmp.
7236 + modify xmas to use color, and to exit right away when a key is
7238 + modify gdc so that the scrolled digits function as described (there
7239 was no time delay between the stages, and the digits overwrote the
7240 bounding box without tidying up).
7241 + modify lib_color.c to use setaf/setab only for the ANSI color codes
7242 0 through 7. Using 16 colors requires setf/setb.
7243 + modify ncurses 'c' test to work with 16 colors, as well as the normal
7245 + remove const qualifier from user data pointer in forms and menus
7246 libraries (patch by Juergen Pfeifer).
7247 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
7248 function, thereby not interpreting tabs, etc., as per spec (patch by
7249 Alexander V. Lukyanov).
7252 + suppress check for pre-existing ncurses header if the --prefix
7253 option is specified.
7254 + add configure options "--with-system-type" and
7255 "--with-system-release" to assist in checking the generated
7257 + add configure option "--enable-rpath" to allow installers to specify
7258 that programs linked against shared libraries will have their library
7259 path embedded, allowing installs into nonstandard locations.
7260 + add flags to OSF1 shared-library options to specify version and
7261 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
7262 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
7263 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
7264 + modify link flags to accommodate HP-UX linker which embeds absolute
7265 pathnames in executables linked against shared libraries (reported by
7266 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
7267 <ats@hubert.wustl.edu>).
7268 + drop unnecessary check for attribute-change in onscreen_mvcur() since
7269 mvcur() is the only caller within the library, and that check in turn
7270 is exercised only from lib_doupdate.c (patch by Alexander V.
7272 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
7273 can use the background of stdscr as a parameter to that function
7274 (patch by Alexander V. Lukyanov).
7275 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
7276 the latter's internal functions, as well as to eliminate unnecessary
7277 cursor save/restore operations (patch by Alexander V. Lukyanov).
7278 + omit parameter of ClrUpdate(), since it is called only for newscr,
7279 further optimized/reduced by using ClearScreen() and TransformLine()
7280 to get rid of duplicate code (patch by Alexander V. Lukyanov).
7281 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
7282 that are smaller than the distance to be moved (patch by Alexander V.
7284 + correct a place where the panel library was not ifdef'd in ncurses.c
7286 + documentation fixes (Juergen Pfeifer)
7288 970515 4.1 release for upload to prep.ai.mit.edu
7289 + re-tag changes since 970505 as 4.1 release.
7292 + modify ncurses 'g' test to allow mouse input
7293 + modify default xterm description to include mouse.
7294 + modify configure script to add -Wwrite-strings if gcc warnings are
7295 enabled while configuring --enable-const (and fixed related
7297 + add toggle, status display for keypad mode to ncurses 'g' test to
7298 verify that keypad and scrollok are not inherited from parent window
7299 during a call to newwin.
7300 + correction to MKexpanded.sh to make it work when configure --srcdir
7301 is used (reported by H.J.Lu).
7302 + revise test for bool-type, ensuring that it checks if builtin.h is
7303 available before including it, adding test for sizeof(bool) equal
7304 to sizeof(short), and warning user if the size cannot be determined
7305 (reported by Alexander V. Lukyanov).
7306 + add files to support configuration of ncurses as an add-on library
7307 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
7310 + correct buffer overrun in lib_traceatr.c
7311 + modify change to lib_vidattr.c to avoid redundant orig_pair.
7312 + turn on 'echo()' in hanoi.c, since it is initially off.
7313 + rename local 'errno' variable in etip.h to avoid conflict with global
7315 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
7318 970505 4.1 pre-release
7319 + regenerate the misc directory html dumps without the link list, which
7321 + correct dependency in form directory makefile which caused
7322 unnecessary recompiles.
7323 + correct substitution for ABI_VERSION in test-makefile
7324 + modify install rules for shared-library targets to remove the target
7325 before installing, since some install programs do not properly handle
7326 overwrite of symbolic links.
7327 + change order of top-level targets so that 'include' immediate
7328 precedes the 'ncurses' directory, reducing the time between new
7329 headers and new libraries (requested by Larry Virden).
7330 + modify lib_vidattr.c so that colors are turned off only before
7331 modifying other attributes, turned on after others. This makes the
7332 hanoi.c program display correctly on FreeBSD console.
7333 + modify debug code in panel library to print user-data addresses
7334 rather than the strings which they (may) point to.
7335 + add check to ensure that C++ binding and demo are not built with g++
7336 versions below 2.7, since the binding uses templates.
7337 + modify c++ binding and demo to build and run with SGI's c++ compiler.
7338 (It also compiles with the Sun SparcWorks compiler, but the demo does
7339 not link, due to a vtbl problem).
7340 + corrections to demo.cc, to fix out-of-scope variables (Juergen
7344 + correct memory leak in _nc_trace_buf().
7345 + add configure test for regexpr.h, for Unixware 1.x.
7346 + correct missing "./" prefixing names of generated files in ncurses
7348 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
7349 to workaround shell bug on FreeBSD 2.1.5
7350 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
7351 that caused incorrect result in ncurses_cfg.h
7352 + correct initialization in lib_trace.c, which omitted version info.
7353 + remove ech, el1 attributes from cons25w description; they appear to
7354 malfunction in FreeBSD 2.1.5
7355 + correct color attributes in terminfo.src and lib_color.c to match
7356 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
7358 + use curs_set() rather than checks via tigetstr() for test programs
7359 that hide the cursor: firework, rain, worm.
7360 + ensure that if the terminal lacks change_scroll_region, parm_index
7361 and parm_rindex are used only to scroll the whole screen (patch by
7363 + correct curs_set() logic, which did not return ERR if the requested
7364 attributes did not exist, nor did it assume an unknown initial state
7365 for the cursor (patch by Alexander V. Lukyanov).
7366 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
7367 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
7368 + correct hashmap.c, which did not update index information (patch by
7369 Alexander V. Lukyanov).
7370 + fixes for C++ binding and demo (see c++/NEWS) (Juergen Pfeifer).
7371 + correct index in lib_instr.c (Juergen Pfeifer).
7372 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
7373 (patch by Juergen Pfeifer).
7376 + corrected cost computation in PutRange(), which was using
7377 milliseconds compared to characters by adding two new members to the
7378 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
7379 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
7380 const array of strings (suggested by Alexander V. Lukyanov). The
7381 original suggestion in 970118 used a perl script.
7382 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
7383 well as noting the attributes that are not supported by a terminal.
7384 + trace the computation of cost values in lib_mvcur.c
7385 + modify _nc_visbuf() to use octal rather than hex, corrected sign
7386 extension bug in that function that caused buffer overflow.
7387 + modify trace in lib_acs.c to use _nc_visbuf().
7388 + suppress trace within _traceattr2().
7389 + correct logic of _tracechtype2(), which did not account for repeats
7390 or redefinition within an acsc string.
7391 + modify debug-library version baudrate() to use environment variable
7392 $BAUDRATE to override speed computation. This is needed for
7394 + correct problems shown by "weblint -pedantic".
7395 + update mailing-list information (now ncurses@bsdi.com).
7398 + Improve form_field_validation.3x manpage to better describe the
7399 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
7400 precise information how the range checking can be avoided. (patch by
7401 Juergen Pfeifer, reported by Bryan Henderson)
7402 + change type of min/max value of form types TYPE_INTEGER to long to
7403 match SVr4 documentation.
7404 + set the form window to stdscr in set_form_win() so that form_win()
7405 won't return null (patch by Juergen Pfeifer, reported by Bryan
7406 Henderson <bryanh@giraffe.netgate.net>).
7409 + corrected ifdef'ing of inline (cf: 970321) for TRACE vs C++.
7410 + corrected toggle_attr_off() macro (patch by Andries Brouwer).
7411 + modify treatment of empty token in $MANPATH to /usr/man (reported by
7412 <Andries.Brouwer@cwi.nl>)
7413 + modify traces that record functions-called so that chtype and attr_t
7414 values are expressed symbolically, to simplify reuse of generated
7415 test-scripts on SVr4 regression testing.
7416 + add new trace functions _traceattr2() and _tracechtype2()
7419 + add configure option --enable-const, to support the use of 'const'
7420 where XSI should have, but did not, specify. This defines
7421 NCURSES_CONST, which is an empty token otherwise, for strict
7423 + make processing of configure options more verbose by echoing the
7424 --enable/--with values.
7425 + add configure option --enable-big-core
7426 + set initial state of software echo off as per XSI.
7427 + check for C++ builtin.h header
7428 + correct computation of absolute-path for $INSTALL that dropped "-c"
7429 parameter from the expression.
7430 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
7431 ncurses is integrated into larger systems (adapted from diffs by
7433 + correct inequality in lib_doupdate.c that caused a single-char to not
7434 be updated when the char on the right-margin was not blank, idcok()
7435 was true (patch by Alexander V Lukyanov (in 970124), reported
7436 by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> in 970329).
7437 + modify 'clean' rule in include/Makefile so that files created by
7438 configure script are removed in 'distclean' rule instead.
7441 + correct array limit in tparam_internal(), add case to interpret "%x"
7442 (patch by Andreas Schwab)
7443 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
7444 value properly when non-numeric characters were given (reported by
7445 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7448 + move definition of __INTERNAL_CAPS_VISIBLE before include for
7449 progs.priv.h (patch by David MacKenzie).
7450 + add configuration summary, reordered check for default include
7451 directory to better accommodate a case where installer is configuring
7452 a second copy of ncurses (reported by Klaus Weide
7453 <kweide@tezcat.com>)
7454 + moved the #define for 'inline' as an empty token from the
7455 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
7456 (reported by Ward Horner).
7457 + modify test for bool builtin type to use 'unsigned' rather than
7458 'unknown' when cross-compiling (reported by Ward Horner).
7461 + add header dependencies so that "make install.libs" will succeed
7462 even if "make all" is not done first.
7463 + moved some macros from lib_doupdate.c to curses.priv.h to use in
7464 expanded functions with ATAC.
7465 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
7466 the winnstr functions can return more characters than will fit on one
7470 + modify script that generates lib_gen.c to support traces of called &
7472 + add new configure option "--disable-macros", for testing calls within
7474 + corrected logic that screens level-checking of called/return traces.
7477 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
7478 addressing request by Ward Horner.
7479 + check for cross-compiling before trying to invoke the autoconf
7480 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
7481 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
7482 a pointer-increment.
7483 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
7487 + add configure option --enable-expanded, together with code that
7488 implements an expanded form of certain complex macros, for testing
7490 + disable CHECK_POSITION unless --with-assertions is configured
7491 (Alexander V Lukyanov pointed out that this is redundant).
7492 + use keyname() to show traced chtype values where applicable rather
7493 than _tracechar(), which truncates the value to 8-bits.
7494 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
7495 + modify makefiles in progs and test directories to avoid using C
7496 preprocessor options on link commands (reported by Ward Horner)
7497 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
7499 + modify ifdef's to use configure-defined symbols consistently
7500 (reported by Ward Horner)
7501 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
7502 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
7503 + rename struct try to struct tries, to avoid name conflict with C++
7504 (reported by Gary Johnson).
7505 + modify worm.c to hide cursor while running.
7506 + add -Wcast-qual to gcc warnings, fix accordingly.
7507 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
7508 wrapping (Alexander V Lukyanov).
7509 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
7510 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
7511 + extend IRIX configuration to IRIX64
7512 + supply missing install.libs rule needed after restructuring
7516 + modify "make mostlyclean" to leave automatically-generated source
7517 in the ncurses directory, for use in cross-compiles.
7518 + autogenerated object-dependencies for test directory
7519 + add configure option --with-rcs-ids
7520 + modify configuration scripts to generate major/minor/patch versions
7521 (suggested by Alexander V Lukyanov).
7522 + supply missing va_end's in lib_scanw.c
7523 + use stream I/O for trace-output, to eliminate fixed-size buffer
7524 + add TRACE_ICALLS definition/support to lib_trace.c
7525 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
7528 + add/modify traces for called/return values to simplify extraction
7530 + changed _nc_visbuf to quote its result, and to dynamically allocate
7531 the returned buffer.
7532 + invoke ldconfig after installing shared library
7533 + modify install so that overwrite applies to shared library -lcurses
7534 in preference to static library (reported by Zeyd M Ben-Halim 960928).
7535 + correct missing ';' in 961221 mod to overwrite optional use of $(LN_S)
7537 + fixes to allow "make install" to work without first doing a "make
7538 all" (suggested by Larry Virden).
7541 + correct order of #ifdef for TABS_OK.
7542 + instrumented toe.c to test memory-leaks.
7543 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
7544 + include <sys/types.h> in configuration test for regex.h (patch by
7546 + make infocmp recognize -I option, for SVr4 compatibility (reported by
7547 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
7550 + add extension 'use_default_colors()', modified test applications that
7551 use default background (firework, gdc, hanoi, knight, worm) to
7553 + correct some limit checks in lib_doupdate.c exposed while running
7555 + use typeCalloc macro for readability.
7556 + add/use definition for CONST to accommodate testing with Solaris
7557 (SVr4) curses, which doesn't use 'const' in its prototypes.
7558 + modify ifdef's in test/hashtest.c and test/view.c to compile with
7560 + modify _tracedump() to pad pad colors & attrs lines to match change
7561 in 970101 showing first/last changes.
7562 + corrected location of terminating null on dynamically allocated forms
7563 fields (patch by Per Foreby).
7566 + added headers to make view.c compile on SCO with the resizeterm()
7567 code (i.e., struct winsize) - though this compiles, I don't have a
7568 suitable test configuration since SIGWINCH doesn't pass my network to
7569 that machine - T.Dickey.
7570 + update test/configure.in to supply some default substitutions.
7571 + modify configure script to add -lncurses after -lgpm to fix problem
7572 linking against static libraries.
7573 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
7575 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
7576 <jbuhler@cs.washington.edu>)
7577 + modify headers to accommodate compilers that don't allow duplicate
7578 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
7580 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
7581 + modify lib_doupdate to make el, el1 and ed optimization use the
7582 can_clear_with macro, and change EmitRange to allow leaving cursor at
7583 the middle of interval, rather than always at the end (patch by
7584 Alexander V Lukyanov). This was originally 960929, resync 970106.
7587 + workaround defect in autoconf 2.12 (which terminates configuration
7588 if no C++ compiler is found) by adding an option --without-cxx.
7589 + modify several man-pages to use tbl, where .nf/.fi was used (reported
7591 + correct font-codes in some man-pages (patch by Jesse Thilo
7592 <Jesse.Thilo@pobox.com>)
7593 + use configure script's knowledge of existence of g++ library for the
7594 c++ Makefile (reported by Paul Jackson).
7595 + correct misleading description of --datadir configuration option
7596 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
7599 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
7601 > the logic for non_dest_scroll_region was interchanged between the
7602 forward & reverse scrolling cases.
7603 > multiple returns from the function allowed certain conditions to do
7604 part of an operation before discovering that it couldn't be
7605 completed, returning an error without restoring the cursor.
7606 > some returns were ERR, where the function had completed the
7607 operation, because the insert/delete line logic was improperly
7608 tested (this was probably the case Peter saw).
7609 > contrary to comments, some scrolling cases were tested after the
7610 insert/delete line method.
7611 + modify _tracedump() to show first/last changes.
7612 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
7613 refresh problem (reported by Peter Wemm) that caused nvi to not show
7614 result of ":r !ls" until a ^L was typed.
7616 961229 (internal alpha)
7617 + correct some of the writable-strings warnings (reported by Gary
7618 Johnson <gjohnson@season.com>). Note that most of the remaining ones
7619 are part of the XSI specification, and can't be "fixed".
7620 + improve include-dependencies in form, menu, panel directories.
7621 + correct logic of delay_output(), which would return early if
7622 there is data on stdin.
7623 + modify interface & logic of _nc_timed_wait() to support 2 file
7624 descriptors, needed for GPM.
7625 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
7626 support, correcting logic in wgetch() and _nc_mouse_parse() which
7627 prevented patch from working properly -TD
7628 + improve performance of panel algorithm (Juergen Pfeifer 961203).
7629 + strip RCS id's from generated .html files in Ada95 subtree.
7630 + resync with generated .html files (Juergen Pfeifer 961223).
7631 + terminfo.src 10.1.0 (ESR).
7634 + release as 4.0 to accommodate Linux ld.so.1.8.5
7635 + correct syntax/spelling, regenerated .doc files from .html using
7637 + refined forms/menus makefiles (Juergen Pfeifer 961223).
7640 + remove logic in read_entry.c that attempts to refine errno by using
7641 'access()' for the directory (from patch by Florian La Roche).
7642 + correct configure test/substitution that inhibits generating
7643 include-path to /usr/include if gcc is used (reported by Florian La
7645 + modify setupterm() to allocate new TERMINAL for each call, just as
7646 solaris' curses does (Alexander V Lukyanov 960829).
7647 + corrected memory leaks in read_entry.c
7648 + add configure options --with-dbmalloc, --with-dmalloc, and
7649 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
7650 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
7652 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
7653 i.e., set current directory before linking.
7654 + split-out panel.priv.h, improve dependencies for forms, menus
7655 (Juergen Pfeifer 961204).
7656 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
7657 freeing the corresponding WINDOW (found using Purify).
7658 + modify delwin() to return ERR if the window to be deleted has
7659 subwindows, needed as a side-effect of resizeterm() (found using
7660 Purify). Tested and found that SVr4 curses behaves this way.
7661 + implement logic for _nc_freeall(), bringing stub up to date.
7664 + modify wbkgd() so that it doesn't set nulls in the rendered text,
7665 even if its argument doesn't specify a character (fixes test case by
7666 Juergen Pfeifer for bug-report).
7667 + set window-attributes in wbkgd(), to simplify comparison against
7668 Solaris curses, which does this.
7671 + replace most constants in ncurses 'o' test by expressions, making it
7672 work with wider range of screen sizes.
7673 + add options to ncurses.c to specify 'e' test softkey format, and the
7674 number of header/footer lines to rip-off.
7675 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
7677 + add shell-out (!) command to ncurses 'p' test to allow test of
7678 resize between endwin/refresh.
7679 + correct line-wrap case in mvcur() by emitting carriage return,
7680 overlooked in 960928, but needed due to SVr4 compatibility changes to
7681 terminal modes in 960907.
7682 + correct logic in wresize that causes new lines to be allocated,
7683 broken for the special case of increasing rows only in 960907's fix
7685 + modify configure script to generate $(LDFLAGS) with -L and -l options
7686 in preference to explicit library filenames. (NOTE: this may
7687 require further amending, since I vaguely recall a dynamic loader
7688 that did not work properly without the full names, but it should be
7689 handled as an exception to the rule, since some linkers do bulk
7690 inclusion of libraries when given the full name - T.Dickey).
7691 + modify configure script to allow user-supplied $CFLAGS to set the
7692 debug-option in all libraries (requested by lots of people) -TD
7693 + use return consistently from main(), rather than exit (reported by
7695 + add --enable-getcap-cache option to configure, normally disabled
7696 (requested by Florian La Roche).
7697 + make configure test for gettimeofday() and possibly -lbsd more
7698 efficient (requested by Florian La Roche <florian@knorke.saar.de>)
7699 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
7700 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
7701 by Alexander V Lukyanov).
7704 + corrected README wrt Ada95 (Juergen Pfeifer)
7707 + integrate resizeterm() into doupdate(), so that if screen size
7708 changes between endwin/refresh, ncurses will resize windows to fit
7709 (this needs additional testing with pads and softkeys).
7710 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
7711 data used in ncurses library.
7712 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
7713 between initscr() and newwin() initialization (reported by
7714 Alexander V Lukyanov).
7715 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
7716 (set beta versions to those values -- NOTE that subsequent pre-4.0
7717 beta may not be interchangeable).
7718 + modify configure script to work with autoconf 2.12
7720 961130 1.9.9g release
7721 + add copyright notices to configuration scripts (written by Thomas
7725 > patch, mostly for panel (Juergen Pfeifer):
7726 + cosmetic improvement for a few routines in the ncurses core library
7727 to avoid warning messages.
7728 + the panel overlap detection was broken
7729 + the panel_window() function was not fool-proof.
7731 + Cosmetic changes (also to avoid warning messages when compiling with
7735 > patch by Juergen Pfeifer:
7736 + eliminates warning messages for the compile of libform.
7737 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
7738 + Updates man page and the Ada95 binding to reflect this.
7739 + Improves inlining in libmenu and libform.
7742 + improve the use of the "const" qualifier in the
7743 panel library (Juergen Pfeifer)
7744 + change set_panel_userptr() and panel_userptr() to use void*
7749 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
7751 + correct initialization of the stdscr pseudo panel in panel library
7753 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
7756 + typo in curs_termcap man page (reported by Hendrik Reichel
7757 <106065.2344@compuserve.com>)
7758 + change default xterm entry to xterm-r6.
7759 + add entry for color_xterm
7762 + lint found several functions that had only #define implementations
7763 (e.g., attr_off), modified curses.h.in to generate them as per XSI
7764 Curses requirement that every macro be available as a function.
7765 + add check in infocmp.c to guard against string compare of
7766 CANCELLED_STRING values.
7767 + modify firework.c, rain.c to hide cursor while running.
7768 + correct missing va_end in lib_tparm.c
7769 + modify hanoi.c to work on non-color terminals, and to use timing
7770 delays when in autoplay mode.
7771 + correct 'echochar()' to refresh immediately (reported by Adrian
7772 Garside <94ajg2@eng.cam.ac.uk>)
7774 + reorganize terminfo.src entries for xterm.
7777 + corrected error in line-breakout logic (lib_doupdate.c)
7778 + modified newdemo to use wgetch(win) rather than getch() to eliminate
7779 a spurious clear-screen.
7780 + corrected ifdef's for 'poll()' configuration.
7781 + added modules to ncurses, form, menu for Ada95 binding (Juergen
7783 + modify set_field_buffer() to allow assignment of string longer than
7784 the initial buffer length, and to return the complete string rather
7785 than only the initial size (Juergen Pfeifer and Per Foreby
7789 + configure for 'poll()' in preference to 'select()', since older
7790 systems are more likely to have a broken 'select()'.
7791 + modified render_char() to avoid OR'ing colors.
7792 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
7793 resize test, use wbkgd and corrected box() parameters.
7794 + make flushinp() test work in ncurses.c by using napms() instead of
7796 + undo ESR's changes to xterm-x11r6 (it no longer matched the X11R6.1
7797 distribution, as stated)
7798 + terminfo 9.13.18 resync (ESR)
7799 + check for getenv("HOME") returning null (ESR).
7800 + change buffer used to decode xterm-mouse commands to unsigned to
7801 handle displays wider than 128 chars (Juergen Pfeifer).
7802 + correct typo curs_outopts.3x (Juergen Pfeifer).
7803 + correct limit-checking in wenclose() (Juergen Pfeifer).
7804 + correction to Peter Wemm's newwin change (Thomas Fehr
7806 + corrections to logic that combines colors and attributes; they must
7807 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
7811 + reset flags in 'getwin()' that might cause refresh to attempt to
7812 manipulate the non-existent parent of a window that is read from a
7813 file (lib_screen.c).
7814 + restructure _nc_timed_wait() to log more information, and to try to
7815 recover from badly-behaved 'select()' calls (still testing this).
7816 + move define for GOOD_SELECT into configure script.
7817 + corrected extra '\' character inserted before ',' in comp_scan.c
7818 + corrected expansion of %-format characters in dump_entry.c; some were
7819 rendered as octal constants.
7820 + modify dump_entry.c to make terminfo output more readable and like
7821 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
7822 comma, "\^" and "\:" as well.
7823 + corrected some memory leaks in ncurses.c, and a minor logic error
7824 in the top-level command-parser.
7825 + correction for label format 4 (PC style with info line), a
7826 slk_clear(), slk_restore() sequence didn't redraw the info line
7828 + modified the slk window (if simulated) to inherit the background and
7829 default character attributes from stdscr (Juergen Pfeifer).
7830 + corrected limit-check in set_top_row (Juergen Pfeifer).
7833 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
7834 had '.lastchar' entry one beyond '._maxx'.
7835 + modify ncurses test-program to work with data piped to it.
7836 + corrected pathname computation in run_tic.sh, removing extra "../"
7837 (reported by Tim Mooney).
7838 + modified configure script to use previous install's location for
7840 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
7844 + revised xterm terminfo descriptions to reflect the several versions
7846 + corrected a pointer reference in dump_entry.c that didn't test if
7850 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
7851 + add -x option to hashtest to control whether it allows writes to the
7853 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
7854 simpler to construct tests (for double-check of _nc_hash_map tests).
7855 + correct ifdef's for c++ in curses.h
7856 + change default xterm type to xterm-x11r6.
7857 + correct quoting in configure that made man-pages installed with
7858 $datadir instead of actual terminfo path.
7859 + correct whitespace in include/Caps, which caused kf11, clr_eol and
7860 clr_end to be omitted from terminfo.5
7861 + fix memory leaks in delscreen() (adapted from Alexander V Lukyanov).
7862 + improve appearance of marker in multi-selection menu (Juergen
7864 + fix behavior for forms with all fields inactive (Juergen Pfeifer)
7865 + document 'field_index()' (Juergen Pfeifer)
7867 + add some more XENIX keycap translations to include/Caps.
7868 + modify newwin to set initial state of each line to 'touched'
7869 (from patch by Peter Wemm <peter@spinner.dialix.com>)
7870 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander V Lukyanov).
7873 + ifdef'd out _nc_hash_map (still slower)
7874 + add graphic characters to vt52 description.
7875 + use PutAttrChar in ClrToEOL to ensure proper background, position.
7876 + simplify/correct logic in 'mvcur()' that does wrapping; it was
7877 updating the position w/o actually moving the cursor, which broke
7879 + ensure that 'doupdate()' sets the .oldindex values back to a sane
7880 state; this was causing a spurious refresh in ncurses 'r'.
7881 + add logic to configure (from vile) to guard against builders who
7882 don't remove config.cache & config.status when doing new builds -TD
7883 + corrected logic for 'repeat_char' in EmitRange (cf: eric #317), which
7884 did not follow the 2-parameter scheme specified in XSI.
7885 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
7886 clearok work properly (report by Michael Elkins).
7887 + corrected problem with endwin introduced by #314 (removing the
7888 scrolling-region reset) that broke ncurses.c tests.
7889 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
7890 <fischman@math.ucla.edu>).
7891 + corrected formatting of terminfo.5 tables (Juergen Ehling)
7894 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
7895 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
7896 + reverse the default o configure --enable-termcap (consensus).
7898 + modified logic for clearok and related functions (from report by
7899 Michael Elkins) - untested
7901 + correction to #317.
7903 + re-add _nc_hash_map
7904 + modify EmitRange to maintain position as per original design.
7905 + add hashtest.c, program to time the hashmap optimization.
7907 + add logic to deal with magic-cookie (how was this tested?)
7909 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
7911 + merged Alexander V Lukyanov's patch to use ech and rep - untested
7913 + modified handling of interrupted system calls - untested
7914 (lib_getch.c, lib_twait.c).
7915 + new function _nc_mvcur_resume()
7916 + fix return value for 'overlay()', 'overwrite()'
7919 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
7921 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
7922 Ehling <eh@eclipse.aball.de>).
7923 + update xterm-color to reflect XFree86 3.1.3G release.
7924 + correct broken dtterm description from #314 patch (e.g., spurious
7925 newline. The 'pairs' change might work, but no one's tested it
7927 + clarify the documentation for the builtin form fieldtypes (Juergen
7930 + reset scroll region on startup rather than at wrapup time
7931 (enhancement suggested by Alexander V Lukyanov).
7932 + make storage of palette tables and their size counts per-screen for
7933 multi-terminal applications (suggested by Alexander V Lukyanov).
7934 + Improved error reporting for infotocap translation errors.
7935 + Update terminfo.src to 9.13.14.
7938 + rewrote wgetstr to make it erase control chars and also fix bogus use
7939 of _nc_outstr which caused the display to not wrap properly (display
7940 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
7941 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
7942 (and split up this screen to accommodate non-ANSI terminals).
7943 + test enter_insert_mode and exit_insert_mode in has_ic().
7944 + removed bogus logic in mvcur that assumes nl/nonl set output modes
7945 (XSI says they are input modes; SVr4 implements this).
7946 + added macros SET_TTY, GET_TTY to term.h
7947 + correct getstr() logic that altered terminal modes w/o restoring.
7948 + disable ICRNL, etc., during initialization to match SVr4, removing
7949 the corresponding logic from raw, cbreak, etc.
7950 + disable ONLCR during initialization, to match SVr4 (this is needed
7951 for cursor optimization when the cursor-down is a newline).
7952 + replaced ESR's imitation of wresize with my original (his didn't
7956 + memory leaks (Alexander V. Lukyanov).
7957 + modified pnoutrefresh() to be more tolerant of too-large screen
7958 size (reported by Michael Elkins).
7959 + correct handling of terminfo files with no strings (Philippe De
7961 + correct "tic -s" to take into account -I, -C options.
7962 + modify ncurses 'f' test to not print codes 80 through 9F, since they
7963 are considered control codes by ANSI terminals.
7966 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
7967 + make "--enable-getcap" configuration-option work (reported by
7968 Peter Wemm <peter@spinner.DIALix.COM>)
7971 + correct err in 960817 that changed return-value of tigetflag()
7972 (reported by Alexander V. Lukyanov).
7973 + modify infocmp to use library default search-path for terminfo
7974 directory (Alexander V. Lukyanov).
7977 + corrected an err in mvcur that broke resizing-behavior.
7978 + correct fall-thru behavior of _nc_read_entry(), which was not finding
7979 descriptions that existed in directories past the first one searched
7980 (reported by Alexander V. Lukyanov)
7981 + corrected typo in dtterm description.
7983 + add dtterm description
7984 + clarify ncurses 'i' test (drop vscanf subtest)
7987 + correct nl()/nonl() to work as per SVr4 & XSI.
7988 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
7989 + refine configure-test for -g option (Tim Mooney).
7990 + correct interaction between O_BLANK and NEW_LINE request in form
7991 library (Juergen Pfeifer)
7994 + revised fix to tparm; previous fix reversed parameter order.
7996 correct terminfo.src corrupted by #310
7998 + fix idlok() and idcok() and the default of the idlok switch.
8001 + corrected tparm to handle capability strings without explicit pop
8002 (reported by William P Setzer)
8003 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
8004 (reported by Tim Mooney).
8006 + documentation and prototyping errors for has_color, immedok and idcok
8007 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
8008 + updated qnx terminfo entry (by Michael Hunter)
8011 + eliminate quoted includes in ncurses subdirectory, ensure config.h
8013 + newterm initializes terminal settings the same as initscr (reported
8017 + call cbreak() in initscr(), as per XSI & SVr4.
8018 + turn off hardware echo in initscr() as per XSI & SVr4
8020 + terminfo changes (9.3.10), from BRL
8021 + add more checks to terminfo parser.
8022 + add more symbols to infocmp.
8025 + save previous-attribute in lib_vidattr.c if SP is null (reported by
8026 Juergen Fluk <louis@dachau.marco.de>)
8027 + corrected calls on _nc_render so that background character is set
8029 + corrected wbkgdset macro (XSI allows background character to be
8030 null), and tests that use it.
8031 + more corrections to terminfo (xterm & rxvt)
8032 + undid change to mcprint prototype (cannot use size_t in curses.h
8033 because not all systems declare it in the headers that we can safely
8035 + move the ifdefs for errno into curses.priv.h
8037 + terminfo changes (9.3.8)
8038 + modified logic of error-reporting in terminfo parser
8041 + always check for <sys/bsdtypes.h> since ISC needs it to declare
8042 fd_set (Juergen Pfeifer)
8043 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
8044 by Juergen Pfeifer, Mike Long)
8045 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
8046 + corrected prototype for delay_output() -- bump ABI to 3.2
8047 + terminfo patches #306/307 (ESR).
8048 + moved logic that filters out rmul and rmso from setupterm to newterm
8049 where it is less likely to interfere with termcap applications.
8052 + rollback ESR's #305 change to terminfo.src (it breaks existing
8053 applications, e.g., 'less 290').
8054 + correct path of edit_man.sh, and fix typo that made all man-pages
8056 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
8057 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
8058 Philippe De Muyter).
8061 + make lib_vidattr.c more readable using macros.
8062 + filter out rmul, rmso that conflict with sgr0 when reading terminal
8064 + added sanity-checking of various paired string attributes (ESR).
8065 + work around autoconf bug, force $INSTALL to absolute path
8067 + modify man-page install for BSDI to install preformatted .0 files
8068 (reported by David MacKenzie).
8069 + add/use gcc __attribute__ for printf and scanf in curses.h
8070 + added SGR attributes test-case to ncurses
8071 + revised ncurses 't' logic to show trace-disable effect in the menu.
8072 + use getopt in ncurses program to process -s and -t options.
8073 + make ncurses 'p' legend toggle with '?'
8074 + disable scrollok during the ncurses 'p' test; if it is enabled the
8075 stdscr will scroll when putting the box-corners in the lower-right
8079 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
8080 terminals with no scrolling-support (reported by Nikolay Shadrin
8081 <queen@qh.mirea.ac.ru>)
8082 + added ^S scrollok-toggle to ncurses 'g' test.
8083 + added ^T trace-toggle to ncurses tests.
8084 + modified ncurses test program to use ^Q or ESC consistently for
8085 terminating tests (rather than ^D), and to use control keys rather
8086 than function keys in 'g' test.
8087 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
8088 (reported by Philippe De Muyter).
8089 + modify lib_doupdate.c to use effective costs to tradeoff between
8090 delete-character/insert-character vs normal updating (reported by
8092 + compute effective costs for screen update operations (e.g., clr_eos,
8094 + corrected error in knight.c exposed by wrap fixes in 960622; the
8095 msgwin needed scrollok set.
8096 + corrected last change to IDcTransformLine logic to avoid conflict
8097 between PutRange and InsStr
8098 + modified run_tic.sh to not use /usr/tmp (reported by David
8099 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
8101 + corrected off-by-one in RoomFor call in read_entry.c
8104 + modified logic that wraps cursor in addch to follow the XSI spec,
8105 (implemented in SVr4) which states that the cursor position is
8106 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
8108 + added -s option to tic, to provide better diagnostics in run_tic.sh
8109 + improved error-recovery for tabset install.
8110 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
8111 _yoffset to WINDOW).
8112 + modified initialization of SP->_ofp so that init_acs() is called with
8113 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
8114 + documentation fixes (Juergen Pfeifer).
8115 + corrected, using new SCREEN and WINDOW members, the behavior of
8116 ncurses if one uses ripoffline() to remove a line from the top of the
8117 screen (Juergen Pfeifer).
8118 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
8119 ncurses (Juergen Pfeifer).
8120 + incorrect buffer-size in _nc_read_entry, reported by ESR.
8123 + corrected two logic errors in read_entry.c, write_entry.c (called by
8124 tic, the write/read of terminfo entries used inconsistent rules for
8125 locating the entries; the $TERMINFO_DIRS code would find only the
8126 first entry in a list).
8127 + refined pathname computation in run_tic.sh and shlib.
8128 + corrected initialization of $IP in misc/run_tic.sh
8131 + ifdef'd out _nc_hash_map() call because it does not improve speed.
8132 + display version of gcc if configure script identifies it.
8133 + modify configure script to use /usr as Linux's default prefix.
8134 + modify run_tic.sh to use shlib script, fixes some problems installing
8135 with a shared-library configuration.
8136 + adjusted configure script so that it doesn't run tests with the
8137 warnings turned on, which makes config.log hard to read.
8138 + added 'lint' rule to top-level Makefile.
8139 + added configure option '--with-install-prefix' for use by system
8140 builders to install into staging locations (requested by
8141 Charles Levert <charles@comm.polymtl.ca>).
8142 + corrected autoconfigure for Debian man program; it's not installed
8144 + set noecho in 'worm'; it was ifdef'd for debug only
8145 + updated test/configure.in for timing-display in ncurses 'p' test
8146 + corrected misspelled 'getbkgd()'.
8147 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
8148 to blank if no character given, copies attributes to window's
8150 + modified lib_doupdate.c to use lower-level SP's current_attr state
8151 instead of curscr's state, since it is redundant.
8152 + correction to IDcTransformLine logic which controls where InsStr is
8153 invoked (refined by Alexander V Lukyanov).
8155 + conditionally include Chris Torek's hash function _nc_hash_map().
8156 + better fix for nvi refresh-bug (Rick Marshall)
8157 + fix for bug in handling of interrupted keystroke waits,
8161 + auto-configure man-page compression-format and renames for Debian.
8162 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
8163 + re-order curses.priv.h for lint.
8164 + added rules for lintlib, lint
8165 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
8166 + corrected missing INSTALL_DATA in misc/Makefile.in
8167 + flush output when changing cursor-visibility (Rick Marshall)
8168 + fix a minor bug in the _nc_ripoff() routine and improve error
8169 checking when creating the label window (Juergen Pfeifer).
8170 + enhancement to the control over the new PC-style soft key format.
8171 allow caller now to select whether or not one wants to have
8172 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
8173 + typos, don't use inline with -g (Philippe De Muyter)
8174 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
8177 + removed --with-ticdir option altogether, maintain compatibility with
8178 existing applications via symbolic link in run_tic.sh
8179 + patch for termio.h, signal (Philippe De Muyter)
8180 + auto-configure gcc warning options rather than infer from version.
8181 + auto-configure __attribute__ for different gcc versions.
8182 + corrected special use of clearok() in hardscroll.c by resetting flag
8184 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
8185 + include sys/types.h in case stdlib.h does not declare size_t.
8186 + fixes for makefile (Tim Mooney)
8187 + fixes for menus & forms (Juergen Pfeifer)
8190 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
8191 + refined case in lib_doupdate.c for ClrToEOL().
8192 + corrected prior change for PutRange (Alexander V Lukyanov
8193 <lav@yars.free.net>).
8194 + autoconf mods (Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>).
8195 + locale fix for forms (Philippe De Muyter <phdemuyt@ulb.ac.be>)
8196 + renamed "--with-datadir" option to "--with-ticdir" to avoid
8197 confusion, and made this check for the /usr/lib/terminfo pre-existing
8199 > patches 299-301 (ESR):
8201 + mods to tracing, especially for ACS chars.
8202 + corrected off-by-one in IDCtransform.
8203 + corrected intermittent mouse bug by using return-value from read().
8204 + mods to parse_entry.c, for smarter defaults.
8207 + use getopt in 'tic'; added -L option and modified -e option to allow
8211 + don't use fixed buffer-size in tparm().
8212 + modified tic to create terminfo directory if it doesn't exist.
8213 + added -T options to tic and infocmp (for testing/analysis)
8214 + refined the length criteria for termcap and terminfo
8215 + optimize lib_doupdate with memcpy, PutRange
8216 > patches 297, 298 (ESR):
8217 + implement TERMINFO_DIRS, and -o option of tic
8218 + added TRACE_IEVENT
8219 + removed boolean version of 'getm'
8220 + added lib_print.c (for Rick Marshall)
8222 + added 't' to ncurses.c test.
8223 + moved delay_output() to lib_tputs.c
8224 + removed tparam() (was added in 1.9.9, but conflicts with emacs and
8225 is not part of X/Open Curses).
8226 + misc cursor & optimization fixes.
8229 + modified ncurses 'p' test to allow full-screen range for panner size.
8230 + fixes for locale (Philippe De Muyter <phdm@labauto1.ulb.ac.be>)
8231 + don't use fixed buffer-size in fmt_entry().
8232 + added usage-message to 'infocmp'.
8233 + modified install.includes rules to prepend subdirectory-name to
8234 "#include" if needed.
8237 + protect wrefresh, wnoutrefresh from invocation with pad argument.
8238 + corrected default CCFLAGS in test/Makefile.
8241 + implemented logic to support terminals with background color erase
8242 (e.g., rxvt and the newer color xterm).
8243 + improved screen update logic (off-by-one logic error; use clr_eos if
8247 + change ncurses 'a' test to run in raw mode.
8248 + make TIOCGWINSZ configure test less stringent, in case user
8249 configures via terminal that cannot get screen size.
8250 > patches 295, 296 (ESR):
8251 + new "-e" option of tic.
8252 + fix for "infocmp -e".
8253 + restore working-directory in read_termcap.c
8254 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
8255 overhead for programs that use only termcap features.
8259 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
8260 definitions via <termios.h>, modified macros in lib_raw.c to avoid
8261 K&R-style substitution)
8262 > patches 293, 294 (ESR):
8263 + mods to wgetch() in cooked mode
8264 + corrected askuser() logic in tset
8265 + correct interaction of endwin() with mouse processing
8266 + added trace support for TTY flags
8269 + fixes for NeXT, ISC and HPUX auto-configure
8270 + autogenerate development header-dependencies (config.h, *.priv.h)
8271 + corrected single-column formatting of "use=" (e.g., in tic)
8272 + modify tic to read full terminfo-names
8273 + corrected divide-by-zero that caused hang (or worse) when redirecting
8275 + modify tic to generate directories only as-needed (and corrected
8276 instance of use of data from function that had already returned).
8278 ### ncurses-1.9.8a -> 1.9.9e
8280 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
8281 copy-changed-lines behavior.
8282 * added and documented wresize() function.
8283 * more fixes to LOWER-RIGHT corner handling.
8284 * changed the line-breakout optimization code to allow some lines to be
8285 emitted before the first check.
8286 * added option for tic to use symbolic instead of hard links (for AFS)
8287 * fix to restore auto-wrap mode.
8288 * trace level can be controlled by environment variable.
8289 * better handling of NULs in terminal descriptions.
8290 * improved compatibility with observed SVR4 behavior.
8291 * the refresh behavior of over-lapping windows is now more efficient and
8293 * use autoconf 2.7, which results in a working setup for SCO 5.0.
8294 * support for ESCDELAY.
8295 * small fixes for menu/form code.
8296 * the test directory has its own configure.
8297 * fixes to pads when optimizing scrolling.
8298 * fixed several off-by-one bugs.
8299 * fixes for termcap->terminfo translation; less restrictions more correct
8302 ### ncurses-1.9.7 -> 1.9.8a
8304 * teach infocmp -i to recognize ECMA highlight sequences
8305 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
8306 * support infocmp -RBSD.
8307 * satisfy XSI Curses requirement that every macro be available as a function.
8308 * This represents the last big change to the public interface of ncurses. The
8309 ABI_VERSION has now been set at 3.0 and should stay there barring any great
8310 catastrophies or acts of God.
8311 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
8313 * libncurses now gets linked to libcurses to help seamless emulation
8314 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
8317 ### ncurses-1.9.6 -> 1.9.7
8319 * corrected return values of setupterm()
8320 * Fixed some bugs in tput (it does padding now)
8321 * fixed a bug in tic that made it do the wrong thing on entries with more than
8322 one `use' capability.
8323 * corrected the screen-size calculation at startup time to alter the
8324 numeric capabilities as per SVr4, not just LINES and COLS.
8325 * toe(1) introduced; does what infocmp -T used to.
8326 * tic(1) can now translate AIX box1 and font[0123] capabilities.
8327 * tic uses much less core, the dotic.sh kluge can go away now.
8328 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
8329 * Add $HOME/.terminfo as source/target directory for terminfo entries.
8330 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
8331 * added -h option to toe(1).
8332 * added -R option to tic(1) and infocmp(1).
8333 * added fallback-entry-list feature.
8334 * added -i option to infocmp(1).
8335 * do a better job at detecting if we're on SCO.
8337 ### ncurses-1.9.5 -> 1.9.6
8339 * handling of TERMCAP environment variables now works correctly.
8340 * various changes to shorten termcap translations to less that 1024 chars.
8342 * mouse support for xterm.
8343 * most data tables are now const and accordingly live in shareable text space.
8344 * Obey the XPG4/SVr4 practice that echo() is initally off.
8345 * tic is much better at translating XENIX and AIX termcap entries now.
8346 * tic can interpret ko capabilities now.
8347 * integrated Juergen Pfeifer's forms library.
8348 * taught write_entry() how not to write more than it needs to; this change
8349 reduces the size of the terminfo tree by a full 26%!
8350 * infocmp -T option added.
8351 * better warnings about historical tic quirks from tic.
8353 ### ncurses 1.9.4 -> 1.9.5
8355 * menus library is now included with documentation.
8356 * lib_mvcur has been carefully profiled and tuned.
8357 * Fixed a ^Z-handling bug that was tanking lynx(1).
8358 * HJ Lu's patches for ELF shared libraries under Linux
8359 * terminfo.src 9.8.2
8360 * tweaks for compiling in seperate directories.
8361 * Thomas Dickey's patches to support NeXT's brain-dead linker
8362 * Eric Raymond's patches to fix problems with long termcap entries.
8363 * more support for shared libraries under SunOS and IRIX.
8365 ### ncurses 1.9.3 -> 1.9.4
8367 * fixed an undefined-order-of-evaluation bug in lib_acs.c
8368 * systematically gave non-API public functions and data an _nc_ prefix.
8369 * integrated Juergen Pfeifer's menu code into the distribution.
8370 * totally rewrote the knight test game's interface
8372 ### ncurses 1.9.2c -> 1.9.3
8374 * fixed the TERMCAP_FILE Support.
8375 * fixed off-by-one errors in scrolling code
8376 * added tracemunch to the test tools
8377 * took steps to cut the running time of make install.data
8379 ### ncurses 1.9.2c -> 1.9.2d
8381 * revised 'configure' script to produce libraries for normal, debug,
8382 profile and shared object models.
8384 ### ncurses 1.9.1 -> 1.9.2
8386 * use 'autoconf' to implement 'configure' script.
8387 * panels support added
8388 * tic now checks for excessively long termcap entries when doing translation
8389 * first cut at eliminating namespace pollution.
8391 ### ncurses 1.8.9 -> 1.9
8393 * cleanup gcc warnings for the following: use size_t where 'int' is not
8394 appropriate, fixed some shadowed variables, change attr_t to compatible with
8395 chtype, use attr_t in some places where it was confused with 'int'.
8396 * use chtype/attr_t casts as appropriate to ensure portability of masking
8398 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
8399 * supplied missing prototypes in curses.h
8400 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
8401 are consistent (they weren't).
8402 * corrected prototype of tputs in <termcap.h>
8403 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
8404 that may be out of bounds on the stack) -- Purify found this.
8405 * ensure that TRACE is defined in lib_trace.c (to solve prototype
8407 * corrected scrolling-region size in 'mvcur_wrap()'
8408 * more spelling fixes
8409 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
8410 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
8411 core in init_acs()).
8412 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
8415 ### ncurses 1.8.8 -> 1.8.9
8417 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
8418 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
8419 non-portable use of "%x" for pointers, or for chtype data (which is declared
8421 * modified doupdate to ensure that typahead was turned on before attempting
8422 select-call (otherwise, some implementations hang).
8423 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
8424 resolution of traces.
8425 * improved bounds checking on several critical functions.
8426 * the data directory has been replaced by the new master terminfo file.
8427 * -F file-comparison option added to infocmp.
8428 * compatibility with XSI Curses is now documented in the man bages.
8429 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
8431 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
8432 memory_above, memory_below, and hard_copy are now used properly.
8433 * cursor-movement optimization has been completely rewritten.
8434 * vertical-movement optimization now uses hardware scrolling, il, dl.
8436 ### ncurses 1.8.7 -> 1.8.8
8437 * untic no longer exists, infocmp replaces it.
8438 * tic can understand termcap now, especially if it is called captoinfo.
8439 * The Linux Standard Console terminfo entry is called linux insead of console.
8440 It also uses the kernel's new method of changing charsets.
8441 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
8442 you try to run on an undefined terminal.
8443 * I can get things running on AIX but tic can't compile terminfo. I have to
8444 compile entries on another machine. Volunteers to hunt this bug are welcome.
8445 * wbkgd() and wbkgdset() can be used to set a windows background to color.
8446 wclear()/werase() DO NOT use the current attribute to clear the screen.
8447 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
8448 though PDCurses 2.2 has been fixed.
8449 * cleaned up the test/ directory.
8450 * test/worm will segfault after quite a while.
8451 * many spelling corrections courtesy of Thomas E. Dickey
8453 ### ncurses 1.8.6 -> 1.8.7
8454 * cleaned up programs in test/ directory.
8455 * fixed wbkgdset() macro.
8456 * modified getstr() to stop it from advancing cursor in noecho mode.
8457 * modified linux terminfo entry to work with the latest kernel to get
8458 the correct alternate character set.
8459 * also added a linux-mono entry for those running on monochrome screens.
8460 * changed initscr() so that it behaves like the man page says it does.
8461 this fixes the problem with programs in test/ crashing with SIGSEV if
8462 a terminal is undefined.
8463 * modified addch() to avoid using any term.h #define's
8464 * removed duplicate tgoto() in lib_tparm.c
8465 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
8466 * modified delwin() to correctly handle deleting subwindows.
8467 * fixed Makefile.dist to stop installing an empty curses.h
8468 * fixed a couple of out-of-date notes in man pages.
8470 ### ncurses 1.8.5 -> 1.8.6
8471 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
8472 * The handling of attributes has been improved and now does not turn off color
8473 if other attributes are turned off.
8474 * scrolling code is improved. Scrolling in subwindows is still broken.
8475 * Fixes to several bugs that manifest them on platforms other than Linux.
8476 * The default to meta now depends on the status of the terminal when ncurses
8478 * The interface to the tracing facility has changed. Instead of the pair of
8479 functions traceon() and traceoff(), there is just one function trace() which
8480 takes a trace mask argument. The trace masks, defined in curses.h, are
8483 #define TRACE_DISABLE 0x00 /* turn off tracing */
8484 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
8485 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
8486 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
8488 More trace masks may be added, or these may be changed, in future releases.
8489 * The pad code has been improved and the pad test code in test/ncurses.c has
8491 * The prototype ansi entry has been changed to work with a wider variety
8493 * Fix to the prototype ansi entry that enables it to work with PC emulators
8494 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
8495 break operation with any emulators.
8496 * There are now working infocmp, captoinfo, tput, and tclear utilities.
8497 * tic can now compile entries in termcap syntax.
8498 * Core-dump bug in pnoutrefresh fixed.
8499 * We now recognize and compile all the nonstandard capabilities in Ross
8500 Ridge's mytinfo package (rendering it obsolete).
8501 * General cleanup and documentation improvements.
8502 * Fixes and additions to the installation-documentation files.
8503 * Take cursor to normal mode on endwin.
8505 ### ncurses 1.8.4 -> 1.8.5
8506 * serious bugs in updating screen which caused erratic non-display,
8508 * fixed initialization for getch() related variable which cause
8509 unpredictable results.
8510 * fixed another doupdate bug which only appeared if you have
8512 * implemented redrawln() and redrawwin().
8513 * implemented winsnstr() and related functions.
8514 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
8515 * changed Makefile.dist so that installation of man pages will
8516 take note of the terminfo directory.
8517 * fixed Configure (removed the mysterious 'X').
8518 * Eric S. Raymond fixed the script.* files so that they work with
8521 #### ncurses 1.8.3 -> 1.8.4 #### ####
8522 * fixed bug in refreshing the screen after return from shell_mode.
8523 There are still problems but they don't manifest themselves on
8524 my machine (Linux 0.99.14f).
8525 * added wgetnstr() and modified things accordingly.
8526 * fixed the script.src script.test to work with awk not just gawk.
8527 * Configure can now take an argument of the target system.
8528 * added test/ncurses.c which replaces several other programs and
8529 performs more testing.
8530 [Thanks to Eric S Raymond for the last 4]
8531 * more fixes to lib_overlay.c and added test/over.c to illustrate
8533 * fixed ungetch() to take int instead of ch.
8534 * fixes to cure wgetch() if flushinp() is called.
8536 One note I forgot to mention in 1.8.3 is that tracing is off by
8537 default starting in the version. If you want tracing output, put
8538 traceon(); in your code and link with -ldcurses.
8540 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
8542 1) The order of capabilities has been changed in order to achieve
8543 binary compatibility with SVR4 terminfo database. This has the
8544 unfortunate effect of breaking application currently linked with
8545 ncurses. To ensure correct behavior, recompile all such programs.
8546 Most programs using color or newer capabilities will break, others
8547 will probably continue to work ok.
8549 2) Pavel Curtis has renounced his copyright to the public domain.
8550 This means that his original sources (posted to comp.sources.unix,
8551 volume 1) are now in the public domain. The current sources are
8552 NOT in the public domain, they are copyrighted by me. I'm
8553 entertaining ideas on what the new terms ncurses is released under.
8555 3) Eric S. Raymond has supplied a complete set of man pages for
8556 ncurses in ?roff format. They will eventually replace most of the
8557 current docs. Both sets are included in this release.
8559 Other changes and notes from 1.8.2 include:
8560 * SIGSEGV during scrolling no longer occurs.
8561 * Other problems with scrolling and use of idl have been corrected.
8562 * lib_getch.c has been re-written and should perform flawlessly.
8563 please use test/getch.c and any other programs to test this.
8564 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
8565 changed accordingly.
8566 * I've added support for terminals that scroll if you write in the
8567 bottom-right corner.
8568 * fixed more bugs in pads code. If anybody has a program that uses
8569 pads I'd love a copy.
8570 * correct handling for terminal with back_color_erase capability
8571 (such as Linux console, and most PC terminals)
8572 * ^Z handling apparently didn't work (I should never trust code
8573 sent me to me without extensive testing). It now seems to be
8574 fixed. Let me know if you have problems.
8575 * I've added support for Apollo and NeXT, but it may still be
8576 incomplete, especially when dealing with the lack of POSIX
8578 * scrolling should be more efficient on terminals with idl
8579 capabilities. Please see src/lib_scroll.c for more notes.
8580 * The line drawing routines were offset by 1 at both ends. This
8582 * added a few missing prototypes and macros (e.g. setterm())
8583 * fixed code in src/lib_overlay.c which used to crash.
8584 * added a few more programs in test/ The ones from the PDCurses
8585 package are useful, especially if you have SVR4 proper. I'm
8586 interested in the results you get on such a systems (Eric? ;-).
8587 They already exposed certain bugs in ncurses.
8588 * See src/README for porting notes.
8589 * The C++ code should really replace ncurses.h instead of working
8590 around it. It should avoid name-space clashes with nterm.h (use
8591 rows instead of lines, etc.)
8592 * The C++ should compile ok. I've added explicit rules to the
8593 Makefile because no C++ defaults are documented on the suns.
8594 * The docs say that echo() and nocbreak() are mutually exclusive.
8595 At the moment ncurses will switch to cbreak() if the case above
8596 occurs. Should it continue to do so? How about echo() and noraw()?
8597 * PDCurses seem to assume that wclear() will use current attribute
8598 when clearing the screen. According to Eric this is not the case
8600 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
8601 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
8602 * I've also found out that the src/script.* rely on gawk and will not
8603 work with stock awk or even with nawk. Any changes are welcome.
8604 * Linux is more tolerant of NULL dereferences than most systems. This
8605 fact was exposed by hanoi.
8606 * ncurses still seems inefficient in drawing the screen on a serial
8607 link between Linux and suns. The padding may be the culprit.
8608 * There seems to be one lingering problem with doupdate() after shelling
8609 out. Despite the fact the it is sending out the correct information
8610 to the terminal, nothing takes effect until you press ^L or another
8611 refresh takes place. And yes, output does get flushed.
8613 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
8615 * added support for SVR4 and BSDI's BSD/386.
8616 * major update and fix to scrolling routine.
8617 * MORE fixes to stuff in lib_getch.c.
8618 * cleaned-up configuration options and can now generate
8619 Config.* files through an awk script.
8620 * changed setupterm() so it can be called more than once,
8621 add added set_curterm(), del_curterm().
8622 * a few minor cleanups.
8623 * added more prototypes in curses.h
8625 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
8627 * added support for NeXTStep 3.0
8628 * added termcap emulation (not well tested).
8629 * more complete C++ interface to ncurses.
8630 * fixed overlay(), overwrite(), and added copywin().
8631 * a couple of bug fixes.
8632 * a few code cleanups.
8634 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
8636 * The annoying message "can't open file." was due to missing
8637 terminfo entry for the used terminal. It has now been
8638 replaced by a hopefully more helpful message.
8639 * Problems with running on serial lines are now fixed.
8640 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
8641 386bsd/BSDI (if you have others send'em to me)
8643 * The documentation in manual.doc is now more uptodate.
8644 * update optimization and support for hp terminals, and 386bsd
8646 * mvcur optimization for terminals without cursor addressing
8647 (doesn't work on Linux)
8648 * if cursor moved since last update, getch() will refresh the
8649 screen before working.
8650 * getch() & alarm() can now live together. in 0.7.3 a signal
8651 interrupted getch() (bug or feature?) now the getch is
8653 * scanw() et all were sick, now fixed.
8654 * support for 8-bit input (use meta()).
8655 * added default screen size to all terminfos.
8656 * added c++ Ncursesw class.
8657 * several minor bug fixes.
8659 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
8661 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
8662 * more fixes to lib_getch.c
8663 * changes related to Config
8665 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
8667 * docs updated slightly (color usage is now documented).
8668 * yet another fix for getch(), this one fixes problems with ESC being swallowed
8669 if another character is typed before the 1 second timeout.
8670 * Hopefully, addstr() and addch() are 8-bit clean.
8671 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
8672 * order of capabilities changed to reflect that specified in SYSV
8673 this will allow for binary-compatibility with existing terminfo dbs.
8675 * fixed problems with asc_init()
8676 * added A_PROTECT and A_INVIS
8677 * cleaned up vidputs()
8678 * general cleanup of the code
8679 * more attention to portability to other systems
8680 * added terminfos for hp70092 (wont work until changes to lib_update.c are
8681 made) and 386BSD pcvt drivers.
8683 Thanks to Hellmuth Michaelis for his help.
8684 optimization code is slated for the next major release, stay tuned!
8686 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
8687 Please note that the next release will be called 1.8. If you want to know about
8688 the rationale drop me a line.
8690 Included are several test programs in test/.
8691 I've split up the panels library, reversi, tetris, sokoban. They are now
8692 available separately from netcom.com:pub/zmbenhal/
8694 * color and ACS support is now fully compatible with SYSV at the terminfo
8696 * Capabilities now includes as many SYSV caps I could find.
8697 * tigetflag,tigetnum,tigetstr functions added.
8698 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
8699 strnames, strfnames, strcodes arrays are now added.
8700 * keyname() is added.
8701 * All function keys can be defined in terminfo entries.
8702 * fixed lin_tparm.c to behave properly.
8703 * terminfo entries for vt* and xterm are included (improvements are welcome)
8704 * more automation in handling caps and keys.
8705 * included fixes from 0.6.1
8706 * added a few more missing functions.
8707 * fixed a couple of minor bugs.
8708 * updated docs JUST a little (still miles behind in documenting the newer
8711 #### ncurses 0.6 -> ncurses 0.61 ####
8713 1) Included the missing data/console.
8715 2) allow attributes when drawing boxes.
8717 3) corrected usage of win->_delay value.
8719 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
8720 simply return the last character in the sequence. The correct
8721 behavior is to return the entire sequence one character at a time.
8723 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
8724 * removed _numchngd from struct _win_st and made appropriate changes.
8725 * rewritten kgetch() to remove problems with interaction between alarm and
8726 read(). It caused SIGSEGV every now and then.
8727 * fixed a bug that miscounted the numbers of columns when updating.
8728 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
8729 * fixed a bug that cause the lower-right corner to be incorrect.
8730 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
8731 * made resize() and cleanup() static to lib_newterm.c
8732 * added notimeout().
8733 * added timeout() define in curses.h
8734 * added more function prototypes and fixed napms.
8736 * moved screen size detection to lib_setup.c.
8737 * fixed newterm() to confirm to prototype.
8738 * removed SIGWINCH support as SYSV does not define its semantics.
8739 * cleaned-up lib_touch.c
8740 * added waddnstr() and relatives.
8741 * added slk_* support.
8742 * fixed a bug in wdeleteln().
8743 * added PANEL library.
8744 * modified Makefile for smoother installation.
8745 * terminfo.h is really term.h
8747 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
8748 * changed _win_st structure to allow support for missing functionality.
8749 * Addition of terminfo support for all KEY_*.
8750 * Support for nodelay(), timeout(), notimeout().
8751 * fixed a bug with the keypad char reading that did not return ESC until
8752 another key is pressed.
8753 * nl mapping no longer occur on output (as should be)
8754 fixed bug '\n' no causing a LF.
8755 * fixed bug that reset terminal colors regardless of whether we use color
8757 * Better support for ACS (not quite complete).
8758 * fixed bug in wvline().
8760 * changed from signal() to sigaction().
8761 * re-included the contents of important.patch into source.
8763 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
8764 * Addition of more KEY_* definitions.
8765 * Addition of function prototypes.
8766 * Addition of several missing functions.
8767 * No more crashes if screen size is undefined (use SIGWINCH handler).
8768 * added a handler to cleanup after SIGSEGV (hopefully never needed).
8769 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
8770 * renamed compile/dump to tic/untic.
8771 * New scrolling code.
8772 * fixed bug that reversed the sense of nl() and nonl().
8774 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
8775 * more support for color and graphics see test/ for examples.
8776 * fixed various files to allow correct update after shelling out.
8777 * more fixes for updates.
8778 * no more core dumps if you don't have a terminfo entry.
8779 * support for LINES and COLUMNS environment variables.
8780 * support for SIGWINCH signal.
8781 * added a handler for SIGINT for clean exits.
8783 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
8784 * support for color.
8785 * support for PC graphic characters.
8786 * lib_trace.c updated to use stdarg.h and vprintf routines.
8787 * added gdc.c (Great Digital Clock) as an example of using color.
8789 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
8790 * replacing sgtty stuff by termios stuff.
8791 * ANSIfication of some functions.
8792 * Disabling cost analysis 'cause it's incorrect.
8793 * A quick hack for a terminfo entry.