1 -- $Id: NEWS,v 1.690 2002/06/16 00:31:21 tom Exp $
3 This is a log of changes that ncurses has gone through since Zeyd started
4 working with Pavel Curtis' original work, pcurses, in 1992.
6 Changes through 1.9.9e are recorded by Zeyd M. Ben-Halim.
7 Changes since 1.9.9e are recorded by Thomas Dickey.
10 + modify wgetch() to allow returning ungetch'd KEY_RESIZE as a function
11 key code in get_wch().
12 + extended resize-handling in test/ncurses 'a' menu to the entire
13 stack of windows created with 'w' commands.
14 + improve $COLORFGBG feature by interpreting an out-of-range color
15 value as an SGR 39 or 49, for foreground/background respectively.
16 + correct a typo in configure --enable-colorfgbg option, and move it
17 to the experimental section (cf: 20011208).
20 + add logic to dump_entry.c to remove function-key definitions that do
21 not fit into the 1023-byte limit for generated termcaps. This makes
23 + more improvements to tic's warnings, including logic to ignore
24 differences between delay values in sgr strings.
25 + move definition of KEY_RESIZE into MKkeydefs.sh script, to
26 accommodate Caps.osf1r5 which introduced a conflicting definition.
29 + add simple resize-handling in test/ncurses.c 'a' menu.
30 + fixes in keyname() and _tracechar() to handle negative values.
31 + make tic's warnings about mismatches in sgr strings easier to follow.
32 + correct tic checks for number of parameters in smgbp and smglp.
33 + improve scoansi terminfo entry, and add scoansi-new entry -TD
34 + add pcvt25-color terminfo entry -TD
35 + add kf13-kf48 strings to cons25w terminfo entry (reported by Stephen
36 Hurd <deuce@lordlegacy.org> in newsgroup lucky.freebsd.bugs) -TD
37 + add entrypoint _nc_trace_ttymode(), use this to distinguish the
38 Ottyb and Nttyb members of terminal (aka cur_term), for tracing.
41 + correct and simplify logic for lib_pad.c change in 20020518 (reported
45 + fix lib_pad.c for case of drawing a double-width character which
46 falls off the left margin of the pad (patch by Kriang Lerdsuwanakij
47 <lerdsuwa@users.sourceforge.net>)
48 + modify configure script to work around broken gcc 3.1 "--version"
49 option, which adds unnecessary trash to the requested information.
50 + adjust ifdef's in case SIGWINCH is not defined, e.g., with DJGPP
51 (reported by Ben Decker <deckerben@freenet.de>).
54 + implement vid_puts(), vid_attr(), term_attrs() based on the narrow-
55 character versions as well.
56 + implement erasewchar(), killwchar() based on erasechar() and
58 + modify erasechar() and killchar() to return ERR if the value was
60 + correct a bug in wresize() in handling subwindows (based on patch by
61 Roger Gammans <rgammans@computer-surgery.co.uk>, report by Scott Beck
62 <scott@gossamer-threads.com>).
63 + improve test/tclock.c by making the second-hand update more often
64 if gettimeofday() is available.
67 + workaround for Solaris sed with MKlib_gen.sh (reported by Andy
68 Tsouladze <andyt@mypoints.com>).
71 + correct return-value from getcchar(), making it consistent with
73 + reorder loops that generate makefile rules for different models vs
74 subsets so configure --with-termlib works again. This was broken by
75 logic added to avoid duplicate rules in changes to accommodate cygwin
76 dll's (reported by George.R.Goffe@seagate.com).
77 + update config.guess, config.sub
80 + modify ifdef's in write_entry.c to allow use of symbolic links on
81 platforms with no hard links, e.g., BeOS.
82 + modify a few includes to allow compile with BeOS, which has stdbool.h
83 with a conflicting definition for 'bool' versus its OS.h definition.
84 + amend MKlib_gen.sh to work with gawk, which defines 'func' as an
88 + correct form of prototype for ripoffline().
89 + modify MKlib_gen.sh to test that all functions marked as implemented
93 + add manpages: curs_get_wstr.3x, curs_in_wchstr.3x
94 + implement wgetn_wstr().
95 + implement win_wchnstr().
96 + remove redefinition of unget_wch() in lib_gen.c (reported by
97 Jungshik Shin <jshin@jtan.com>).
100 + modified several of the test programs to allow them to compile with
101 vendor curses implementations (Solaris, AIX).
104 + modified test/configure to allow configuring against ncursesw.
105 + change WACS_xxx definition to use address, to work like Tru64 curses.
108 + add 'e' and 'm' toggles to 'a', 'A' tests in ncurses.c to demonstrate
109 effect of echo/noecho and meta modes.
110 + add 'A' test to ncurses.c to demonstrate wget_wch() and related
112 + add manpage: curs_get_wch.3x
113 + implement unget_wch().
114 + implement wget_wch().
117 + regenerated html manpages.
118 + add manpages: curs_in_wch.3x, curs_ins_wch.3x, curs_ins_wstr.3x
119 + implement wins_wch().
120 + implement win_wch().
121 + implement wins_nwstr(), wins_wstr().
124 + add manpages: curs_addwstr.3x, curs_winwstr.3x
125 + implement winnwstr(), winwstr().
128 + add manpages: curs_add_wchstr.3x, curs_bkgrnd.3x
129 + document wunctrl, key_name.
130 + implement key_name().
131 + remove const's in lib_box.c incorrectly leftover after splitting off
133 + update llib-lncurses, llib-ncursesw, fix configure script related to these.
136 + remove quotes on "SYNOPSIS" in man/curs_box_set.3x, which resulted
137 in spurious symlinks on install.
140 + implement whline_set(), wvline_set(), add manpage curs_border_set.
141 + add subtest 'b' to 'F' and 'f' in ncurses.c to demonstrate use of
142 box() and box_set() functions.
143 + add subtest 'u' to 'F' in ncurses.c, to demonstrate use of addstr()
144 given UTF-8 string equivalents of WACS_xxx symbols.
145 + minor fixes to several manpages based on groff -ww output.
146 + add descriptions of external variables of termcap interface to
147 the manpage (report by Bruce Evans <bde@zeta.org.au>).
148 > patches by Bernhard Rosenkraenzer:
149 + correct configure option --with-bool, which was executed as
151 + add quotes for parameters of --with-bool and --with-ospeed configure
153 > patch by Sven Verdoolaege (report by Gerhard Haering
154 <haering_linux@gmx.de>):
155 + correct typos in definitions of several wide-character macros:
156 waddwstr, wgetbkgrnd, mvaddwstr, mvwadd_wchnstr, mvwadd_wchnstr,
158 + pass $(CPPFLAGS) to MKlib_gen.sh, thereby fixing a missing definition
159 of _XOPEN_SOURCE_EXTENDED, e.g., on Solaris
162 + implement wide-acs characters for UTF-8 locales. When in UTF-8
163 locale, ignore narrow version of acs. Add 'F' test to test/ncurses.c
165 + correct prototype in keybound manpage (noted from a Debian mailing
169 + add several cases to the wscanw() example in testcurs.c, showing the
171 + implement a simple vsscanf() fallback function which uses the %n
172 conversion to help parse the input data (prompted by discussion with
173 Albert Chin-A-Young).
174 + modify mk-1st.awk and test/Makefile.in to add $(LDFLAGS) when making
175 shared libraries, and to use $(CFLAGS) when linking test programs
176 (patch by Albert Chin-A-Young).
177 + add a call to _nc_keypad() in keypad() to accommodate applications
178 such as nvi, which use curses for output but not for input (fixes
179 Debian #131263, cf: 20011215).
180 + add entrypoints to resizeterm.c which provide better control over the
181 process: is_term_resized() and resize_term(). The latter restores
182 the original design of resizeterm() before KEY_RESIZE was added in
183 970906. Do this to accommodate 20010922 changes to view.c, but allow
184 for programs with their own sigwinch handler, such as lynx (reported
185 by Russell Ruby <russ@math.orst.edu>).
188 + fix a typo in change to mk-1st.awk, which broke the shared-library
189 makefile rules (reported by Martin Mokrejs).
192 + update config.guess, config.sub
193 + finish changes needed to build dll's on cygwin.
194 + fix a typo in mvwchat() macro (reported by Cy <yam@homerow.net).
197 + add case in lib_baudrate.c for B921600 (patch by Andrey A Chernov).
198 + correct missing sed-editing stage in manpage installs which is used
199 to rename manpages, broken in 20010324 fix for Debian #89939 (Debian
201 + remove -L$(libdir) from linker flags, probably not needed any more
202 since HPUX is handled properly (reported by NIIBE Yutaka
204 + add configure check for mbstate_t, needed for wide-character
205 configuration. On some platforms we must include <wchar.h> to
206 define this (reported by Daniel Jacobowitz).
207 + incorporate some of the changes needed to build dll's on cygwin.
210 + workaround for awk did not work with mawk, adjusted shell script.
213 + add Caps.osf1r5, as an example.
214 + modify behavior of can_clear_with() so that if an application is
215 running in a non-bce terminals with default colors enabled, it
216 returns true, allowing the user to select/paste text without picking
217 up extraneous trailing blanks (adapted from patch by Daniel
218 Jacobowitz <dmj+@andrew.cmu.edu>).
219 + modify generated curses.h to ifdef-out prototypes for extensions if
220 they are disabled, and to define curses_version() as a string in that
221 case. This is needed to make the programs such as tic build in that
223 + modified generated headers.sh to remove a gzip'd version of the
224 target file if it exists, in case non-gzip'd manpages are installed
225 into a directory where gzip'd ones exist. In that case, the latter
227 + corrected a redundant initialization of signal handlers from 20010922
229 + clarified bug-reporting address in terminfo.src (report by John H
230 DuBois III <spcecdt@armory.com>).
231 > several fixes from Robert Joop:
232 + do not use "-v" option of awk in MKkey_defs.sh because it does not
233 work with SunOS nawk.
234 + modify definitions for libutf8 in curses.h to avoid redefinition
236 + quoted references to compiler in shell command in misc/Makefile, in
237 case it uses multiple tokens.
240 + restore special case from 20010922 changes to omit SA_RESTART when
241 setting up SIGWINCH handler, which is needed to allow wgetch() to be
242 interrupted by that signal.
243 + update configure macro CF_WITH_PATHLIST, to omit some double quotes
244 not needed with autoconf 2.52
245 + revert configure script to autoconf 2.13 patched with
246 autoconf-2.13-19990117.patch.gz (or later)
248 ftp://invisible-island.net/autoconf/
249 because autoconf 2.52 macro AC_PROG_AWK does not work on HPUX 11.0
250 (report by David Ellement <ellement@sdd.hp.com>). This also fixes a
251 different problem configuring with Mac OS X (reported by Marc Smith
252 <marc.a.smith@home.com>).
255 + modify include/edit_cfg.h to eliminate BROKEN_LINKER symbol from
257 + move prototype for _nc_vsscanf() into curses.h.in to omit
258 HAVE_VSSCANF symbol from curses.h, which was dependent upon the
259 ncurses_cfg.h file which is not installed.
260 + use ACS_LEN rather than SIZEOF(acs_map) in trace code of lib_acs.c,
261 to work with broken linker configuration, e.g., cygwin (report by
262 Robert Joop <rj@rainbow.in-berlin.de>).
263 + make napms() call _nc_timed_wait() rather than poll() or select(),
264 to work around broken implementations of these on cygwin.
267 + drop configure macro CF_WIDEC_SHIFT, since that was rendered obsolete
268 by Sven Verdoolaege's rewrite of wide-character support. This makes
269 libncursesw incompatible again, but makes the header files almost the
270 same as in the narrow-character configuration.
271 + simplify definitions that combine wide/narrow versions of bkgd, etc.,
272 to eliminate differences between the wide/narrow versions of curses.h
273 + correct typo in configure macro CF_FUNC_VSSCANF
274 + correct location of call to _nc_keypad() from 20011215 changes which
275 prevented keypad() from being disabled (reported by Lars Hecking).
278 + rewrote ncurses 'a' test to exercise wgetch() and keypad() functions
279 better, e.g., by adding a 'w' command to create new windows which
280 may have different keypad() settings.
281 + corrected logic of keypad() by adding internal screen state to track
282 whether the terminal's keypad-mode has been set. Use this in
283 wgetch() to update the keypad-mode according to whether the
284 associated window's keypad-mode has been set with keypad(). This
285 corrects a related problem restoring terminal state after handling
286 SIGTSTP (reported by Mike Castle).
287 + regenerate configure using patch for autoconf 2.52
288 autoconf-2.52-patch.gz
290 ftp://invisible-island.net/autoconf/
291 + update config.guess, config.sub from
292 http://subversions.gnu.org/cgi-bin/viewcvs/config/config/
293 + minor changes to quoting in configure script to allow it to work
297 + modify final checks in lib_setup.c for line and col values, making
299 + modify acs_map[] if configure --broken-linker is specified, to make
300 it use a function rather than an array (prompted by an incorrect
301 implementation in cygwin package).
302 + correct spelling of configure option --enable-colorfgbg, which
303 happened to work if --with-develop was set (noted in cygwin package
305 + modify ifdef for genericerror() to compile with SUNWspro Sun WorkShop
306 6 update 1 C++ 5.2 (patch by Sullivan N Beck <sbeck@cise.ufl.edu>).
307 + add configure checks to see if ncurses' fallback vsscanf() will
308 compile either of the special cases for FILE structs, and if not,
309 force it to the case which simply returns an error (report by
310 Sullivan N Beck <sbeck@cise.ufl.edu> indicates that Solaris 8 with
311 64-bits does not allow access to FILE's fields).
312 + modify ifdef's for c++/cursesw.cc to use the fallback vsscanf() in
313 the ncurses library if no better substitute for this can be found
315 + modify the build to name dynamic libraries according to the
316 convention used on OS X and Darwin. Rather than something like
317 libncurses.dylib.5.2, Darwin would name it libncurses. 5.dylib.
318 There are a few additional minor fixes, such as setting the library
319 version and compatibility version numbers (patch by Jason Evans
321 + use 'sh' to run mkinstalldirs, to work around problems with buggy
322 versions of 'make' on OS/2 (report by John Polterak <jp@eyup.org>).
323 + correct typo in manpage description of curs_set() (Debian #121548).
324 + replace the configure script existence-check for mkstemp() by one
325 that checks if the function works, needed for older glibc and
329 + modify script that generates fallbacks.c to compile a temporary
330 copy of the terminfo source in case the host does not contain all of
331 the entries requested for fallbacks (request by Greg Roelofs).
332 + modify configure script to accommodate systems such as Mac OS X whose
333 <stdbool.h> header defines a 'bool' type inconsistent with ncurses,
334 which normally makes 'bool' consistent with C++. Include <stdbool.h>
335 from curses.h to force consistent usage, define a new type
336 NCURSES_BOOL and related that to the exported 'bool' as either a
337 typedef or definition, according to whether <stdbool.h> is present
338 (based on a bug report for tin 1.5.9 by Aaron Adams <adamsa@mac.com>).
341 + added/updated terminfo entries for M$ telnet and KDE konsole -TD
344 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
345 (Benjamin C W Sittler).
346 + add putty terminfo entry -TD
347 + if configuring for wide-curses, define _XOPEN_SOURCE_EXTENDED, since
348 this may not otherwise be defined to make test/view.c compile.
351 + review/correct several missing/generated items in curses.wide, sorted
352 the lists to make subsequent diff's easier to track.
355 + add manual pages for add_wch(), echo_wchar(), getcchar(),
356 mvadd_wch(), mvwadd_wch(), setcchar(), wadd_wch() and wecho_wchar().
357 + implement wecho_wchar()
358 + modify _tracedump() to handle wide-characters by mapping them to '?'
359 and control-characters to '.', to make the trace file readable. Also
360 dynamically allocate the buffer used by _tracedump() for formatting
362 + modify T_CALLED/T_RETURN macros to ease balancing call/return lines
363 in a trace by using curly braces.
364 + implement _nc_viscbuf(), for tracing cchar_t arrays.
365 + correct trace-calls in setcchar() and getcchar() functions, which
366 traced the return values but not the entry to each function.
367 + correct usage message in test/view.c, which still mentioned -u flag.
370 + modify configure script to allow building with termcap only, or with
371 fallbacks only. In this case, we do not build tic and toe.
372 + add configure --with-termpath option, to override default TERMPATH
373 value of /etc/termcap:/usr/share/misc/termcap.
374 + cosmetic change to tack: make menu descriptions agree with menu
378 + rewrote limit-checks in wscrl() and associated _nc_scroll_window(),
379 to ensure that if the parameter of wscrl() is larger than the size of
380 the scrolling region, then the scrolling region will be cleared
381 (report by Ben Kohlen <bckohlen@yahoo.com>).
382 + add trace/varargs.c, using this to trace parameters in lib_printw.c
383 + implement _tracecchar_t2() and _tracecchar_t().
384 + split-out trace/visbuf.c
385 + correct typo in lib_printw.c changes from 20010922 (report by Mike
389 + modify run_tic.sh to check if the build is a cross-compile. In that
390 case, do not use the build's tic to install the terminfo database
391 (report by Rafael Rodriguez Velilla <rrv@tid.es>).
392 + modify mouse click resolution so that mouseinterval(-1) will disable
393 it, e.g., to handle touchscreens via a slow connection (request by
394 Byron Stanoszek <gandalf@winds.org>).
395 + correct mouseinterval() default value shown in curs_mouse.3x
396 + remove conflicting definition of mouse_trafo() (reported by Lars
397 Hecking, using gcc 2.95.3).
400 + simpler fix for signal_name(), to replace the one overlooked in
401 20010929 (reported by Larry Virden).
404 + add -i option to view.c, to test ncurses' check for non-default
405 signal handler for SIGINT, etc.
406 + add cases for shared-libraries on Darwin/OS X (patch by Rob Braun
407 <bbraun@synack.net>).
408 + modify tset to restore original I/O modes if an error is encountered.
409 Also modify to use buffered stderr consistently rather than mixing
411 + change signal_name() function to use if-then-else rather than case
412 statement, since signal-values aren't really integers (reported by
414 + add limit checks in wredrawln(), fixing a problem where lynx was
415 repainting a pad which was much larger than the screen.
418 + fix: PutRange() was counting the second part of a wide character as
419 part of a run, resulting in a cursor position that was one too far
420 (patch by Sven Verdoolaege).
421 + modify resizeterm() to not queue a KEY_RESIZE if there was no
422 SIGWINCH, thereby separating the two styles of SIGWINCH handling
424 + simplified lib_tstp.c, modify it to use SA_RESTART flag for SIGWINCH.
425 + eliminate several static buffers in the terminfo compiler, using
427 + modify MKkeyname.awk so that keyname() does not store its result into
428 a static buffer that is overwritten by the next call.
429 + reorganize the output of infocmp -E and -e options to compile cleanly
430 with gcc -Wwrite-strings warnings.
431 + remove redefinition of chgat/wchgat/mvwchgat from curses.wide
434 + add label to test/view.c, showing the name of the last key or signal
435 that made the screen repaint, to make it clearer when a sigwinch
437 + use ExitProgram() consistently in the test-programs to make it
438 simpler to test leaks with dmalloc, etc.
439 + move hashtab static data out of hashmap.c into SCREEN struct.
440 + make NO_LEAK code compile with revised WINDOWLIST structs.
443 + modify tgetent() to check if exit_attribute_mode resets the alternate
444 character set, and if so, attempt to adjust the copy of the termcap
445 "me" string which it will return to eliminate that part. In
446 particular, 'screen' would lose track of line-drawing characters
447 (report by Frederic L W Meunier <0@pervalidus.net>, analysis by
451 + specify DOCTYPE in html manpages.
452 + add missing macros for several "generated" functions: attr_get(),
453 attr_off(), attr_on(), attr_set(), chgat(), mvchgat(), mvwchgat() and
455 + modify view.c to agree with non-experimental status of ncurses'
457 + change the sense of the -r option, making it default to ncurses'
459 + add a note explaining what functions are unsafe in a signal
461 + add a -c option, to set color display, for testing.
462 + unset $data variable in MKterminfo.sh script, to address potential
463 infinite loop if shell malfunction (report by Samuel Mikes
464 <smikes@cubane.com>, for bash 2.05.0 on a Linux 2.0.36 system).
465 + change kbs in mach terminfo entries to ^? (Marcus Brinkmann
466 <Marcus.Brinkmann@ruhr-uni-bochum.de>).
467 + correct logic for COLORFGBG environment variable: if rxvt is compiled
468 with xpm support, the variable has three fields, making it slightly
469 incompatible with itself. In either case, the background color is
473 + move calls to def_shell_mode() and def_prog_mode() before loop with
474 callbacks in lib_set_term.c, since the c++ demo otherwise initialized
475 the tty modes before saving them (patch by John David Anglin
476 <dave@hiauly1.hia.nrc.ca>).
477 + duplicate logic used to initialize trace in newterm(), in initscr()
478 to avoid confusing trace of initscr().
479 + simplify allocation of WINDOW and WINDOWLIST structs by making the
480 first a part of the second rather than storing a pointer. This saves
481 a call to malloc for each window (discussion with Philippe Blain).
482 + remove unused variable 'used_ncv' from lib_vidattr.c (Philippe
484 + modify c++/Makefile.in to accommodate archive programs that are
485 different for C++ than for C, and add cases for vendor's C++
486 compilers on Solaris and IRIX (report by Albert Chin-A-Young).
487 + correct manpage description of criteria for deciding if the terminal
488 supports xterm mouse controls.
489 + add several configure script options to aid with cross-compiling:
490 --with-build-cc, --with-build-cflags, --with-build-ldflags, and
491 --with-build-libs (request by Greg Roelofs).
492 + change criteria for deciding if configure is cross-compiling from
493 host/build mismatch to host/target mismatch (request by Greg Roelofs
494 <greg.roelofs@philips.com>).
495 + correct logic for infocmp -e and -E options which writes the data for
496 the ext_Names[] array. This is needed if one constructs a fallback
497 table for a terminfo entry which uses extended termcap names, e.g.,
499 + fix undefined NCURSES_PATHSEP when configure --disable-database
503 + fix for VALID_BOOLEAN() macro when char is not signed.
504 + modify 'clean' rule for C++ binding to work with Sun compiler, which
505 caches additional information in a subdirectory of the objects.
506 + added llib-ncursesw.
509 + add Caps.keys example for experimental extended function keys
510 (adapted from a patch by Ilya Zakharevich).
511 + correct parameter types of vidputs() and vidattr() to agree with
512 header files (report by William P Setzer).
513 + fix typos in several man-pages (patch by William P Setzer).
514 + remove unneeded ifdef for __GNUG__ in CF_CPP_VSCAN_FUNC configure
515 macro, which made ncurses C++ binding fail to build with other
516 C++ compilers such as HPUX 11.x (report by Albert Chin-A-Young).
517 + workaround for bug in HPUX 11.x C compiler: add a blank after
518 NCURSES_EXPORT macro in form.h (report by Albert Chin-A-Young)
519 + ignore blank lines in Caps* files in MKkey_defs.sh script (report by
520 Albert Chin-A-Young).
521 + correct definition of key_end in Caps.aix4, which left KEY_END
522 undefined (report by Albert Chin-A-Young).
523 + remove a QNX-specific fallback prototype for vsscanf(), which is
524 obsolete with QNX RTP.
525 + review/fix some of the T() and TR() macro calls, having noticed that
526 there was no data for delwin() in a trace of dialog because there was
527 no returnVoid call for wtimeout(). Also, traces in lib_twait.c are
528 now selected under TRACE_IEVENT rather than TRACE_CALLS.
531 + add a _nc_access() check before opening files listed via $TERMPATH.
532 + using modified man2html, regenerate some of the html manpages to fix
533 broken HREF's where the link was hyphenated.
536 + add some limit/pointer checks to -S option of tputs.
537 + updated/expanded Apple_Terminal and Darwin PowerPC terminfo entries
538 (Benjamin C W Sittler).
539 + add a note in curs_termcap.3x regarding a defect in the XSI
540 description of tgetent (based on a discussion with Urs Jansen
541 regarding the HPUX 11.x implementation, whose termcap interface is
542 not compatible with existing termcap programs).
543 + modify manhtml rule in dist.mk to preserve copyright notice on the
544 generated files, as well as to address HTML style issues reported by
545 tidy and weblint. Regenerated/updated corresponding html files.
546 + comment out use of Protected_Character and related rarely used
547 attributes in ncurses Ada95 test/demo to compile with wide-character
551 + implement a simple example in C++ demo to test scanw().
552 + corrected stdio function used to implement scanw() in cursesw.cc
553 + correct definition of RemAttr() macro from 20010602 changes, which
554 caused C++ SillyDemo to not show line-drawing characters.
555 + modify C++ binding, adding getKey() which can be overridden by user
556 to substitute functions other than getch() for keyboard processing
557 of forms and menus (patch by Juergen Pfeifer).
560 + fix some of the trace calls which needed modification to work with
561 new wide-character structures.
562 + modify magic-cookie code in tty_update.c to compile with new
563 wide-character structures (report by <George.R.Goffe@seagate.com>).
564 + ensure that _XOPEN_SOURCE_EXTENDED is defined in curses.priv.h if
565 compiling for wide-character configuration.
566 + make addwnstr() handle non-spacing characters (patch by Sven
570 + add configure check to define _GNU_SOURCE, needed to prop up glibc
572 + split-out include/curses.wide to solve spurious redefinitions caused
573 by defining _GNU_SOURCE, and move includes for <signal.h> before
574 <curses.h> to work around misdefinition of ERR in glibc 2.1.3 header
576 + extended ospeed change to NetBSD and OpenBSD -TD
577 + modify logic in lib_baudrate.c for ospeed, for FreeBSD to make it
578 work properly for termcap applications (patch by Andrey A Chernov).
581 + correct an overlooked CharOf/UChar instance (reports by Eugene Lee
582 <eugene@anime.net>, Sven Verdoolaege).
583 + correct unneeded ifdef for wunctrl() (reported by Sven Verdoolaege)
586 + change overlooked several CharOf/UChar instances.
587 > several patches from Sven Verdoolaege:
588 + correct a typo in wunctrl(), which made it appear that botwc() was
589 needed (no such function: use btowc()).
590 + reimplement wide-character demo in test/view.c, using new functions.
591 + implement getcchar(), setcchar(), wadd_wchnstr() and related macros.
592 + fix a syntax problem with do/if/while in PUTC macro (curses.priv.h).
595 + add parentheses in macros for malloc in test.priv.h, fixes an
596 expression in view.c (report by Wolfgang Gutjahr <gutw@knapp.co.at>).
597 + add Caps.uwin, as an example.
598 + change the way curses.h is generated, making the list of function
599 key definitions extracted from the Caps file.
600 + add #undef's before possible redefinition of ERR and OK in curses.h
601 + modify logic in tic, toe, tput and tset which checks for basename of
602 argv[0] to work properly on systems such as OS/2 which have
603 case-independent filenames and/or program suffixes, e.g., ".ext".
606 + add a configure check, if --enable-widec is specified, for putwc(),
607 which may be in libutf8.
608 + remove some unnecessary text from curs_extend.3x and
609 default_colors.3x which caused man-db to make incorrect symbolic
610 links (Debian bug report #99550).
611 + add configure check if cast for _IO_va_list is needed to compile
612 C++ vscan code (Debian bug report #97945).
613 > several patches from Sven Verdoolaege:
614 + correct code that used non-standard auto-initialization of a struct,
615 which gcc allows (report by Larry Virden).
616 + use putwc() in PUTC() macro.
617 + make addstr() work for the special case where the codeset is
618 non-stateful (eg. UTF-8), as well as stateful codesets.
621 + correct loop expression in NEXT_CHAR macro for lib_addstr.c changes
622 from 20010602 (report by Mike Castle).
625 + modify mvcur() to avoid emitting newline characters when nonl() mode
626 is set. Normally this is not a problem since the actual terminal
627 mode is set to suppress nl/crlf translations, however it is useful to
628 allow the caller to manipulate the terminal mode to avoid staircasing
629 effects after spawning a process which writes messages (for lynx
631 > several patches from Sven Verdoolaege <skimo@kotnet.org>:
632 + remove redundant type-conversion in fifo_push()
633 + correct definition of addwstr() macro in curses.h.in
634 + remove _nc_utf8_outch()
635 + rename most existing uses of CharOf() to UChar(), e.g., where it is
636 used to prevent sign-extension in ctype macros.
637 + change some chtype's to attr_t's where the corresponding variables
638 are used to manipulate attributes.
639 + UpdateAttr() was applied to both attributes (attr_t) and characters
640 (chtype). Modify macro and calls to it to make these distinct.
641 + add CharEq() macro, use in places where wide-character configuration
642 implementation uses a struct for cchar_t.
643 + moved struct ldat into curses.priv.h, to hide implementation details.
644 + change CharOf() macro to use it for masking A_CHARTEXT data from
646 + add L() macro to curses.priv.h, for long-character literals.
647 + replace several assignments from struct ldat entries to chtype or
648 char values with combinations of CharOf() and AttrOf() macros.
649 + add/use intermediate ChAttrOf() and ChCharOf() macros where we know
650 we are using chtype data.
651 + add/use lowlevel attribute manipulation macros AddAttr(), RemAttr()
653 + add/use SetChar() macro, to change a cchar_t based on a character and
655 + convert most internal use of chtype to NCURSES_CH_T, to simplify use
656 of cchar_t for wide-character configuration. Similarly, use ARG_CH_T
657 where a pointer would be more useful.
658 + add stubs for tracing cchar_t values.
659 + add/use macro ISBLANK()
660 + add/use constructors for cchar_t's: NewChar(), NewChar2().
661 + add/use macros CHREF(), CHDEREF(), AttrOfD(), CharOfD() to facilitate
662 passing cchar_t's by address.
663 + add/use PUTC_DATA, PUTC() macros.
664 + for wide-character configuration, move the window background data to
665 the end of the WINDOW struct so that whether _XOPEN_SOURCE_EXTENDED
666 is defined or not, the offsets in the struct will not change.
667 + modify addch() to work with wide-characters.
668 + mark several wide-character functions as generated in curses.h.in
669 + implement wunctrl(), wadd_wch(), wbkgrndset(), wbkgrnd(),
670 wborder_set() and waddnwstr().
673 + add experimental --with-caps=XXX option to customize to similar
674 terminfo database formats such as AIX 4.x
675 + add Caps.aix4 as an example.
676 + modify Caps to add columns for the the KEY_xxx symbols.
677 + modify configure --with-widec to suppress overwrite of libcurses.so
679 + add checks to toe.c to avoid being confused by files and directories
680 where we would expect the reverse, e.g., source-files in the
681 top-level terminfo levels as is the case for AIX.
684 + add top-level 'depend' rule for the C sources, assuming that the
685 makedepend program is available. As a side-effect, this makes
686 the generated sources, as in "make sources" (prompted by a report
687 by Mike Castle that "make -j" fails because the resulting parallel
688 processes race to generate ncurses/names.c).
689 + modify configure script so that --disable-overwrite option's action
690 to add a symbolic link for libcurses applies to the static library as
691 well as the shared library when both are configured (report by Felix
692 Natter <f.natter@ndh.net>).
693 + add ELKS terminfo entries (Federico Bianchi
694 <bianchi@www.arte.unipi.it>)
695 + add u6 (CSR) to Eterm (Michael Jennings).
698 + modify test/ncurses.c to work with xterm-256color, which has fewer
699 color pairs than colors*colors (report by David Ellement
700 <ellement@sdd.hp.com>).
703 + corrected screen.xterm-xfree86 entry.
704 + update comment in Caps regarding IBM (AIX) function-key definitions.
707 + modify c++/Makefile.in to link with libncurses++w.a when configured
708 for wide-characters (patch by Sven Verdoolaege).
709 + add check in _nc_trace_buf() to refrain from freeing a null pointer.
710 + improve CF_PROG_INSTALL macro using CF_DIRNAME.
711 + update config.guess, config.sub from autoconf 2.49e (alpha).
714 + add secondary check in tic.c, similar_sgr() to see if the reason
715 for mismatch was that the individual capabilities used a time-delay
716 while sgr did not. Used this to cleanup mismatches, e.g., in vt100,
717 and remove time-delay from Apple_Terminal entries.
718 + add Apple_Terminal terminfo entries (Benjamin C W Sittler
719 <bsittler@iname.com>).
720 + correct definitions of shifted editing keys for xterm-xfree86 -TD
721 + fix a bug in test/bs.c from 20010407 (patch by Erik Sigra).
722 + prevent relative_move() from doing an overwrite if it detects 8-bit
723 characters when configured for UTF-8 (reported by Sven Verdoolaege
727 + add configure checks for strstream.h vscan function, and similar
728 stdio-based function which may be used in C++ binding for gcc 3.0
729 (reports by George Goffe, Lars Hecking, Mike Castle).
730 + rewrite parts of configure.in which used changequote(). That feature
731 is broken in the latest autoconf alphas (e.g., 2.49d).
732 + add a missing pathname for ncurses_dll.h, needed when building in
733 a directory outside the source tree (patch by Sven Verdoolaege
735 > fix 2 bugs in test/bs.c (patch by Erik Sigra <sigra@home.se>):
736 + no ships were ever placed in the last row or in the last column.
737 This made the game very easy to win, because you never had to waste
738 any shots there, but the computer did.
739 + the squares around a sunken ship that belonged to the player were not
740 displayed as already hit by the computer, like it does for the
744 + add some examples of customizing screen's terminfo:
745 screen.xterm-xfree86, screen.xterm-r6, screen.teraterm -TD
746 + modify screen's terminfo entry to match the khome/kend in screen
747 3.09.08 (Debian bug report #92215).
748 + correct a memory leak in forms library (report by Stefan Vogtner
749 <stefan@vogtner.de>, patch by Juergen Pfeifer).
752 + change symbols used to guard against repeated includes to begin
753 consistently with "NCURSES_" rather than a leading underscore. There
754 are other symbols defined in the header files which begin with a
755 leading underscore, but they are part of the legacy interface.
756 + reorder includes in c++ binding so that rcs identifiers can be
758 + add .cc.ii rule to c++ makefile, to get preprocessor output for
760 + correct configure script handling of @keyword@ substitutions when the
761 --with-manpage-renames option is given (cf: 20000715, fixes Debian
763 + report stack underflow/overflow in tparm() when tic -cv option is
765 + remove spurious "%|" operator from xterm-xfree86 terminfo entry,
766 (reported by Adam Costello <amc@cs.berkeley.edu>, Debian bug #89222).
769 + cleanup of newdemo.c, fixing some ambiguous expressions noted by gcc
770 2.95.2, and correcting some conflicting color pair initializations.
771 + add missing copyright notice for cursesw.h
772 + review, make minor fixes for use of '::' for referring to C-language
773 interface from C++ binding.
774 + modify configure check for g++ library slightly to accommodate
775 nonstandard version number, e.g., <vendor>-2.7 (report by Ronald Ho
776 <rho@mipos2.intel.com>).
777 + add configure check for c++ <sstream> header, replace hardcoded
779 + workaround for pre-release of gcc 3.0 libstdc++, which has dropped
780 vscan from strstreambuf to follow standard, use wrapper for C vscanf
781 instead (report by George Goffe <grgoffe@excite.com> and Matt Taggart
782 <taggart@carmen.fc.hp.com>, fixes Debian .
785 + modify interface of _nc_get_token() to pass 'silent' parameter to it,
786 to make quieter loading of /etc/termcap (patch by Todd C Miller).
787 + correct a few typos in curs_slk.3x and curs_outopts.3x manpages
788 (patch by Todd C Miller).
791 + compiler-warning fixes (reported by Nelson Beebe).
794 + modify screen terminfo entry to use new 3.9.8 feature allowing xterm
798 + broaden patterns used to match OS/2 EMX in configure script to cover
799 variant used in newer config.guess/config.sub
800 + remove changequote() calls from configure script, since this feature
801 is broken in the autoconf 2.49c alpha, maintainers decline to fix.
802 + remove macro callPutChar() from tty_update.c, since this is no longer
803 needed (reported by Philippe Blain).
804 + add a null-pointer check in tic.c to handle the case when the input
805 file is really empty. Modify the next_char() function in comp_scan.c
806 to allow arbitrarily long lines, and incidentally supply a newline to
807 files that do not end in a newline. These changes improve tic's
808 recovery from attempts to read binary files, e.g., its output from
809 the terminfo database (reported by Bernhard Rosenkraenzer).
812 + revert change to c++/demo.cc from 20001209, which changed definition
813 of main() apparently to accommodate cygwin linker, but broke the demo
815 + workaround for broken egcs 2.91.66 which calls member functions
816 (i.e., lines() and colors() of NCursesWindow before calling its
817 constructor. Add calls to initialize() in a few constructors which
818 did not do this already.
819 + use the GNAT preprocessor to make the necessary switch between TRACE
820 and NO_TRACE configurations (patch by Juergen Pfeifer).
821 > patches by Bernhard Rosenkraenzer:
822 + modify kterm terminfo entry to use SCS sequence to support alternate
823 character set (it does not work with SI/SO).
824 + --with-ospeed=something didn't work. configure.in checked for a
825 $enableval where it should check for $withval. Also,
826 ncurses/llib-lncurses still had a hardcoded short.
829 + correction to my merge of Tom Riddle's patch that broke tic in some
830 conditions (reported by Enoch Wexler <enoch@wexler.co.il>) -TD
833 + modify view.c to test halfdelay(). Like other tests, this recognizes
834 the 's' and space commands for stopping/starting polled input, shows
835 a freerunning clock in the header. If given a parameter to 's', that
836 makes view.c use halfdelay() with that parameter rather than
838 + fix to allow compile with the experimental configure option
840 + modify postprocess_termcap() to avoid overwriting key_backspace,
841 key_left, key_down when processing a non-base entry (report/patch by
843 + modify _nc_wrap_entry(), adding option to reallocate the string
844 table, needed in _nc_merge_entry() when merging termcap entries.
845 (adapted from report/patch by Tom Riddle <ftr@oracom.com>).
846 + modify a few configure script macros to keep $CFLAGS used only for
847 compiler options, preprocessor options in $CPPFLAGS.
850 + correct marker positions in lrtest.c after receiving a sigwinch.
851 + fix ifdef's in ncurses.c to build against pre-5.2 for testing.
852 + fixes to tclock for resizing behavior, redundant computation (report
853 and patch by A M Kuchling <akuchlin@mems-exchange.org>).
856 + improved scoansi terminfo entry -TD
857 + modify configure script and makefile in Ada95/src to compile a stub
858 for the trace functions when ncurses does not provide those.
861 + add ncurses_dll.h and related definitions to support generating DLL's
862 with cygwin (adapted from a patch by Charles Wilson
863 <cwilson@ece.gatech.edu>, changed NCURSES_EXPORT macro to make it
867 + correct prototypes for some functions in curs_termcap.3x, matching
868 termcap.h, which matches X/Open.
869 > patch by Juergen Pfeifer:
870 + a revised version of the Ada enhancements sent in by "H.
871 Nanosecond", aka Eugene V Melaragno <aldomel@ix.netcom.com>. This
873 - small fixes to the existing ncurses binding
874 - addition of some more low-level functions to the binding, including
875 termcap and terminfo functions
876 - An Ada implementation of the "ncurses" test application originally
880 + modify logic in lib_setup.c to allow either lines or columns value
881 from terminfo to be used if the screen size cannot be determined
882 dynamically rather than requiring both (patch by Ehud Karni
883 <ehud@unix.simonwiesel.co.il>).
884 + add check in lib_tgoto.c's is_termcap() function to reject null or
885 empty strings (reported by Valentin Nechayev <netch@netch.kiev.ua> to
887 + add definition from configure script that denotes the path-separator,
888 which is normally a colon. The path-separator is a semicolon on
889 OS/2 EMX and similar systems which may use a colon within pathnames.
890 + alter logic to set default for --disable-overwrite option to set it
891 to 'yes' if the --prefix/$prefix value is not /usr/local, thereby
892 accommodating the most common cause of problems: gcc's nonstandard
893 search rules. Other locations such as /usr/local/ncurses will
894 default to overwriting (report by Lars Hecking <lhecking@nmrc.ie>).
897 + modify default for --disable-overwrite configure option to disable
898 if the --prefix or $prefix value is not /usr.
899 + add cygwin to systems for which ncurses is installed by default into
900 /usr rather than /usr/local.
903 + minor optimization in comp_error.c and lib_termname.c, using
904 strncat() to replace strncpy() (patch by Solar Designer).
905 + add a use_terminfo_vars() check for $HOME/.termcap, and check for
906 geteuid() to use_terminfo_vars() (patch by Solar Designer
908 + improved cygwin terminfo entry, based on patch by
909 <ernie_boyd@yahoo.com>.
910 + modify _nc_write_entry() to allow for the possibility that linking
911 aliases on a filesystem that ignores case would not succeed because
912 the source and destination differ only by case, e.g., NCR260VT300WPP0
913 on cygwin (report by Neil Zanella).
914 + fix a typo in the curs_deleteln.3x man page (patch by Bernhard
915 Rosenkraenzer <bero@redhat.de>).
918 + add configure option --with-ospeed to assist packagers in transition
919 to 5.3 change to ospeed type.
920 + add/use CharOf() macro to suppress sign-extension of char type on
921 platforms where this is a problem in ctype macros, e.g., Solaris.
922 + change trace output to binary format.
923 + correct a missing quote adjustment in CF_PATH_SYNTAX autoconf
924 macro, for OS/2 EMX configuration.
925 + rearrange a few configure macros, moving preprocessor options to
926 $CPPFLAGS (a now-obsolete version of autoconf did not consistently
927 use $CPPFLAGS in both the compile and preprocessor checks).
928 + add a check in relative_move() to guard against buffer overflow in
932 + add message to configure script showing g++ version.
933 + resync config.guess, config.sub
934 + modify lib_delwin.c, making it return ERR if the window did not exist
935 (suggested by Neil Zanella).
936 + add cases for FreeBSD 3.1 to tdlint and makellib scripts, used this
937 to test/review ncurses library. (Would use lclint, but it doesn't
939 + reorganized knight.c to avoid forward references. Correct screen
940 updates when backtracking, especially to the first cell. Add F/B/a
943 20001021 5.2 release for upload to ftp.gnu.org
944 + update generated html files from manpages.
945 + modify dist.mk to use edit_man.sh to substitute autoconf'd variables
947 + fix an uninitialized pointer in read_termcap.c (report by Todd C
948 Miller, from report/patch by Philip Guenther <guenther@gac.edu>).
949 + correct help-message and array limit in knight.c (patch by Brian
950 Raiter <breadbox@muppetlabs.com>).
951 > patch by Juergen Pfeifer:
952 + fix to avoid warning by GNAT-3.13p about use of inconsistent casing
953 for some identifiers defined in the standard package.
954 + cosmetic change to forms/fty_enum.c
957 + correct an off-by-one position in test/railroad.c which could cause
958 wrapping at the right margin.
959 + test/repair some issues with libtool configuration. Make
960 --disable-echo force libtool --silent. (Libtool does not work for
961 OS/2 EMX, works partly for SCO - libtool is still very specific to
963 + change default of --with-manpage-tbl to "no", since for most of the
964 platforms which do have tbl installed, the system "man" program
965 understands how to run tbl automatically.
966 + minor improvement to force_bar() in comp_parse.c (Bernhard
967 Rosenkraenzer <bero@redhat.de>).
968 + modify lib_tparm.c to use get_space() before writing terminating
969 null character, both for consistency as well as to ensure that if
970 save_char() was called immediately before, that the allocated memory
971 is enough (patch by Sergei Ivanov).
972 + add note about termcap ML capability which is duplicated between two
973 different capabilities: smgl and smglr (reported by Sergei Ivanov
974 <svivanov@pdmi.ras.ru>).
975 + correct parameter counts in include/Caps for dclk as well as some
976 printer-specific capabilities: csnm, defc, scs, scsd, smgtp, smglp.
977 > patch by Johnny C Lam <lamj@stat.cmu.edu>:
978 + add support for building with libtool (apparently version 1.3.5,
979 since old versions do not handle -L../lib), using new configure
980 option --with-libtool.
981 + add configure option --with-manpage-tbl, which causes the manpages to
982 be preprocessed by tbl(1) prior to installation,
983 + add configure option --without-curses-h, which causes the
984 installation process to install curses.h as ncurses.h and make
985 appropriate changes to headers and manpages.
988 + correct order of options/parameters in run_tic.in invocation of tic,
989 which did not work with standard getopt() (reported by Ethan
990 Butterfield <primus@veris.org>).
991 + correct logic for 'reverse' variable in lib_vidattr.c, which was
992 setting it true without checking if newmode had A_REVERSE set, e.g.,
993 using $TERM=ansi on OS/2 EMX (see 20000917).
994 > patch by Todd Miller:
995 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent().
996 Previously, _nc_cgetset() would still get called on cp so the
997 simplest thing is to set cp to NULL if !use_terminfo_vars().
998 + added checks for an empty $HOME environment variable.
999 > patches by Ilya Zakharevich for OS/2 EMX:
1000 + modify convert_configure.pl to support INSTALL. Change compiler
1001 options in that script to use multithreading, needed for the mouse.
1002 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails
1003 to set up a 3-button mouse.
1004 + improve code for OS/2 mouse support, using _nc_timed_wait() to
1005 replace select() call.
1008 + change type of ospeed variable back to short to match its use in
1009 legacy applications (reported by Andrey A Chernov).
1010 + add case to configure script for --enable-rpath on IRIX (patch by
1011 Albert Chin-A-Young).
1012 + minor fix to position_check() function, to ensure it gets the whole
1013 cursor report before decoding.
1014 + add configure option --disable-assumed-color, to allow pre-5.1
1015 convention of default colors used for color-pair 0 to be configured
1016 (see assume_default_colors()).
1017 + rename configure option --enable-hashmap --disable-hashmap, and
1018 reorder the configure options, splitting the experimental and
1020 + add configure option --disable-root-environ, which tells ncurses to
1021 disregard $TERMINFO and similar environment variables if the current
1022 user is root, or running setuid/setgid (based on discussion with
1024 + modified misc/run_tic.in to use tic -o, to eliminate dependency on
1025 $TERMINFO variable for installs.
1026 + add table entry for plab_norm to tput, so it passes in strings
1027 for that capability.
1028 + modify parse_format() in lib_tparm.c to ignore precision if it is
1029 longer than 10000 (report by Jouko Pynnonen).
1030 + rewrote limit checks in lib_mvcur.c using new functions
1031 _nc_safe_strcat(), etc. Made other related changes to check lengths
1032 used for strcat/strcpy (report by Jouko Pynnonen
1033 <jouko@solutions.fi>).
1036 + modify several descriptions, including those for setaf, setab, in
1037 include/Caps to indicate that the entries are parameterized. This
1038 information is used to tell which strings are translated when
1039 converting to termcap. Fixes a problem where the generated termcap
1040 would contain a spurious "%p1" for the terminfo "%p1%d".
1041 + modify ld -rpath options (e.g., Linux, and Solaris) to use an
1042 absolute pathname for the build tree's lib directory (prompted by
1043 discussion with Albert Chin-A-Young).
1044 + modify "make install.man" and "make uninstall.man" to include tack's
1046 + various fixes for install scripts used to support configure --srcdir
1047 and --with-install-prefix (reported by Matthew Clarke
1048 <Matthew_Clarke@mindlink.bc.ca>).
1049 + make configure script checks on variables $GCC and $GXX consistently
1050 compare against 'yes' rather than test if they are nonnull, since
1051 either may be set to the corresponding name of the C or C++ compiler
1052 (report/patch by Albert Chin-A-Young).
1055 + modify rs2 capability in xterm-r6 and similar where cursor
1056 save/restore bracketed the sequence for resetting video attributes.
1057 The cursor restore would undo that (from a NetBSD bug report by John
1058 Hawkinson <jhawk@MIT.EDU>).
1059 + using parameter check added to tic, corrected 27 typos in
1061 + modify tic to verify that its inputs are really files, in case
1062 someone tries to read a directory (or /dev/zero).
1063 + add a check for empty buffers returned by fgets() in comp_scan.c
1064 next_char() function, in case tic is run on a non-text file (fixes
1065 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>).
1066 + add to railroad.c some code exercising tgoto(), providing an
1067 alternate form of display if the terminal supports cursor addressing.
1068 + split-out tgoto() again, this time into new file lib_tgoto.c, and
1069 implement a conventional BSD-style tgoto() which is used if the
1070 capability string does not contain terminfo-style padding or
1071 parameters (requested by Andrey A Chernov).
1072 + add check to tic which reports capabilities that do not reference
1073 the expected number of parameters.
1074 + add error checking to infocmp's -v and -m options to ensure that
1075 the option value is indeed a number.
1076 + some cleanup of logic in _nc_signal_handler() to verify if SIGWINCH
1077 handler is setup. Separated the old/new sigaction data for SIGTSTP
1078 from the other signals.
1081 + add S0, E0 extensions to screen's terminfo entry, which is another
1082 way to solve the misconfiguration issue -TD
1083 + completed special case for tgoto from 20000916
1086 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD
1087 + add Matrix Orbital terminfo entries (from Eric Z Ayers
1089 + add special case to lib_tparm.c to allow 'screen' program to use a
1090 termcap-style parameter "%." to tgoto() for switching character sets.
1091 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has
1093 + updated notes in README.emx regarding autoconf patches.
1094 + replace a lookup table in lib_vidattr.c used to decode no_color_video
1095 with a logic expression (suggested by Philippe Blain).
1096 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate
1097 character set attribute from the displayed text.
1098 + correct inequality in parameter analysis of rewritten lib_tparm.c
1099 which had the effect of ignoring p9 in set_attributes (sgr), breaking
1100 alternate character set (reported by Piotr Majka <charvel@link.pl>).
1101 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile
1102 with Sun WorkShop compilers since these tokens were empty (cf:
1103 20000902, reported by Albert Chin-A-Young).
1106 + correct an uninitialized parameter to open_tempfile() in tic.c which
1107 made "tic -I" give an ambiguous error message about tmpnam.
1108 + add special case in lib_vidattr.c to reset underline and standout for
1109 devices that have no sgr0 defined (patch by Don Lewis
1110 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold
1111 mode, since there is no exit-bold-mode capability.
1112 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer).
1113 + modify tparm to disallow arithmetic on strings, analyze the varargs
1114 list to read strings as strings and numbers as numbers.
1115 + modify tparm's internal function spop() to treat a null pointer as
1117 + modify tput program so it can be renamed or invoked via a link as
1118 'reset' or 'init', producing the same effect as 'tput reset' or 'tput
1120 + add private entrypoint _nc_basename(), use to consolidate related
1121 code in progs, as well as accommodating OS/2 EMX pathnames.
1122 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its
1123 removal (except via AC_SUBST) from configure.in, making
1124 --enable-const work again (reported by Juergen Pfeifer).
1125 + regen'd configure to pick up "hpux*" change from 20000902.
1128 + modify tset.c to check for transformed "reset" program name, if any.
1129 + add a check for null pointer in Make_Enum_Type() (reported by Steven
1130 W Orr <steveo@world.std.com>).
1131 + change functions _nc_parse_entry() and postprocess_termcap() to avoid
1132 using strtok(), because it is non-reentrant (reported by Andrey A
1133 Chernov <ache@nagual.pp.ru>).
1134 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro.
1135 This differed from the "hpux*" case by using reversed symbolic
1136 links, which made the 5.1 version not match the configuration of
1137 5.0 shared libraries (reported by Albert Chin-A-Young).
1138 + correct a dependency in Ada95/src/Makefile.in which prevented
1139 building with configure --srcdir (patch by H Nanosecond
1140 <aldomel@ix.netcom.com>).
1141 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or
1142 GCC_SCANF was not previously defined (reported by Pavel Roskin
1144 + add MKncurses_def.sh to generate fallback definitions for
1145 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in
1146 code to consistently use "#if" rather than "#ifdef".
1149 + add QNX qansi entries to terminfo -TD
1150 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>).
1151 + add configure option --with-database to allow specifying a different
1152 terminfo source-file to install. On OS/2 EMX, this defaults to
1154 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify
1155 setting .exe extension on OS/2 EMX.
1156 + add .exe extension in Ada95/gen/Makefile.in,
1157 Ada95/samples/Makefile.in, for OS/2 EMX (reported by
1158 <jmcoopr@webmail.bmi.net>).
1159 + add configure check for filesystems (such as OS/2 EMX) which do not
1160 distinguish between upper/lowercase filenames, use this to fix tags
1162 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll()
1163 only sets the revents members of that array when there is activity
1164 corresponding to the related file (report by Glenn Cooper
1165 <gcooper@qantas.com.au>, using Purify on Solaris 5.6).
1166 + change configure script to use AC_CANONICAL_SYSTEM rather than
1167 AC_CANONICAL_HOST, which means that configure --target will set
1168 a default program-prefix.
1169 + add note on cross-compiling to INSTALL (which does not rely on the
1170 AC_CANONICAL_* macros).
1173 + add cases for EMX OS/2 to config.guess, config.sub
1174 + new version of config.guess, config.sub from lynx 2.8.4dev.7
1175 + add definitions via transform.h to allow tic and tput to check for
1176 the transformed aliases rather than the original infotocap, etc.
1177 + simplify transform-expressions in progs/Makefile.in, make the
1178 uninstall rule work for transformed program names.
1179 + change symbol used by --install-prefix configure option from
1180 INSTALL_PREFIX to DESTDIR (the latter has become common usage
1181 although the name is misleading).
1182 + modify programs to use curses_version() string to report the version
1183 of ncurses with which they are compiled rather than the
1184 NCURSES_VERSION string. The function returns the patch level in
1185 addition to the major and minor version numbers.
1188 + modify CF_MAN_PAGES configure macro to make transformed program names
1189 a parameter to that macro rather than embedding them in the macro.
1190 + newer config.guess, config.sub (reference version used in lynx
1192 + add configure option --with-default-terminfo-dir=DIR to allow
1193 specifying the default terminfo database directory (request by Albert
1195 + minor updates for terminfo.src from FreeBSD termcap change-history.
1196 + correct notes in README and INSTALL regarding documentation files
1197 that were moved from misc directory to doc (report by Rich Kulawiec
1199 + change most remaining unquoted parameters of 'test' in configure
1200 script to use quotes, for instance fixing a problem in the
1201 --disable-database option (reported by Christian Mondrup
1202 <scancm@biobase.dk>).
1203 + minor adjustments to work around some of the incompatibilities/bugs
1204 in autoconf 2.29a alpha.
1205 + add -I/usr/local/include when --with-ncurses option is used in
1206 test/configure script.
1207 + correct logic in adjust_cancels(), which did not check both
1208 alternatives when reclassifying an extended name between boolean,
1209 number and string, causing an infinite loop in tic.
1212 + correct a missing backslash in curses.priv.h
1215 + change handling of non_dest_scroll_region in tty_update.c to clear
1216 text after it is shifted in rather than before shifting out. Also
1217 correct row computation (reported by Ruediger Kuhlmann
1218 <uck4@rz.uni-karlsruhe.de>).
1219 + add/use new trace function to display chtype values from winch() and
1221 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that
1222 trace attribute changes under TRACE_CALLS to use this.
1223 + modify MKlib_gen.sh so that functions returning chtype will call
1225 + add returnChar() trace, for functions returning chtype.
1226 + change indent.pro to line up parenthesis.
1229 + fix a heap problem with the c++ binding (report by
1230 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer).
1231 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter.
1232 + modify the check for big-core to force a couple of memory accesses,
1233 which may work as needed for older/less-capable machines (if not,
1234 there's still the explicit configure option).
1235 > fixes based on diff's for Amiga and BeOS found at
1236 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/
1237 + alter definition of NCURSES_CONST to make it non-empty.
1238 + add amiga-vnc terminfo entry.
1239 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have
1240 an (unspecified) symbol conflict.
1241 + replaced case-statement in _nc_tracebits() for CSIZE with a table to
1242 simplify working around implementations that define random
1243 combinations of the related macros to zero.
1244 + modify configure test for tcgetattr() to allow for old
1245 implementations, e.g., on BeOS, which only defined it as a macro.
1246 > patches by Bruno Haible:
1247 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8
1248 locale, ignore those which are set to an empty value, as per SUSV2.
1249 + encode 0xFFFD in UTF-8 with 3 bytes, not 2.
1250 + modify _nc_utf8_outch() to avoid sign-extension when checking for
1254 + correct manlinks.sed script to avoid using ERE "\+", which is not
1255 understood by older versions of sed (patch by Albert Chin-A-Young).
1256 + implement configure script options that transform installed program
1257 names, e.g., --program-prefix, including the manpage names and cross
1258 references (patch by Albert Chin-A-Young <china@thewrittenword.com>).
1259 + correct several mismatches between manpage filename and ".TH"
1260 directives, renaming dft_fgbg.3x to default_colors.3x and
1261 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller).
1262 + correct missing includes for <string.h> in several places, including
1263 the C++ binding. This is not noted by gcc unless we use the
1264 -fno-builtin option (reported by Igor Schein <igor@txc.com>).
1265 + modified progs/tset.c and tack/sysdep.c to build with sgttyb
1266 interface if neither termio or termios is available. Tested this
1267 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does
1270 20000708 5.1 release for upload to ftp.gnu.org
1271 + document configure options in INSTALL.
1272 + add man-page for ncurses trace functions.
1273 + correct return value shown in curs_touch.3x for is_linetouched() and
1274 is_wintouched(), in curs_initscr.3x for isendwin(), and in
1275 curs_termattr.3x for has_ic() and has_il().
1276 + add prototypes for touchline() and touchwin(), adding them to the
1277 list of generated functions.
1278 + modify fifo_push() to put ERR into the fifo just like other values to
1279 return from wgetch(). It was returning without doing that, making
1280 end-of-file condition incorrectly return a 0 (reported by Todd C
1282 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they
1283 are needed for SCO OpenServer.
1284 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease
1285 dynamic loaders on SCO and IRIX64.
1286 + add "-a" option to test/ncurses.c to invoke assume_default_colors()
1288 + correct assignment in assume_default_colors() which tells ncurses
1289 whether to use default colors, or the assumed ones (reported by Gary
1290 Funck <gary@Intrepid.Com>).
1291 + review/correct logic in mk-1st.awk for making symbolic links for
1292 shared libraries, in particular for FreeBSD, etc.
1293 + regenerate misc/*.def files for OS/2 EMX dll's.
1294 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for
1295 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter
1296 Wemm) (err in 20000610).
1297 + minor updates to release notes, as well as adding/updating URLs for
1298 examples cited in announce.html
1299 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>:
1300 + correct placement of ifdef for NCURSES_XNAMES in function
1301 _nc_free_termtype(), fixes a memory leak.
1302 + add a call to _nc_synchook() to the end of function whline() like
1303 that in wvline() (difference was in 1.9.4).
1304 + make ClearScreen() a little faster by moving two instances of
1305 UpdateAttr() out of for-loops.
1306 + simplify ClrBottom() by eliminating the tstLine data, using for-loops
1309 20000701 pre-release
1310 + change minor version to 1, i.e., ncurses 5.1
1311 + add experimental configure option --enable-colorfgbg to check for
1312 $COLORTERM variable as set by rxvt/aterm/Eterm.
1313 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>).
1314 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and
1315 several manpages so manlinks.sed can find aliases for creating
1317 + add explanation to run_tic.sh regarding extended terminal
1319 + change message format for edit_cfg.sh, since some people interpret
1321 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS
1322 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>).
1323 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse
1324 support when poll() is used rather than select() (prompted by
1325 discussion with David Allen <DAllen24@aol.com>).
1327 20000624 pre-release
1328 + modify TransformLine() to check for cells with different color pairs
1329 that happen to render the same display colors.
1330 + apply $NCURSES_NO_PADDING to cost-computation in mvcur().
1331 + improve cost computation in PutRange() by accounting for the use
1332 of parm_right_cursor in mvcur().
1333 + correct cost computation in EmitRange(), which was not using the
1334 normalized value for cursor_address.
1335 + newer config.guess, config.sub (reference version used in TIN 1.5.6).
1338 + update config.guess, config.sub (reference version used in PCRE 3.2).
1339 + resync changes to gnathtml against version 1.22, regenerated html
1340 files under doc/html/ada using this (1.22.1.1).
1341 + regenerated html files under doc/html/man after correcting top and
1342 bottom margin options for man2html in dist.mk
1343 + minor fixes to test programs ncurses 'i' and testcurs program to make
1344 the subwindow's background color cover the subwindow.
1345 + modify configure script so AC_MSG_ERROR is temporarily defined to a
1346 warning in AC_PROG_CXX to make it recover from a missing C++ compiler
1347 without requiring user to add --without-cxx option (from comment by
1348 Akim Demaille <akim@epita.fr> to autoconf mailing list).
1349 + modify headers.sh to avoid creating temporary files in the build
1350 directory when installing headers (reported by Sergei Pokrovsky
1354 + regenerated the html files under doc/html/ada/files and
1355 doc/html/ada/funcs with a slightly-improved gnathtml.
1356 + add kmous capability to linux terminfo entry to allow it to use
1357 xterm-style events provided by gpm patch by Joerg Schoen.
1358 + make the configure macro CF_SHARED_OPTS a little smarter by testing
1359 if -fPIC is supported by gcc rather than -fpic. The former option
1360 allows larger symbol tables.
1361 + update config.guess and config.sub (patches by
1362 Kevin Buettner <kev@primenet.com> for elf64_ia64
1363 Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X).
1364 + add warning for 'tic -cv' about use of '^?' in terminfo source, which
1368 + modify echo() behavior of getch() to match Solaris curses for
1369 carriage return and backspace (reported by Neil Zanella).
1370 + change _nc_flush() to a function.
1371 + modify delscreen() to check if the output stream has been closed, and
1372 if so, free the buffer allocated for setbuf (this provides an
1373 ncurses-specific way to avoid a memory leak when repeatedly calling
1374 newterm reported by Chipp C <at_1@zdnetonebox.com>).
1375 + correct typo in curs_getch.3x manpage regarding noecho (reported by
1376 David Malone <dwmalone@maths.tcd.ie>).
1377 + add a "make libs" rule.
1378 + make the Ada95 interface build with configure --enable-widec.
1379 + if the configure --enable-widec option is given, append 'w' to names
1380 of the generated libraries (e.g., libncursesw.so) to avoid conflict
1381 with existing ncurses libraries.
1384 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses
1385 is configured with the experimental wide-character support.
1386 + add a simple UTF-8 output driver to the experimental wide-character
1387 support. If any of the environment variables LC_ALL, LC_CTYPE or
1388 LANG contain the string "UTF-8", this driver will be used to
1389 translate the output to UTF-8. This works with XFree86 xterm.
1390 + modify configure script to allow building shared libraries on BeOS
1391 (from a patch by by Valeriy E Ushakov).
1392 + modify lib_addch.c to allow repeated update to the lower-right
1393 corner, rather than displaying only the first character written until
1394 the cursor is moved. Recent versions of SVr4 curses can update the
1395 lower-right corner, and behave this way (reported by Neil Zanella).
1396 + add a limit-check in _nc_do_color(), to avoid using invalid color
1397 pair value (from bug report by Brendan O'Dea <bod@compusol.com.au>).
1400 + the tack program knows how to use smcup and rmcup but the "show caps
1401 that can be tested" feature did not reflect this knowledge. Correct
1402 the display in the menu tack/test/edit/c (patch by Daniel Weaver).
1403 + xterm-16color does allow bold+colors, removed ncv#32 from that
1407 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which
1408 broke check for screen's AX capability (reported by Valeriy E Ushakov
1410 + change man2html rule in dist.mk to workaround bug in some
1411 man-programs that ignores locale when rendering hyphenation.
1412 + change web- and ftp-site to dickey.his.com
1415 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around
1416 problem linking tack on MacOS X DP3.
1417 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3
1418 (reported by Gerben Wierda <wierda@holmes.nl>).
1419 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not
1421 + add -d option to ncurses.c, to turn on default-colors for testing.
1422 + add a check to _nc_makenew() to ensure that newwin() and newpad()
1423 calls do not silently fail by passing too-large limits.
1424 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for
1425 internal window and pad sizes. Note that since this is visible in
1426 the WINDOW struct, it would be an ABI change to make this an 'int'
1427 (prompted by a question by Bastian Trompetter
1428 <btrompetter@firemail.de>, who attempted to create a 96000-line pad).
1431 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5,
1433 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An
1434 example of an illegal ANSI resonse can be found using Microsoft's
1435 Telnet client. A correct display can be found using a VT-4xx
1436 terminal or XFree86 xterm with:
1437 XTerm*VT100*decTerminalID: 450
1438 (patch by Daniel Weaver).
1439 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' '
1440 for resume. Add '-n' option to force gdc's standard input to
1441 /dev/null, to both illustrate the use of newterm() for specifying
1442 alternate inputs as well as for testing signal handling.
1443 + minor fix for configure option --with-manpage-symlinks, for target
1444 directories that contain a period ('.') (reported by Larry Virden).
1447 + minor additions to beterm entry (feedback from Rico Tudor) -TD
1448 + corrections/updates for some IBM terminfo entries -TD
1449 + modify _nc_screen_wrap() so that when exiting curses mode with
1450 non-default colors, the last line on the screen will be cleared to
1451 the screen's default colors (request by Alexander Lukyanov).
1452 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be
1453 read for demonstrating the REQ_NEW_LINE operation (prompted by a
1454 question by Tony L Keith" <tlkeith@keithconsulting.com>).
1455 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7,
1456 documented extension of ncurses which allows a zero pointer.
1457 + modify fmt_complex() to avoid buffer overflow in case of excess
1458 recursion, and to recognize "%e%?" as a synonym for else-if, which
1459 means that it will not recur for that special case.
1460 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol
1461 is defined (patch by Todd C Miller).
1462 + modify one of the m4 files used to generate the Ada95 sources,
1463 to avoid using the token "symbols" (patch by Juergen Pfeifer).
1466 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
1467 + correct spelling error in terminfo entry name: bq300-rv was given as
1468 bg300-rv in esr's version.
1469 + modify redrawwin() macro so its parameter is fully parenthesized
1470 (fixes Debian bug report #61088).
1471 + correct formatting error in dump_entry() which set incorrect column
1472 value when no newline trimming was needed at the end of an entry,
1473 before appending "use=" clauses (cf: 960406).
1476 + add configure option --with-manpage-symlinks
1477 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
1478 + change makefiles so trace() function is provided only if TRACE is
1479 defined, e.g., in the debug library. Modify related calls to
1480 _tracechar() to use unctrl() instead.
1483 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable
1484 terminfo entries, use presence of this as a check for a small
1485 improvement in setting default colors.
1486 + improve logic in _nc_do_color() implementing assume_default_colors()
1487 by passing in previous color pair info to eliminate redundant call to
1488 set_original_colors(). (Part of this is from a patch by Alexander
1490 + modify warning in _nc_trans_string() about a possibly too-long string
1491 to do this once only rather than for each character past the
1492 threshold (600). Change interface of _nc_trans_string() to allow
1493 check for buffer overflow.
1494 + correct use of memset in _nc_read_entry_source() to initialize ENTRY
1495 struct each time before reading new data into it, rather than once
1496 per loop (cf: 990301). This affects multi-entry in-core operations
1497 such as "infocmp -Fa".
1500 + remove a spurious pointer increment in _nc_infotocap() changes from
1501 20000311. Add check for '.' in format of number, since that also
1502 is not permitted in termcap.
1503 + correct typo in rxvt-basic terminfo from temporary change made while
1504 integrating 20000318.
1507 + revert part of the vt220 change (request by Todd C Miller).
1508 + add ansi-* terminfo entries from Eric's version.
1509 + add -a option to tic and infocmp, which retains commented-out
1510 capabilities during source translation/comparison, e.g., captoinfo
1512 + modify cardfile.c to display an empty card if no input data file is
1513 found, fixes a core dump in that case (reported by Bruno Haible).
1514 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong
1515 result for OS/2 EMX.
1516 + supply required parameter for _nc_resolve_uses() call in
1517 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller).
1518 > patches by Bruno Haible <haible@ilog.fr>:
1519 + fix a compiler warning in fty_enum.c
1520 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack
1521 makefiles, which resulted in redundant linking (cf: 20000122).
1524 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller).
1525 + improved tack/README (patch by Daniel Weaver).
1526 + modify tput.c to ensure that unspecified parameters are passed to
1528 + add a few checks in infocmp to guard against buffer overflow when
1529 displaying string capabilities.
1530 + add check for zero-uses in infocmp's file_comparison() function
1531 before calling _nc_align_termtype(). Otherwise one parameter is
1532 indexed past the end of the uses-array.
1533 + add an option -q to infocmp to specify the less verbose output,
1534 keeping the existing format as the default, though not retaining the
1535 previous behavior that made the -F option compare each entry to
1537 + adapted patch by Eric Raymond to make infocmp -F less verbose
1538 (the submitted patch was unusable because it did not compile
1540 + modify write_entry.c to ensure that absent or cancelled booleans
1541 are written as FALSE, for consistency with infocmp which now
1542 assumes this. Note that for the small-core configuration, tic
1543 may not produce the same result as before.
1544 + change some private library interfaces used by infocmp, e.g.,
1546 + add a check in _nc_infotocap() to ensure that cm-style capabilities
1547 accept only %d codes when converting the format from terminfo to
1549 + modify ENTRY struct to separate the data in 'parent' into the name
1550 and link values (the original idea to merge both into 'parent' was
1552 + discard repair_acsc(tterm);
1553 > patch by Juergen Pfeifer:
1554 + drop support for gnat 3.10
1555 + move generated documentation and html files under ./doc directory,
1556 adding makefile rules for this to dist.mk
1559 + correct conflicting use of tparm() in 20000226 change to tic, which
1560 made it check only one entry at a time.
1561 + fix errors in ncurses-intro.html and hackguide.html shown by Dave
1563 + make the example in ncurses-intro.html do something plausible, and
1564 corrected misleading comment (reported by Neil Zanella).
1565 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does,
1566 to fix a case where the cursor position was not updated as in
1567 Solaris (patch by David Mosberger <davidm@hpl.hp.com>).
1568 + add a limit-check for wresize() to ensure that a subwindow does not
1569 address out of bounds.
1570 + correct offsets used for subwindows in wresize() (patch by Michael
1571 Andres <ma@suse.de>).
1572 + regenerate html'ized manual pages with man2html 3.0.1 (patch by
1573 Juergen Pfeifer). This generated a file with a space in its name,
1575 + fix a few spelling errors in tack.
1576 + modify tack/Makefile.in to match linker options of progs/Makefile.in;
1577 otherwise it does not build properly for older HPUX shared library
1579 + add several terminfo entries from esr's "11.0".
1582 + make 'tput flash' work properly for xterm by flushing output in
1583 delay_output() when using napms(), and modifying xterm's terminfo to
1584 specify no padding character. Otherwise, xterm's reported baud rate
1585 can mislead ncurses into producing too few padding characters
1587 + add a check to tic for consistency between sgr and the separate
1588 capabilities such as smso, use this to check/correct several
1589 terminfo entries (Debian #58530).
1590 + add a check to tic if cvvis is the same as cnorm, adjusted several
1591 terminfo entries to remove the conflict (Debian #58530).
1592 + correct prototype shown in attr_set()/wattr_set() manpages (fixes
1594 + minor clarification for curs_set() and leaveok() manpages.
1595 + use mkstemp() for creating temporary file for tic's processing of
1596 $TERMCAP contents (fixes Debian #56465).
1597 + correct two errors from integrating Alexander's changes: did not
1598 handle the non-bce case properly in can_erase_with() (noted by
1599 Alexander), and left fg/bg uninitialized in the pair-zero case of
1600 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and
1601 Ismael Cordeiro <ismael@cordeiro.com>).
1604 + store default-color code consistently as C_MASK, even if given as
1605 -1 for convenience (adapted from patches by Alexander Lukyanov).
1606 > patches by Alexander Lukyanov:
1607 + change can_clear_with() macro to accommodate logic for
1608 assume_default_colors(), making most of the FILL_BCE logic
1609 unnecessary. Made can_clear_with() an inline function to make it
1613 + corrected form of recent copyright dates.
1614 + minor corrections to xterm-xf86-v333 terminfo entry -TD
1615 > patches by Alexander Lukyanov:
1616 + reworded dft_fgbg.3x to avoid assuming that the terminal's default
1617 colors are white on black.
1618 + fix initialization of tstLine so that it is filled with current blank
1619 character in any case. Previously it was possible to have it filled
1620 with old blank. The wrong over-optimization was introduced in 991002
1621 patch. (it is not very critical as the only bad effect is not using
1622 clr_eos for clearing if blank has changed).
1625 + minor corrections/updates to several terminfo entries: rxvt-basic,
1626 vt520, vt525, ibm5151, xterm-xf86-v40 -TD
1627 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby
1628 allowing poll() to be used on Linux.
1629 + add CF_FUNC_POLL macro to check if poll() is able to select from
1630 standard input. If not we will not use it, preferring select()
1631 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>).
1632 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building
1633 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>).
1634 + override $LANGUAGE in build to avoid incorrect ordering of keynames.
1635 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x).
1638 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm.
1639 + modify CF_MATH_LIB configure macro to parameterize the test function
1640 used, for reuse in dialog and similar packages.
1641 + correct tests for file-descriptors in OS/2 EMX mouse support. A
1642 negative value could be used by FD_SET, causing the select() call
1643 to wait indefinitely.
1646 + additional fixes for non-bce terminals (handling of delete_character)
1647 to work when assume_default_colors() is not specified.
1648 + modify warning message from _nc_parse_entry() regarding extended
1649 capability names to print only if tic/infocmp/toe have the -v flag
1650 set, and not at all in ordinary user applications. Otherwise, this
1651 warning would be shown for screen's extended capabilities in programs
1652 that use the termcap interface (reported by Todd C Miller).
1653 + modify use of _nc_tracing from programs such as tic so their debug
1654 level is not in the same range as values set by trace() function.
1655 + small panel header cleanup (patch by Juergen Pfeifer).
1656 + add 'railroad' demo for termcap interface.
1657 + modify 'tic' to write its usage message to stderr (patch by Todd C
1661 + add prototype for erase() to curses.h.in, needed to make test
1662 programs build with c++/g++.
1663 + add .c.i and .c.h suffix rules to generated makefiles, for debugging.
1664 + correct install rule for tack.1; it assumed that file was in the
1665 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>).
1666 + modify terminfo/termcap translation to suppress acsc before trying
1667 sgr if the entry would be too large (patch by Todd C Miller).
1668 + document a special case of incompatiblity between ncurses 4.2 and
1669 5.0, add a section for this in INSTALL.
1670 + add TRACE_DATABASE flag for trace().
1673 + update mach, add mach-color terminfo entries based on Debian diffs
1675 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp
1676 terminfo entries -TD
1677 + change OTrs capabilities to rs2 in terminfo.src -TD
1678 + add obsolete and extended capabilities to 'screen' terminfo -TD
1679 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704)
1680 + make conversion to termcap ug (underline glitch) more consistently
1682 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error
1683 was in the original pre-1.9.7 version, when $HOME/.terminfo was
1685 + modify 'toe' to ignore terminfo directories to which it has no
1687 + modify read_termtype(), fixing 'toe', which could dump core when it
1688 found an incomplete entry such as "dumb" because it did not
1689 initialize its buffer for _nc_read_file_entry().
1690 + use -fPIC rather than -fpic for shared libraries on Linux, not
1691 needed for i386 but some ports (from Debian diffs for 5.0).
1692 + use explicit VALID_NUMERIC() checks in a few places that had been
1693 overlooked, and add a check to ensure that init_tabs is nonzero,
1694 to avoid divide-by-zero (reported by Todd C Miller).
1695 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from
1699 + reorder tests during mouse initialization to allow for gpm to run in
1700 xterm, or for xterm to be used under OS/2 EMX. Also drop test for
1701 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report
1702 by Christian Weisgerber <naddy@mips.rhein-neckar.de>).
1703 + modify raw() and noraw() to clear/restore IEXTEN flag which affects
1704 stty lnext on systems such as FreeBSD (report by Bruce Evans
1705 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>).
1706 + fix a potential (but unlikely) buffer overflow in failed() function
1707 of tset.c (reported by Todd C Miller).
1708 + add manual-page for ncurses extensions, documented curses_version(),
1709 use_extended_names().
1712 + treat as untranslatable to termcap those terminfo strings which
1713 contain non-decimal formatting, e.g., hexadecimal or octal.
1714 + correct commented-out capabilities that cannot be translated to
1715 termcap, which did not check if a colon must be escaped.
1716 + correct termcap translation for "%>" and "%+", which did not check
1717 if a colon must be escaped, for instance.
1718 + use save_string/save_char for _nc_captoinfo() to eliminate fixed
1719 buffer (originally for _nc_infotocap() in 960301 -TD).
1720 + correct expression used for terminfo equivalent of termcap %B,
1721 adjust regent100 entry which uses this.
1722 + some cleanup and commenting of ad hoc cases in _nc_infotocap().
1723 + eliminate a fixed-buffer in tic, used for translating comments.
1724 + add manpage for infotocap
1727 + add kvt and gnome terminfo entries -TD
1728 + correct translation of "%%" by infotocap, which was emitted as "%".
1729 + add "obsolete" termcap strings to terminfo.src
1730 + modify infocmp to default to showing obsolete capabilities rather
1732 + modify write_entry.c so that if extended names (i.e., configure
1733 --enable-tcap-names) are active, then tic will also write "obsolete"
1734 capabilities that are present in the terminfo source.
1735 + modify tic so that when running as captoinfo or infotocap, it
1736 initializes the output format as in -C and -I options, respectively.
1737 + improve infocmp and tic -f option by splitting long strings that do
1738 not have if-then-else construct, but do have parameters, e.g., the
1739 initc for xterm-88color.
1740 + refine MKtermsort.sh slightly by using bool for the *_from_termcap
1744 + additional fixes for non-bce terminals (handling of clear_screen,
1745 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is
1747 + several small changes to xterm terminfo entries -TD.
1748 + move logic for _nc_windows in lib_freeall.c inside check for nonnull
1749 SP, since it is part of that struct.
1750 + remove obsolete shlib-versions, which was unintentionally re-added
1752 + modify infocmp -e, -E options to ensure that generated fallback.c
1753 type for Booleans agrees with term.h (reported by Eric Norum
1754 <eric@cls.usask.ca>).
1755 + correct configure script's use of $LIB_PREFIX, which did not work
1756 for installing the c++ directory if $libdir did not end with "/lib"
1757 (reported by Huy Le <huyle@ugcs.caltech.edu>).
1758 + modify infocmp so -L and -f options work together.
1759 + modify the initialization of SP->_color_table[] in start_color() so
1760 that color_content() will return usable values for COLORS greater
1762 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for
1763 xterm-88color, to limit the displayed/computed colors to 16.
1764 > patch by Juergen Pfeifer:
1765 + simplify coding of the panel library according to suggestions by
1767 + improve macro coding for a few macros in curses.priv.h
1770 + modify treatment of color pair 0 so that if ncurses is configured
1771 to support default colors, and they are not active, then ncurses
1772 will set that explicitly, not relying on orig_colors or orig_pair.
1773 + add new extension, assume_default_colors() to provide better control
1774 over the use of default colors.
1775 + modify test programs to use more-specific ifdef's for existence of
1776 wresize(), resizeterm() and use_default_colors().
1777 + modify configure script to add specific ifdef's for some functions
1778 that are included when --enable-ext-funcs is in effect, so their
1779 existence can be ifdef'd in the test programs.
1780 + reorder some configure options, moving those extensions that have
1781 evolved from experimental status into a new section.
1782 + change configure --enable-tcap-names to enable this by default.
1785 + install tack's manpage (reported by Robert Weiner
1786 <robert@progplus.com>)
1787 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach).
1788 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++
1789 STL (reported by Matt Gerassimoff <mgeras@ticon.net>)
1792 + modify linux terminfo entry to indicate that dim does not mix with
1793 color (reported by Klaus Weide <kweide@enteract.com>).
1794 + correct several typos in terminfo entries related to missing '['
1796 + fix several compiler warnings in c++ binding (reported by Tim
1797 Mooney for alphaev56-dec-osf4.0f
1798 + rename parameter of _nc_free_entries() to accommodate lint.
1799 + correct lint rule for tack, used incorrect list of source files.
1800 + add case to config.guess, config.sub for Rhapsody.
1801 + improve configure tests for libg++ and libstdc++ by omitting the
1802 math library (which is missing on Rhapsody), and improved test for
1803 the math library itself (adapted from path by Nelson H. F. Beebe).
1804 + explicitly initialize to zero several data items which were
1805 implicitly initialized, e.g., cur_term. If not explicitly
1806 initialized, their storage type is C (common), and causes problems
1807 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F.
1809 + modify Ada95 binding to not include the linker option for Ada
1810 bindings in the Ada headers, but in the Makefiles instead (patch by
1813 19991023 5.0 release for upload to ftp.gnu.org
1814 + effective with release of 5.0, change NCURSES_VERSION_PATCH to
1816 + add function curses_version(), to return ncurses library version
1817 (request by Bob van der Poel).
1818 + remove rmam, smam from cygwin terminfo entry.
1819 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well
1820 as update ncv to indicate that 'dim' conflicts with colors.
1821 + modify configure script to use symbolic links for FreeBSD shared
1822 libraries by default.
1823 + correct ranf() function in rain and worm programs to ensure it does
1825 + hide the cursor in hanoi.c if it is running automatically.
1826 + amend lrtest.c to account for optimizations that exploit margin
1828 + add a simple terminfo demo, dots.c
1829 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to
1830 tell it to use write() rather than putc(), since the latter is not
1831 safe in a signal handler according to POSIX.
1832 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details
1833 of output-file pointer in ncurses library.
1834 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO
1836 + correct CC_SHARED_OPTS for building shared libraries for SCO
1838 + remove usleep() from alternatives in napms(), since it may interact
1839 with alarm(), causing a process to be interrupted by SIGALRM (with
1840 advice from Bela Lubkin).
1841 + modify terminal_interface-curses-forms.ads.m4 to build/work with
1842 GNAT 3.10 (patch by Juergen Pfeifer).
1843 + remove part of CF_GPP_LIBRARY configure-script macro, which did not
1844 work with gcc 2.7.2.3
1845 + minor fix to test/tclock.c to avoid beeping more than once per second
1846 + add 's' and ' ' decoding to test/rain.c
1849 + corrected BeOS code for lib_twait.c, making nodelay() function work.
1852 + correct ncurses' value for cursor-column in PutCharLR(), which was
1853 off-by-one in one case (patch by Ilya Zakharevich).
1854 + fix some minor errors in position_check() debugging code, found while
1855 using this to validate the PutCharLR() patch.
1856 + modify firework, lrtest, worm examples to be resizable, and to
1857 recognize 'q' for quit, 's' for single-step and ' ' for resume.
1858 + restore reverted change to terminal_interface-curses-forms.ads.m4,
1859 add a note on building with gnat 3.10p to Ada95/TODO.
1860 + add a copy of the standalone configure script for the test-directory
1861 to simplify testing on SCO and Solaris.
1864 + minor fixes for _nc_msec_cost(), color_content(), pair_content(),
1865 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe
1866 Blain, comments by Alexander Lukyanov).
1867 + simplify definition of PANEL and eliminate internal functions
1868 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(),
1869 (patch by Juergen Pfeifer, based on analysis by Philippe Blain
1871 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in
1872 man_db.renames, since Debian is not concerned with 14-character
1873 filename limitation (from Debian bug report by Josip Rodin
1874 <joy@cibalia.gkvk.hr>).
1875 + corrected scoansi terminfo entry by testing with scoterm and console.
1876 + revert change from 990614 to terminal_interface-curses-forms.ads.m4,
1877 since this does not work for gnat 3.10p
1878 + modify tclock example to be resizable (if ncurses' sigwinch handler
1879 is used), and in color.
1880 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux
1881 shared library rules.
1884 + add newer NetBSD console terminfo entries
1885 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters
1886 <Faroul@beyond.kn-bremen.de>)
1887 + remove -lcurses -ltermcap from configure script's check for the gpm
1888 library, since they are not really necessary (a properly configured
1889 gpm library has no dependency on any curses library), and if the
1890 curses library is not installed, this would cause the test to fail.
1891 + modify tic's -C option so that terminfo "use=" clauses are translated
1892 to "tc=" clauses even when running it as captoinfo.
1893 + modify CF_STDCPP_LIBRARY configure macro to perform its check only
1894 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2
1895 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with
1896 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>).
1897 + correct a problem in libpanel, where the _nc_top_panel variable was
1898 not set properly when bottom_panel() is called to hide a panel which
1899 is the only one on the stack (report/analysis by Michael Andres
1900 <ma@suse.de>, patch by Juergen Pfeifer).
1903 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch
1904 <j@interface-business.de>).
1905 + add top-level uninstall.data and uninstall.man makefile rules.
1906 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so
1907 that hard-links work on Unix again.
1908 + change default value of cf_cv_builtin_bool to 1 as suggested by
1909 Jeremy Buhler, making it less likely that a conflicting declaration
1910 of bool will be seen when compiling with C++.
1913 + improved configure checks for builtin.h
1914 + minor changes to C++ binding (remove static initializations, and make
1915 configure-test for parameter initializations) for features not
1916 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this
1917 applies to SGI, though I found SCO has the same characteristics).
1918 + corrected quoting of ETIP_xxx definitions which support old versions
1919 of g++, e.g., those using -lg++
1920 + remove 'L' code from safe_sprintf.c, since 'long double' is not
1921 widely portable. safe_sprintf.c is experimental, however, and
1922 exists mainly as a fallback for systems without snprintf (reported
1923 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2)
1924 + modify definition of _nc_tinfo_fkeys in broken-linker configuration
1925 so that it is not unnecessarily made extern (Jeffrey C Honig).
1928 + move definition for builtin.h in configure tests to specific check
1929 for libg++, since qt uses the same filename incompatibly.
1930 + correct logic of lib_termcap.c tgetstr function, which did not copy
1931 the result to the buffer parameter. Testing shows Solaris does
1932 update this, though of course tgetent's buffer is untouched (from
1933 mpc.lists.freebsd.current newsgroup item by Peter Edwards
1934 <peter.edwards@ireland.com>).
1935 + corrected beterm terminfo entry, which lists some capabilities which
1936 are not actually provided by the BeOS Terminal.
1937 + add special logic to replace select() calls on BeOS, whose select()
1938 function works only for sockets.
1939 + correct missing escape in mkterm.h.awk.in, which caused part
1940 of the copyright noticed to be omitted (reported by Peter
1941 Wemm <peter@netplex.com.au>).
1942 > several small changes to make the c++ binding and demo work on OS/2
1943 EMX (related to a clean reinstall of EMX):
1944 + correct library-prefix for c++ binding; none is needed.
1945 + add $x suffix to make_hash and make_keys so 'make distclean' works.
1946 + correct missing $x suffix for tack, c++ demo executables.
1947 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and
1948 CF_STDCPP_LIBRARY (for -lstdc++)
1951 + add cygwin terminfo entry -TD
1952 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin.
1953 + add configure option --without-cxx-binding, modifying the existing
1954 --without-cxx option to check only for the C++ compiler
1955 characteristics. Whether or not the C++ binding is needed, the
1956 configure script checks for the size/type of bool, to make ncurses
1957 match. Otherwise C++ applications cannot use ncurses.
1960 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO
1961 + minor corrections to beterm terminfo entry.
1962 + modify lib_setup.c to reject values of $TERM which have a '/' in
1964 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more
1965 than one is on BeOS. That would break a switch statement.
1966 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's
1967 nonfunctional link().
1968 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect
1969 BeOS's bool, which is declared as an unsigned char.
1972 + add ms-vt100 terminfo entry -TD
1973 + minor fixes for misc/emx.src, based on testing with tack.
1974 + minor fix for test/ncurses.c, test 'a', in case ncv is not set.
1977 + minor correction for 'screen' terminfo entry.
1978 + clarify description of errret values for setupterm in manpage.
1979 + modify tput to allow it to emit capabilities for hardcopy terminals
1980 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>).
1981 + modify the 'o' (panel) test in ncurses.c to show the panels in color
1982 or at least in bold, to test Juergen's change to wrefresh().
1983 > patches by Juergen Pfeifer:
1984 + Fixes a problem using wbkgdset() with panels. It has actually
1985 nothing to with panels but is a problem in the implementation of
1986 wrefresh(). Whenever a window changes its background attribute to
1987 something different than newscr's background attribute, the whole
1988 window is touched to force a copy to newscr. This is an unwanted
1989 side-effect of wrefresh() and it is actually not necessary. A
1990 changed background attribute affects only further outputs of
1991 background it doesn't mean anything to the current content of the
1992 window. So there is no need to force a copy. (reported by Frank
1993 Heckenbach <frank@g-n-u.de>).
1994 + an upward compatible enhancement of the NCursesPad class in the C++
1995 binding. It allows one to add a "viewport" window to a pad and then
1996 to use panning to view the pad through the viewport window.
1999 + suppress a call to def_prog_mode() in the SIGTSTP handler if the
2000 signal was received while not in curses mode, e.g., endwin() was
2001 called in preparation for spawning a shell command (reported by Frank
2002 Heckenbach <frank@g-n-u.de>)
2003 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries.
2004 + change test for xterm mouse capability: it now checks only if the
2005 user's $DISPLAY variable is set in conjunction with the kmous
2006 capability being present in the terminfo. Before, it checked if any
2007 of "xterm", "rxvt" or "kterm" were substrings of the terminal name.
2008 However, some emulators which are incompatible with xterm in other
2009 ways do support the xterm mouse capability.
2010 + reviewed and made minor changes in ncurses to quiet g++ warnings
2011 about shadowed or uninitialized variables. g++ incorrectly warns
2012 about uninitialized variables because it does not take into account
2013 short-circuit expression evaluation.
2014 + change ncurses 'b' test to start in color pair 0 and to show in the
2015 right margin those attributes which are suppressed by no_color_video,
2017 + modify ifdef's in curses.h so that __attribute__ is not redefined
2018 when compiling with g++, but instead disabled the macros derived for
2019 __attribute__ since g++ does not consistently recognize the same
2020 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>).
2021 + update dependencies for term.h in ncurses/modules (reported by
2025 + modify the form demo in ncurses.c to illustrate how to manipulate the
2026 field appearance, e.g, for highlighting or translating the field
2028 + correct logic in write_entry from split-out of home_terminfo in
2029 980919, which prevented update of $HOME/.terminfo (reported by Philip
2030 Spencer <pspencer@fields.utoronto.ca>).
2033 + modify linux terminfo description to make use of kernel 2.2.x mods
2034 that support cursor style, e.g., to implement cvvis (patch by Frank
2035 Heckenbach <frank@g-n-u.de>)
2036 + add special-case in setupterm to retain previously-saved terminal
2037 settings in cur_term, which happens when curses and termcap calls are
2038 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>).
2039 + suppress initialization of key-tries in _nc_keypad() if we are only
2040 disabling keypad mode, e.g., in endwin() called when keypad() was
2042 + modify the Ada95 makefile to ensure that always the Ada files from
2043 the development tree are used for building and not the eventually
2044 installed ones (patch by Juergen Pfeifer).
2047 + use TTY definition in tack/sysdep.c rather than struct termios
2048 (reported by Philippe De Muyter).
2049 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c,
2050 not present on sysV68 (reported by Philippe De Muyter).
2051 + correct definition in comp_hash.c to build with configure
2052 --with-rcs-ids option.
2055 + modified ifdef's for sigaction and sigvec to ensure we do not try to
2056 handle SIGTSTP if neither is available (from report by Philippe De
2058 > patch by Philippe De Muyter:
2059 + in tic.c, use `unlink' if `remove' is not available.
2060 + use only `unsigned' as fallback value for `speed_t'. Some files used
2064 + fix some compiler warnings in tack.
2065 + add a check for predefined bool type in CC, based on report that
2066 BeOS predefines a bool type.
2067 + correct logic for infocmp -e option (i.e., the configure
2068 --with-fallbacks option), which I'd not updated when implementing
2069 extended names (cf: 990301). The new implementation adds a -E
2071 > patch by Juergen Pfeifer:
2072 + introduce the private type Curses_Bool in the Ada95 binding
2073 implementation. This is to clearly represent the use of "bool" also
2074 in the binding. It should have no effect on the generated code.
2075 + improve the man page for field_buffer() to tell the people, that the
2076 whole buffer including leading/trailing spaces is returned. This is
2077 a common source of confusion, so it's better to document it clearly.
2080 > patch by Juergen Pfeifer:
2081 + use pragma PreElaborate in several places.
2082 + change a few System.Address uses to more specific types.
2083 + change interface version-number to 1.0
2084 + regenerate Ada95 HTML files.
2087 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR
2088 if it appears that curses was never initialized, e.g., by initscr().
2089 For instance, this guards against setting the terminal modes to
2090 strange values if endwin() is called after setupterm(). In the same
2091 context, Solaris curses will dump core.
2092 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and
2093 equivalent values in rmso or rmul by ensuring we do not modify the
2094 data which would be returned by the terminfo or termcap interfaces
2095 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706).
2096 + add a null-pointer check for SP in lib_vidattr.c to logic that checks
2098 + improve fallback declaration of 'bool' when the --without-cxx option
2099 is given, by using a 'char' on i386 and related hosts (from
2100 discussion with Alexander Lukyanov).
2103 + include time.h in lib_napms.c if nanosleep is used (patch by
2104 R Lindsay Todd <toddr@rpi.edu>).
2105 + add an "#undef bool" to curses.h, in case someone tries to define it,
2107 + add check to tparm to guard against divide by zero (reported by Aaron
2108 Campbell <aaron@ug.cs.dal.ca>).
2111 + minor fix to build tack on CLIX (mismatched const).
2112 > patch by Juergen Pfeifer:
2113 + change Juergen's old email address with new one in the files where it
2114 is referenced. The Ada95 HTML pages are regenerated.
2115 + update MANIFEST to list the tack files.
2118 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco
2122 + add 'tack' program (which is GPL'd), updating it to work with the
2123 modified TERMTYPE struct and making a fix to support setaf/setab
2124 capabilities. Note that the tack program is not part of the
2125 ncurses libraries, but an application which can be distributed with
2126 ncurses. The configure script will ignore the directory if it is
2128 + modify gpm mouse support so that buttons 2 and 3 are used for
2129 select/paste only when shift key is pressed, making them available
2130 for use by an application (patch by Klaus Weide).
2131 + add complete list of function keys to scoansi terminfo entry - TD
2134 + add a simple test program cardfile.c to illustrate how to read form
2135 fields, and showing forms within panels.
2136 + change shared-library versioning for the Hurd to be like Linux rather
2137 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>).
2138 + add linux-lat terminfo entry.
2139 + back-out _nc_access check in read_termcap.c (both incorrect and
2140 unnecessary, except to guard against a small window where the file's
2141 ownership may change).
2144 + remove conflicting _nc_free_termtype() function from test module
2146 + use _nc_access check in read_termcap.c for termpaths[] array (noted
2147 by Jeremy Buhler, indicating that Alan Cox made a similar patch).
2148 > patch by Juergen Pfeifer:
2149 + modify menu creation to not inherit status flag from the default menu
2150 which says that the associated marker string has been allocated and
2151 should be freed (bug reported by Marek Paliwoda"
2152 <paliwoda@kki.net.pl>)
2154 990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz)
2155 + minor fixes to xterm-xfree86 terminfo entry - TD.
2156 + split up an expression in configure script check for ldconfig to
2157 workaround limitation of BSD/OS sh (reported by Jeff Haas
2158 <jmh@mail.msen.com>).
2159 + correct a typo in man/form_hook.3x (Todd C Miller).
2162 + parenthesize and undef 'index' symbol in c++ binding and demo, to
2163 accommodate its definition on NeXT (reported by Francisco A. Tomei
2165 + add sigismember() to base/sigaction.c compatibility to link on NeXT
2166 (reported by Francisco A. Tomei Torres).
2167 + further refinements to inequality in hashmap.c to cover a case with
2168 ^U in nvi (patch by Alexander Lukyanov).
2171 + add fallback definition for getcwd, to link on NeXT.
2172 + add a copy of cur_term to tic.c to make it link properly on NeXT
2173 (reported by Francisco A. Tomei Torres).
2174 + change inequality in hashmap.c which checks the distance traveled by
2175 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use
2176 scrolling logic (patch by Alexander Lukyanov, reported by Jeffrey
2180 + modify lib_color.c to handle a special case where the curscr
2181 attributes have been made obsolete (patch by Alexander Lukyanov).
2182 + update BSD/OS console terminfo entries to use klone+sgr and
2183 klone+color (patch by Jeffrey C Honig).
2184 + update glibc addon configure script for extended capabilities.
2185 + correct a couple of warnings in the --enable-const configuration.
2186 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by
2187 Francisco A. Tomei Torres <francisco.tomei@cwix.com>).
2190 + correct typos in linux-c initc string - TD
2191 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD
2192 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by
2193 Alexander Lukyanov).
2196 + back-out change to wgetch because it causes a problem with ^Z
2197 handling in lynx (reported by Kim DeVaughn).
2200 + add -G option to tic and infocmp, to reverse the -g option.
2201 + recode functions in name_match.c to avoid use of strncpy, which
2202 caused a 4-fold slowdown in tic (cf: 980530).
2203 + correct a few warnings about sign-extension in recent changes.
2204 > patch by Juergen Pfeifer:
2205 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>:
2206 + improved parameter checking in new_fieldtype().
2207 + fixed a typo in wgetch() timeout handling.
2208 + allow slk_init() to be called per newterm call. The internal SLK
2209 state is stored in the SCREEN struct after every newterm() and then
2210 reset for the next newterm.
2211 + fix the problem that a slk_refresh() refreshes stdscr if the
2212 terminal has true SLKs.
2213 + update HTML documentation for Ada binding.
2216 + remove 'bool' casts from definitions of TRUE/FALSE so that statements
2217 such as "#if TRUE" work. This was originally done to allow for a C++
2218 compiler which would warn of implicit conversions between enum and
2219 int, but is not needed for g++ (reported by Kim DeVaughn).
2220 + add use_extended_names() function to allow applications to suppress
2221 read of the extended capabilities.
2222 + add configure option --enable-tcap-names to support logic which
2223 allows ncurses' tic to define new (i.e., extended) terminal
2224 capabilities. This is activated by the tic -x switch. The infocmp
2225 program automatically shows or compares extended capabilities.
2226 Note: This changes the Strings and similar arrays in the TERMTYPE
2227 struct so that applications which manipulate it must be recompiled.
2228 + use macros typeMalloc, typeCalloc and typeRealloc consistently
2229 throughout ncurses library.
2230 + add _nc_strdup() to doalloc.c.
2231 + modify define_key() to allow multiple strings to be bound to the
2233 + correct logic error in _nc_remove_string, from 990220.
2234 > patch by Juergen Pfeifer, for Ada95 binding:
2235 + regenerate some of the html documentation
2236 + minor cleanup in terminal_interface-curses.adb
2239 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
2240 xterm and ncsa terminfo entries by removing the unneeded ones. Note
2241 that some entries will return kend & khome versus kslt and kfnd, for
2242 PC-style keyboards versus strict vt220 compatiblity - TD
2243 + add function keybound(), which returns the definition associated with
2245 + modify define_key() to undefine the given string when no keycode is
2247 + modify keyok() so it works properly if there is more than one string
2248 defined for a keycode.
2249 + add check to tic to warn about terminfo descriptions that contain
2250 more than one key assigned to the same string. This is shown only if
2251 the verbose (-v) option is given. Moved related logic (tic -v) from
2252 comp_parse.c into the tic program.
2253 + add/use _nc_trace_tries() to show the function keys that will be
2255 + rename init_acs to _nc_init_acs (request by Alexander Lukyanov).
2256 > patch by Juergen Pfeifer, for Ada95 binding:
2257 + remove all the *_adabind.c from ncurses, menu and form projects.
2258 Those little helper routines have all been implemented in Ada and are
2260 + The option handling routines in menu and form have been made more
2261 save. They now make sure that the unused bits in options are always
2263 + modify configuration scripts to
2264 + use gnatmake as default compiler name. This is a safer choice than
2265 gcc, because some GNAT implementations use other names for the
2266 compilerdriver to avoid conflicts.
2267 + use new default installation locations for the Ada files according
2268 to the proposed GNU Ada filesystem standard (for Linux).
2269 + simplify the Makefiles for the Ada binding
2270 + rename ada_include directory to src.
2273 + enable sigwinch handler by default.
2274 + disable logic that allows setbuf to be turned off/on, because some
2275 implementations will overrun the buffer after it has been disabled
2279 + suppress sc/rc capabilities from terminal description if they appear
2280 in smcup/rmcup. This affects only scrolling optimization, to fix a
2281 problem reported by several people with xterm's alternate screen,
2282 though the problem is more general.
2283 > patch by Juergen Pfeifer, for Ada95 binding:
2284 + removed all pragma Preelaborate() stuff, because the just released
2285 gnat-3.11p complains on some constructs.
2286 + fixed some upper/lower case notations because gnat-3.11p found
2288 + used a new method to generate the HTML documentation of the Ada95
2289 binding. This invalidates nearly the whole ./Ada95/html subtree.
2290 Nearly all current files in this subtree are removed
2293 + cache last result from _nc_baudrate, for performance (suggested by
2294 Alexander Lukyanov).
2295 + modify ClrUpdate() function to workaround a problem in nvi, which
2296 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that
2297 ncurses repainted the screen with nulls before resuming normal
2298 operation (patch by Alexander Lukyanov).
2299 + generalize is_xterm() function a little by letting xterm/rxvt/kterm
2300 be any substring rather than the prefix.
2301 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will
2302 not link a module if the only symbols exported from the module are
2303 uninitialized ones (patch by Ilya Zakharevich, who says that he has
2304 seen messages claiming this behaviour conforms to the standard.)
2305 + move call on _nc_signal_handler past _nc_initscr, to avoid a small
2306 window where Nttyb hasn't yet been filled (reported by Klaus Weide).
2307 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
2308 problem where ncurses applications which were run via a shell script
2309 would hang when given a ^Z. Also, check if the terminal's process
2310 group is consistent, i.e., a shell has not taken ownership of it,
2311 before deciding to save the current terminal settings in the SIGTSTP
2312 handler (patch by Klaus Weide).
2313 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van
2314 der Poel <bvdpoel@kootenay.com>).
2315 + correct a couple of typos in the macros supporting the configure
2316 --with-shlib-version option.
2319 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch
2320 by Kimio Ishii <ishii@csl.sony.co.jp>).
2321 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and
2322 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig).
2323 + modify tput to accept termcap names as an alternative to terminfo
2324 names (patch by Jeffrey C Honig).
2325 + correct a typo in term.7 (Todd C Miller).
2326 + add configure --with-shlib-version option to allow installing shared
2327 libraries named according to release or ABI versions. This
2328 parameterizes some existing logic in the configure script, and is
2329 intended for compatiblity upgrades on Digital Unix, which used
2330 versioned libraries in ncurses 4.2, but no longer does (cf: 980425).
2331 + resync configure script against autoconf 2.13 + patches
2332 + minor improvements for teraterm terminfo entry based on the program's
2333 source distribution.
2336 + change default for configure --enable-big-core to assume machines do
2337 have enough memory to resolve terminfo.src in-memory.
2338 + correct name of ncurses library in TEST_ARGS when configuring with
2340 + minor fixes to compile ncurses library with broken-linker with g++.
2341 + add --enable-broken-linker configure option, default to environment
2342 variable $BROKEN_LINKER (request by Jeffrey C Honig).
2343 + change key_names[] array to static since it is not part of the curses
2344 interface (reported by Jeffrey C Honig <jch@bsdi.com>).
2347 + add Tera Term terminfo entry - TD
2350 + reviewed/corrected macros in curses.h as per XSI document.
2351 + provide support for termcap PC variable by copying it from terminfo
2352 data and using it as the padding character in tputs (reported by
2353 Alexander Lukyanov).
2354 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and
2355 kf9-kf12 capabilities, as well as adding kcbt.
2356 + document the mouse handling mechanism in menu_driver and make a small
2357 change in menu_driver's return codes to provide more consistency
2358 (patch by Juergen Pfeifer).
2359 + add fallback definition for NCURSES_CONST to termcap.h.in (reported
2360 by Uchiyama Yasushi <uch@nop.or.jp>).
2361 + move lib_restart.c to ncurses/base, since it uses curses functions
2362 directly, and therefore cannot be used in libtinfo.so
2363 + rename micro_char_size to micro_col_size, adding #define to retain
2365 + add set_a_attributes and set_pglen_inch to terminfo structure, as per
2366 XSI and Solaris 2.5.
2367 + minor makefile files to build ncurses test_progs
2368 + update html files in misc directory to reflect changes since 4.2
2371 + disable scroll hints when hashmap is enabled (patch by Alexander
2373 + move logic for tic's verify of -e option versus -I and -C so that the
2374 terminfo data is not processed if we cannot handle -e (reported by
2375 Steven Schwartz <steves@unitrends.com>.
2376 + add test-driver traces to terminfo and termcap functions.
2377 + provide support for termcap ospeed variable by copying it from the
2378 internal cur_term member, and using ospeed as the baudrate reference
2379 for the delay_output and tputs functions. If an application does not
2380 set ospeed, the library behaves as before, except that _nc_timed_wait
2381 is no longer used, or needed, since ospeed always has a value. But
2382 the application can modify ospeed to adjust the output of padding
2383 characters (from a bug report for screen 3.7.6 and email from Michael
2384 Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>).
2385 + removed some unused ifdef's as part of Alexander's restructuring.
2386 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4
2387 Version 2. This includes making some parameters NCURSES_CONST
2388 rather than const, e.g., in termcap.h.
2389 + change linux terminfo entry to use ncv#2, since underline does not
2393 + miscellaneous corrections for curses.h to match XSI.
2394 + change --enable-no-padding configure option to be normally enabled.
2395 + add section to ncurses manpage for environment variables.
2396 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6
2397 changes, found no sign of problems on Linux (or on SunOS, Solaris)
2398 running screen built with ncurses.
2399 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel
2400 Roskin <pavel_roskin@geocities.com>).
2401 + correct several font specification typos in man-pages.
2404 + correct default value for BUILD_CC (reported by Larry Virden).
2407 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
2408 it from changing the terminfo directory after chdir'ing to it.
2409 Otherwise, a relative path in $TERMINFO would confuse tic (from a
2411 + correct/update ncsa terminfo entry (report by Larry Virden).
2412 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur
2414 + add Mathew Vernon's mach console entries to terminfo.src
2415 + more changes, moving functions, as part of Alexander's restructuring.
2416 + modify configure script for GNU/Hurd share-library support, introduce
2417 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi
2421 + add environment variable NCURSES_NO_SETBUF to allow disabling the
2422 setbuf feature, for testing purposes.
2423 + correct ifdef's for termcap.h versus term.h that suppress redundant
2424 declarations of prototypes (reported by H.J.Lu).
2425 + modify Makefile.os2 to add linker flags which allow multiple copies
2426 of an application to coexist (reported by Ilya Zakharevich).
2427 + update Makefile.glibc and associated configure script so that ncurses
2428 builds as a glibc add-on with the new directory configuration
2429 (reported by H.J.Lu).
2432 + modify gen_reps() function in gen.c to work properly on SunOS
2433 (sparc), which is a left-to-right architecture.
2434 + modify relative_move and tputs to avoid an interaction with the
2435 BSD-style padding. The relative_move function could produce a string
2436 to replace on the screen which began with a numeric character, which
2437 was then interpreted by tputs as padding. Now relative_move will not
2438 generate a string with a leading digit in that case (overwrite).
2439 Also, tputs will only interpret padding if the string begins with a
2440 digit; as coded it permitted a string to begin with a decimal point
2441 or asterisk (reported by Larry Virden).
2442 > patches by Juergen Pfeifer:
2443 + fix a typo in m_driver.c mouse handling and improves the error
2445 + fix broken mouse handling in the Ada95 binding
2446 + make the Ada95 sample application menus work with the new menu mouse
2448 + improve the mouse handling introduced by Ilya; it now handles menus
2450 + repair a minor bug in the menu_driver code discovered during this
2452 + add new function wmouse_trafo() to hide implementation details of
2453 _yoffset member of WINDOW struct needed for mouse coordinate
2457 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since
2458 some older implementations (e.g., SunOS 4.x) return the buffer
2459 address rather than its length.
2460 > patch by Rick Ohnemus:
2461 + modify demo.cc to get it to compile with newer versions of egcs.
2462 + trim a space that appears at the end of the table preprocessor lines
2463 ('\" t). This space prevents some versions of man from displaying
2464 the pages - changed to remove all trailing whitespace (TD)
2465 + finally, 'make clean' does not remove panel objects.
2466 > patches by Ilya Zakharevich:
2467 + allow remapping of OS/2 mouse buttons using environment variable
2468 MOUSE_BUTTONS_123 with the default value 132.
2469 + add mouse support to ncurses menus.
2472 + modify misc/makedef.cmd to report old-style .def file symbols, and to
2473 generate the .def files sorted by increasing names rather than the
2475 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed
2476 from misc/*.old), and updated based on the entrypoint coding he used
2477 for an older version of ncurses.
2478 + add README.emx, to document how to build on OS/2 EMX.
2479 + updates for config.guess, config.sub from Lynx
2480 > patches by Ilya Zakharevich:
2481 + minor fixes for mouse handling mode:
2482 a) Do not initialize mouse if the request is to have no mouse;
2483 b) Allow switching of OS/2 VIO mouse on and off.
2484 + modify Makefile.os2 to support alternative means of generating
2485 configure script, by translating Unix script with Perl.
2486 > patches by Juergen Pfeifer:
2487 + Updates MANIFEST to reflect changes in source structure
2488 + Eliminates a problem introduced with my last patch for the C++
2489 binding in the panels code. It removes the update() call done in the
2491 + Changes in the Ada95 binding to better support systems where
2492 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha).
2495 + modify install-script for manpages to skip over .orig and .rej files
2496 (request by Larry Virden).
2497 > patches/discussion by Alexander Lukyanov:
2498 + move base-library sources into ncurses/base and tty (serial terminal)
2499 sources into ncurses/tty, as part of Alexander Lukyanov's proposed
2500 changes to ncurses library.
2501 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not
2502 be linked into the normal ncurses library.
2503 + move macro winch to a function, to hide details of struct ldat
2504 > patches by Juergen Pfeifer:
2505 + fix a potential compile problem in cursesw.cc
2506 + some Ada95 cosmetics
2507 + fix a gen.c problem when compiling on 64-Bit machines
2508 + fix Ada95/gen/Makefile.in "-L" linker switch
2509 + modify Ada95 makefiles to use the INSTALL_PREFIX setting.
2512 + ifdef'd out lib_freeall.c when not configured.
2513 + rename _tracebits() to _nc_tracebits().
2514 + move terminfo-library sources into ncurses/tinfo, and trace-support
2515 functions into ncurses/trace as part of Alexander Lukyanov's proposed
2516 changes to ncurses library.
2517 + modify generated term.h to always specify its own definitions for
2518 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with
2519 broken configure scripts.
2522 + modify terminfo parsing to accept octal and hexadecimal constants,
2524 + remove an autoconf 2.10 artifact from the configure script's check
2525 for "-g" compiler options. (Though harmless, this confused someone
2526 at Debian, who recently issued a patch that results in the opposite
2528 + add configure option --with-ada-compiler to accommodate installations
2529 that do not use gcc as the driver for GNAT (patch by Juergen
2533 + ensure ./man exists in configure script, needed when configuring
2534 with --srcdir option.
2535 + modify infocmp "-r" option to remove limit on formatted termcap
2536 output, which makes it more like Solaris' version.
2537 + modify captoinfo to treat no-argument case more like Solaris'
2538 version, which uses the contents of $TERMCAP as the entry to format.
2539 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty
2540 (patch by Alexander V Lukyanov).
2543 + modify --with-terminfo-dirs option so that the default value is the
2544 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets
2545 rid of a hardcoded list of candidate directories in the configure
2547 + add some error-checking to _nc_read_file_entry() to ensure that
2548 strings are properly terminated (Todd C Miller).
2549 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to
2550 correspond with contents (reported by Neil Zanella
2551 <nzanella@cs.mun.ca>).
2552 + remove redundant configure check for C++ which did not work when $CXX
2553 was specified with a full pathname (reported by Andreas Jaeger).
2554 + corrected bcopy/memmove check; the macro was not standalone.
2557 + remove unnecessary portion of OS/2 EMX mouse change from
2558 check_pending() (reported by Alexander V Lukyanov).
2561 + implement mouse support for OS/2 EMX (adapted from patch against
2562 4.2(?) by Ilya Zakharevich).
2563 + add configure-check for bcopy/memmove, for 980919 changes to hashmap.
2564 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
2565 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces
2566 some older entries - TD
2567 + modify tic to compile into %'char' form in preference to %{number},
2568 since that is a little more efficient.
2569 + minor correction to infocmp to avoid displaying "difference" between
2570 two capabilities that are rendered in equivalent forms.
2571 + add -g option to tic/infocmp to force character constants to be
2572 displayed in quoted form. Otherwise their decimal values are shown.
2573 + modify setupterm so that cancelled strings are treated the same as
2574 absent strings, cancelled and absent booleans false (does not affect
2576 + modify tic, infocmp to discard redundant i3, r3 strings when output
2578 > patch by Alexander V Lukyanov:
2579 + improve performance of tparm, now it takes 19% instead of 25% when
2581 + rename maxlen/minlen to prec/width for better readability.
2582 + use format string for printing strings.
2583 + use len argument correctly in save_text, and pass it to save_number.
2586 + make test_progs compile (but hashmap does not function).
2587 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify
2588 associated logic to avoid freeing the SP->_setbuf data.
2589 + add modules home_terminfo and getenv_num to libtinfo.
2590 + move write_entry to libtinfo, to work with termcap caching.
2591 + minor fixes to blue.c to build with atac.
2592 + remove softscroll.c module; no longer needed for testing.
2593 > patches by Todd C Miller:
2594 + use strtol(3) instead of atoi(3) when parsing env variables so we can
2595 detect a bogus (non-numeric) value.
2596 + check for terminal names > MAX_NAME_SIZE in a few more places when
2597 dealing with env variables again.
2598 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1
2599 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed
2600 string #define (compile time vs runtime).
2601 + when setting errno to ENOMEM, set it right before the return, not
2602 before code that could, possibly, set errno to a different value.
2603 > patches by Alexander V Lukyanov:
2604 + use default background in update_cost_from_blank()
2605 + disable scroll-hints when hashmap is configured.
2606 + improve integration of hashmap scrolling code, by adding oldhash and
2607 newhash data to SP struct.
2608 + invoke del_curterm from delscreen.
2609 + modify del_curterm to set cur_term to null if it matches the
2610 function's parameter which is deleted.
2611 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and
2612 exit_insert_mode combination, adjusting InsCharCost to check
2613 enter_insert_mode, exit_insert_mode and insert_padding. Add
2614 insert_padding in insert mode after each char. This adds new costs
2618 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for
2619 consistent treatment.
2620 + modify ncurses to restore output to unbuffered on endwin, and resume
2621 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro).
2622 + corrected HTML version numbers (according to the W3C validator, they
2623 never were HTML 2.0-compliant, but are acceptable 3.0).
2626 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by
2627 capability name, as in SVr4.
2628 + modified term.h, termcap.h headers to avoid redundant declarations.
2629 + change 'u_int' type in tset.c to unsigned, making this compile on
2630 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>).
2633 + corrections to mailing addresses, and moving the magic line that
2634 causes the man program to invoke tbl to the first line of each
2635 manpage (patch by Rick Ohnemus <rick@ecompcon.com>).
2636 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX
2637 (from J.J.G.Ripoll, with further integration by TD).
2638 + correct a typo in icl6404 terminfo entry.
2639 + add xtermm and xtermc terminfo entries.
2640 > from esr's terminfo version:
2641 + Added Francesco Potorti's tuned Wyse 99 entries.
2642 + dtterm enacs correction from Alexander V Lukyanov.
2643 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
2646 + document AT&T acs characters in terminfo.5 manpage.
2647 + use EMX _scrsize() function if terminfo and environment do not
2648 declare the screen size (reported by Ilya Zakharevich
2649 <ilya@math.ohio-state.edu>).
2650 + remove spurious '\' characters from eterm and osborne terminfo
2651 entries (prompted by an old Debian bug report).
2652 + correct reversed malloc/realloc calls in _nc_doalloc (reported by
2653 Hans-Joachim Widmaier <hjwidmai@foxboro.com>).
2654 + correct misplaced parenthesis which caused file-descriptor from
2655 opening termcap to be lost, from 980725 changes (reported by Andreas
2659 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h>
2660 when termios is not used (patch by Todd C Miller).
2661 + add function _nc_doalloc, to ensure that failed realloc calls do not
2662 leak memory (reported by Todd C Miller).
2663 + improved ncsa-telnet terminfo entry.
2666 + correct missing braces around a trace statement in read_entry.c,
2667 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu
2671 + fix missing include <errno.h> in ditto.c (reported by Bernhard
2672 Rosenkraenzer <bero@k5.sucks.eu.org>)
2673 + add NCSA telnet terminfo entries from Francesco Potorti
2674 <F.Potorti@cnuce.cnr.it>, from Debian bug reports.
2675 + make handling of $LINES and $COLUMNS variables more compatible with
2676 Solaris by allowing them to individually override the window size
2677 as obtained via ioctl.
2680 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color)
2681 which may reset all attributes in the 'op' capability, so that colors
2682 are set before turning on bold and other attributes, but still after
2683 turning attributes off.
2684 + add 'ditto.c' to test directory to illustrate use of newterm for
2685 initializing multiple screens.
2686 + modify _nc_write_entry() to recover from failed attempt to link alias
2687 for a terminfo on a filesystem which does not preserve character case
2688 (reported by Peter L Jordan <PJordan@chla.usc.edu>).
2691 + updated versions of config.guess and config.sub based on automake 1.3
2692 + change name-comparisons in lib_termcap to compare no more than 2
2693 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified
2694 with Solaris curses).
2695 + fix typo in curs_insstr.3x (patch by Todd C Miller)
2696 + use 'access()' to check if ncurses library should be permitted to
2697 open or modify files with fopen/open/link/unlink/remove calls, in
2698 case the calling application is running in setuid mode (request by
2699 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson
2700 <dps@io.stargate.co.uk>).
2701 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>).
2702 + qnxt2 and minitel terminfo entries from esr's version.
2705 + use -R option with ldconfig on FreeBSD because otherwise it resets
2706 the search path to /usr/lib (reported by Dan Nelson).
2707 + add -soname option when building shared libraries on OpenBSD 2.x
2708 (request by QingLong).
2709 + add configure options --with-manpage-format and
2710 --with-manpage-renames (request by QingLong).
2711 + correct conversion of CANCELLED_NUMERIC in write_object(), which was
2712 omitting the high-order byte, producing a 254 in the compiled
2714 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag,
2715 tigetnum and tigetstr to be compatible with Solaris (gleaned from
2716 Debian distribution of 1.9.9g-8.8).
2717 + modify _nc_syserr_abort to abort only when compiled for debugging,
2718 otherwise simply exit with an error.
2721 + modify Ada95 'gen' program to use appropriate library suffix (e.g.,
2722 "_g" for a debug build).
2723 + update Ada95 'make clean' rule to include generics .ali files
2724 + add a configure test to ensure that if GNAT is found, that it can
2725 compile/link working Ada95 program.
2726 + flush output in beep and flash functions, fixing a problem with
2727 getstr (patch by Alexander V Lukyanov)
2728 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns).
2729 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard
2730 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>).
2731 + correct typo in wattr_get macro from 980509 fixes (patch by Dan
2735 + merge changes from current XFree86 xterm terminfo descriptions.
2736 + add configure option '--without-ada'.
2737 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which
2738 corresponds to vt100.
2739 + change translation for termcap 'rs' to terminfo 'rs2', which is
2740 the documented equivalent, rather than 'rs1'.
2743 + slow 'worm' down a little, for very fast machines.
2744 + corrected firstchar/lastchar computation in lib_hline.c
2745 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and
2746 CHANGED_TO_EOL macros.
2747 + modify init_pair so that if a color-pair is reinitialized, we will
2748 repaint the areas of the screen whose color changes, like SVr4 curses
2749 (reported by Christian Maurer <maurer@inf.fu-berlin.de>).
2750 + modify getsyx/setsyx macros to comply with SVr4 man-page which
2751 says that leaveok() affects their behavior (report by Darryl Miles,
2752 patch by Alexander V Lukyanov).
2755 + review terminfo.5 against Solaris 2.6 curses version, corrected
2756 several minor errors/omissions.
2757 + implement tparm %l format.
2758 + implement tparm printf-style width and precision for %s, %d, %x, %o
2760 + implement tparm dynamic variables (reported by Xiaodan Tang).
2763 + update man-page for for wattr_set, wattr_get (cf: 980509)
2764 + correct limits in hashtest, which would cause nonprinting characters
2765 to be written to large screens.
2766 + correct configure script, when --without-cxx was specified: the
2767 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc
2768 2.8 tolerated the missing 'int'.
2769 + remove the hardcoded name "gcc" for the GNU Ada compiler. The
2770 compiler's name might be something like "egcs" (patch by Juergen
2772 + correct curs_addch.3x, which implied that echochar could directly
2773 display control characters (patch by Alexander V Lukyanov).
2774 + fix typos in ncurses-intro.html (patch by Sidik Isani
2775 <isani@cfht.hawaii.edu>)
2778 + add configure test for conflicting use of exception in math.h and
2780 + minor optimization to 'hash()' function in hashmap.c, reduces its
2782 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney).
2783 + fix missing quotes for 'print' in MKunctrl.awk script (reported by
2784 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>).
2785 > patch by Alexander V Lukyanov:
2786 + correct problem on Solaris (with poll() function) where getch could
2787 hang indefinitely even if timeout(x) was called. This turned out to
2788 be because milliseconds was not updated before 'goto retry' in
2790 + simplified the function _nc_timed_wait and fixed another bug, which
2791 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
2793 + removed the cycle on EINTR, as it seems to be useless.
2796 + add makefile-rule for test/keynames
2797 + modify run_tic.sh and shlib to ensure that user's .profile does not
2798 override the $PATH used to run tic (patch by Tim Mooney).
2799 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs,
2800 needed for HP-UX shared-library path (recommended by Tim Mooney).
2801 + remove special case of HP-UX -L options, use +b options to embed
2802 $(libdir) in the shared libraries (recommended by Tim Mooney).
2803 + add checks for some possible buffer overflows and unchecked
2804 malloc/realloc/calloc/strdup return values (patch by Todd C Miller
2805 <Todd.Miller@courtesan.com>)
2808 + correct maxx/maxy expression for num_columns/num_lines in derwin
2809 (patch by Alexander V Lukyanov).
2810 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty
2811 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs
2812 configure option (suggested by Mike Hopkirk).
2813 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike
2814 Hopkirk <hops@sco.com>).
2815 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++
2816 Makefile.in, since this conflicts when g++ is used with HP-UX
2817 compiler (reported by Tim Mooney).
2818 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition
2819 in some C++ implementations (reported by several people running
2820 egcs with glibc 2.0.93, analysis by Andreas Jaeger.
2823 + modify write_entry.c so that it will not attempt to link aliases
2824 with embedded '/', but give only a warning.
2825 + put -L$(libdir) first when linking programs, except for HP-UX.
2826 + modify comp_scan.c to handle SVr4 terminfo description for att477,
2827 which contains a colon in the description field.
2828 + modify configure script to support SCO osr5.0.5 shared libraries
2829 (from comp.unix.sco.programmer newsgroup item by Mike Hopkirk
2831 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V.
2833 + minor adjustments of const/NCURSES_CONST from IRIX compile.
2834 + add updates based on esr's 980509 version of terminfo.src.
2837 + correct macros for wattr_set, wattr_get, separate wattrset macro from
2838 these to preserve behavior that allows attributes to be combined with
2840 + add configure option --enable-no-padding, to allow environment
2841 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
2842 thereby making terminal emulators (e.g., for vt100) a little more
2843 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
2844 + modify configure script to embed ABI in shared libraries for HP-UX
2845 10.x (detailed request by Tim Mooney).
2846 + add test/example of the 'filter()' function.
2847 + add nxterm and xterm-color terminfo description (request by Cristian
2848 Gafton <gafton@redhat.com>).
2849 + modify rxvt terminfo description to clear alternate screen before
2850 switching back to normal screen, for compatibility with applications
2851 which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
2852 + modify linux terminfo description to reset color palette (reported
2853 by Telford Tendys <telford@eng.uts.edu.au>).
2854 + correction to doupdate, for case where terminal does not support
2855 insert/delete character. The logic did not check that there was a
2856 difference in alignment of changes to old/new screens before
2857 repainting the whole non-blank portion of the line. Modified to fall
2858 through into logic that reduces by the portion which does not differ
2859 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>).
2860 + minor performance improvement to wnoutrefresh by moving some
2861 comparisons out of inner loop.
2864 + modify configure script to substitute NCURSES_CONST in curses.h
2865 + updated terminfo entries for xterm-xf86-v40, xterm-16color,
2866 xterm-8bit to correspond to XFree86 3.9Ag.
2867 + remove restriction that forces ncurses to use setaf/setab if the
2868 number of colors is greater than 8. (see 970524 for xterm-16color).
2869 + change order of -L options (so that $(libdir) is searched first) when
2870 linking tic and other programs, to workaround HP's linker.
2871 Otherwise, the -L../lib is embedded when linking against shared
2872 libraries and the installed program does not run (reported by Ralf
2874 + modify configuration of shared libraries on Digital Unix so that
2875 versioning is embedded in the library, rather than implied by
2876 links (patch by Tim Mooney).
2879 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc
2880 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt
2881 <R.Hildebrandt@tu-bs.de>).
2882 + correct configure tests in CF_SHARED_OPTS which used $CC value to
2883 check for gcc, rather than autoconf's $GCC value. This did not
2884 work properly if the full pathname of the compiler were given
2885 (reported by Michael Yount <yount@csf.Colorado.edu>).
2886 + revise check for compiler options to force ANSI mode since repeating
2887 an option such as -Aa causes HP's compiler to fail on its own headers
2888 (reported by Clint Olsen <olsenc@ichips.intel.com>).
2891 + ifdef'd has_key() and mcprint() as extended functions.
2892 + modified several prototypes to correspond with 1997 version of
2893 X/Open Curses (affects ABI since developers have used attr_get).
2894 + remove spurious trailing blanks in glibc addon-scripts (patch by
2896 + insert a few braces at locations where gcc-2.8.x asks to use them to
2897 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch
2898 by Juergen Pfeifer).
2901 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options
2902 before -l to accommodate Solaris' linker (reported by Larry Virden).
2905 + modify lib_color.c to eliminate dependency on orig_colors and
2906 orig_pair, since SVr4 curses does not require these either, but
2907 uses them when they are available.
2908 + add detailed usage-message to infocmp.
2909 + correct a typo in att6386 entry (a "%?" which was "?").
2910 + add -f option to infocmp and tic, which formats the terminfo
2911 if/then/else/endif so that they are readable (with newlines and
2913 + fixes for glibc addon scripts (patch by H.J.Lu).
2916 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t
2917 declared (from Adam J. Richter <adam@yggdrasil.com>)
2918 + remove spurious curs_set() call from leaveok() (J.T.Conklin).
2919 + corrected handling leaveok() in doupdate() (patch by Alexander V.
2921 + improved version of wredrawln (patch by Alexander V. Lukyanov).
2922 + correct c++/Makefile.in so install target do not have embedded ../lib
2923 to confuse it (patch by Thomas Graf <graf@essi.fr>).
2924 + add warning to preinstall rule which checks if the installer would
2925 overwrite a curses.h or termcap.h that is not derived from ncurses.
2926 (The recommended configuration for developers who need both is to
2927 use --disable-overwrite).
2928 + modify preinstall rule in top-level Makefile to avoid implicit
2929 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto
2930 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser
2931 <te@informatik.uni-hannover.de>)
2932 + refine ifdef's for TRACE so that libncurses has fewer dependencies
2933 on libtinfo when TRACE is disabled.
2934 + modify configure script so that if the --with-termlib option is used
2935 to generate a separate terminfo library, we chain it to the ncurses
2936 library with a "-l" option (reported by Darryl Miles and Ian T.
2940 + correct limits and window in wredrawln function (reported/analysis by
2941 Alexander V. Lukyanov).
2942 + correct sed expression in configure script for --with-fallback
2943 option (patch by Jesse Thilo).
2944 + correct some places in configure script where $enableval was used
2945 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>).
2946 + modify some man-pages so no '.' or '..' falls between TH and SH
2947 macros, to accommodate man_db program (reported by Ian T. Zimmerman
2949 + terminfo.src 10.2.1 from Eric's webpage.
2950 > several changes by Juergen Pfeifer:
2951 + add copyright notices (and rcs id's) on remaining man-pages.
2952 + corrected prototypes for slk_* functions, using chtype rather than
2954 + implemented the wcolor_set() and slk_color() functions
2955 + the slk_attr_{set,off,on} functions need an additional void*
2956 parameter according to XSI.
2957 + fix the C++ and Ada95 binding as well as the man pages to
2958 reflect above enhancements.
2961 + use 'stat()' rather than 'access()' in toe.c to check for the
2962 existence of $HOME/.terminfo, since it may be a file.
2963 + suppress configure CF_CXX_LIBRARY check if we are not using g++
2964 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by
2966 + turn on hashmap scrolling code by default, intend to remedy defects
2968 + minor corrections to terminfo.src changelog.
2970 980302 4.2 release for upload to prep.ai.mit.edu
2971 + correct Florian's email address in ncurses-intro.html
2972 + terminfo.src 10.2.0 from Eric.
2975 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by
2976 QingLong <qinglong@Bolizm.ihep.su>).
2977 + minor documentation fixes (patch by Juergen Pfeifer).
2978 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad
2979 <claesg@algonet.se>).
2980 + correct sign-extension in lib_insstr.c (reported by Sotiris
2981 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>)
2984 + regenerated some documentation overlooked in 980214 patch
2985 (ncurses-intro.doc, curs_outopts.3x.html)
2986 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by
2988 + change maintainer's mailing address to florian@gnu.org, change
2989 tentative mailing list address to bug-ncurses-request@gnu.org (patch
2990 by Florian La Roche).
2991 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran
2992 Hasse <gh@raditex.se>).
2993 + restore version numbers to Ada95 binding, accidentally deleted by
2994 copyright patch (patch by Juergen Pfeifer).
2997 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF
2998 distributions, though it is retained in development.
2999 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch
3001 + update mailing-list information (bug-ncurses@gnu.org).
3002 + update announcement for upcoming 4.2 release.
3003 + modify -lm test to check for 'sin()' rather than 'floor()'
3004 + remove spurious commas from terminfo.src descriptions.
3005 + change copyright notices to Free Software Foundation
3008 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and
3010 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu).
3011 + ifdef-out true-return from _nc_mouse_inline() which depends on
3012 merge of QNX patch (pending 4.2 release).
3013 > patch by J.T.Conklin, to split off seldom-used modules in ncurses
3014 (reduces size by up to 2.6kb):
3015 + move functionality of _nc_usleep into napms, add configuration case
3017 + moved wchgat() from lib_addch.c to lib_chgat.c
3018 + moved clearok(), immedok(), leaveok(), and scrollok() from
3019 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and
3021 + moved napms() from lib_kernel.c to lib_napms.c
3022 + moved echo() and noecho() from lib_raw.c to lib_echo.c
3023 + moved nl() and nonl() from lib_raw.c to lib_nl.c
3026 + corrected conversion in tclock.c (cf: 971018).
3027 + updates to Makefile.glibc and associated Linux configure script
3029 + workaround a quoting problem on SunOS with tar-copy.sh
3030 + correct init_pair() calls in worm.c to work when use_default_colors()
3032 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD
3034 + add ncv capability to FreeBSD console (cons25w), making reverse
3036 + correct sense of configure-test for sys/time.h inclusion with
3038 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option.
3039 + remove unused/obsolete test-program rules from progs/Makefile.in
3040 (the rules in ncurses/Makefile.in work).
3041 + remove shared-library loader flags from test/Makefile.in, etc.
3042 + simplify test/configure.in using new version of autoconf to create
3044 + suppress suffix rules in test/Makefile.in, provide explicit
3045 dependency to work with --srcdir option and less capable 'make'
3047 > adapted from patch for QNX by Xiaodan Tang:
3048 + initialize %P and %g variables set/used in tparm, and also ensure
3049 that empty strings don't return a null result from tparam_internal
3050 + add QNX-specific prototype for vsscanf()
3051 + move initialization of SP->_keytry from init_keytry() to newterm() to
3052 avoid resetting it via a keyok() call by mouse_activate().
3053 + reorganized some functions in lib_mouse() to use case-statements.
3054 + remove sgr string from qnx terminfo entry since it is reported to
3055 turn off attributes inconsistently.
3058 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing
3059 test for no_color_video.
3060 + adjusted emx.src to use no_color_video, now works with ncurses 'b'
3062 + implement no_color_video attribute, and as a special case, reverse
3063 colors when the reverse attribute cannot be combined with color.
3064 + check for empty string in $TERM variable (reported by Brett Michaels
3066 > from reports by Fred Fish:
3067 + add configure-test for isascii
3068 + add configure-test for -lm library.
3069 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned.
3070 > patches by J.J.G.Ripoll
3071 + add configure/makefile variables to support .exe extension on
3072 OS/2 EMX (requires additional autoconf patches).
3073 + explicitly initialize variables in lib_data.c to appease OS/2 linker
3074 > patches by Fred Fish <fnf@ninemoons.com>
3075 + misc/Makefile.in (install.data): Avoid trying to install the CVS
3077 + aclocal.m4 (install.includes): Remove files in the include directory
3078 where we are going to install new ones, not the original source
3080 + misc/terminfo.src: Add entry for "beterm", derived from termcap
3081 distributed with BeOS PR2 using captoinfo.
3082 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space)
3083 + aclocal.m4: Assume bool types are unsigned.
3084 + progs/infocmp.c: workaround mwcc 32k function data limit
3087 + correct initialization of color-pair (from 970524) in xmas.c, which
3088 was using only one color-pair for all colors (reported by
3090 + add multithread options for objects build on EMX, for compatibility
3092 + split up an expression in MKlib_gen.sh to work around a problem on
3093 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll).
3094 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use
3096 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40
3097 + remove bold/underline from sun console entries since they're not
3099 + correct _tracef calls in _tracedump(), which did not separate format
3101 + correct getopt string for tic "-o" option, and add it to man-page
3102 synopsis (reported by Darren Hiebert <darren@hmi.com>).
3103 + correct typo in panel/Makefile.in, reversed if-statement in scrolling
3104 optimization (Alexander V. Lukyanov).
3105 + test for 'remove()', use 'unlink() if not found (patch by Philippe De
3106 Muyter <phdm@macqel.be>).
3107 > patches by Juergen Pfeifer:
3108 + Improve a feature of the forms driver. For invisible fields
3109 (O_VISIBLE off) only the contents but not the attributes are cleared.
3110 We now clear both. (Reported by Javier Kohan
3111 <jkohan@adan.fceia.unr.edu.ar>)
3112 + The man page form_field_opts.3x makes now clear, that invisible
3113 fields are also always inactive.
3114 + adjust ifdef's to compile the C++ binding with the just released
3115 gcc-2.8.0 c++ and the corresponding new C++ libraries.
3118 + correct "?" command in ncurses.c; it was performing non-screen writes
3119 while the program was in screen mode. (It "worked" in 1.9.9e because
3120 that version sets OPOST and OCRNL incorrectly).
3121 + return error from functions in lib_kernel, lib_raw and lib_ti if
3122 cur_term is null, or if underlying I/O fails.
3123 + amend change to tputs() so that it does not return an error if
3124 cur_term is null, since some applications depend on being able to use
3125 tputs without initializing the terminal (reported by Christian J.
3126 Robinson <infynity@cyberhighway.net>).
3129 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses
3130 1.9.9e, together with fixes/additions for the "ansi" terminal type.
3131 + add tic check for save/restore cursor if change_scroll_region is
3132 defined (from O'Reilly book).
3133 + modify read_termcap.c to handle EMX-style pathnames (reported by
3135 + modify lib_raw.c to use EMX's setmode (from J.J.G.Ripoll, who says
3136 EMX's curses does this).
3137 + modify _nc_tic_expand() to generate \0 rather than \200.
3138 + move/revise 'expand()' from dump_entry.c to ncurses library as
3139 _nc_tic_expand(), for use by tack.
3140 + decode \a as \007 for terminfo, as per XSI.
3141 + correct translation of terminfo "^@", to \200, like \0.
3142 + modify next_char() to treat <cr><lf> the same as <newline>, for
3143 cross-platform compatibility.
3144 + use new version of autoconf (971230) to work around limited
3145 environment on CLIX, due to the way autoconf builds --help message.
3146 > patch by Juergen Pfeifer:
3147 + check that the Ada95 binding runs against the correct version of
3149 + insert constants about the library version into the main spec-file of
3153 + modify open/fopen calls to use binary mode, needed for EMX.
3154 + modify configure script to work with autoconf 2.10 mods for OS/2
3155 EMX from J.J.G.Ripoll.
3156 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which
3157 bypasses limited sed buffer length.
3158 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es>
3159 (J.J.G.Ripoll) to support OS/2 EMX:
3160 + add a _scrolling flag to SP, to set when we encounter a terminal
3161 that simply cannot scroll.
3162 + corrected logic in _nc_add_to_try(), by ensuring that strings with
3163 embedded \200 characters are matched.
3164 + don't assume the host has 'link()' function, for linking terminfo
3168 + if there's no ioctl's to support sigwinch handler, disable it.
3169 + add configure option --disable-ext-funcs to remove the extended
3170 functions from the build.
3171 + add configure option --with-termlib to generate the terminfo
3172 functions as a separate library.
3173 + add 'sources' rule to facilitate cross-compiling.
3174 + review/fix order of mostlyclean/clean/distclean rules.
3175 + modify install-rule for headers to first remove old header, in
3176 case there was a symbolic link that confuses the install script.
3177 + corrected substitution for NCURSES_CONST in term.h (cf: 971108)
3178 + add null pointer checks in wnoutrefresh(), overlap() (patch by
3179 Xiaodan Tang <xtang@qnx.com>)
3180 + correct tputs(), which could dereference a null cur_term if invoked
3181 before terminal is initialized (patch by Christopher Seawood
3183 > patch by Juergen Pfeifer:
3184 + makes better use of "pragma Inline" in the Ada95 binding
3185 + resynchronizes the generated html manpages
3188 + additional fixes for man-pages section-references
3189 + add (for debugging) a check for ich/ich1 conflict with smir/rmir
3191 + remove hpa/vpa from rxvt terminal description because they are not
3192 implemented correctly, added sgr0.
3193 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf
3194 Leitgeb <leitgeb@leland.stanford.edu>)
3197 + modify protection when installing libraries to (normally) not
3198 executable. HP-UX shared libraries are an exception.
3199 + add configure check for 'tack'.
3200 + implement script for renaming section-references in man-page install,
3201 for Debian configuration.
3202 + add validity-check for SP in trace code in baudrate() (reported by
3204 > patch by Alexander V. Lukyanov (fixes to match sol25 curses)
3205 + modify 'overlay()' so that copy applies target window background to
3207 + correct 'mvwin()' so that it does not clear the previous locations.
3208 + correct lib_acs.c so that 8-bit character is not sign expanded in
3209 case of wide characters in chtype.
3210 + correct control-char test in lib_addch.c for use with wide chars
3211 + use attribute in the chtype when adding a control character in
3212 lib_addch.c control char was added with current attribute
3215 + save/restore errno in _tracef() function
3216 + change treatment of initialize_color to use a range of 0..1000
3217 (recommended by Daniel Weaver).
3218 + set umask in mkinstalldirs, fixing problems reported by users who
3219 have set root's umask to 077.
3220 + correct bug in tic that caused capabilities to be reprinted at the
3221 end of output when they had embedded comments.
3222 + rewrote wredrawln to correspond to XSI, and split-out since it is
3223 not often used (from report by Alexander V. Lukyanov, 970825)
3224 + rewrote Dan Nelson's change to make it portable, as well as to
3225 correct logic for handling backslashes.
3226 + add code to _nc_tgetent() to make it work more like a real tgetent().
3227 It removes all empty fields, and removes all but the first in a group
3228 of duplicate caps. The code was pulled from the BSD libtermcap code
3229 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com>
3230 + don't include --enable-widec in the --with-develop configure option,
3231 since it is not binary-compatible with 4.1 (noted by Alexander V.
3233 > patch by Juergen Pfeifer:
3234 + further improvements of the usage of elaboration pragmas in the Ada95
3236 + enhanced Ada95 sample to use the user_data mechanism for panels.
3237 + a fix for the configuration script to make gnat-3.10 the required
3239 + resync of the html version of the manpages
3242 > fixes/updates for terminfo.src:
3243 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
3245 + add hds200 description (Walter Skorski)
3246 + add EMX 0.9b descriptions
3247 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
3248 + rename xhpterm back to hpterm.
3249 > patch by Juergen Pfeifer:
3250 + Improves the usage of elaboration pragmas for the Ada95 binding.
3251 + Adds a translation of the test/rain.c into Ada95 to the samples.
3252 This has been contributed to the project by Laurent Pautet
3256 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list
3258 + correction & simplification of delay computation in tputs, based on
3259 comments from Daniel Weaver.
3260 + replace test for SCO with more precise header tests.
3261 + add configure test for unsigned literals, use in NCURSES_BITS macro.
3262 + comment-out the -PIC, etc., flags from c++, progs and test makefiles
3263 since they probably are not needed, and are less efficient (noted by.
3265 + add -L$(libdir) to loader options, after -L../lib so that loaders
3266 that record this information will tend to do the right thing if
3267 the programs are moved around after installing them (suggested by.
3269 + add -R option to loader options for programs for Solaris if the
3270 --enable-rpath option is specified for the libraries.
3273 + correct installed filename for shared libraries on *BSD (reported by
3277 + cleanup logic for deciding when tputs() should call delay_output(),
3278 based on comments from Daniel Weaver.
3279 + modified tputs() to avoid use of float.
3280 + correct use of trailpad in tputs(), which used the wrong variable
3281 in call to delay_output().
3282 + correct inverted expression for null-count in delay_output()
3283 (analysis by Daniel Weaver).
3284 + apply --enable-rpath option to Solaris (requested by Larry Virden).
3285 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3
3286 + correct check for error-return by _nc_tgetent(), which returns 0
3288 + add configure test for BSD 4.4 cgetent() function, modify
3289 read_termcap.c to use the host's version of that if found, using the
3290 terminal database on FreeBSD (reported by Peter Wemm).
3291 + add u8, u9 strings to sun-il description for Daniel Weaver.
3292 + use NCURSES_CONST in panel's user-pointer.
3293 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST
3294 so that will work on NeXT.
3295 + use _nc_set_screen() rather than assignments to SP to fix port to
3296 NeXT (reported by Francisco A. Tomei Torres).
3299 + force mandatory padding in bell and flash_screen, as specified in
3301 + don't allow padding_baud_rate to override mandatory delays (reported
3303 + modify delay_output() to use _nc_timed_wait() if no baudrate has been
3304 defined, or if the cur_term pointer is not initialized. XSI treats
3305 this as unspecified. (requested by Daniel Weaver).
3306 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir
3307 when that feature is not configured.
3308 + remove _nc_err_abort() calls when write_entry.c finds a directory but
3309 cannot write to it, e.g., when translating part/all of /etc/termcap
3310 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>).
3311 (this dates back to 951102, in 1.9.7a).
3312 + minor ifdef fixes to compile with atac and glibc 2.0.5c
3313 + add check for -lgen when configuring regexpr.h
3314 + modify Solaris shared-library option "-d y" to "-dy" to workaround
3315 incompatibility of gcc 2.7.2 vs vendor's tools.
3318 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c
3320 + remove dangling backslash in panel/Makefile.in
3321 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the
3323 + correct length of allocation in _nc_add_to_try(), to allow for
3325 + correct logic in _nc_remove_key(), which was discarding too many
3326 nodes (patch by Alexander V. Lukyanov)
3329 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD
3330 shared libraries link properly (see 970524).
3331 + modify Linux shared-library generation to include library
3332 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and
3333 panel libraries (suggested by Juergen Pfeifer).
3334 + modify configure script to use config.guess and config.sub rather
3335 than uname, which is unreliable on some systems.
3336 + updated Makefile.glibc, test-built with glibc 2.0.5c
3337 + modify keyname() to return values consistent with SVr4 curses (patch
3339 > changes requested by Daniel Weaver:
3340 + modify delay_output() so that it uses the same output function as
3341 tputs() if called from that function.
3342 + move _baudrate from SCREEN to TERMINAL so that low-level use of
3343 tputs works when SP is not set.
3344 > patch by Juergen Pfeifer:
3345 + factor lib_menu and lib_form into smaller modules
3346 + clean up the interface between panel and SCREEN
3347 + minor changes to the Ada95 mouse support implemenation
3348 + minor bugfix in C++ binding to ripoff windows
3349 + fix a few Ada95 html documentation pages
3352 + split-out lib_ungetch.c, make runtime link to resizeterm() to
3353 decouple those modules from lib_restart.c
3354 + add xterm-xf86-v39t description to terminfo.src
3355 + reset SP->_endwin in lib_tstp.c cleanup() function after calling
3356 endwin() to avoid unnecessary repainting if the application has
3357 established an atexit function, etc. Encountered this problem in
3358 the c++ demo, whose destructors repaint the screen.
3359 + combine _nc_get_screensize() and resizeterm() calls as new function
3360 _nc_update_screensize().
3361 + minor fixes to allow compile with g++ (suggested by Nelson H. F.
3363 + implement install-rules for Ada95 makefiles.
3364 + use screen_lines or MAXLINES as needed where LINES was coded,
3365 as well as screen_columns for COLS, in the ncurses library.
3366 > patch by Alexander V. Lukyanov:
3367 + modify logic for ripped-off lines to handle several SCREENs.
3368 > patch by Juergen Pfeifer:
3369 + factors lib_slk.c into some smaller modules
3370 + factors panel.c into some smaller modules
3371 + puts the static information about the current panel stack into the
3372 SCREEN structure to allow different panel stacks on different
3374 + preliminary fix for an error adjusting LINES to account for
3378 + move _nc_max_click_interval and other mouse interface items to SCREEN
3379 struct so that they are associated with a single terminal, and also
3380 save memory when the application does not need a mouse (roughly 3k vs
3382 + modify mouseinterval() so that a negative parameter queries the
3383 click-interval without modifying it.
3384 + modify ncurses 'i' test to work with ncurses' apparent extension from
3385 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V.
3387 + add configure options --with-ada-includes and --with-ada-objects,
3388 to drive Ada95 binding install (not yet implemented).
3389 + install C++ binding as -lncurses++ and associated headers with the
3390 other ncurses headers.
3391 + fix header uninstall if configure --srcdir is used.
3392 > minor interface changes (request by Daniel Weaver <danw@znyx.com>,
3393 to support 'tack' program):
3394 + export functions _nc_trans_string() and _nc_msec_cost().
3395 + add variable _nc_nulls_sent, to record the number of padding
3396 characters output in delay_output().
3397 + move tests for generic_type and hard_copy terminals in setupterm()
3398 to the end of that function so that the library will still be
3399 initialized, though not generally useful for curses programs.
3400 > patches by Alexander V. Lukyanov:
3401 + modify ClrBottom() to avoid using clr_eos if there is only one line
3403 + typo in configure --help.
3404 > patch by J.T.Conklin (with minor resync against Juergen's changes)
3405 + split-out lib_flash.c from lib_beep.c
3406 + split-out lib_hline.c and lib_vline.c from lib_box.c
3407 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c
3410 > patch by Juergen Pfeifer:
3411 + correct source/target of c++/edit_cfg.sh
3414 + add color, mouse support to kterm terminfo entry.
3415 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as
3416 providing "xterm"-style mouse.
3417 + updated rxvt's terminfo description to correspond to 2.21b, with
3418 fixes for the acsc (the box1 capability is incorrect, ech1 does not
3420 + fix logic in parse_entry.c that discarded acsc when 'synthesizing'
3421 an entry from equivalents in XENIX or AIX. This lets ncurses handle
3422 the distribution copy of rxvt's terminfo.
3423 + modify acsc capability for linux and linux-koi8 terminfo descriptions
3424 (from Pavel Roskin <pavel@absolute.spb.su>).
3425 + corrected definition in curses.h for ACS_LANTERN, which was 'I'
3426 rather than 'i' (see 970802).
3427 + updated terminfo.src with reformatted acsc entries, and repaired the
3428 trashed entries with spurious '\' characters that this exposed.
3429 + add logic to dump_entry.c to reformat acsc entries into canonical
3430 form (sorted, unique mapping).
3431 + add configure script to generate c++/etip.h
3432 + add configure --with-develop option, to enable by default most of the
3433 experimental options (requested by Alexander V. Lukyanov).
3434 + rename 'deinstall' to 'uninstall', following GNU convention
3435 (suggested by Alexander V. Lukyanov).
3436 > patches by Alexander V. Lukyanov:
3437 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last
3438 line of the screen, since carriage return will not cause a newline.
3439 + remove clause from PutCharLR() that would try to use
3440 eat_newline_glitch since that apparently does not work on some
3441 terminals (e.g., M$ telnet).
3442 + correct a limit check in scroll_csr_backward()
3443 > patches by Juergen Pfeifer:
3444 + adds dummy implementations of methods above() and below() to the
3446 + fixes missing returncode in NCursesWindow::ripoffline()
3447 + fixes missing returncode in TestApplication::run() in demo.cc
3448 + We should at least give a comment in etip.h why it is currently a
3449 problem to install the C++ binding somewhere
3450 + makes the WINDOW* argument of wenclose() a const.
3451 + modifies several of the routines in lib_adabind.c to use a const
3455 + add 'deinstall' rules.
3456 + use explicit assignments in configure --without-progs option to
3457 work around autoconf bug which doesn't always set $withval.
3458 + check for ldconfig, don't try to run it if not found.
3459 + implement simple/unoptimized case in lib_doupdate.c to handle
3460 display with magic cookie glitch, tested with ncurses.c program.
3461 + correct missing _tracef in getmouse(), to balance the returnCode
3463 + simplify show_attr() in ncurses.c using termattrs().
3464 > patches by Juergen Pfeifer:
3465 + provides missing inlines for mvw[hv]line in cursesw.h of the C++
3467 + fixes a typo in a comment of frm_driver.c
3468 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that
3469 generics should be compiled. Proper fixes to the configuration
3470 scripts are also provided.
3473 + several modifications to the configure script (requested by Ward
3475 + add configure options --without-progs, to suppress the build of the
3476 utility programs, e.g., for cross-compiling.
3477 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses
3478 Makefile.in, to simplify setup for cross compiling.
3479 + add logic in configure script to recognize "--target=vxworks", and
3480 generate load/install actions for VxWorks objects.
3481 + move typedef for sigaction_t into SigAction.h to work around problem
3482 generating lint library.
3483 + modify fty_regex.c to reflect renaming of ifdef's for regular
3485 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may
3486 reside in <sys/ioctl.h>.
3487 + merge testcurs.c with version from PDCurses 2.3, clarifying some of
3488 the more obscure tests, which rely upon color.
3489 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c
3490 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up
3491 implementation difference wrt SVr4 curses, allow 's' test to work.
3492 + add missing endwin() to testscanw.c program (reported by Fausto
3493 Saporito <fausap@itb.it>).
3494 + fixes/updates for Makefile.glibc and related files under sysdeps
3496 > patches by Juergen Pfeifer:
3497 + add checks for null pointers, especially WINDOW's throughout the
3499 + solve a problem with wrong calculation of panel overlapping (reported
3501 + make sure that a panel's window isn't a pad.
3502 + do more error checking in module lib_touch.c
3503 + missing files for Ada95 binding from the last patch
3504 + synch. of generated html pages (RCS-Id's were wrong in html files)
3505 + support for Key_Resize in Ada binding
3506 + changed documentation style in ./c++/cursesm.h
3507 > patches by Alexander V. Lukyanov:
3508 + undo attempt to do recursive inlining for PutChar(), noting that it
3509 did not improve timing measurably, but inflated the size of
3513 + modify rain.c to use color.
3514 + correct scroll_csr_backward() to match scroll_csr_forward().
3515 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1
3516 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming
3517 of configure cache variables in 970906.
3518 + correct logic involving changes to O_VISIBLE option in
3519 Synchronize_Options function in frm_driver.c (Tony Hoffmann
3520 <Tony.Hoffmann@hia.nrc.ca>)
3521 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for
3522 cross compiling (suggested by Chris Johns).
3523 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can
3524 use it to support screen-size calculation (reported by Chris Johns).
3525 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by
3526 Chris Johns <cjohns@plessey.com.au>)
3527 > patches by Juergen Pfeifer:
3528 + simplified, made minor corrections to Ada95 binding to form
3530 + The C++ binding has been enhanced:
3531 + Improve NCursesWindow class: added additional methods to cover
3532 more ncurses functionality. Make refresh() and noutrefresh()
3533 virtual members to allow different implementation in the
3535 + CAUTION: changed order of parameters in vline() and hline() of
3536 NCursesWindow class.
3537 + Make refresh() in NCursesPanel non-static, it is now a
3538 reimplementation of refresh() in the base class. Added
3539 noutrefresh() to NCursesPanel.
3540 + Added NCursesForm and related classes to support libform
3542 + Moved most of configuration related stuff from cursesw.h to etip.h
3543 + Added NCursesApplication class to support easy configuration of
3544 menu and forms related attributes as well as ripped of title lines
3545 and Soft-Label-Keys for an application.
3546 + Support of Auto-Cleanup for a menu's fieldlist.
3547 + Change of return type for current_item() and operator[] for menus.
3549 + Fixed a bug in form/fld_def.c: take into account that copyarg and
3550 freearg for a fieldtype may be NULL, makearg must not be NULL
3551 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must
3552 not be NULL, copyarg and freearg may be NULL.
3553 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is
3554 already disconnected.
3555 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on
3556 navigation requests.
3557 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in
3558 case-insensitiva comparision routine.
3559 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a
3560 forms field by index.
3561 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus
3563 + Fixed in curses.h.in: make chtype argument for pechochar() constant.
3564 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was
3565 broken (didn't handle colors correctly).
3566 + Enhanced lib_mouse.c: added _nc_has_mouse() function
3567 + Added _nc_has_mouse() prototype to curses.priv.h
3568 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset();
3569 streamlined implementation of wbkgd()
3570 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly)
3571 move of subwindows. Fixed update behaviour of movements of regular
3573 + Fixed lib_pad.c: make chtype argument of pechochar() const.
3574 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone
3575 of the original. Subwindows become regular windows by doing a
3577 + Improved manpage form_fieldtype.3x
3578 > patches by Alexander V. Lukyanov:
3579 + simplify the PutChar() handling of exit_am_mode, because we already
3580 know that auto_right_margin is true.
3581 + add a check in PutChar() for ability to insert to the case of
3582 shifting character to LR corner.
3583 + in terminal initialization by _nc_screen_resume(), make sure that
3584 terminal right margin mode is known.
3585 + move logic that invokes touchline(), or does the equivalent, into
3586 _nc_scroll_window().
3587 + modify scrolling logic use of insert/delete line capability, assuming
3588 that they affect the screen contents only within the current
3590 + modify rain.c to demonstrate SIGWINCH handler.
3591 + remove logic from getch() that would return an ERR if the application
3592 called getch() when the cursor was at the lower-right corner of the
3593 physical screen, and the terminal does not have insert-character
3595 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE
3596 is read, and modify logic in getch() so this fix will yield the
3597 desired behavior, i.e., the screen is repainted automatically when
3598 the terminal window is resized.
3601 + add configure option --enable-sigwinch
3602 + modify view.c to test KEY_RESIZE logic, with "-r" option.
3603 + modify testcurs.c to eliminate misleading display wrt cursor type
3604 by testing if the terminal supports cnorm, civis, cvvis.
3605 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and
3606 _nc_curr_col variables into linked programs: move these variables,
3607 making new modules lib_cur_term and trace_buf (reported by Francisco
3608 Alberto Tomei Torres <fatomei@sandburg.unm.edu>).
3609 > patches by Alexander V. Lukyanov:
3610 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when
3611 the SIGWINCH handler has been called since the last call to
3613 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined.
3614 + add SIGWINCH handler to ncurses library which is used if there is no
3615 application SIGWINCH handler in effect when the screen is
3617 + make linked list of all SCREEN structures.
3618 + move curses.h include before definition of SCREEN to use types in
3620 + correction to ensure that wgetstr uses only a newline to force a
3624 + add experimental configure option --enable-safe-sprintf; the normal
3625 mode now allocates a buffer as large as the screen for the
3626 lib_printw.c functions.
3627 + modify wgetch to refresh screen when reading ungetch'd characters,
3628 since the application may require this - SVr4 does this.
3629 + refine treatment of newline in wgetstr to echo only when this would
3630 force the screen to scroll.
3633 + remove override in wgetstr() that forces keypad(), since SVr4 does
3635 + correct y-reference for erasure in wgetstr() when a wrap forces a
3637 + correct x-position in waddch() after a wrap forces a scroll.
3638 + echo newline in wgetstr(), making testscanw.c scroll properly when
3640 + modify vwscanw() to avoid potential buffer overflow.
3641 + rewrote lib_printw.c to eliminate fixed-buffer limits.
3642 > patches by Alexander V. Lukyanov:
3643 + correct an error in handling cooked mode in wgetch(); processing
3644 was in the wrong order.
3645 + simplified logic in wgetch() that handles backspace, etc., by using
3647 + correct wechochar() so that it interprets the output character as
3649 + modify pechochar() to use prefresh() rather than doupdate(), since
3650 the latter does not guarantee immediate refresh of the pad.
3651 + modify pechochar() so that if called with a non-pad WINDOW, will
3652 invoke wechochar() instead.
3653 + modify fifo indices to allow fifo to be longer than 127 bytes.
3656 + add xterm-8bit to terminfo.src
3657 + moved logic for SP->_fifohold inside check_pending() to make it
3658 work properly when we add calls to that function.
3659 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE
3660 are assigned to bool values (patch by H.J.Lu).
3661 > patches by Alexander V. Lukyanov:
3662 + several fixes to getch:
3663 1. Separate cooked and raw keys in fifo
3664 2. Fix the case of ungetch'ed KEY_MOUSE
3665 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR
3666 4. correctly handle input errors (i.e., EINTR) without loss of raw
3668 5. recognize ESC KEY_LEFT and similar
3669 6. correctly handle the case of receiption of KEY_MOUSE from gpm
3670 + correct off-by-one indexing error in _nc_mouse_parse(), that caused
3671 single mouse events (press/release) to be ignored in favor of
3672 composed events (click). Improves on a fix from integrating gpm
3674 + add another call to check_pending, before scrolling, for
3675 line-breakout optimization
3676 + improve hashmap.c by
3677 1. fixed loop condition in grow_hunks()
3678 2. not marking lines with offset 0
3679 3. fixed condition of 'too far' criteria, thus one-line hunks are
3680 ignored and two lines interchanged won't pass.
3681 + rewrote/simplified _nc_scroll_optimize() by separating into two
3682 passes, forward/backward, looking for chunks moving only in the given
3684 + move logic that emits sgr0 when initializing the screen to
3685 _nc_screen_init(), now invoked from newterm.
3686 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap()
3687 function and screen cleanup (i.e., color) into _nc_screen_wrap()
3689 + add new functions _nc_screen_init(), _nc_screen_resume() and
3691 + rename _nc_mvcur_scrolln() to _nc_scrolln().
3692 + add a copy of acs_map[] to the SCREEN structure, where it can be
3693 stored/retrieved via set_term().
3694 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN
3698 + implement experimental _nc_perform_scroll().
3699 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when
3700 initializing the screen, as does SVr4 (reported by Alexander V.
3702 + added test_progs rule to ncurses/Makefile.
3703 + modify test/configure.in to check if initscr is already in $LIBS
3704 before looking for (n)curses library.
3705 + correct version-number in configure script for OSF1 shared-library
3706 options (patch by Tim Mooney).
3707 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen
3708 originally patched) since the c++ demo files do not necessarily
3709 include ncurses_cfg.h
3710 + supply default value for --enable-assertions option in configure
3711 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>).
3712 > patches by Alexander V. Lukyanov:
3713 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See
3715 + optimize waddch_literal() and waddch_nosync() by factoring out
3716 common subexpressions.
3717 + correct sense of NDEBUG ifdef for CHECK_POSITION macro.
3718 + corrections to render_char(), to make handling of colored blanks
3719 match SVr4 curses, as well as to correct a bug that xor'd space
3720 against the background character.
3721 + replaced hash function with a faster one (timed it)
3722 + rewrote the hashmap algorithm to be one-pass, this avoids multiple
3723 cost_effective() calls on the same lines.
3724 + modified cost_effective() so it is now slightly more precise.
3725 > patches by H.J.Lu for glibc integration:
3726 + add modules define_key, keyok, name_match, tries
3727 + add makefile rules for some of the unit tests in ncurses (mvcur,
3728 captoinfo, hardscroll, hashmap).
3729 + update Linux configure-script for wide-character definitions.
3732 + modify _tracebits() to show the character size (e.g., CS8).
3733 + modify tparm() to emit '\200' where the generated string would have a
3734 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for
3735 terminal type ncr7900).
3736 + modify install process so that ldconfig is not invoked if the
3737 package is built with an install-prefix.
3738 + correct test program for chtype size (reported by Tim Mooney).
3739 + add configure option --disable-scroll-hints, using this to ifdef the
3740 logic that computes indices for _nc_scroll_optimize().
3741 + add module ncurses/softscroll.c, to perform single-stage computation
3742 of scroll indices used in _nc_scroll_optimize(). This is faster than
3743 the existing scrolling algorithm, but tends to make too-small hunks.
3744 + eliminate fixed buffer size in _nc_linedump().
3745 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el)
3746 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch
3747 by Alexander V. Lukyanov).
3748 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov.
3749 + correct processing of "configure --enable-assertions" option (patch
3750 by Juergen Pfeifer).
3753 + add '-s' (single-step) option too test/hashtest.c, correct an error
3754 in loop limit for '-f' (footer option), toggle scrollok() when
3755 writing footer to avoid wrap at lower-right corner.
3756 + correct behavior of clrtoeol() immediately after wrapping cursor,
3757 which was not clearing the line at the cursor position (reported by
3758 Liviu Daia <daia@stoilow.imar.ro>).
3759 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i'
3760 (reported by Klaus Weide <kweide@tezcat.com>).
3761 + many corrections to make progs/capconvert work, as well as make it
3762 reasonably portable and integrated with ncurses 4.1 (reported by Dave
3763 Furstenau <df@ravine.binary.net>).
3766 + add flag SP->_fifohold, corresponding logic to modify the behavior of
3767 the line breakout logic so that if the application does not read
3768 input, refreshes will not be stopped, but only slowed.
3769 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(),
3770 ifdef'd for wide-character support, since ncurses' WA_xxx attribute
3771 masks are identical with the A_xxx masks.
3772 + modify MKlib_gen.sh to generate ifdef'd functions to support optional
3773 configuration of wide-characters.
3774 + modify tset to behave more like SVr4's tset, which does not modify
3775 the settings of intr, quit or erase unless they are given as command
3776 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>).
3777 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration
3778 does not have getttynam().
3779 + extend baudrate table in tset.c to match baudrate() function.
3780 + add table entries for 230400 and 460800 bd to baudrate() function.
3781 + improve breakout logic by allowing it before the first line updated,
3782 which is what SVr4 curses does (patch by Alexander V. Lukyanov).
3783 + correct initialization of vcost in relative_move(), for cursor-down
3784 case (patch by Alexander V. Lukyanov).
3785 > nits gleaned from Debian distribution of 1.9.9g-3:
3786 + install symbolic link for intotocap.
3787 + reference libc directly when making shared libraries.
3788 + correct renaming of curs_scr_dmp.3x in man_db.renames.
3789 + guard tgetflag() and other termcap functions against null cur_term
3793 + corrected initial state of software echo (error in 970405, reported
3794 by Alexander V. Lukyanov).
3795 + reviewed/added messages to configure script, so that all non-test
3796 options should be accompanied by a message.
3797 + add configure check for long filenames, using this to determine if
3798 it is safe to allow long aliases for terminal descriptions as does
3800 + add configure options for widec (wide character), hashmap (both
3802 > patch by Alexander V. Lukyanov:
3803 + hashmap.c - improved by heuristic, so that scroll test works much
3804 better when csr is not available.
3805 + hardscroll.c - patched so that it continues to scroll other chunks
3806 after failure to scroll one.
3807 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr
3808 is avoided as it is relative costly. Fixed wrong coordinates in one
3809 case and wrong string in TRACE.
3810 > patch by Juergen Pfeifer:
3811 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++
3815 + remove alternate character set from kterm terminfo entry; it uses the
3816 shift-out control for a purpose incompatible with curses, i.e., font
3818 + disentangle 'xterm' terminfo entry from some derived entries that
3819 should be based on xterm-r6 instead.
3820 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for
3821 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey.
3822 + correct logic in lib_mvcur.c that uses back_tab.
3825 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that
3826 contents of curscr are saved in newscr before clearing the screen.
3827 This is needed to make repainting work with the present logic of
3829 + use napms() rather than sleep() in tset.c to avoid interrupting I/O.
3832 + add limit checks to _nc_read_file_entry() to guard against overflow
3833 of buffer when reading incompatible terminfo format, e.g, from OSF/1.
3834 + correct some loop-variable errors in xmc support in lib_doupdate.c
3835 + modify ncurses 'b' test to add gaps, specified by user, to allow
3836 investigation of interaction with xmc (magic cookie) code.
3837 + correct typo in 970524 mods to xmas.c, had omitted empty parameter
3838 list from has_colors(), which gcc ignores, but SVr4 does not
3839 (reported by Larry Virden).
3840 + correct rmso capability in wy50-mc description.
3841 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to
3843 > patch by Juergen Pfeifer:
3844 + Add bindings for keyok() and define_key() to the Ada95 packages.
3845 + Improve man pages menu_post.3x and menu_format.3x
3846 + Fix the HTML pages in the Ada95/html directory to reflect the above
3850 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that
3851 pending changes to both curscr and newscr are flushed properly.
3852 This fixes a case where the first scrolling operation in nvi would
3853 cause the screen to be cleared unnecessarily and repainted before
3854 doing the indexing, i.e., by repeatedly pressing 'j' (reported by
3856 + correct error in trans_string() which added embedded newlines in a
3857 terminfo description to the stored strings.
3858 + remove spurious newlines from sgr in wyse50 (and several other)
3859 terminfo descriptions.
3860 + add configure option for experimental xmc (magic cookie) code,
3861 "--enable-xmc-glitch". When disabled (the default), attributes that
3862 would store a magic cookie are suppressed in vidputs(). The magic
3863 cookie code is far from workable at this stage; the configuration
3864 option is a stopgap.
3865 + move _nc_initscr() from lib_initscr.c to lib_newterm.c
3866 + correct path for invoking make_keys (a missing "./").
3869 + correct sign-extension problem with "infocmp -e", which corrupted
3870 acsc values computed for linux fallback data.
3871 + correct dependency on ncurses/names.c (a missing "./").
3872 + modify configure script to use '&&' even for cd'ing to existing
3873 directories to work around broken shell interpreters.
3874 + correct a loop-limit in _nc_hash_map() (patch by Alexander V.
3878 + restore logic in _nc_scroll_optimize() which marks as touched the
3879 lines in curscr that are shifted.
3880 + add new utility 'make_keys' to compute keys.tries as a table rather
3881 than a series of function calls.
3882 + correct include-dependency for tic.h used by name_match
3883 + removed buffer-allocation for name and description from m_item_new.c,
3884 since this might result in incompatibilities with SVr4. Also fixed
3885 the corresponding Ada95 binding module (patch by Juergen Pfeifer,
3886 from report by Avery Pennarun <apenwarr@foxnet.net>)
3887 + removed the mechanism to timestamp the generated Ada95 sources. This
3888 resulted always in generating patches for the HTML doc, even when
3889 nothing really changed (patch by Juergen Pfeifer).
3890 + improve man page mitem_new.3x (patch by Juergen Pfeifer).
3893 + remove ech capability from rxvt description because it does not work.
3894 + add missing case logic for infocmp -I option (reported by Lorenzo M.
3895 Catucci <lorenzo@argon.roma2.infn.it>)
3896 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this
3897 caused glitches in the ncurses 'p' test since the area outside the
3898 pad was not compared when setting up indices for _nc_scroll_optimize.
3899 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix
3900 4.4, as well as to eliminate fixed-size buffer (reported by Chris
3901 Tanner <tannerc@aecl.ca>)
3902 + correct prototype for termattrs() as per XPG4 version 2.
3903 + add placeholder prototypes for color_set(), erasewchar(),
3904 term_attrs(), wcolor_set() as per XPG4 version 2.
3905 + correct attribution for progs/progs.priv.h and lib_twait.c
3906 + improve line-breakout logic by checking based on changed lines rather
3907 than total lines (patch by Alexander V. Lukyanov).
3908 + correct loop limits for table-lookup of enumerated value in form
3909 (patch by Juergen Pfeifer).
3910 + improve threshhold computation for determining when to call ClrToEOL
3911 (patch by Alexander V. Lukyanov).
3914 + add configure option --disable-database to force the library to
3915 use only the fallback data.
3916 + add configure option --with-fallbacks, to specify list of fallback
3917 terminal descriptions.
3918 + add a symbolic link for ncurses.h during install; too many programs
3919 still assume there's an ncurses.h
3920 + add new terminfo.src entry for xterm-xf86-v33.
3921 + restore terminfo.src entry for emu to using setf/setb, since it is
3922 not, after all, generating ANSI sequences. Corrected missing comma
3923 that caused setf/setb entries to merge.
3924 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so
3925 that applications can disable ncurses' mouse and supply their own
3927 + add extensions keyok() and define_key(). These are designed to allow
3928 the user's application better control over the use of function keys,
3929 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from
3930 a mailing-list thread started by kjahds@kjahds.com Nov'1995).
3931 + restore original behavior in ncurses 'g' test, i.e., explicitly
3932 set the keypad mode rather than use the default, since it confuses
3934 + rewrote the newdemo banner so it's readable (reported by Hugh
3936 + tidy up exit from hashtest (reported by Hugh Daniel).
3937 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported
3939 + correct tput program, checking return-value of setupterm (patch by
3941 + correct logic in pnoutrefresh() and pechochar() functions (reported
3942 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation
3943 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the
3944 original implementation (1.9.6).
3945 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest
3946 <rwuest@sire.vt.com>)
3947 + move calls of _nc_background() out of various loops, as its return
3948 value will be the same for the whole window being operated on (patch
3950 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in
3951 SVr4 headers (patch by J.T.Conklin <jtc@NetBSD.ORG>)
3952 + modify glibc addon-configure scripts (patch by H.J.Lu).
3953 + correct a bug in hashmap.c: the size used for clearing the hashmap
3954 table was incorrect, causing stack corruption for large values of
3955 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov).
3956 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry,
3957 added MGR, ansi-nt (note: the changes described for 9.13.24 have not
3959 > several changes by Juergen Pfeifer:
3960 + correct a missing error-return in form_driver.c when wrapping of a
3961 field is not possible.
3962 + correct logic in form_driver.c for configurations that do not have
3963 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>)
3964 + change several c++ binding functions to inline.
3965 + modify c++ menu binding to inherit from panels, for proper
3967 + correct freeing of menu items in c++ binding.
3968 + modify c++ binding to reflect removal of const from user data pointer
3969 in forms/menus libraries.
3972 + add description of xterm-16color.
3973 + modify name of shared-library on *BSD to end with $(REL_VERSION)
3974 rather than $(ABI_VERSION) to match actual convention on FreeBSD
3976 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD
3977 (reported by Hugh Daniel <hugh@rat.toad.com>).
3978 + corrected include-dependency in menu/Makefile so that "make install"
3979 works properly w/o first doing "make".
3980 + add fallback definition for isascii, used in infocmp.
3981 + modify xmas to use color, and to exit right away when a key is
3983 + modify gdc so that the scrolled digits function as described (there
3984 was no time delay between the stages, and the digits overwrote the
3985 bounding box without tidying up).
3986 + modify lib_color.c to use setaf/setab only for the ANSI color codes
3987 0 through 7. Using 16 colors requires setf/setb.
3988 + modify ncurses 'c' test to work with 16 colors, as well as the normal
3990 + remove const qualifier from user data pointer in forms and menus
3991 libraries (patch by Juergen Pfeifer).
3992 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync()
3993 function, thereby not interpreting tabs, etc., as per spec (patch by
3994 Alexander V. Lukyanov).
3997 + suppress check for pre-existing ncurses header if the --prefix
3998 option is specified.
3999 + add configure options "--with-system-type" and
4000 "--with-system-release" to assist in checking the generated
4002 + add configure option "--enable-rpath" to allow installers to specify
4003 that programs linked against shared libraries will have their library
4004 path embedded, allowing installs into nonstandard locations.
4005 + add flags to OSF1 shared-library options to specify version and
4006 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>)
4007 + add missing definition for ABI_VERSION to c++/Makefile.in (reported
4008 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>).
4009 + modify link flags to accommodate HP-UX linker which embeds absolute
4010 pathnames in executables linked against shared libraries (reported by
4011 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko
4012 <ats@hubert.wustl.edu>).
4013 + drop unnecessary check for attribute-change in onscreen_mvcur() since
4014 mvcur() is the only caller within the library, and that check in turn
4015 is exercised only from lib_doupdate.c (patch by Alexander V.
4017 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln()
4018 can use the background of stdscr as a parameter to that function
4019 (patch by Alexander V. Lukyanov).
4020 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use
4021 the latter's internal functions, as well as to eliminate unnecessary
4022 cursor save/restore operations (patch by Alexander V. Lukyanov).
4023 + omit parameter of ClrUpdate(), since it is called only for newscr,
4024 further optimized/reduced by using ClearScreen() and TransformLine()
4025 to get rid of duplicate code (patch by Alexander V. Lukyanov).
4026 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks
4027 that are smaller than the distance to be moved (patch by Alexander V.
4029 + correct a place where the panel library was not ifdef'd in ncurses.c
4031 + documentation fixes (Juergen Pfeifer)
4033 970515 4.1 release for upload to prep.ai.mit.edu
4034 + re-tag changes since 970505 as 4.1 release.
4037 + modify ncurses 'g' test to allow mouse input
4038 + modify default xterm description to include mouse.
4039 + modify configure script to add -Wwrite-strings if gcc warnings are
4040 enabled while configuring --enable-const (and fixed related
4042 + add toggle, status display for keypad mode to ncurses 'g' test to
4043 verify that keypad and scrollok are not inherited from parent window
4044 during a call to newwin.
4045 + correction to MKexpanded.sh to make it work when configure --srcdir
4046 is used (reported by H.J.Lu).
4047 + revise test for bool-type, ensuring that it checks if builtin.h is
4048 available before including it, adding test for sizeof(bool) equal
4049 to sizeof(short), and warning user if the size cannot be determined
4050 (reported by Alexander V. Lukyanov).
4051 + add files to support configuration of ncurses as an add-on library
4052 for GNU libc (patch by H.J.Lu <hjl@lucon.org>)
4055 + correct buffer overrun in lib_traceatr.c
4056 + modify change to lib_vidattr.c to avoid redundant orig_pair.
4057 + turn on 'echo()' in hanoi.c, since it is initially off.
4058 + rename local 'errno' variable in etip.h to avoid conflict with global
4060 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu
4063 970505 4.1 pre-release
4064 + regenerate the misc directory html dumps without the link list, which
4066 + correct dependency in form directory makefile which caused
4067 unnecessary recompiles.
4068 + correct substitution for ABI_VERSION in test-makefile
4069 + modify install rules for shared-library targets to remove the target
4070 before installing, since some install programs do not properly handle
4071 overwrite of symbolic links.
4072 + change order of top-level targets so that 'include' immediate
4073 precedes the 'ncurses' directory, reducing the time between new
4074 headers and new libraries (requested by Larry Virden).
4075 + modify lib_vidattr.c so that colors are turned off only before
4076 modifying other attributes, turned on after others. This makes the
4077 hanoi.c program display correctly on FreeBSD console.
4078 + modify debug code in panel library to print user-data addresses
4079 rather than the strings which they (may) point to.
4080 + add check to ensure that C++ binding and demo are not built with g++
4081 versions below 2.7, since the binding uses templates.
4082 + modify c++ binding and demo to build and run with SGI's c++ compiler.
4083 (It also compiles with the Sun SparcWorks compiler, but the demo does
4084 not link, due to a vtbl problem).
4085 + corrections to demo.cc, to fix out-of-scope variables (Juergen
4089 + correct memory leak in _nc_trace_buf().
4090 + add configure test for regexpr.h, for Unixware 1.x.
4091 + correct missing "./" prefixing names of generated files in ncurses
4093 + use single-quotes in configure scripts assignments for MK_SHARED_LIB
4094 to workaround shell bug on FreeBSD 2.1.5
4095 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF
4096 that caused incorrect result in ncurses_cfg.h
4097 + correct initialization in lib_trace.c, which omitted version info.
4098 + remove ech, el1 attributes from cons25w description; they appear to
4099 malfunction in FreeBSD 2.1.5
4100 + correct color attributes in terminfo.src and lib_color.c to match
4101 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb
4103 + use curs_set() rather than checks via tigetstr() for test programs
4104 that hide the cursor: firework, rain, worm.
4105 + ensure that if the terminal lacks change_scroll_region, parm_index
4106 and parm_rindex are used only to scroll the whole screen (patch by
4108 + correct curs_set() logic, which did not return ERR if the requested
4109 attributes did not exist, nor did it assume an unknown initial state
4110 for the cursor (patch by Alexander V. Lukyanov).
4111 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine
4112 function in lib_doupdate.c (patch by Alexander V. Lukyanov).
4113 + correct hashmap.c, which did not update index information (patch by
4114 Alexander V. Lukyanov).
4115 + patch by Juergen Pfeifer for C++ binding and demo (see c++/NEWS)
4116 + correct index in lib_instr.c (Juergen Pfeifer).
4117 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c
4121 + corrected cost computation in PutRange(), which was using
4122 milliseconds compared to characters by adding two new members to the
4123 SCREEN struct, _hpa_ch_cost and _cup_ch_cost.
4124 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a
4125 const array of strings (suggested by Alexander V. Lukyanov, though
4126 with a perl script 970118).
4127 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as
4128 well as noting the attributes that are not supported by a terminal.
4129 + trace the computation of cost values in lib_mvcur.c
4130 + modify _nc_visbuf() to use octal rather than hex, corrected sign
4131 extension bug in that function that caused buffer overflow.
4132 + modify trace in lib_acs.c to use _nc_visbuf().
4133 + suppress trace within _traceattr2().
4134 + correct logic of _tracechtype2(), which did not account for repeats
4135 or redefinition within an acsc string.
4136 + modify debug-library version baudrate() to use environment variable
4137 $BAUDRATE to override speed computation. This is needed for
4139 + correct problems shown by "weblint -pedantic".
4140 + update mailing-list information (now ncurses@bsdi.com).
4143 + Improve form_field_validation.3x manpage to better describe the
4144 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more
4145 precise information how the range checking can be avoided. (patch by
4146 Juergen Pfeifer, reported by Bryan Henderson)
4147 + change type of min/max value of form types TYPE_INTEGER to long to
4148 match SVr4 documentation.
4149 + set the form window to stdscr in set_form_win() so that form_win()
4150 won't return null (patch by Juergen Pfeifer, reported by Bryan
4151 Henderson <bryanh@giraffe.netgate.net>).
4154 + corrected ifdef'ing of inline (from 970321) for TRACE vs C++.
4155 + corrected toggle_attr_off() macro (patch by Andries.Brouwer).
4156 + modify treatment of empty token in $MANPATH to /usr/man (reported by
4157 <Andries.Brouwer@cwi.nl>)
4158 + modify traces that record functions-called so that chtype and attr_t
4159 values are expressed symbolically, to simplify reuse of generated
4160 test-scripts on SVr4 regression testing.
4161 + add new trace functions _traceattr2() and _tracechtype2()
4164 + add configure option --enable-const, to support the use of 'const'
4165 where XSI should have, but did not, specify. This defines
4166 NCURSES_CONST, which is an empty token otherwise, for strict
4168 + make processing of configure options more verbose by echoing the
4169 --enable/--with values.
4170 + add configure option --enable-big-core
4171 + set initial state of software echo off as per XSI.
4172 + check for C++ builtin.h header
4173 + correct computation of absolute-path for $INSTALL that dropped "-c"
4174 parameter from the expression.
4175 + rename config.h to ncurses_cfg.h to avoid naming-conflict when
4176 ncurses is integrated into larger systems (from diffs by H.J.Lu for
4178 + correct inequality in lib_doupdate.c that caused a single-char to not
4179 be updated when the char on the right-margin was not blank, idcok()
4180 was true (patch by Alexander V. Lukyanov 970124, also reported by
4181 Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> 970329).
4182 + modify 'clean' rule in include/Makefile so that files created by
4183 configure script are removed in 'distclean' rule instead.
4186 + correct array limit in tparam_internal(), add case to interpret "%x"
4187 (patch by Andreas Schwab)
4188 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the
4189 value properly when non-numeric characters were given (reported by
4190 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
4193 + move definition of __INTERNAL_CAPS_VISIBLE before include for
4194 progs.priv.h (patch by David MacKenzie).
4195 + add configuration summary, reordered check for default include
4196 directory to better accommodate a case where installer is configuring
4197 a second copy of ncurses (reported by Klaus Weide
4198 <kweide@tezcat.com>)
4199 + moved the #define for 'inline' as an empty token from the
4200 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning
4201 (reported by Ward Horner).
4202 + modify test for bool builtin type to use 'unsigned' rather than
4203 'unknown' when cross-compiling (reported by Ward Horner).
4206 + add header dependencies so that "make install.libs" will succeed
4207 even if "make all" is not done first.
4208 + moved some macros from lib_doupdate.c to curses.priv.h to use in
4209 expanded functions with ATAC.
4210 + correct implementation of lib_instr.c; both XSI and SVr4 agree that
4211 the winnstr functions can return more characters than will fit on one
4215 + modify script that generates lib_gen.c to support traces of called &
4217 + add new configure option "--disable-macros", for testing calls within
4219 + corrected logic that screens level-checking of called/return traces.
4222 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better
4223 addressing request by Ward Horner.
4224 + check for cross-compiling before trying to invoke the autoconf
4225 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner)
4226 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted
4227 a pointer-increment.
4228 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by
4232 + add configure option --enable-expanded, together with code that
4233 implements an expanded form of certain complex macros, for testing
4235 + disable CHECK_POSITION unless --with-assertions is configured
4236 (Alexander Lukyanov pointed out that this is redundant).
4237 + use keyname() to show traced chtype values where applicable rather
4238 than _tracechar(), which truncates the value to 8-bits.
4239 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros.
4240 + modify makefiles in progs and test directories to avoid using C
4241 preprocessor options on link commands (reported by Ward Horner)
4242 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported
4244 + modify ifdef's to use configure-defined symbols consistently
4245 (reported by Ward Horner)
4246 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX
4247 ports (reported by Ward Horner <whorner@tsi-telsys.com>)
4248 + rename struct try to struct tries, to avoid name conflict with C++
4249 (reported by Gary Johnson).
4250 + modify worm.c to hide cursor while running.
4251 + add -Wcast-qual to gcc warnings, fix accordingly.
4252 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle
4253 wrapping (Alexander Lukyanov).
4254 + correct spurious echoing of input in hanoi.c from eric's #291 & #292
4255 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>).
4256 + extend IRIX configuration to IRIX64
4257 + supply missing install.libs rule needed after restructuring
4261 + modify "make mostlyclean" to leave automatically-generated source
4262 in the ncurses directory, for use in cross-compiles.
4263 + autogenerated object-dependencies for test directory
4264 + add configure option --with-rcs-ids
4265 + modify configuration scripts to generate major/minor/patch versions
4266 (suggested by Alexander Lukyanov).
4267 + supply missing va_end's in lib_scanw.c
4268 + use stream I/O for trace-output, to eliminate fixed-size buffer
4269 + add TRACE_ICALLS definition/support to lib_trace.c
4270 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer).
4273 + add/modify traces for called/return values to simplify extraction
4275 + changed _nc_visbuf to quote its result, and to dynamically allocate
4276 the returned buffer.
4277 + invoke ldconfig after installing shared library
4278 + modify install so that overwrite applies to shared library -lcurses
4279 in preference to static library (reported by Zeyd 960928).
4280 + correct missing ';' in 961221 mod to overwrite option use of $(LN_S).
4281 + fixes to allow "make install" to work without first doing a "make
4282 all" (suggested by Larry Virden).
4285 + correct order of #ifdef for TABS_OK.
4286 + instrumented toe.c to test memory-leaks.
4287 + correct memory-deallocation in toe.c (patch by Jesse Thilo).
4288 + include <sys/types.h> in configuration test for regex.h (patch by
4290 + make infocmp recognize -I option, for SVr4 compatibility (reported by
4291 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>)
4294 + add extension 'use_default_colors()', modified test applications that
4295 use default background (firework, gdc, hanoi, knight, worm) to
4297 + correct some limit checks in lib_doupdate.c exposed while running
4299 + use typeCalloc macro for readability.
4300 + add/use definition for CONST to accommodate testing with Solaris
4301 (SVr4) curses, which doesn't use 'const' in its prototypes.
4302 + modify ifdef's in test/hashtest.c and test/view.c to compile with
4304 + modify _tracedump() to pad pad colors & attrs lines to match change
4305 in 970101 showing first/last changes.
4306 + corrected location of terminating null on dynamically allocated forms
4307 fields (patch by Per Foreby).
4310 + added headers to make view.c compile on SCO with the resizeterm()
4311 code (i.e., struct winsize) - though this compiles, I don't have a
4312 suitable test configuration since SIGWINCH doesn't pass my network to
4313 that machine - T.Dickey.
4314 + update test/configure.in to supply some default substitutions.
4315 + modify configure script to add -lncurses after -lgpm to fix problem
4316 linking against static libraries.
4317 + add a missing noraw() to test/ncurses.c (places noted by Jeremy
4319 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler
4320 <jbuhler@cs.washington.edu>)
4321 + modify headers to accommodate compilers that don't allow duplicate
4322 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden
4324 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo).
4325 + modify lib_doupdate to make el, el1 and ed optimization use the
4326 can_clear_with macro, and change EmitRange to allow leaving cursor at
4327 the middle of interval, rather than always at the end (patch by
4328 Alexander Lukyanov originally 960929, resync 970106).
4331 + workaround defect in autoconf 2.12 (which terminates configuration
4332 if no C++ compiler is found) by adding an option --without-cxx.
4333 + modify several man-pages to use tbl, where .nf/.fi was used (reported
4335 + correct font-codes in some man-pages (patch by Jesse Thilo
4336 <Jesse.Thilo@pobox.com>)
4337 + use configure script's knowledge of existence of g++ library for the
4338 c++ Makefile (reported by Paul Jackson).
4339 + correct misleading description of --datadir configuration option
4340 (reported by Paul Jackson <pj@sam.engr.sgi.com>)
4343 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report
4345 > the logic for non_dest_scroll_region was interchanged between the
4346 forward & reverse scrolling cases.
4347 > multiple returns from the function allowed certain conditions to do
4348 part of an operation before discovering that it couldn't be
4349 completed, returning an error without restoring the cursor.
4350 > some returns were ERR, where the function had completed the
4351 operation, because the insert/delete line logic was improperly
4352 tested (this was probably the case Peter saw).
4353 > contrary to comments, some scrolling cases were tested after the
4354 insert/delete line method.
4355 + modify _tracedump() to show first/last changes.
4356 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes
4357 refresh problem (reported by Peter Wemm) that caused nvi to not show
4358 result of ":r !ls" until a ^L was typed.
4360 961229 (internal alpha)
4361 + correct some of the writable-strings warnings (reported by Gary
4362 Johnson <gjohnson@season.com>). Note that most of the remaining ones
4363 are part of the XSI specification, and can't be "fixed".
4364 + improve include-dependencies in form, menu, panel directories.
4365 + correct logic of delay_output(), which would return early if
4366 there is data on stdin.
4367 + modify interface & logic of _nc_timed_wait() to support 2 file
4368 descriptors, needed for GPM.
4369 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse)
4370 support, correcting logic in wgetch() and _nc_mouse_parse() which
4371 prevented patch from working properly.
4372 + improve performance of panel algorithm (Juergen Pfeifer 961203).
4373 + strip RCS id's from generated .html files in Ada95 subtree.
4374 + resync with generated .html files (Juergen Pfeifer 961223).
4375 + terminfo.src 10.1.0 from Eric.
4378 + release as 4.0 to accommodate Linux ld.so.1.8.5
4379 + correct syntax/spelling, regenerated .doc files from .html using
4381 + refined forms/menus makefiles (Juergen Pfeifer 961223).
4384 + remove logic in read_entry.c that attempts to refine errno by using
4385 'access()' for the directory (from patch by Florian La Roche).
4386 + correct configure test/substitution that inhibits generating
4387 include-path to /usr/include if gcc is used (reported by Florian La
4389 + modify setupterm() to allocate new TERMINAL for each call, just as
4390 solaris' curses does (Alexander Lukyanov 960829).
4391 + corrected memory leaks in read_entry.c
4392 + add configure options --with-dbmalloc, --with-dmalloc, and
4393 --disable-leaks, tested by instrumenting infocmp, ncurses programs.
4394 + move #include's for stdlib.h and string.h to *.priv.h to accommodate
4396 + modify use of $(LN_S) to follow recommendation in autoconf 2.12,
4397 i.e., set current directory before linking.
4398 + split-out panel.priv.h, improve dependencies for forms, menus
4399 (Juergen Pfeifer 961204).
4400 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when
4401 freeing the corresponding WINDOW (Purify).
4402 + modify delwin() to return ERR if the window to be deleted has
4403 subwindows, needed as a side-effect of resizeterm() (Purify). Tested
4404 and found that SVr4 curses behaves this way.
4405 + implement logic for _nc_freeall(), bringing stub up to date.
4408 + modify wbkgd() so that it doesn't set nulls in the rendered text,
4409 even if its argument doesn't specify a character (fixes test case by
4410 Juergen Pfeifer for bug-report).
4411 + set window-attributes in wbkgd(), to simplify comparison against
4412 Solaris curses, which does this.
4415 + replace most constants in ncurses 'o' test by expressions, making it
4416 work with wider range of screen sizes.
4417 + add options to ncurses.c to specify 'e' test softkey format, and the
4418 number of header/footer lines to rip-off.
4419 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p'
4421 + add shell-out (!) command to ncurses 'p' test to allow test of
4422 resize between endwin/refresh.
4423 + correct line-wrap case in mvcur() by emitting carriage return,
4424 overlooked in 960928, but needed due to SVr4 compatibility changes to
4425 terminal modes in 960907.
4426 + correct logic in wresize that causes new lines to be allocated,
4427 broken for the special case of increasing rows only in 960907's fix
4429 + modify configure script to generate $(LDFLAGS) with -L and -l options
4430 in preference to explicit library filenames. (NOTE: this may
4431 require further amending, since I vaguely recall a dynamic loader
4432 that did not work properly without the full names, but it should be
4433 handled as an exception to the rule, since some linkers do bulk
4434 inclusion of libraries when given the full name - T.Dickey).
4435 + modify configure script to allow user-supplied $CFLAGS to set the
4436 debug-option in all libraries (requested by lots of people).
4437 + use return consistently from main(), rather than exit (reported by
4439 + add --enable-getcap-cache option to configure, normally disabled
4440 (requested by Florian La Roche).
4441 + make configure test for gettimeofday() and possibly -lbsd more
4442 efficient (requested by Florian La Roche florian@knorke.saar.de)
4443 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer)
4444 + correct attributes after emitting orig_pair in lib_vidattr.c (patch
4445 by lav@yars.free.net).
4448 + corrected README wrt Ada95 (Juergen Pfeifer)
4451 + integrate resizeterm() into doupdate(), so that if screen size
4452 changes between endwin/refresh, ncurses will resize windows to fit
4453 (this needs additional testing with pads and softkeys).
4454 + add, for memory-leak testing, _nc_freeall() entrypoint to free all
4455 data used in ncurses library.
4456 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy
4457 between initscr() and newwin() initialization (reported by
4459 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5
4460 (set beta versions to those values -- NOTE that subsequent pre-4.0
4461 beta may not be interchangeable).
4462 + modify configure script to work with autoconf 2.12
4464 961130 1.9.9g release
4465 + add copyright notices to configuration scripts (written by Thomas
4469 > patch by Juergen Pfeifer (mostly for panel):
4470 + cosmetic improvement for a few routines in the ncurses core library
4471 to avoid warning messages.
4472 + the panel overlap detection was broken
4473 + the panel_window() function was not fool-proof.
4475 + Cosmetic changes (also to avoid warning messages when compiling with
4479 > patch by Juergen Pfeifer:
4480 + eliminates warning messages for the compile of libform.
4481 + inserts Per Foreby's new field type TYPE_IPV4 into libform.
4482 + Updates man page and the Ada95 binding to reflect this.
4483 + Improves inlining in libmenu and libform.
4486 + improve the use of the "const" qualifier in the
4487 panel library (Juergen Pfeifer)
4488 + change set_panel_userptr() and panel_userptr() to use void*
4493 + package with 961119 version of Ada95 binding (fixes for gnat-3.07).
4495 + correct initialization of the stdscr pseudo panel in panel library
4497 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen
4499 > patch #324 by Eric.
4500 + typo in curs_termcap man page (reported by Hendrik Reichel
4501 <106065.2344@compuserve.com>)
4502 + change default xterm entry to xterm-r6.
4503 + add entry for color_xterm
4506 + lint found several functions that had only #define implementations
4507 (e.g., attr_off), modified curses.h.in to generate them as per XSI
4508 Curses requirement that every macro be available as a function.
4509 + add check in infocmp.c to guard against string compare of
4510 CANCELLED_STRING values.
4511 + modify firework.c, rain.c to hide cursor while running.
4512 + correct missing va_end in lib_tparm.c
4513 + modify hanoi.c to work on non-color terminals, and to use timing
4514 delays when in autoplay mode.
4515 + correct 'echochar()' to refresh immediately (reported by Adrian
4516 Garside 94ajg2@eng.cam.ac.uk)
4517 > patch #322 by eric:
4518 + reorganize terminfo.src entries for xterm.
4521 + corrected error in line-breakout logic (lib_doupdate.c)
4522 + modified newdemo to use wgetch(win) rather than getch() to eliminate
4523 a spurious clear-screen.
4524 + corrected ifdef's for 'poll()' configuration.
4525 + added modules to ncurses, form, menu for Ada95 binding (Juergen
4527 + modify set_field_buffer() to allow assignment of string longer than
4528 the initial buffer length, and to return the complete string rather
4529 than only the initial size (Juergen Pfeifer and Per Foreby
4533 + configure for 'poll()' in preference to 'select()', since older
4534 systems are more likely to have a broken 'select()'.
4535 + modified render_char() to avoid OR'ing colors.
4536 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the
4537 resize test, use wbkgd and corrected box() parameters.
4538 + make flushinp() test work in ncurses.c by using napms() instead of
4540 + undo Eric's changes to xterm-x11r6 (it no longer matched the X11R6.1
4541 distribution, as stated)
4542 + terminfo 9.13.18 (resync by Eric)
4543 + check for getenv("HOME") returning null (Eric).
4544 + change buffer used to decode xterm-mouse commands to unsigned to
4545 handle displays wider than 128 chars (Juergen Pfeifer).
4546 + correct typo curs_outopts.3x (Juergen Pfeifer).
4547 + correct limit-checking in wenclose() (Juergen Pfeifer).
4548 + correction to Peter Wemm's newwin change (Thomas Fehr
4550 + corrections to logic that combines colors and attributes; they must
4551 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick
4555 + reset flags in 'getwin()' that might cause refresh to attempt to
4556 manipulate the non-existent parent of a window that is read from a
4557 file (lib_screen.c).
4558 + restructure _nc_timed_wait() to log more information, and to try to
4559 recover from badly-behaved 'select()' calls (still testing this).
4560 + move define for GOOD_SELECT into configure script.
4561 + corrected extra '\' character inserted before ',' in comp_scan.c
4562 + corrected expansion of %-format characters in dump_entry.c; some were
4563 rendered as octal constants.
4564 + modify dump_entry.c to make terminfo output more readable and like
4565 SVr4, by using "\s" for spaces (leading/trailing only), "\," for
4566 comma, "\^" and "\:" as well.
4567 + corrected some memory leaks in ncurses.c, and a minor logic error
4568 in the top-level command-parser.
4569 + correction for label format 4 (PC style with info line), a
4570 slk_clear(), slk_restore() sequence didn't redraw the info line
4572 + modified the slk window (if simulated) to inherit the background and
4573 default character attributes from stdscr (Juergen Pfeifer).
4574 + corrected limit-check in set_top_row (Juergen Pfeifer).
4577 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing
4578 had '.lastchar' entry one beyond '._maxx'.
4579 + modify ncurses test-program to work with data piped to it.
4580 + corrected pathname computation in run_tic.sh, removing extra "../"
4581 (reported by Tim Mooney).
4582 + modified configure script to use previous install's location for
4584 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as
4588 + revised xterm terminfo descriptions to reflect the several versions
4590 + corrected a pointer reference in dump_entry.c that didn't test if
4594 + correct _nc_mvcur_scrolln for terminals w/o scrolling region.
4595 + add -x option to hashtest to control whether it allows writes to the
4597 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it
4598 simpler to construct tests (for double-check of _nc_hash_map tests).
4599 + correct ifdef's for c++ in curses.h
4600 + change default xterm type to xterm-x11r6.
4601 + correct quoting in configure that made man-pages installed with
4602 $datadir instead of actual terminfo path.
4603 + correct whitespace in include/Caps, which caused kf11, clr_eol and
4604 clr_end to be omitted from terminfo.5
4605 + fix memory leaks in delscreen() (adapted from Alexander Lukyanov).
4606 + improve appearance of marker in multi-selection menu (Juergen
4608 + fix behaviour for forms with all fields inactive (Juergen
4610 + document 'field_index()' (Juergen Pfeifer)
4611 > patch #321 by eric:
4612 + add some more XENIX keycap translations to include/Caps.
4613 + modify newwin to set initial state of each line to 'touched'
4614 (from patch by Peter Wemm <peter@spinner.dialix.com>)
4615 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander Lukyanov).
4618 + ifdef'd out _nc_hash_map (still slower)
4619 + add graphic characters to vt52 description.
4620 + use PutAttrChar in ClrToEOL to ensure proper background, position.
4621 + simplify/correct logic in 'mvcur()' that does wrapping; it was
4622 updating the position w/o actually moving the cursor, which broke
4624 + ensure that 'doupdate()' sets the .oldindex values back to a sane
4625 state; this was causing a spurious refresh in ncurses 'r'.
4626 + add logic to configure (from vile) to guard against builders who
4627 don't remove config.cache & config.status when doing new builds.
4628 + corrected logic for 'repeat_char' in EmitRange (from #317), which
4629 did not follow the 2-parameter scheme specified in XSI.
4630 + corrected logic of wrefresh, wnoutrefresh broken in #319, making
4631 clearok work properly (from report by Michael Elkins).
4632 + corrected problem with endwin introduced by #314 (removing the
4633 scrolling-region reset) that broke ncurses.c tests.
4634 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman
4635 <fischman@math.ucla.edu>).
4636 + corrected formatting of terminfo.5 tables (Juergen Ehling)
4637 > patch 320 by eric:
4639 + emit a carriage-return in 'endwin()' to workaround a kernel bug in
4640 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>)
4641 + reverse the default o configure --enable-termcap (consensus).
4642 > patch 319 by eric:
4643 + modified logic for clearok and related functions (from report by
4644 Michael Elkins) - untested
4645 > patch 318 by eric:
4646 + correction to #317.
4647 > patch 317 by eric:
4648 + re-add _nc_hash_map
4649 + modify EmitRange to maintain position as per original design.
4650 + add hashtest.c, program to time the hashmap optimization.
4651 > patch 316 by eric:
4652 + add logic to deal with magic-cookie (how was this tested?)
4654 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c
4655 > patch 315 by eric:
4656 + merged A. Lukyanov's patch to use ech and rep - untested
4658 + modified handling of interrupted system calls - untested
4659 (lib_getch.c, lib_twait.c).
4660 + new function _nc_mvcur_resume()
4661 + fix return value for 'overlay()', 'overwrite()'
4664 + implement subwindow-logic in wresize, minor fixes to ncurses 'g'
4666 + corrected bracketing of fallback.c (reported/suggested fix by Juergen
4667 Ehling <eh@eclipse.aball.de>).
4668 + update xterm-color to reflect XFree86 3.1.3G release.
4669 + correct broken dtterm description from #314 patch (e.g., spurious
4670 newline. The 'pairs' change might work, but no one's tested it
4672 + clarify the documentation for the builtin form fieldtypes (Juergen
4674 > patch 314 by eric:
4675 + Enhancement suggested by A. Lukyanov -- reset scroll region on
4676 startup rather than at wrapup time.
4677 + Fix suggested by A. Lukyanov, make storage of palette tables
4678 and their size counts per-screen for multi-terminal applications.
4679 + Improved error reporting for infotocap translation errors.
4680 + Update terminfo.src to 9.13.14.
4683 + rewrote wgetstr to make it erase control chars and also fix bogus use
4684 of _nc_outstr which caused the display to not wrap properly (display
4685 problem reported by John M. Flinchbaugh <glynis@netrax.net>)
4686 + modify ncurses 'f' test to accommodate terminal responses to C1 codes
4687 (and split up this screen to accommodate non-ANSI terminals).
4688 + test enter_insert_mode and exit_insert_mode in has_ic().
4689 + removed bogus logic in mvcur that assumes nl/nonl set output modes
4690 (XSI says they are input modes; SVr4 implements this).
4691 + added macros SET_TTY, GET_TTY to term.h
4692 + correct getstr() logic that altered terminal modes w/o restoring.
4693 + disable ICRNL, etc., during initialization to match SVr4, removing
4694 the corresponding logic from raw, cbreak, etc.
4695 + disable ONLCR during initialization, to match SVr4 (this is needed
4696 for cursor optimization when the cursor-down is a newline).
4697 + replaced Eric's imitation of wresize with my original (his didn't
4701 + memory leaks (Alexander V. Lukyanov).
4702 + modified pnoutrefresh() to be more tolerant of too-large screen
4703 size (reported by Michael Elkins).
4704 + correct handling of terminfo files with no strings (Philippe De
4706 + correct "tic -s" to take into account -I, -C options.
4707 + modify ncurses 'f' test to not print codes 80 through 9F, since they
4708 are considered control codes by ANSI terminals.
4711 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm)
4712 + make "--enable-getcap" configuration-option work (reported by
4713 Peter Wemm <peter@spinner.DIALix.COM>)
4716 + correct err in 960817 that changed return-value of tigetflag()
4717 (reported by Alexander V. Lukyanov).
4718 + modify infocmp to use library default search-path for terminfo
4719 directory (Alexander V. Lukyanov).
4722 + corrected an err in mvcur that broke resizing-behavior.
4723 + correct fall-thru behavior of _nc_read_entry(), which was not finding
4724 descriptions that existed in directories past the first one searched
4725 (reported by Alexander V. Lukyanov)
4726 + corrected typo in dtterm description.
4727 > patch 313 by eric:
4728 + add dtterm description
4729 + clarify ncurses 'i' test (drop vscanf subtest)
4732 + correct nl()/nonl() to work as per SVr4 & XSI.
4733 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code)
4734 + refine configure-test for -g option (Tim Mooney).
4735 + correct interaction between O_BLANK and NEW_LINE request in form
4736 library (Juergen Pfeifer)
4739 + revised fix to tparm; previous fix reversed parameter order.
4740 > patch 312 by eric:
4741 correct terminfo.src corrupted by #310
4742 > patch 311 by eric:
4743 + fix idlok() and idcok() and the default of the idlok switch.
4746 + corrected tparm to handle capability strings without explicit pop
4747 (reported by William P Setzer)
4748 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users
4749 (reported by Tim Mooney).
4750 > patch 310 by eric:
4751 + documentation and prototyping errors for has_color, immedok and idcok
4752 (reported by William P Setzer <wsetzer@pams.ncsu.edu>)
4753 + updated qnx terminfo entry (by Michael Hunter)
4756 + eliminate quoted includes in ncurses subdirectory, ensure config.h
4758 + newterm initializes terminal settings the same as initscr (reported
4762 + call cbreak() in initscr(), as per XSI & SVr4.
4763 + turn off hardware echo in initscr() as per XSI & SVr4
4764 > patch 309 by eric:
4765 + terminfo changes (9.3.10), from BRL
4766 + add more checks to terminfo parser.
4767 + add more symbols to infocmp.
4770 + save previous-attribute in lib_vidattr.c if SP is null (reported by
4771 Ju"rgen Fluk <louis@dachau.marco.de>)
4772 + corrected calls on _nc_render so that background character is set
4774 + corrected wbkgdset macro (XSI allows background character to be
4775 null), and tests that use it.
4776 + more corrections to terminfo (xterm & rxvt)
4777 + undid change to mcprint prototype (cannot use size_t in curses.h
4778 because not all systems declare it in the headers that we can safely
4780 + move the ifdefs for errno into curses.priv.h
4781 > patch 308 by eric:
4782 + terminfo changes (9.3.8)
4783 + modified logic of error-reporting in terminfo parser
4786 + always check for <sys/bsdtypes.h> since ISC needs it to declare
4787 fd_set (Juergen Pfeifer)
4788 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported
4789 by several people: Juergen Pfeifer, Mike Long)
4790 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer)
4791 + corrected prototype for delay_output() -- bump ABI to 3.2
4792 + terminfo patches #306/307 from Eric.
4793 + moved logic that filters out rmul and rmso from setupterm to newterm
4794 where it is less likely to interfere with termcap applications.
4797 + rollback Eric's #305 change to terminfo.src (it breaks existing
4798 applications, e.g., 'less 290').
4799 + correct path of edit_man.sh, and fix typo that made all man-pages
4801 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops).
4802 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by
4803 Philippe De Muyter).
4806 + make lib_vidattr.c more readable using macros.
4807 + filter out rmul, rmso that conflict with sgr0 when reading terminal
4809 + added sanity-checking of various paired string attributes (Eric).
4810 + work around autoconf bug, force $INSTALL to absolute path.
4812 + modify man-page install for BSDI to install preformatted .0 files
4813 (reported by David MacKenzie).
4814 + add/use gcc __attribute__ for printf and scanf in curses.h
4815 + added SGR attributes test-case to ncurses
4816 + revised ncurses 't' logic to show trace-disable effect in the menu.
4817 + use getopt in ncurses program to process -s and -t options.
4818 + make ncurses 'p' legend toggle with '?'
4819 + disable scrollok during the ncurses 'p' test; if it is enabled the
4820 stdscr will scroll when putting the box-corners in the lower-right
4824 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for
4825 terminals with no scrolling-support (reported by Nikolay Shadrin
4826 <queen@qh.mirea.ac.ru>)
4827 + added ^S scrollok-toggle to ncurses 'g' test.
4828 + added ^T trace-toggle to ncurses tests.
4829 + modified ncurses test program to use ^Q or ESC consistently for
4830 terminating tests (rather than ^D), and to use control keys rather
4831 than function keys in 'g' test.
4832 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping
4833 (reported by Philippe De Muyter).
4834 + modify lib_doupdate.c to use effective costs to tradeoff between
4835 delete-character/insert-character vs normal updating (reported by
4837 + compute effective costs for screen update operations (e.g., clr_eos,
4839 + corrected error in knight.c exposed by wrap fixes in 960622; the
4840 msgwin needed scrollok set.
4841 + corrected last change to IDcTransformLine logic to avoid conflict
4842 between PutRange and InsStr
4843 + modified run_tic.sh to not use /usr/tmp (reported by David
4844 MacKenzie), and further revised it and aclocal.m4 to use $TMPDIR if
4846 + corrected off-by-one in RoomFor call in read_entry.c
4849 + modified logic that wraps cursor in addch to follow the XSI spec,
4850 (implemented in SVr4) which states that the cursor position is
4851 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the
4853 + added -s option to tic, to provide better diagnostics in run_tic.sh
4854 + improved error-recovery for tabset install.
4855 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added
4856 _yoffset to WINDOW).
4857 + modified initialization of SP->_ofp so that init_acs() is called with
4858 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au>
4859 + documentation fixes (Juergen Pfeifer).
4860 + corrected, using new SCREEN and WINDOW members, the behavior of
4861 ncurses if one uses ripoffline() to remove a line from the top of the
4862 screen (Juergen Pfeifer).
4863 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to
4864 ncurses (Juergen Pfeifer).
4865 + incorrect buffer-size in _nc_read_entry, reported by Eric Raymond.
4868 + corrected two logic errors in read_entry.c, write_entry.c (called by
4869 tic, the write/read of terminfo entries used inconsistent rules for
4870 locating the entries; the $TERMINFO_DIRS code would find only the
4871 first entry in a list).
4872 + refined pathname computation in run_tic.sh and shlib.
4873 + corrected initialization of $IP in misc/run_tic.sh
4876 + ifdef'd out _nc_hash_map() call because it does not improve speed.
4877 + display version of gcc if configure script identifies it.
4878 + modify configure script to use /usr as Linux's default prefix.
4879 + modify run_tic.sh to use shlib script, fixes some problems installing
4880 with a shared-library configuration.
4881 + adjusted configure script so that it doesn't run tests with the
4882 warnings turned on, which makes config.log hard to read.
4883 + added 'lint' rule to top-level Makefile.
4884 + added configure option '--with-install-prefix' for use by system
4885 builders to install into staging locations (from request by
4886 charles@comm.polymtl.ca)
4887 + corrected autoconfigure for Debian man program; it's not installed
4889 + set noecho in 'worm'; it was ifdef'd for debug only
4890 + updated test/configure.in for timing-display in ncurses 'p' test
4891 + corrected misspelled 'getbkgd()'.
4892 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part
4893 to blank if no character given, copies attributes to window's
4895 + modified lib_doupdate.c to use lower-level SP's current_attr state
4896 instead of curscr's state, since it is redundant.
4897 + correction to IDcTransformLine logic which controls where InsStr is
4898 invoked (refined by lav@yars.free.net).
4899 > patches 303 by eric
4900 + conditionally include Chris Torek's hash function _nc_hash_map().
4901 + better fix for nvi refresh-bug (Rick Marshall)
4902 + fix for bug in handling of interrupted keystroke waits,
4906 + auto-configure man-page compression-format and renames for Debian.
4907 + corrected several typos in curses.h.in (i.e., the mvXXXX macros).
4908 + re-order curses.priv.h for lint.
4909 + added rules for lintlib, lint
4910 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in
4911 + corrected missing INSTALL_DATA in misc/Makefile.in
4912 + flush output when changing cursor-visibility (Rick Marshall)
4913 + fix a minor bug in the _nc_ripoff() routine and improve error
4914 checking when creating the label window (Juergen Pfeifer).
4915 + enhancement to the control over the new PC-style soft key format.
4916 allow caller now to select whether or not one wants to have
4917 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer).
4918 + typos, don't use inline with -g (Philippe De Muyter)
4919 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer)
4922 + removed --with-ticdir option altogether, maintain compatibility with
4923 existing applications via symbolic link in run_tic.sh
4924 + patch for termio.h, signal (Philippe De Muyter)
4925 + auto-configure gcc warning options rather than infer from version.
4926 + auto-configure __attribute__ for different gcc versions.
4927 + corrected special use of clearok() in hardscroll.c by resetting flag
4929 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1.
4930 + include sys/types.h in case stdlib.h does not declare size_t.
4931 + fixes for makefile (Tim Mooney)
4932 + fixes for menus & forms (Juergen.Pfeifer@T-Online.de)
4935 + revised ncurses.c panner test, let pad abut all 4 sides of screen.
4936 + refined case in lib_doupdate.c for ClrToEOL().
4937 + corrected prior change for PutRange (Alexander V. Lukyanov:
4939 + autoconf mods (Tim Mooney: mooney@dogbert.cc.ndsu.NoDak.edu).
4940 + locale fix for forms (Philippe De Muyter: phdemuyt@ulb.ac.be)
4941 + renamed "--with-datadir" option to "--with-ticdir" to avoid
4942 confusion, and made this check for the /usr/lib/terminfo pre-existing
4944 > patches 299-301 by eric:
4946 + mods to tracing, especially for ACS chars.
4947 + corrected off-by-one in IDCtransform.
4948 + corrected intermittent mouse bug by using return-value from read().
4949 + mods to parse_entry.c, for smarter defaults.
4952 + use getopt in 'tic'; added -L option and modified -e option to allow
4956 + don't use fixed buffer-size in tparm().
4957 + modified tic to create terminfo directory if it doesn't exist.
4958 + added -T options to tic and infocmp (for testing/analysis)
4959 + refined the length criteria for termcap and terminfo
4960 + optimize lib_doupdate with memcpy, PutRange
4961 > patches 297, 298 by eric
4962 + implement TERMINFO_DIRS, and -o option of tic
4963 + added TRACE_IEVENT
4964 + removed boolean version of 'getm'
4965 + added lib_print.c (for Rick Marshall)
4967 + added 't' to ncurses.c test.
4968 + moved delay_output() to lib_tputs.c
4970 + misc cursor & optimization fixes.
4973 + modified ncurses 'p' test to allow full-screen range for panner size.
4974 + fixes for locale (phdm@labauto1.ulb.ac.be)
4975 + don't use fixed buffer-size in fmt_entry().
4976 + added usage-message to 'infocmp'.
4977 + modified install.includes rules to prepend subdirectory-name to
4978 "#include" if needed.
4981 + protect wrefresh, wnoutrefresh from invocation with pad argument.
4982 + corrected default CCFLAGS in test/Makefile.
4985 + implemented logic to support terminals with background color erase
4986 (e.g., rxvt and the newer color xterm).
4987 + improved screen update logic (off-by-one logic error; use clr_eos if
4991 + change ncurses 'a' test to run in raw mode.
4992 + make TIOCGWINSZ configure test less stringent, in case user
4993 configures via terminal that cannot get screen size.
4994 > patches 295, 296 by eric:
4995 + new "-e" option of tic.
4996 + fix for "infocmp -e".
4997 + restore working-directory in read_termcap.c
4998 + split lib_kernel.c, lib_setup.c and names.c in order to reduce
4999 overhead for programs that use only termcap features.
5003 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct
5004 definitions via <termios.h>, modified macros in lib_raw.c to avoid
5005 K&R-style substitution)
5006 > patches 293, 294 by eric:
5007 + mods to wgetch() in cooked mode
5008 + corrected askuser() logic in tset
5009 + correct interaction of endwin() with mouse processing
5010 + added trace support for TTY flags
5013 + fixes for NeXT, ISC and HPUX auto-configure
5014 + autogenerate development header-dependencies (config.h, *.priv.h)
5015 + corrected single-column formatting of "use=" (e.g., in tic)
5016 + modify tic to read full terminfo-names
5017 + corrected divide-by-zero that caused hang (or worse) when redirecting
5019 + modify tic to generate directories only as-needed (and corrected
5020 instance of use of data from function that had already returned).
5022 ### ncurses-1.9.8a -> 1.9.9e
5024 * fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
5025 copy-changed-lines behavior.
5026 * added and documented wresize() function.
5027 * more fixes to LOWER-RIGHT corner handling.
5028 * changed the line-breakout optimization code to allow some lines to be
5029 emitted before the first check.
5030 * added option for tic to use symbolic instead of hard links (for AFS)
5031 * fix to restore auto-wrap mode.
5032 * trace level can be controlled by environment variable.
5033 * better handling of NULs in terminal descriptions.
5034 * improved compatibility with observed SVR4 behavior.
5035 * the refresh behavior of over-lapping windows is now more efficient and
5037 * use autoconf 2.7, which results in a working setup for SCO 5.0.
5038 * support for ESCDELAY.
5039 * small fixes for menu/form code.
5040 * the test directory has its own configure.
5041 * fixes to pads when optimizing scrolling.
5042 * fixed several off-by-one bugs.
5043 * fixes for termcap->terminfo translation; less restrictions more correct
5046 ### ncurses-1.9.7 -> 1.9.8a
5048 * teach infocmp -i to recognize ECMA highlight sequences
5049 * infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C
5050 * support infocmp -RBSD.
5051 * satisfy XSI Curses requirement that every macro be available as a function.
5052 * This represents the last big change to the public interface of ncurses. The
5053 ABI_VERSION has now been set at 3.0 and should stay there barring any great
5054 catastrophies or acts of God.
5055 * The C++ has been cleaned up in reaction to the changes to satisfy XSI's
5057 * libncurses now gets linked to libcurses to help seamless emulation
5058 (replacement) of a vendor's curses. --disable-overwrite turns this behavior
5061 ### ncurses-1.9.6 -> 1.9.7
5063 * corrected return values of setupterm()
5064 * Fixed some bugs in tput (it does padding now)
5065 * fixed a bug in tic that made it do the wrong thing on entries with more than
5066 one `use' capability.
5067 * corrected the screen-size calculation at startup time to alter the
5068 numeric capabilities as per SVr4, not just LINES and COLS.
5069 * toe(1) introduced; does what infocmp -T used to.
5070 * tic(1) can now translate AIX box1 and font[0123] capabilities.
5071 * tic uses much less core, the dotic.sh kluge can go away now.
5072 * fix read_entry() and write_entry() to pass through cancelled capabilities OK.
5073 * Add $HOME/.terminfo as source/target directory for terminfo entries.
5074 * termcap compilation now automatically dumps an entry to $HOME/.terminfo.
5075 * added -h option to toe(1).
5076 * added -R option to tic(1) and infocmp(1).
5077 * added fallback-entry-list feature.
5078 * added -i option to infocmp(1).
5079 * do a better job at detecting if we're on SCO.
5081 ### ncurses-1.9.5 -> 1.9.6
5083 * handling of TERMCAP environment variables now works correctly.
5084 * various changes to shorten termcap translations to less that 1024 chars.
5086 * mouse support for xterm.
5087 * most data tables are now const and accordingly live in shareable text space.
5088 * Obey the XPG4/SVr4 practice that echo() is initally off.
5089 * tic is much better at translating XENIX and AIX termcap entries now.
5090 * tic can interpret ko capabilities now.
5091 * integrated Juergen Pfeifer's forms library.
5092 * taught write_entry() how not to write more than it needs to; this change
5093 reduces the size of the terminfo tree by a full 26%!
5094 * infocmp -T option added.
5095 * better warnings about historical tic quirks from tic.
5097 ### ncurses 1.9.4 -> 1.9.5
5099 * menus library is now included with documentation.
5100 * lib_mvcur has been carefully profiled and tuned.
5101 * Fixed a ^Z-handling bug that was tanking lynx(1).
5102 * HJ Lu's patches for ELF shared libraries under Linux
5103 * terminfo.src 9.8.2
5104 * tweaks for compiling in seperate directories.
5105 * Thomas Dickey's patches to support NeXT's brain-dead linker
5106 * Eric Raymond's patches to fix problems with long termcap entries.
5107 * more support for shared libraries under SunOS and IRIX.
5109 ### ncurses 1.9.3 -> 1.9.4
5111 * fixed an undefined-order-of-evaluation bug in lib_acs.c
5112 * systematically gave non-API public functions and data an _nc_ prefix.
5113 * integrated Juergen Pfeifer's menu code into the distribution.
5114 * totally rewrote the knight test game's interface
5116 ### ncurses 1.9.2c -> 1.9.3
5118 * fixed the TERMCAP_FILE Support.
5119 * fixed off-by-one errors in scrolling code
5120 * added tracemunch to the test tools
5121 * took steps to cut the running time of make install.data
5123 ### ncurses 1.9.2c -> 1.9.2d
5125 * revised 'configure' script to produce libraries for normal, debug,
5126 profile and shared object models.
5128 ### ncurses 1.9.1 -> 1.9.2
5130 * use 'autoconf' to implement 'configure' script.
5131 * panels support added
5132 * tic now checks for excessively long termcap entries when doing translation
5133 * first cut at eliminating namespace pollution.
5135 ### ncurses 1.8.9 -> 1.9
5137 * cleanup gcc warnings for the following: use size_t where 'int' is not
5138 appropriate, fixed some shadowed variables, change attr_t to compatible with
5139 chtype, use attr_t in some places where it was confused with 'int'.
5140 * use chtype/attr_t casts as appropriate to ensure portability of masking
5142 * added-back waddchnstr() to lib_addstr.c (it had been deleted).
5143 * supplied missing prototypes in curses.h
5144 * include <termcap.h> in lib_termcap.c to ensure that the prototypes
5145 are consistent (they weren't).
5146 * corrected prototype of tputs in <termcap.h>
5147 * rewrote varargs parsing in lib_tparm.c (to avoid referencing memory
5148 that may be out of bounds on the stack) -- Purify found this.
5149 * ensure that TRACE is defined in lib_trace.c (to solve prototype
5151 * corrected scrolling-region size in 'mvcur_wrap()'
5152 * more spelling fixes
5153 * use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify).
5154 * set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps
5155 core in init_acs()).
5156 * include <errno.h> in write_entry.c (most "braindead" includes declare errno
5159 ### ncurses 1.8.8 -> 1.8.9
5161 * compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes
5162 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out
5163 non-portable use of "%x" for pointers, or for chtype data (which is declared
5165 * modified doupdate to ensure that typahead was turned on before attempting
5166 select-call (otherwise, some implementations hang).
5167 * added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer
5168 resolution of traces.
5169 * improved bounds checking on several critical functions.
5170 * the data directory has been replaced by the new master terminfo file.
5171 * -F file-comparison option added to infocmp.
5172 * compatibility with XSI Curses is now documented in the man bages.
5173 * wsyncup/wsyncdown functions are reliable now; subwindow code in general
5175 * capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char,
5176 memory_above, memory_below, and hard_copy are now used properly.
5177 * cursor-movement optimization has been completely rewritten.
5178 * vertical-movement optimization now uses hardware scrolling, il, dl.
5180 ### ncurses 1.8.7 -> 1.8.8
5181 * untic no longer exists, infocmp replaces it.
5182 * tic can understand termcap now, especially if it is called captoinfo.
5183 * The Linux Standard Console terminfo entry is called linux insead of console.
5184 It also uses the kernel's new method of changing charsets.
5185 * initscr() will EXIT upon error (as the docs say) This wil mostly happen if
5186 you try to run on an undefined terminal.
5187 * I can get things running on AIX but tic can't compile terminfo. I have to
5188 compile entries on another machine. Volunteers to hunt this bug are welcome.
5189 * wbkgd() and wbkgdset() can be used to set a windows background to color.
5190 wclear()/werase() DO NOT use the current attribute to clear the screen.
5191 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect,
5192 though PDCurses 2.2 has been fixed.
5193 * cleaned up the test/ directory.
5194 * test/worm will segfault after quite a while.
5195 * many spelling corrections courtesy of Thomas E. Dickey
5197 ### ncurses 1.8.6 -> 1.8.7
5198 * cleaned up programs in test/ directory.
5199 * fixed wbkgdset() macro.
5200 * modified getstr() to stop it from advancing cursor in noecho mode.
5201 * modified linux terminfo entry to work with the latest kernel to get
5202 the correct alternate character set.
5203 * also added a linux-mono entry for those running on monochrome screens.
5204 * changed initscr() so that it behaves like the man page says it does.
5205 this fixes the problem with programs in test/ crashing with SIGSEV if
5206 a terminal is undefined.
5207 * modified addch() to avoid using any term.h #define's
5208 * removed duplicate tgoto() in lib_tparm.c
5209 * modified dump_entry.c so that infocmp deals correctly with ',' in acsc
5210 * modified delwin() to correctly handle deleting subwindows.
5211 * fixed Makefile.dist to stop installing an empty curses.h
5212 * fixed a couple of out-of-date notes in man pages.
5214 ### ncurses 1.8.5 -> 1.8.6
5215 * Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset().
5216 * The handling of attributes has been improved and now does not turn off color
5217 if other attributes are turned off.
5218 * scrolling code is improved. Scrolling in subwindows is still broken.
5219 * Fixes to several bugs that manifest them on platforms other than Linux.
5220 * The default to meta now depends on the status of the terminal when ncurses
5222 * The interface to the tracing facility has changed. Instead of the pair of
5223 functions traceon() and traceoff(), there is just one function trace() which
5224 takes a trace mask argument. The trace masks, defined in curses.h, are
5227 #define TRACE_DISABLE 0x00 /* turn off tracing */
5228 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */
5229 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */
5230 #define TRACE_MAXIMUM 0x0f /* maximum trace level */
5232 More trace masks may be added, or these may be changed, in future releases.
5233 * The pad code has been improved and the pad test code in test/ncurses.c has
5235 * The prototype ansi entry has been changed to work with a wider variety
5237 * Fix to the prototype ansi entry that enables it to work with PC emulators
5238 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't
5239 break operation with any emulators.
5240 * There are now working infocmp, captoinfo, tput, and tclear utilities.
5241 * tic can now compile entries in termcap syntax.
5242 * Core-dump bug in pnoutrefresh fixed.
5243 * We now recognize and compile all the nonstandard capabilities in Ross
5244 Ridge's mytinfo package (rendering it obsolete).
5245 * General cleanup and documentation improvements.
5246 * Fixes and additions to the installation-documentation files.
5247 * Take cursor to normal mode on endwin.
5249 ### ncurses 1.8.4 -> 1.8.5
5250 * serious bugs in updating screen which caused erratic non-display,
5252 * fixed initialization for getch() related variable which cause
5253 unpredictable results.
5254 * fixed another doupdate bug which only appeared if you have
5256 * implemented redrawln() and redrawwin().
5257 * implemented winsnstr() and related functions.
5258 * cleaned up insertln() and deleteln() and implemented (w)insdeln().
5259 * changed Makefile.dist so that installation of man pages will
5260 take note of the terminfo directory.
5261 * fixed Configure (removed the mysterious 'X').
5262 * Eric S. Raymond fixed the script.* files so that they work with
5265 #### ncurses 1.8.3 -> 1.8.4 #### ####
5266 * fixed bug in refreshing the screen after return from shell_mode.
5267 There are still problems but they don't manifest themselves on
5268 my machine (Linux 0.99.14f).
5269 * added wgetnstr() and modified things accordingly.
5270 * fixed the script.src script.test to work with awk not just gawk.
5271 * Configure can now take an argument of the target system.
5272 * added test/ncurses.c which replaces several other programs and
5273 performs more testing.
5274 [Thanks to Eric S Raymond for the last 4]
5275 * more fixes to lib_overlay.c and added test/over.c to illustrate
5277 * fixed ungetch() to take int instead of ch.
5278 * fixes to cure wgetch() if flushinp() is called.
5280 One note I forgot to mention in 1.8.3 is that tracing is off by
5281 default starting in the version. If you want tracing output, put
5282 traceon(); in your code and link with -ldcurses.
5284 #### ncurses 1.8.2 -> ncurses 1.8.3 #### ####
5286 1) The order of capabilities has been changed in order to achieve
5287 binary compatibility with SVR4 terminfo database. This has the
5288 unfortunate effect of breaking application currently linked with
5289 ncurses. To ensure correct behavior, recompile all such programs.
5290 Most programs using color or newer capabilities will break, others
5291 will probably continue to work ok.
5293 2) Pavel Curtis has renounced his copyright to the public domain.
5294 This means that his original sources (posted to comp.sources.unix,
5295 volume 1) are now in the public domain. The current sources are
5296 NOT in the public domain, they are copyrighted by me. I'm
5297 entertaining ideas on what the new terms ncurses is released under.
5299 3) Eric S. Raymond has supplied a complete set of man pages for
5300 ncurses in ?roff format. They will eventually replace most of the
5301 current docs. Both sets are included in this release.
5303 Other changes and notes from 1.8.2 include:
5304 * SIGSEGV during scrolling no longer occurs.
5305 * Other problems with scrolling and use of idl have been corrected.
5306 * lib_getch.c has been re-written and should perform flawlessly.
5307 please use test/getch.c and any other programs to test this.
5308 * ripoffline() is implemented (Thanks to Eric) and slk_ functions
5309 changed accordingly.
5310 * I've added support for terminals that scroll if you write in the
5311 bottom-right corner.
5312 * fixed more bugs in pads code. If anybody has a program that uses
5313 pads I'd love a copy.
5314 * correct handling for terminal with back_color_erase capability
5315 (such as Linux console, and most PC terminals)
5316 * ^Z handling apparently didn't work (I should never trust code
5317 sent me to me without extensive testing). It now seems to be
5318 fixed. Let me know if you have problems.
5319 * I've added support for Apollo and NeXT, but it may still be
5320 incomplete, especially when dealing with the lack of POSIX
5322 * scrolling should be more efficient on terminals with idl
5323 capabilities. Please see src/lib_scroll.c for more notes.
5324 * The line drawing routines were offset by 1 at both ends. This
5326 * added a few missing prototypes and macros (e.g. setterm())
5327 * fixed code in src/lib_overlay.c which used to crash.
5328 * added a few more programs in test/ The ones from the PDCurses
5329 package are useful, especially if you have SVR4 proper. I'm
5330 interested in the results you get on such a systems (Eric? ;-).
5331 They already exposed certain bugs in ncurses.
5332 * See src/README for porting notes.
5333 * The C++ code should really replace ncurses.h instead of working
5334 around it. It should avoid name-space clashes with nterm.h (use
5335 rows instead of lines, etc.)
5336 * The C++ should compile ok. I've added explicit rules to the
5337 Makefile because no C++ defaults are documented on the suns.
5338 * The docs say that echo() and nocbreak() are mutually exclusive.
5339 At the moment ncurses will switch to cbreak() if the case above
5340 occurs. Should it continue to do so? How about echo() and noraw()?
5341 * PDCurses seem to assume that wclear() will use current attribute
5342 when clearing the screen. According to Eric this is not the case
5344 * I have discovered, to my chagrin, SunOS 4.x (and probably other systems)
5345 * doesn't have vsscanf and God knows what else! I've will do a vsscanf().
5346 * I've also found out that the src/script.* rely on gawk and will not
5347 work with stock awk or even with nawk. Any changes are welcome.
5348 * Linux is more tolerant of NULL dereferences than most systems. This
5349 fact was exposed by hanoi.
5350 * ncurses still seems inefficient in drawing the screen on a serial
5351 link between Linux and suns. The padding may be the culprit.
5352 * There seems to be one lingering problem with doupdate() after shelling
5353 out. Despite the fact the it is sending out the correct information
5354 to the terminal, nothing takes effect until you press ^L or another
5355 refresh takes place. And yes, output does get flushed.
5357 #### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 ####
5359 * added support for SVR4 and BSDI's BSD/386.
5360 * major update and fix to scrolling routine.
5361 * MORE fixes to stuff in lib_getch.c.
5362 * cleaned-up configuration options and can now generate
5363 Config.* files through an awk script.
5364 * changed setupterm() so it can be called more than once,
5365 add added set_curterm(), del_curterm().
5366 * a few minor cleanups.
5367 * added more prototypes in curses.h
5369 #### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 ####
5371 * added support for NeXTStep 3.0
5372 * added termcap emulation (not well tested).
5373 * more complete C++ interface to ncurses.
5374 * fixed overlay(), overwrite(), and added copywin().
5375 * a couple of bug fixes.
5376 * a few code cleanups.
5378 #### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 ####
5380 * The annoying message "can't open file." was due to missing
5381 terminfo entry for the used terminal. It has now been
5382 replaced by a hopefully more helpful message.
5383 * Problems with running on serial lines are now fixed.
5384 * Added configuration files for SunOS, Linux, HP/UX, Ultrix,
5385 386bsd/BSDI (if you have others send'em to me)
5387 * The documentation in manual.doc is now more uptodate.
5388 * update optimization and support for hp terminals, and 386bsd
5390 * mvcur optimization for terminals without cursor addressing
5391 (doesn't work on Linux)
5392 * if cursor moved since last update, getch() will refresh the
5393 screen before working.
5394 * getch() & alarm() can now live together. in 0.7.3 a signal
5395 interrupted getch() (bug or feature?) now the getch is
5397 * scanw() et all were sick, now fixed.
5398 * support for 8-bit input (use meta()).
5399 * added default screen size to all terminfos.
5400 * added c++ Ncursesw class.
5401 * several minor bug fixes.
5403 #### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 ####
5405 * Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS)
5406 * more fixes to lib_getch.c
5407 * changes related to Config
5409 #### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 ####
5411 * docs updated slightly (color usage is now documented).
5412 * yet another fix for getch(), this one fixes problems with ESC being swallowed
5413 if another character is typed before the 1 second timeout.
5414 * Hopefully, addstr() and addch() are 8-bit clean.
5415 * fixed lib_tparm.c to use stdarg.h (should run on suns now)
5416 * order of capabilities changed to reflect that specified in SYSV
5417 this will allow for binary-compatibility with existing terminfo dbs.
5419 * fixed problems with asc_init()
5420 * added A_PROTECT and A_INVIS
5421 * cleaned up vidputs()
5422 * general cleanup of the code
5423 * more attention to portability to other systems
5424 * added terminfos for hp70092 (wont work until changes to lib_update.c are
5425 made) and 386BSD pcvt drivers.
5427 Thanks to Hellmuth Michaelis for his help.
5428 optimization code is slated for the next major release, stay tuned!
5430 #### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993
5431 Please note that the next release will be called 1.8. If you want to know about
5432 the rationale drop me a line.
5434 Included are several test programs in test/.
5435 I've split up the panels library, reversi, tetris, sokoban. They are now
5436 available separately from netcom.com:pub/zmbenhal/
5438 * color and ACS support is now fully compatible with SYSV at the terminfo
5440 * Capabilities now includes as many SYSV caps I could find.
5441 * tigetflag,tigetnum,tigetstr functions added.
5442 * boolnames, boolfnames, boolcodes numnames, numfnames, numcodes,
5443 strnames, strfnames, strcodes arrays are now added.
5444 * keyname() is added.
5445 * All function keys can be defined in terminfo entries.
5446 * fixed lin_tparm.c to behave properly.
5447 * terminfo entries for vt* and xterm are included (improvements are welcome)
5448 * more automation in handling caps and keys.
5449 * included fixes from 0.6.1
5450 * added a few more missing functions.
5451 * fixed a couple of minor bugs.
5452 * updated docs JUST a little (still miles behind in documenting the newer
5455 #### ncurses 0.6 -> ncurses 0.61 ####
5457 1) Included the missing data/console.
5459 2) allow attributes when drawing boxes.
5461 3) corrected usage of win->_delay value.
5463 4) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would
5464 simply return the last character in the sequence. The correct
5465 behavior is to return the entire sequence one character at a time.
5467 #### ncurses0.5 -> ncurses0.6 #### March 1, 1993 ####
5468 * removed _numchngd from struct _win_st and made appropriate changes.
5469 * rewritten kgetch() to remove problems with interaction between alarm and
5470 read(). It caused SIGSEGV every now and then.
5471 * fixed a bug that miscounted the numbers of columns when updating.
5472 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1)
5473 * fixed a bug that cause the lower-right corner to be incorrect.
5474 (in lib_doupdate.c(putChar() -- check against columns not columns-1)
5475 * made resize() and cleanup() static to lib_newterm.c
5476 * added notimeout().
5477 * added timeout() define in curses.h
5478 * added more function prototypes and fixed napms.
5480 * moved screen size detection to lib_setup.c.
5481 * fixed newterm() to confirm to prototype.
5482 * removed SIGWINCH support as SYSV does not define its semantics.
5483 * cleaned-up lib_touch.c
5484 * added waddnstr() and relatives.
5485 * added slk_* support.
5486 * fixed a bug in wdeleteln().
5487 * added PANEL library.
5488 * modified Makefile for smoother installation.
5489 * terminfo.h is really term.h
5491 #### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 ####
5492 * changed _win_st structure to allow support for missing functionality.
5493 * Addition of terminfo support for all KEY_*.
5494 * Support for nodelay(), timeout(), notimeout().
5495 * fixed a bug with the keypad char reading that did not return ESC until
5496 another key is pressed.
5497 * nl mapping no longer occur on output (as should be)
5498 fixed bug '\n' no causing a LF.
5499 * fixed bug that reset terminal colors regardless of whether we use color
5501 * Better support for ACS (not quite complete).
5502 * fixed bug in wvline().
5504 * changed from signal() to sigaction().
5505 * re-included the contents of important.patch into source.
5507 #### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 ####
5508 * Addition of more KEY_* definitions.
5509 * Addition of function prototypes.
5510 * Addition of several missing functions.
5511 * No more crashes if screen size is undefined (use SIGWINCH handler).
5512 * added a handler to cleanup after SIGSEGV (hopefully never needed).
5513 * changed SRCDIR from /etc/term to /usr/lib/terminfo.
5514 * renamed compile/dump to tic/untic.
5515 * New scrolling code.
5516 * fixed bug that reversed the sense of nl() and nonl().
5518 #### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 ####
5519 * more support for color and graphics see test/ for examples.
5520 * fixed various files to allow correct update after shelling out.
5521 * more fixes for updates.
5522 * no more core dumps if you don't have a terminfo entry.
5523 * support for LINES and COLUMNS environment variables.
5524 * support for SIGWINCH signal.
5525 * added a handler for SIGINT for clean exits.
5527 #### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 ####
5528 * support for color.
5529 * support for PC graphic characters.
5530 * lib_trace.c updated to use stdarg.h and vprintf routines.
5531 * added gdc.c (Great Digital Clock) as an example of using color.
5533 #### ncurses -> ncurses 0.1 #### Jul 31, 1992 ####
5534 * replacing sgtty stuff by termios stuff.
5535 * ANSIfication of some functions.
5536 * Disabling cost analysis 'cause it's incorrect.
5537 * A quick hack for a terminfo entry.