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