1-- $Id: NEWS,v 1.599 2000/10/10 01:02:11 tom Exp $ 2 3This is a log of changes that ncurses has gone through since Zeyd started 4working with Pavel Curtis' original work, pcurses, in 1992. 5 6Changes through 1.9.9e are recorded by Zeyd M. Ben-Halim. 7Changes since 1.9.9e are recorded by Thomas Dickey. 8 920001009 10 + correct order of options/parameters in run_tic.in invocation of tic, 11 which did not work with standard getopt() (reported by Ethan 12 Butterfield <primus@veris.org>). 13 + correct logic for 'reverse' variable in lib_vidattr.c, which was 14 setting it true without checking if newmode had A_REVERSE set, e.g., 15 using $TERM=ansi on OS/2 EMX (see 20000917). 16 > patch by Todd Miller: 17 + add a few missing use_terminfo_vars() and fixes up _nc_tgetent(). 18 Previously, _nc_cgetset() would still get called on cp so the 19 simplest thing is to set cp to NULL if !use_terminfo_vars(). 20 + added checks for an empty $HOME environment variable. 21 > patches by Ilya Zakharevich for OS/2 EMX: 22 + modify convert_configure.pl to support INSTALL. Change compiler 23 options in that script to use multithreading, needed for the mouse. 24 + modify OS/2 mouse support, retrying as a 2-button mouse if code fails 25 to set up a 3-button mouse. 26 + improve code for OS/2 mouse support, using _nc_timed_wait() to 27 replace select() call. 28 2920001007 30 + change type of ospeed variable back to short to match its use in 31 legacy applications (reported by Andrey A Chernov). 32 + add case to configure script for --enable-rpath on IRIX (patch by 33 Albert Chin-A-Young). 34 + minor fix to position_check() function, to ensure it gets the whole 35 cursor report before decoding. 36 + add configure option --disable-assumed-color, to allow pre-5.1 37 convention of default colors used for color-pair 0 to be configured 38 (see assume_default_colors()). 39 + rename configure option --enable-hashmap --disable-hashmap, and 40 reorder the configure options, splitting the experimental and 41 development 42 + add configure option --disable-root-environ, which tells ncurses to 43 disregard $TERMINFO and similar environment variables if the current 44 user is root, or running setuid/setgid (based on discussion with 45 several people). 46 + modified misc/run_tic.in to use tic -o, to eliminate dependency on 47 $TERMINFO variable for installs. 48 + add table entry for plab_norm to tput, so it passes in strings 49 for that capability. 50 + modify parse_format() in lib_tparm.c to ignore precision if it is 51 longer than 10000 (report by Jouko Pynnonen). 52 + rewrote limit checks in lib_mvcur.c using new functions 53 _nc_safe_strcat(), etc. Made other related changes to check lengths 54 used for strcat/strcpy (report by Jouko Pynnonen <jouko@solutions.fi>). 55 5620000930 57 + modify several descriptions, including those for setaf, setab, in 58 include/Caps to indicate that the entries are parameterized. This 59 information is used to tell which strings are translated when 60 converting to termcap. Fixes a problem where the generated termcap 61 would contain a spurious "%p1" for the terminfo "%p1%d". 62 + modify ld -rpath options (e.g., Linux, and Solaris) to use an 63 absolute pathname for the build tree's lib directory (prompted by 64 discussion with Albert Chin-A-Young). 65 + modify "make install.man" and "make uninstall.man" to include tack's 66 man-page. 67 + various fixes for install scripts used to support configure --srcdir 68 and --with-install-prefix (reported by Matthew Clarke 69 <Matthew_Clarke@mindlink.bc.ca>). 70 + make configure script checks on variables $GCC and $GXX consistently 71 compare against 'yes' rather than test if they are nonnull, since 72 either may be set to the corresponding name of the C or C++ compiler 73 (report/patch by Albert Chin-A-Young). 74 7520000923 76 + modify rs2 capability in xterm-r6 and similar where cursor 77 save/restore bracketed the sequence for resetting video attributes. 78 The cursor restore would undo that (from a NetBSD bug report by John 79 Hawkinson <jhawk@MIT.EDU>). 80 + using parameter check added to tic, corrected 27 typos in 81 terminfo.src -TD 82 + modify tic to verify that its inputs are really files, in case 83 someone tries to read a directory (or /dev/zero). 84 + add a check for empty buffers returned by fgets() in comp_scan.c 85 next_char() function, in case tic is run on a non-text file (fixes 86 a core dump reported by Aaron Campbell <aaron@cs.dal.ca>). 87 + add to railroad.c some code exercising tgoto(), providing an 88 alternate form of display if the terminal supports cursor addressing. 89 + split-out tgoto() again, this time into new file lib_tgoto.c, and 90 implement a conventional BSD-style tgoto() which is used if the 91 capability string does not contain terminfo-style padding or 92 parameters (requested by Andrey A Chernov). 93 + add check to tic which reports capabilities that do not reference 94 the expected number of parameters. 95 + add error checking to infocmp's -v and -m options to ensure that 96 the option value is indeed a number. 97 9820000917 99 + add S0, E0 extensions to screen's terminfo entry, which is another 100 way to solve the misconfiguration issue -TD 101 + completed special case for tgoto from 20000916 102 10320000916 104 + update xterm terminfo entries to match XFree86 xterm patch #146 -TD 105 + add Matrix Orbital terminfo entries (from Eric Z Ayers 106 <eric@ale.org>). 107 + add special case to lib_tparm.c to allow 'screen' program to use a 108 termcap-style parameter "%." to tgoto() for switching character sets. 109 + use LN_S substitution in run_tic.in, to work on OS/2 EMX which has 110 no symbolic links. 111 + updated notes in README.emx regarding autoconf patches. 112 + replace a lookup table in lib_vidattr.c used to decode no_color_video 113 with a logic expression (suggested by Philippe Blain). 114 + add a/A toggle to ncurses.c 'b' test, which clears/sets alternate 115 character set attribute from the displayed text. 116 + correct inequality in parameter analysis of rewritten lib_tparm.c 117 which had the effect of ignoring p9 in set_attributes (sgr), breaking 118 alternate character set (reported by Piotr Majka <charvel@link.pl>). 119 + correct ifdef'ing for GCC_PRINTF, GCC_SCANF which would not compile 120 with Sun WorkShop compilers since these tokens were empty (cf: 121 20000902, reported by Albert Chin-A-Young). 122 12320000909 124 + correct an uninitialized parameter to open_tempfile() in tic.c which 125 made "tic -I" give an ambiguous error message about tmpnam. 126 + add special case in lib_vidattr.c to reset underline and standout for 127 devices that have no sgr0 defined (patch by Don Lewis 128 <Don.Lewis@tsc.tdk.com>). Note that this will not work for bold 129 mode, since there is no exit-bold-mode capability. 130 + improved patch for Make_Enum_Type (patch by Juergen Pfeifer). 131 + modify tparm to disallow arithmetic on strings, analyze the varargs 132 list to read strings as strings and numbers as numbers. 133 + modify tparm's internal function spop() to treat a null pointer as 134 an empty string. 135 + modify tput program so it can be renamed or invoked via a link as 136 'reset' or 'init', producing the same effect as 'tput reset' or 'tput 137 init'. 138 + add private entrypoint _nc_basename(), use to consolidate related 139 code in progs, as well as accommodating OS/2 EMX pathnames. 140 + remove NCURSES_CONST line from edit_cfg.sh to compensate for its 141 removal (except via AC_SUBST) from configure.in, making --enable-const 142 work again (reported by Juergen Pfeifer). 143 + regen'd configure to pick up "hpux*" change from 20000902. 144 14520000902 146 + modify tset.c to check for transformed "reset" program name, if any. 147 + add a check for null pointer in Make_Enum_Type() (reported by Steven 148 W Orr <steveo@world.std.com>). 149 + change functions _nc_parse_entry() and postprocess_termcap() to avoid 150 using strtok(), because it is non-reentrant (reported by Andrey A 151 Chernov <ache@nagual.pp.ru>). 152 + remove "hpux10.*" case from CF_SHARED_OPTS configure script macro. 153 This differed from the "hpux*" case by using reversed symbolic 154 links, which made the 5.1 version not match the configuration of 155 5.0 shared libraries (reported by Albert Chin-A-Young). 156 + correct a dependency in Ada95/src/Makefile.in which prevented 157 building with configure --srcdir (patch by H Nanosecond 158 <aldomel@ix.netcom.com>). 159 + modify ifdef's in curses.h.in to avoid warning if GCC_PRINTF or 160 GCC_SCANF was not previously defined (reported by Pavel Roskin 161 <proski@gnu.org>). 162 + add MKncurses_def.sh to generate fallback definitions for 163 ncurses_cfg.h, to quiet gcc -Wundef warnings, modified ifdef's in 164 code to consistently use "#if" rather than "#ifdef". 165 16620000826 167 + add QNX qansi entries to terminfo -TD 168 + add os2 entry to misc/emx.src (<jmcoopr@webmail.bmi.net>). 169 + add configure option --with-database to allow specifying a different 170 terminfo source-file to install. On OS/2 EMX, this defaults to 171 misc/emx.src 172 + change misc/run_tic.sh to derive it from misc/run_tic.in, to simplify 173 setting .exe extension on OS/2 EMX. 174 + add .exe extension in Ada95/gen/Makefile.in, 175 Ada95/samples/Makefile.in, for OS/2 EMX (reported by 176 <jmcoopr@webmail.bmi.net>). 177 + add configure check for filesystems (such as OS/2 EMX) which do not 178 distinguish between upper/lowercase filenames, use this to fix tags 179 rules in makefiles. 180 + initialize fds[] array to 0's in _nc_timed_wait(); apparently poll() 181 only sets the revents members of that array when there is activity 182 corresponding to the related file (report by Glenn Cooper 183 <gcooper@qantas.com.au>, using Purify on Solaris 5.6). 184 + change configure script to use AC_CANONICAL_SYSTEM rather than 185 AC_CANONICAL_HOST, which means that configure --target will set 186 a default program-prefix. 187 + add note on cross-compiling to INSTALL (which does not rely on the 188 AC_CANONICAL_* macros). 189 19020000819 191 + add cases for EMX OS/2 to config.guess, config.sub 192 + new version of config.guess, config.sub from lynx 2.8.4dev.7 193 + add definitions via transform.h to allow tic and tput to check for 194 the transformed aliases rather than the original infotocap, etc. 195 + simplify transform-expressions in progs/Makefile.in, make the 196 uninstall rule work for transformed program names. 197 + change symbol used by --install-prefix configure option from 198 INSTALL_PREFIX to DESTDIR (the latter has become common usage 199 although the name is misleading). 200 + modify programs to use curses_version() string to report the version 201 of ncurses with which they are compiled rather than the 202 NCURSES_VERSION string. The function returns the patch level in 203 addition to the major and minor version numbers. 204 20520000812 206 + modify CF_MAN_PAGES configure macro to make transformed program names 207 a parameter to that macro rather than embedding them in the macro. 208 + newer config.guess, config.sub (reference version used in lynx 209 2.8.4dev.7). 210 + add configure option --with-default-terminfo-dir=DIR to allow 211 specifying the default terminfo database directory (request by Albert 212 Chin-A-Young). 213 + minor updates for terminfo.src from FreeBSD termcap change-history. 214 + correct notes in README and INSTALL regarding documentation files 215 that were moved from misc directory to doc (report by Rich Kulawiec 216 <rsk@gsp.org>). 217 + change most remaining unquoted parameters of 'test' in configure 218 script to use quotes, for instance fixing a problem in the 219 --disable-database option (reported by Christian Mondrup 220 <scancm@biobase.dk>). 221 + minor adjustments to work around some of the incompatibilities/bugs 222 in autoconf 2.29a alpha. 223 + add -I/usr/local/include when --with-ncurses option is used in 224 test/configure script. 225 + correct logic in adjust_cancels(), which did not check both 226 alternatives when reclassifying an extended name between boolean, 227 number and string, causing an infinite loop in tic. 228 22920000730 230 + correct a missing backslash in curses.priv.h 231 23220000729 233 + change handling of non_dest_scroll_region in tty_update.c to clear 234 text after it is shifted in rather than before shifting out. Also 235 correct row computation (reported by Ruediger Kuhlmann 236 <uck4@rz.uni-karlsruhe.de>). 237 + add/use new trace function to display chtype values from winch() and 238 getbkgd(). 239 + add trace mask TRACE_ATTRS, alter several existing _tracef calls that 240 trace attribute changes under TRACE_CALLS to use this. 241 + modify MKlib_gen.sh so that functions returning chtype will call 242 returnChar(). 243 + add returnChar() trace, for functions returning chtype. 244 + change indent.pro to line up parenthesis. 245 24620000722 247 + fix a heap problem with the c++ binding (report by 248 <alexander_liberson@ninewest.com>, patch by Juergen Pfeifer). 249 + minor adjustment to ClrToEOL() to handle an out-of-bounds parameter. 250 + modify the check for big-core to force a couple of memory accesses, 251 which may work as needed for older/less-capable machines (if not, 252 there's still the explicit configure option). 253 > fixes based on diff's for Amiga and BeOS found at 254 http://www.mathematik.uni-karlsruhe.de/~kuhlmann/cross/ncurses/ 255 + alter definition of NCURSES_CONST to make it non-empty. 256 + add amiga-vnc terminfo entry. 257 + redefine 'TEXT' in menu.h for AMIGA, since it is reported to have 258 an (unspecified) symbol conflict. 259 + replaced case-statement in _nc_tracebits() for CSIZE with a table to 260 simplify working around implementations that define random 261 combinations of the related macros to zero. 262 + modify configure test for tcgetattr() to allow for old 263 implementations, e.g., on BeOS, which only defined it as a macro. 264 > patches by Bruno Haible: 265 + when checking LC_ALL/LC_CTYPE/LANG environment variables for UTF-8 266 locale, ignore those which are set to an empty value, as per SUSV2. 267 + encode 0xFFFD in UTF-8 with 3 bytes, not 2. 268 + modify _nc_utf8_outch() to avoid sign-extension when checking for 269 out-of-range value. 270 27120000715 272 + correct manlinks.sed script to avoid using ERE "\+", which is not 273 understood by older versions of sed (patch by Albert Chin-A-Young). 274 + implement configure script options that transform installed program 275 names, e.g., --program-prefix, including the manpage names and cross 276 references (patch by Albert Chin-A-Young <china@thewrittenword.com>). 277 + correct several mismatches between manpage filename and ".TH" 278 directives, renaming dft_fgbg.3x to default_colors.3x and 279 menu_attribs.3x to menu_attributes.3x (report by Todd C Miller). 280 + correct missing includes for <string.h> in several places, including 281 the C++ binding. This is not noted by gcc unless we use the 282 -fno-builtin option (reported by Igor Schein <igor@txc.com>). 283 + modified progs/tset.c and tack/sysdep.c to build with sgttyb 284 interface if neither termio or termios is available. Tested this 285 with FreeBSD 2.1.5 (which does have termios - but the sgttyb does 286 work). 287 28820000708 5.1 release for upload to ftp.gnu.org 289 + document configure options in INSTALL. 290 + add man-page for ncurses trace functions. 291 + correct return value shown in curs_touch.3x for is_linetouched() and 292 is_wintouched(), in curs_initscr.3x for isendwin(), and in 293 curs_termattr.3x for has_ic() and has_il(). 294 + add prototypes for touchline() and touchwin(), adding them to the 295 list of generated functions. 296 + modify fifo_push() to put ERR into the fifo just like other values to 297 return from wgetch(). It was returning without doing that, making 298 end-of-file condition incorrectly return a 0 (reported by Todd C 299 Miller). 300 + uncomment CC_SHARED_OPTS for progs and tack (see 971115), since they 301 are needed for SCO OpenServer. 302 + move _nc_disable_period from free_ttype.c to comp_scan.c to appease 303 dynamic loaders on SCO and IRIX64. 304 + add "-a" option to test/ncurses.c to invoke assume_default_colors() 305 for testing. 306 + correct assignment in assume_default_colors() which tells ncurses 307 whether to use default colors, or the assumed ones (reported by Gary 308 Funck <gary@Intrepid.Com>). 309 + review/correct logic in mk-1st.awk for making symbolic links for 310 shared libraries, in particular for FreeBSD, etc. 311 + regenerate misc/*.def files for OS/2 EMX dll's. 312 + correct quoting of values for CC_SHARED_OPTS in aclocal.m4 for 313 cases openbsd2*, openbsd*, freebsd* and netbsd* (patch by Peter 314 Wemm) (err in 20000610). 315 + minor updates to release notes, as well as adding/updating URLs for 316 examples cited in announce.html 317 > several fixes from Philippe Blain <philippe.blain2@freesbee.fr>: 318 + correct placement of ifdef for NCURSES_XNAMES in function 319 _nc_free_termtype(), fixes a memory leak. 320 + add a call to _nc_synchook() to the end of function whline() like 321 that in wvline() (difference was in 1.9.4). 322 + make ClearScreen() a little faster by moving two instances of 323 UpdateAttr() out of for-loops. 324 + simplify ClrBottom() by eliminating the tstLine data, using for-loops 325 (cf: 960428). 326 32720000701 pre-release 328 + change minor version to 1, i.e., ncurses 5.1 329 + add experimental configure option --enable-colorfgbg to check for 330 $COLORTERM variable as set by rxvt/aterm/Eterm. 331 + add Eterm terminfo entry (Michael Jennings <mej@valinux.com>). 332 + modify manlinks.sed to pick aliases from the SYNOPSIS section, and 333 several manpages so manlinks.sed can find aliases for creating 334 symbolic links. 335 + add explanation to run_tic.sh regarding extended terminal 336 capabilities. 337 + change message format for edit_cfg.sh, since some people interpret 338 it as a warning. 339 + correct unescaped '$' in sysv5uw7*|unix_sv* rule for CF_SHARED_OPTS 340 configure macro (report by Thanh Ma <Thanh.Ma@casi-rusco.com>). 341 + correct logic in lib_twait.c as used by lib_mouse.c for GPM mouse 342 support when poll() is used rather than select() (prompted by 343 discussion with David Allen <DAllen24@aol.com>). 344 34520000624 pre-release 346 + modify TransformLine() to check for cells with different color pairs 347 that happen to render the same display colors. 348 + apply $NCURSES_NO_PADDING to cost-computation in mvcur(). 349 + improve cost computation in PutRange() by accounting for the use 350 of parm_right_cursor in mvcur(). 351 + correct cost computation in EmitRange(), which was not using the 352 normalized value for cursor_address. 353 + newer config.guess, config.sub (reference version used in TIN 1.5.6). 354 35520000617 356 + update config.guess, config.sub (reference version used in PCRE 3.2). 357 + resync changes to gnathtml against version 1.22, regenerated html 358 files under doc/html/ada using this (1.22.1.1). 359 + regenerated html files under doc/html/man after correcting top and 360 bottom margin options for man2html in dist.mk 361 + minor fixes to test programs ncurses 'i' and testcurs program to make 362 the subwindow's background color cover the subwindow. 363 + modify configure script so AC_MSG_ERROR is temporarily defined to a 364 warning in AC_PROG_CXX to make it recover from a missing C++ compiler 365 without requiring user to add --without-cxx option (from comment by 366 Akim Demaille <akim@epita.fr> to autoconf mailing list). 367 + modify headers.sh to avoid creating temporary files in the build 368 directory when installing headers (reported by Sergei Pokrovsky 369 <pok@nbsp.nsk.su>) 370 37120000610 372 + regenerated the html files under doc/html/ada/files and 373 doc/html/ada/funcs with a slightly-improved gnathtml. 374 + add kmous capability to linux terminfo entry to allow it to use 375 xterm-style events provided by gpm patch by Joerg Schoen. 376 + make the configure macro CF_SHARED_OPTS a little smarter by testing 377 if -fPIC is supported by gcc rather than -fpic. The former option 378 allows larger symbol tables. 379 + update config.guess and config.sub (patches by 380 Kevin Buettner <kev@primenet.com> for elf64_ia64 381 Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X). 382 + add warning for 'tic -cv' about use of '^?' in terminfo source, which 383 is an extension. 384 38520000527 386 + modify echo() behavior of getch() to match Solaris curses for 387 carriage return and backspace (reported by Neil Zanella). 388 + change _nc_flush() to a function. 389 + modify delscreen() to check if the output stream has been closed, and 390 if so, free the buffer allocated for setbuf (this provides an 391 ncurses-specific way to avoid a memory leak when repeatedly calling 392 newterm reported by Chipp C <at_1@zdnetonebox.com>). 393 + correct typo in curs_getch.3x manpage regarding noecho (reported by 394 David Malone <dwmalone@maths.tcd.ie>). 395 + add a "make libs" rule. 396 + make the Ada95 interface build with configure --enable-widec. 397 + if the configure --enable-widec option is given, append 'w' to names 398 of the generated libraries (e.g., libncursesw.so) to avoid conflict 399 with existing ncurses libraries. 400 40120000520 402 + modify view.c to make a rudimentary viewer of UTF-8 text if ncurses 403 is configured with the experimental wide-character support. 404 + add a simple UTF-8 output driver to the experimental wide-character 405 support. If any of the environment variables LC_ALL, LC_CTYPE or 406 LANG contain the string "UTF-8", this driver will be used to 407 translate the output to UTF-8. This works with XFree86 xterm. 408 + modify configure script to allow building shared libraries on BeOS 409 (from a patch by by Valeriy E Ushakov). 410 + modify lib_addch.c to allow repeated update to the lower-right 411 corner, rather than displaying only the first character written until 412 the cursor is moved. Recent versions of SVr4 curses can update the 413 lower-right corner, and behave this way (reported by Neil Zanella). 414 + add a limit-check in _nc_do_color(), to avoid using invalid color 415 pair value (from bug report by Brendan O'Dea <bod@compusol.com.au>). 416 41720000513 418 + the tack program knows how to use smcup and rmcup but the "show caps 419 that can be tested" feature did not reflect this knowledge. Correct 420 the display in the menu tack/test/edit/c (patch by Daniel Weaver). 421 + xterm-16color does allow bold+colors, removed ncv#32 from that 422 terminfo entry. 423 42420000506 425 + correct assignment to SP->_has_sgr_39_49 in lib_dft_fgbg.c, which 426 broke check for screen's AX capability (reported by Valeriy E Ushakov 427 <uwe@ptc.spbu.ru>). 428 + change man2html rule in dist.mk to workaround bug in some man-programs 429 that ignores locale when rendering hyphenation. 430 + change web- and ftp-site to dickey.his.com 431 43220000429 433 + move _nc_curr_token from parse_entry.c to comp_scan.c, to work around 434 problem linking tack on MacOS X DP3. 435 + include <sys/time.h> in lib_napms.c to compile on MacOS X DP3 436 (reported by Gerben Wierda <wierda@holmes.nl>). 437 + modify lib_vidattr.c to check for ncv fixes when pair-0 is not 438 default colors. 439 + add -d option to ncurses.c, to turn on default-colors for testing. 440 + add a check to _nc_makenew() to ensure that newwin() and newpad() 441 calls do not silently fail by passing too-large limits. 442 + add symbol NCURSES_SIZE_T to use rather than explicit 'short' for 443 internal window and pad sizes. Note that since this is visible in 444 the WINDOW struct, it would be an ABI change to make this an 'int' 445 (prompted by a question by Bastian Trompetter 446 <btrompetter@firemail.de>, who attempted to create a 96000-line pad). 447 44820000422 449 + add mgterm terminfo entry from NetBSD, minor adjustments to sun-ss5, 450 aixterm entries -TD 451 + modify tack/ansi.c to make it more tolerant of bad ANSI replies. An 452 example of an illegal ANSI resonse can be found using Microsoft's 453 Telnet client. A correct display can be found using a VT-4xx 454 terminal or XFree86 xterm with: 455 XTerm*VT100*decTerminalID: 450 456 (patch by Daniel Weaver). 457 + modify gdc.c to recognize 'q' for quit, 's' for single-step and ' ' 458 for resume. Add '-n' option to force gdc's standard input to 459 /dev/null, to both illustrate the use of newterm() for specifying 460 alternate inputs as well as for testing signal handling. 461 + minor fix for configure option --with-manpage-symlinks, for target 462 directories that contain a period ('.') (reported by Larry Virden). 463 46420000415 465 + minor additions to beterm entry (feedback from Rico Tudor) -TD 466 + corrections/updates for some IBM terminfo entries -TD 467 + modify _nc_screen_wrap() so that when exiting curses mode with 468 non-default colors, the last line on the screen will be cleared to 469 the screen's default colors (request by Alexander Lukyanov). 470 + modify ncurses.c 'r' example to set nonl(), allowing control/M to be 471 read for demonstrating the REQ_NEW_LINE operation (prompted by a 472 question by Tony L Keith" <tlkeith@keithconsulting.com>). 473 + modify ncurses.c 'r' example of field_info() to work on Solaris 2.7, 474 documented extension of ncurses which allows a zero pointer. 475 + modify fmt_complex() to avoid buffer overflow in case of excess 476 recursion, and to recognize "%e%?" as a synonym for else-if, which 477 means that it will not recur for that special case. 478 + add logic to support $TERMCAP variable in case the USE_GETCAP symbol 479 is defined (patch by Todd C Miller). 480 + modify one of the m4 files used to generate the Ada95 sources, 481 to avoid using the token "symbols" (patch by Juergen Pfeifer). 482 48320000408 484 + add terminfo entries bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig) 485 + correct spelling error in terminfo entry name: bq300-rv was given as 486 bg300-rv in esr's version. 487 + modify redrawwin() macro so its parameter is fully parenthesized 488 (fixes Debian bug report #61088). 489 + correct formatting error in dump_entry() which set incorrect column 490 value when no newline trimming was needed at the end of an entry, 491 before appending "use=" clauses (cf: 960406). 492 49320000401 494 + add configure option --with-manpage-symlinks 495 + change unctrl() to render C1 characters (128-159) as ~@, ~A, etc. 496 + change makefiles so trace() function is provided only if TRACE is 497 defined, e.g., in the debug library. Modify related calls to 498 _tracechar() to use unctrl() instead. 499 50020000325 501 + add screen's AX capability (for ECMA SGR 39 and 49) to applicable 502 terminfo entries, use presence of this as a check for a small 503 improvement in setting default colors. 504 + improve logic in _nc_do_color() implementing assume_default_colors() 505 by passing in previous color pair info to eliminate redundant call to 506 set_original_colors(). (Part of this is from a patch by Alexander 507 Lukyanov). 508 + modify warning in _nc_trans_string() about a possibly too-long string 509 to do this once only rather than for each character past the 510 threshold (600). Change interface of _nc_trans_string() to allow 511 check for buffer overflow. 512 + correct use of memset in _nc_read_entry_source() to initialize ENTRY 513 struct each time before reading new data into it, rather than once 514 per loop (cf: 990301). This affects multi-entry in-core operations 515 such as "infocmp -Fa". 516 51720000319 518 + remove a spurious pointer increment in _nc_infotocap() changes from 519 20000311. Add check for '.' in format of number, since that also 520 is not permitted in termcap. 521 + correct typo in rxvt-basic terminfo from temporary change made while 522 integrating 20000318. 523 52420000318 525 + revert part of the vt220 change (request by Todd C Miller). 526 + add ansi-* terminfo entries from Eric's version. 527 + add -a option to tic and infocmp, which retains commented-out 528 capabilities during source translation/comparison, e.g., captoinfo 529 and infotocap. 530 + modify cardfile.c to display an empty card if no input data file is 531 found, fixes a core dump in that case (reported by Bruno Haible). 532 + correct bracketing in CF_MATH_LIB configure macro, which gave wrong 533 result for OS/2 EMX. 534 + supply required parameter for _nc_resolve_uses() call in 535 read_termcap.c, overlooked in 20000311 (reported by Todd C Miller). 536 > patches by Bruno Haible <haible@ilog.fr>: 537 + fix a compiler warning in fty_enum.c 538 + correct LIB_PREFIX expression for DEPS_CURSES in progs, tack 539 makefiles, which resulted in redundant linking (cf: 20000122). 540 54120000311 542 + make ifdef's for BROKEN_LINKER consistent (patch by Todd C Miller). 543 + improved tack/README (patch by Daniel Weaver). 544 + modify tput.c to ensure that unspecified parameters are passed to 545 tparm() as 0's. 546 + add a few checks in infocmp to guard against buffer overflow when 547 displaying string capabilities. 548 + add check for zero-uses in infocmp's file_comparison() function 549 before calling _nc_align_termtype(). Otherwise one parameter is 550 indexed past the end of the uses-array. 551 + add an option -q to infocmp to specify the less verbose output, 552 keeping the existing format as the default, though not retaining the 553 previous behavior that made the -F option compare each entry to 554 itself. 555 + adapted patch by Eric Raymond to make infocmp -F less verbose 556 (the submitted patch was unusable because it did not compile 557 properly): 558 + modify write_entry.c to ensure that absent or cancelled booleans 559 are written as FALSE, for consistency with infocmp which now 560 assumes this. Note that for the small-core configuration, tic 561 may not produce the same result as before. 562 + change some private library interfaces used by infocmp, e.g., 563 _nc_resolve_uses(). 564 + add a check in _nc_infotocap() to ensure that cm-style capabilities 565 accept only %d codes when converting the format from terminfo to 566 termcap. 567 + modify ENTRY struct to separate the data in 'parent' into the name 568 and link values (the original idea to merge both into 'parent' was 569 not good). 570 + discard repair_acsc(tterm); 571 > patch by Juergen Pfeifer: 572 + drop support for gnat 3.10 573 + move generated documentation and html files under ./doc directory, 574 adding makefile rules for this to dist.mk 575 57620000304 577 + correct conflicting use of tparm() in 20000226 change to tic, which 578 made it check only one entry at a time. 579 + fix errors in ncurses-intro.html and hackguide.html shown by Dave 580 Raggett's tidy. 581 + make the example in ncurses-intro.html do something plausible, and 582 corrected misleading comment (reported by Neil Zanella). 583 + modify pnoutrefresh() to set newscr->_leaveok as wnoutrefresh() does, 584 to fix a case where the cursor position was not updated as in 585 Solaris (patch by David Mosberger <davidm@hpl.hp.com>). 586 + add a limit-check for wresize() to ensure that a subwindow does not 587 address out of bounds. 588 + correct offsets used for subwindows in wresize() (patch by Michael 589 Andres <ma@suse.de>). 590 + regenerate html'ized manual pages with man2html 3.0.1 (patch by 591 Juergen Pfeifer). This generated a file with a space in its name, 592 which I removed. 593 + fix a few spelling errors in tack. 594 + modify tack/Makefile.in to match linker options of progs/Makefile.in; 595 otherwise it does not build properly for older HPUX shared library 596 configurations. 597 + add several terminfo entries from esr's "11.0". 598 59920000226 600 + make 'tput flash' work properly for xterm by flushing output in 601 delay_output() when using napms(), and modifying xterm's terminfo to 602 specify no padding character. Otherwise, xterm's reported baud rate 603 can mislead ncurses into producing too few padding characters 604 (Debian #58530). 605 + add a check to tic for consistency between sgr and the separate 606 capabilities such as smso, use this to check/correct several 607 terminfo entries (Debian #58530). 608 + add a check to tic if cvvis is the same as cnorm, adjusted several 609 terminfo entries to remove the conflict (Debian #58530). 610 + correct prototype shown in attr_set()/wattr_set() manpages (fixes 611 Debian #53962). 612 + minor clarification for curs_set() and leaveok() manpages. 613 + use mkstemp() for creating temporary file for tic's processing of 614 $TERMCAP contents (fixes Debian #56465). 615 + correct two errors from integrating Alexander's changes: did not 616 handle the non-bce case properly in can_erase_with() (noted by 617 Alexander), and left fg/bg uninitialized in the pair-zero case of 618 _nc_do_color() (reported by Dr Werner Fink <werner@suse.de> and 619 Ismael Cordeiro <ismael@cordeiro.com>). 620 62120000219 622 + store default-color code consistently as C_MASK, even if given as 623 -1 for convenience (adapted from patches by Alexander Lukyanov). 624 > patches by Alexander Lukyanov: 625 + change can_clear_with() macro to accommodate logic for 626 assume_default_colors(), making most of the FILL_BCE logic 627 unnecessary. Made can_clear_with() an inline function to make it 628 simpler to read. 629 63020000212 631 + corrected form of recent copyright dates. 632 + minor corrections to xterm-xf86-v333 terminfo entry -TD 633 > patches by Alexander Lukyanov: 634 + reworded dft_fgbg.3x to avoid assuming that the terminal's default 635 colors are white on black. 636 + fix initialization of tstLine so that it is filled with current blank 637 character in any case. Previously it was possible to have it filled 638 with old blank. The wrong over-optimization was introduced in 991002 639 patch. (it is not very critical as the only bad effect is not using 640 clr_eos for clearing if blank has changed). 641 64220000205 643 + minor corrections/updates to several terminfo entries: rxvt-basic, 644 vt520, vt525, ibm5151, xterm-xf86-v40 -TD 645 + modify ifdef's for poll() to allow it to use <sys/poll.h>, thereby 646 allowing poll() to be used on Linux. 647 + add CF_FUNC_POLL macro to check if poll() is able to select from 648 standard input. If not we will not use it, preferring select() 649 (adapted from patch by Michael Pakovic <mpakovic@fdn.com>). 650 + update CF_SHARED_OPTS macro for SCO Unixware 7.1 to allow building 651 shared libraries (reported/tested by Thanh <thanhma@mediaone.net>). 652 + override $LANGUAGE in build to avoid incorrect ordering of keynames. 653 + correct CF_MATH_LIB parameter, must be sin(x), not sqrt(x). 654 65520000122 656 + resync CF_CHECK_ERRNO and CF_LIB_PREFIX macros from tin and xterm. 657 + modify CF_MATH_LIB configure macro to parameterize the test function 658 used, for reuse in dialog and similar packages. 659 + correct tests for file-descriptors in OS/2 EMX mouse support. A 660 negative value could be used by FD_SET, causing the select() call 661 to wait indefinitely. 662 66320000115 664 + additional fixes for non-bce terminals (handling of delete_character) 665 to work when assume_default_colors() is not specified. 666 + modify warning message from _nc_parse_entry() regarding extended 667 capability names to print only if tic/infocmp/toe have the -v flag 668 set, and not at all in ordinary user applications. Otherwise, this 669 warning would be shown for screen's extended capabilities in programs 670 that use the termcap interface (reported by Todd C Miller). 671 + modify use of _nc_tracing from programs such as tic so their debug 672 level is not in the same range as values set by trace() function. 673 + small panel header cleanup (patch by Juergen Pfeifer). 674 + add 'railroad' demo for termcap interface. 675 + modify 'tic' to write its usage message to stderr (patch by Todd C 676 Miller). 677 67820000108 679 + add prototype for erase() to curses.h.in, needed to make test 680 programs build with c++/g++. 681 + add .c.i and .c.h suffix rules to generated makefiles, for debugging. 682 + correct install rule for tack.1; it assumed that file was in the 683 current directory (reported by Mike Castle <dalgoda@ix.netcom.com>). 684 + modify terminfo/termcap translation to suppress acsc before trying 685 sgr if the entry would be too large (patch by Todd C Miller). 686 + document a special case of incompatiblity between ncurses 4.2 and 687 5.0, add a section for this in INSTALL. 688 + add TRACE_DATABASE flag for trace(). 689 69020000101 691 + update mach, add mach-color terminfo entries based on Debian diffs 692 for ncurses 5.0 -TD 693 + add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp 694 terminfo entries -TD 695 + change OTrs capabilities to rs2 in terminfo.src -TD 696 + add obsolete and extended capabilities to 'screen' terminfo -TD 697 + corrected conversion from terminfo rs2 to termcap rs (cf: 980704) 698 + make conversion to termcap ug (underline glitch) more consistently 699 applied. 700 + fix out-of-scope use of 'personal[]' buffer in 'toe' (this error 701 was in the original pre-1.9.7 version, when $HOME/.terminfo was 702 introduced). 703 + modify 'toe' to ignore terminfo directories to which it has no 704 permissions. 705 + modify read_termtype(), fixing 'toe', which could dump core when it 706 found an incomplete entry such as "dumb" because it did not 707 initialize its buffer for _nc_read_file_entry(). 708 + use -fPIC rather than -fpic for shared libraries on Linux, not 709 needed for i386 but some ports (from Debian diffs for 5.0). 710 + use explicit VALID_NUMERIC() checks in a few places that had been 711 overlooked, and add a check to ensure that init_tabs is nonzero, 712 to avoid divide-by-zero (reported by Todd C Miller). 713 + minor fix for CF_ANSI_CC_CHECK configure macro, for HPUX 10.x (from 714 tin). 715 71619991218 717 + reorder tests during mouse initialization to allow for gpm to run in 718 xterm, or for xterm to be used under OS/2 EMX. Also drop test for 719 $DISPLAY in favor of kmous=\E[M or $TERM containing "xterm" (report 720 by Christian Weisgerber <naddy@mips.rhein-neckar.de>). 721 + modify raw() and noraw() to clear/restore IEXTEN flag which affects 722 stty lnext on systems such as FreeBSD (report by Bruce Evans 723 <bde@zeta.org.au>, via Jason Evans <jasone@canonware.com>). 724 + fix a potential (but unlikely) buffer overflow in failed() function 725 of tset.c (reported by Todd C Miller). 726 + add manual-page for ncurses extensions, documented curses_version(), 727 use_extended_names(). 728 72919991211 730 + treat as untranslatable to termcap those terminfo strings which 731 contain non-decimal formatting, e.g., hexadecimal or octal. 732 + correct commented-out capabilities that cannot be translated to 733 termcap, which did not check if a colon must be escaped. 734 + correct termcap translation for "%>" and "%+", which did not check 735 if a colon must be escaped, for instance. 736 + use save_string/save_char for _nc_captoinfo() to eliminate fixed 737 buffer (originally for _nc_infotocap() in 960301 -TD). 738 + correct expression used for terminfo equivalent of termcap %B, 739 adjust regent100 entry which uses this. 740 + some cleanup and commenting of ad hoc cases in _nc_infotocap(). 741 + eliminate a fixed-buffer in tic, used for translating comments. 742 + add manpage for infotocap 743 74419991204 745 + add kvt and gnome terminfo entries -TD 746 + correct translation of "%%" by infotocap, which was emitted as "%". 747 + add "obsolete" termcap strings to terminfo.src 748 + modify infocmp to default to showing obsolete capabilities rather 749 than terminfo only. 750 + modify write_entry.c so that if extended names (i.e., configure 751 --enable-tcap-names) are active, then tic will also write "obsolete" 752 capabilities that are present in the terminfo source. 753 + modify tic so that when running as captoinfo or infotocap, it 754 initializes the output format as in -C and -I options, respectively. 755 + improve infocmp and tic -f option by splitting long strings that do 756 not have if-then-else construct, but do have parameters, e.g., the 757 initc for xterm-88color. 758 + refine MKtermsort.sh slightly by using bool for the *_from_termcap 759 arrays. 760 76119991127 762 + additional fixes for non-bce terminals (handling of clear_screen, 763 clr_eol, clr_eos, scrolling) to work when assume_default_colors() is 764 not specified. 765 + several small changes to xterm terminfo entries -TD. 766 + move logic for _nc_windows in lib_freeall.c inside check for nonnull 767 SP, since it is part of that struct. 768 + remove obsolete shlib-versions, which was unintentionally re-added 769 in 970927. 770 + modify infocmp -e, -E options to ensure that generated fallback.c 771 type for Booleans agrees with term.h (reported by Eric Norum 772 <eric@cls.usask.ca>). 773 + correct configure script's use of $LIB_PREFIX, which did not work 774 for installing the c++ directory if $libdir did not end with "/lib" 775 (reported by Huy Le <huyle@ugcs.caltech.edu>). 776 + modify infocmp so -L and -f options work together. 777 + modify the initialization of SP->_color_table[] in start_color() so 778 that color_content() will return usable values for COLORS greater 779 than 8. 780 + modify ncurses 'd' test in case COLORS is greater than 16, e.g., for 781 xterm-88color, to limit the displayed/computed colors to 16. 782 > patch by Juergen Pfeifer: 783 + simplify coding of the panel library according to suggestions by 784 Philippe Blain. 785 + improve macro coding for a few macros in curses.priv.h 786 78719991113 788 + modify treatment of color pair 0 so that if ncurses is configured 789 to support default colors, and they are not active, then ncurses 790 will set that explicitly, not relying on orig_colors or orig_pair. 791 + add new extension, assume_default_colors() to provide better control 792 over the use of default colors. 793 + modify test programs to use more-specific ifdef's for existence of 794 wresize(), resizeterm() and use_default_colors(). 795 + modify configure script to add specific ifdef's for some functions 796 that are included when --enable-ext-funcs is in effect, so their 797 existence can be ifdef'd in the test programs. 798 + reorder some configure options, moving those extensions that have 799 evolved from experimental status into a new section. 800 + change configure --enable-tcap-names to enable this by default. 801 80219991106 803 + install tack's manpage (reported by Robert Weiner 804 <robert@progplus.com>) 805 + correct worm.c's handling of KEY_RESIZE (patch by Frank Heckenbach). 806 + modify curses.h.in, undef'ing some symbols to avoid conflict with C++ 807 STL (reported by Matt Gerassimoff <mgeras@ticon.net>) 808 80919991030 810 + modify linux terminfo entry to indicate that dim does not mix with 811 color (reported by Klaus Weide <kweide@enteract.com>). 812 + correct several typos in terminfo entries related to missing '[' 813 in CSI's -TD 814 + fix several compiler warnings in c++ binding (reported by Tim 815 Mooney for alphaev56-dec-osf4.0f 816 + rename parameter of _nc_free_entries() to accommodate lint. 817 + correct lint rule for tack, used incorrect list of source files. 818 + add case to config.guess, config.sub for Rhapsody. 819 + improve configure tests for libg++ and libstdc++ by omitting the 820 math library (which is missing on Rhapsody), and improved test for 821 the math library itself (adapted from path by Nelson H. F. Beebe). 822 + explicitly initialize to zero several data items which were 823 implicitly initialized, e.g., cur_term. If not explicitly 824 initialized, their storage type is C (common), and causes problems 825 linking on Rhapsody 5.5 using gcc 2.7.2.1 (reported by Nelson H. F. 826 Beebe). 827 + modify Ada95 binding to not include the linker option for Ada 828 bindings in the Ada headers, but in the Makefiles instead (patch by 829 Juergen Pfeifer). 830 83119991023 5.0 release for upload to ftp.gnu.org 832 + effective with release of 5.0, change NCURSES_VERSION_PATCH to 833 4-digit year. 834 + add function curses_version(), to return ncurses library version 835 (request by Bob van der Poel). 836 + remove rmam, smam from cygwin terminfo entry. 837 + modify FreeBSD cons25 terminfo entry to add cnorm and cvvis, as well 838 as update ncv to indicate that 'dim' conflicts with colors. 839 + modify configure script to use symbolic links for FreeBSD shared 840 libraries by default. 841 + correct ranf() function in rain and worm programs to ensure it does 842 not return 1.0 843 + hide the cursor in hanoi.c if it is running automatically. 844 + amend lrtest.c to account for optimizations that exploit margin 845 wrapping. 846 + add a simple terminfo demo, dots.c 847 + modify SIGINT/SIGQUIT handler to set a flag used in _nc_outch() to 848 tell it to use write() rather than putc(), since the latter is not 849 safe in a signal handler according to POSIX. 850 + add/use internal macros _nc_flush() and NC_OUTPUT to hide details 851 of output-file pointer in ncurses library. 852 + uncomment CC_SHARED_OPTS (see 971115), since they are needed for SCO 853 OpenServer. 854 + correct CC_SHARED_OPTS for building shared libraries for SCO 855 OpenServer. 856 + remove usleep() from alternatives in napms(), since it may interact 857 with alarm(), causing a process to be interrupted by SIGALRM (with 858 advice from Bela Lubkin). 859 + modify terminal_interface-curses-forms.ads.m4 to build/work with 860 GNAT 3.10 (patch by Juergen Pfeifer). 861 + remove part of CF_GPP_LIBRARY configure-script macro, which did not 862 work with gcc 2.7.2.3 863 + minor fix to test/tclock.c to avoid beeping more than once per second 864 + add 's' and ' ' decoding to test/rain.c 865 866991016 pre-release 867 + corrected BeOS code for lib_twait.c, making nodelay() function work. 868 869991009 pre-release 870 + correct ncurses' value for cursor-column in PutCharLR(), which was 871 off-by-one in one case (patch by Ilya Zakharevich). 872 + fix some minor errors in position_check() debugging code, found while 873 using this to validate the PutCharLR() patch. 874 + modify firework, lrtest, worm examples to be resizable, and to 875 recognize 'q' for quit, 's' for single-step and ' ' for resume. 876 + restore reverted change to terminal_interface-curses-forms.ads.m4, 877 add a note on building with gnat 3.10p to Ada95/TODO. 878 + add a copy of the standalone configure script for the test-directory 879 to simplify testing on SCO and Solaris. 880 881991002 pre-release 882 + minor fixes for _nc_msec_cost(), color_content(), pair_content(), 883 _nc_freewin(), ClrBottom() and onscreen_mvcur() (analysis by Philippe 884 Blain, comments by Alexander Lukyanov). 885 + simplify definition of PANEL and eliminate internal functions 886 _nc_calculate_obscure(), _nc_free_obscure() and _nc_override(), 887 (patch by Juergen Pfeifer, based on analysis by Philippe Blain 888 <bledp@voila.fr>)). 889 + change renaming of dft_fgbg.3x to use_default_colors.3ncurses in 890 man_db.renames, since Debian is not concerned with 14-character 891 filename limitation (from Debian bug report by Josip Rodin 892 <joy@cibalia.gkvk.hr>). 893 + corrected scoansi terminfo entry by testing with scoterm and console. 894 + revert change from 990614 to terminal_interface-curses-forms.ads.m4, 895 since this does not work for gnat 3.10p 896 + modify tclock example to be resizable (if ncurses' sigwinch handler 897 is used), and in color. 898 + use $(CC) rather than 'gcc' in MK_SHARED_LIB symbols, used for Linux 899 shared library rules. 900 901990925 pre-release 902 + add newer NetBSD console terminfo entries 903 + add amiga-8bit terminfo entry (from Henning 'Faroul' Peters 904 <Faroul@beyond.kn-bremen.de>) 905 + remove -lcurses -ltermcap from configure script's check for the gpm 906 library, since they are not really necessary (a properly configured 907 gpm library has no dependency on any curses library), and if the 908 curses library is not installed, this would cause the test to fail. 909 + modify tic's -C option so that terminfo "use=" clauses are translated 910 to "tc=" clauses even when running it as captoinfo. 911 + modify CF_STDCPP_LIBRARY configure macro to perform its check only 912 for GNU C++, since that library conflicts with SGI's libC on IRIX-6.2 913 + modify CF_SHARED_OPTS configure macro to support build on NetBSD with 914 ELF libraries (patch by Bernd Ernesti <bernd@arresum.inka.de>). 915 + correct a problem in libpanel, where the _nc_top_panel variable was 916 not set properly when bottom_panel() is called to hide a panel which 917 is the only one on the stack (report/analysis by Michael Andres 918 <ma@suse.de>, patch by Juergen Pfeifer). 919 920990918 pre-release 921 + add acsc string to HP 70092 terminfo entry (patch by Joerg Wunsch 922 <j@interface-business.de>). 923 + add top-level uninstall.data and uninstall.man makefile rules. 924 + correct logic of CF_LINK_FUNCS configure script, from BeOS changes so 925 that hard-links work on Unix again. 926 + change default value of cf_cv_builtin_bool to 1 as suggested by 927 Jeremy Buhler, making it less likely that a conflicting declaration 928 of bool will be seen when compiling with C++. 929 930990911 pre-release 931 + improved configure checks for builtin.h 932 + minor changes to C++ binding (remove static initializations, and make 933 configure-test for parameter initializations) for features not 934 allowed by vendor's C++ compilers (reported by Martin Mokrejs, this 935 applies to SGI, though I found SCO has the same characteristics). 936 + corrected quoting of ETIP_xxx definitions which support old versions 937 of g++, e.g., those using -lg++ 938 + remove 'L' code from safe_sprintf.c, since 'long double' is not 939 widely portable. safe_sprintf.c is experimental, however, and 940 exists mainly as a fallback for systems without snprintf (reported 941 by Martin Mokrejs <mmokrejs@natur.cuni.cz>, for IRIX 6.2) 942 + modify definition of _nc_tinfo_fkeys in broken-linker configuration 943 so that it is not unnecessarily made extern (Jeffrey C Honig). 944 945990904 pre-release 946 + move definition for builtin.h in configure tests to specific check 947 for libg++, since qt uses the same filename incompatibly. 948 + correct logic of lib_termcap.c tgetstr function, which did not copy 949 the result to the buffer parameter. Testing shows Solaris does 950 update this, though of course tgetent's buffer is untouched (from 951 mpc.lists.freebsd.current newsgroup item by Peter Edwards 952 <peter.edwards@ireland.com>). 953 + corrected beterm terminfo entry, which lists some capabilities which 954 are not actually provided by the BeOS Terminal. 955 + add special logic to replace select() calls on BeOS, whose select() 956 function works only for sockets. 957 + correct missing escape in mkterm.h.awk.in, which caused part 958 of the copyright noticed to be omitted (reported by Peter 959 Wemm <peter@netplex.com.au>). 960 > several small changes to make the c++ binding and demo work on OS/2 961 EMX (related to a clean reinstall of EMX): 962 + correct library-prefix for c++ binding; none is needed. 963 + add $x suffix to make_hash and make_keys so 'make distclean' works. 964 + correct missing $x suffix for tack, c++ demo executables. 965 + split CF_CXX_LIBRARY into CF_GPP_LIBRARY (for -lg++) and 966 CF_STDCPP_LIBRARY (for -lstdc++) 967 968990828 pre-release 969 + add cygwin terminfo entry -TD 970 + modify CF_PROG_EXT configure macro to set .exe extension for cygwin. 971 + add configure option --without-cxx-binding, modifying the existing 972 --without-cxx option to check only for the C++ compiler 973 characteristics. Whether or not the C++ binding is needed, the 974 configure script checks for the size/type of bool, to make ncurses 975 match. Otherwise C++ applications cannot use ncurses. 976 977990821 pre-release 978 + updated configure macros CF_MAKEFLAGS, CF_CHECK_ERRNO 979 + minor corrections to beterm terminfo entry. 980 + modify lib_setup.c to reject values of $TERM which have a '/' in them. 981 + add ifdef's to guard against CS5, CS6, CS7, CS8 being zero, as more 982 than one is on BeOS. That would break a switch statement. 983 + add configure macro CF_LINK_FUNCS to detect and work around BeOS's 984 nonfunctional link(). 985 + improved configure macros CF_BOOL_DECL and CF_BOOL_SIZE to detect 986 BeOS's bool, which is declared as an unsigned char. 987 988990814 pre-release 989 + add ms-vt100 terminfo entry -TD 990 + minor fixes for misc/emx.src, based on testing with tack. 991 + minor fix for test/ncurses.c, test 'a', in case ncv is not set. 992 993990731 pre-release 994 + minor correction for 'screen' terminfo entry. 995 + clarify description of errret values for setupterm in manpage. 996 + modify tput to allow it to emit capabilities for hardcopy terminals 997 (patch by Goran Uddeborg <goeran@uddeborg.pp.se>). 998 + modify the 'o' (panel) test in ncurses.c to show the panels in color 999 or at least in bold, to test Juergen's change to wrefresh(). 1000 > patches by Juergen Pfeifer: 1001 + Fixes a problem using wbkgdset() with panels. It has actually 1002 nothing to with panels but is a problem in the implementation of 1003 wrefresh(). Whenever a window changes its background attribute to 1004 something different than newscr's background attribute, the whole 1005 window is touched to force a copy to newscr. This is an unwanted 1006 side-effect of wrefresh() and it is actually not necessary. A changed 1007 background attribute affects only further outputs of background it 1008 doesn't mean anything to the current content of the window. So there 1009 is no need to force a copy. (reported by Frank Heckenbach 1010 <frank@g-n-u.de>). 1011 + an upward compatible enhancement of the NCursesPad class in the C++ 1012 binding. It allows one to add a "viewport" window to a pad and then 1013 to use panning to view the pad through the viewport window. 1014 1015990724 pre-release 1016 + suppress a call to def_prog_mode() in the SIGTSTP handler if the 1017 signal was received while not in curses mode, e.g., endwin() was 1018 called in preparation for spawning a shell command (reported by Frank 1019 Heckenbach <frank@g-n-u.de>) 1020 + corrected/enhanced xterm-r5, xterm+sl, xterm+sl-twm terminfo entries. 1021 + change test for xterm mouse capability: it now checks only if the 1022 user's $DISPLAY variable is set in conjunction with the kmous 1023 capability being present in the terminfo. Before, it checked if any 1024 of "xterm", "rxvt" or "kterm" were substrings of the terminal name. 1025 However, some emulators which are incompatible with xterm in other 1026 ways do support the xterm mouse capability. 1027 + reviewed and made minor changes in ncurses to quiet g++ warnings 1028 about shadowed or uninitialized variables. g++ incorrectly warns 1029 about uninitialized variables because it does not take into account 1030 short-circuit expression evaluation. 1031 + change ncurses 'b' test to start in color pair 0 and to show in the 1032 right margin those attributes which are suppressed by no_color_video, 1033 i.e., "(NCV)". 1034 + modify ifdef's in curses.h so that __attribute__ is not redefined 1035 when compiling with g++, but instead disabled the macros derived for 1036 __attribute__ since g++ does not consistently recognize the same 1037 keywords as gcc (reported by Stephan K Zitz <zitz@erf.net>). 1038 + update dependencies for term.h in ncurses/modules (reported by 1039 Ilya Zakharevich). 1040 1041990710 pre-release 1042 + modify the form demo in ncurses.c to illustrate how to manipulate the 1043 field appearance, e.g, for highlighting or translating the field 1044 contents. 1045 + correct logic in write_entry from split-out of home_terminfo in 1046 980919, which prevented update of $HOME/.terminfo (reported by Philip 1047 Spencer <pspencer@fields.utoronto.ca>). 1048 1049990703 pre-release 1050 + modify linux terminfo description to make use of kernel 2.2.x mods 1051 that support cursor style, e.g., to implement cvvis (patch by Frank 1052 Heckenbach <frank@g-n-u.de>) 1053 + add special-case in setupterm to retain previously-saved terminal 1054 settings in cur_term, which happens when curses and termcap calls are 1055 mixed (from report by Bjorn Helgaas <helgaas@dhc.net>). 1056 + suppress initialization of key-tries in _nc_keypad() if we are only 1057 disabling keypad mode, e.g., in endwin() called when keypad() was not. 1058 + modify the Ada95 makefile to ensure that always the Ada files from 1059 the development tree are used for building and not the eventually 1060 installed ones (patch by Juergen Pfeifer). 1061 1062990626 pre-release 1063 + use TTY definition in tack/sysdep.c rather than struct termios 1064 (reported by Philippe De Muyter). 1065 + add a fallback for strstr, used in lib_mvcur.c and tack/edit.c, 1066 not present on sysV68 (reported by Philippe De Muyter). 1067 + correct definition in comp_hash.c to build with configure 1068 --with-rcs-ids option. 1069 1070990619 pre-release 1071 + modified ifdef's for sigaction and sigvec to ensure we do not try to 1072 handle SIGTSTP if neither is available (from report by Philippe De 1073 Muyter). 1074 > patch by Philippe De Muyter: 1075 + in tic.c, use `unlink' if `remove' is not available. 1076 + use only `unsigned' as fallback value for `speed_t'. Some files used 1077 `short' instead. 1078 1079990616 pre-release 1080 + fix some compiler warnings in tack. 1081 + add a check for predefined bool type in CC, based on report that 1082 BeOS predefines a bool type. 1083 + correct logic for infocmp -e option (i.e., the configure 1084 --with-fallbacks option), which I'd not updated when implementing 1085 extended names (cf: 990301). The new implementation adds a -E 1086 option to infocmp. 1087 > patch by Juergen Pfeifer: 1088 + introduce the private type Curses_Bool in the Ada95 binding 1089 implementation. This is to clearly represent the use of "bool" also 1090 in the binding. It should have no effect on the generated code. 1091 + improve the man page for field_buffer() to tell the people, that the 1092 whole buffer including leading/trailing spaces is returned. This is 1093 a common source of confusion, so it's better to document it clearly. 1094 1095990614 pre-release 1096 > patch by Juergen Pfeifer: 1097 + use pragma PreElaborate in several places. 1098 + change a few System.Address uses to more specific types. 1099 + change interface version-number to 1.0 1100 + regenerate Ada95 HTML files. 1101 1102990612 pre-release 1103 + modify lib_endwin.c to avoid calling reset_shell_mode(), return ERR 1104 if it appears that curses was never initialized, e.g., by initscr(). 1105 For instance, this guards against setting the terminal modes to 1106 strange values if endwin() is called after setupterm(). In the same 1107 context, Solaris curses will dump core. 1108 + modify logic that avoids a conflict in lib_vidattr.c between sgr0 and 1109 equivalent values in rmso or rmul by ensuring we do not modify the 1110 data which would be returned by the terminfo or termcap interfaces 1111 (reported by Brad Pepers <brad@linuxcanada.com>, cf: 960706). 1112 + add a null-pointer check for SP in lib_vidattr.c to logic that checks 1113 for magic cookies. 1114 + improve fallback declaration of 'bool' when the --without-cxx option 1115 is given, by using a 'char' on i386 and related hosts (from discussion 1116 with Alexander Lukyanov). 1117 1118990605 pre-release 1119 + include time.h in lib_napms.c if nanosleep is used (patch by 1120 R Lindsay Todd <toddr@rpi.edu>). 1121 + add an "#undef bool" to curses.h, in case someone tries to define it, 1122 e.g., perl. 1123 + add check to tparm to guard against divide by zero (reported by Aaron 1124 Campbell <aaron@ug.cs.dal.ca>). 1125 1126990516 pre-release 1127 + minor fix to build tack on CLIX (mismatched const). 1128 > patch by Juergen Pfeifer: 1129 + change Juergen's old email address with new one in the files where it 1130 is referenced. The Ada95 HTML pages are regenerated. 1131 + update MANIFEST to list the tack files. 1132 1133990509 pre-release 1134 + minor fixes to make 'tack' build/link on NeXT (reported by Francisco 1135 A. Tomei Torres). 1136 1137990417 pre-release 1138 + add 'tack' program (which is GPL'd), updating it to work with the 1139 modified TERMTYPE struct and making a fix to support setaf/setab 1140 capabilities. Note that the tack program is not part of the 1141 ncurses libraries, but an application which can be distributed with 1142 ncurses. The configure script will ignore the directory if it is 1143 omitted, however. 1144 + modify gpm mouse support so that buttons 2 and 3 are used for 1145 select/paste only when shift key is pressed, making them available 1146 for use by an application (patch by Klaus Weide). 1147 + add complete list of function keys to scoansi terminfo entry - TD 1148 1149990410 pre-release 1150 + add a simple test program cardfile.c to illustrate how to read form 1151 fields, and showing forms within panels. 1152 + change shared-library versioning for the Hurd to be like Linux rather 1153 than *BSD (patch by Mark Kettenis <kettenis@wins.uva.nl>). 1154 + add linux-lat terminfo entry. 1155 + back-out _nc_access check in read_termcap.c (both incorrect and 1156 unnecessary, except to guard against a small window where the file's 1157 ownership may change). 1158 1159990403 pre-release 1160 + remove conflicting _nc_free_termtype() function from test module 1161 lib_freeall.c 1162 + use _nc_access check in read_termcap.c for termpaths[] array (noted 1163 by Jeremy Buhler, indicating that Alan Cox made a similar patch). 1164 > patch by Juergen Pfeifer: 1165 + modify menu creation to not inherit status flag from the default menu 1166 which says that the associated marker string has been allocated and 1167 should be freed (bug reported by Marek Paliwoda" <paliwoda@kki.net.pl>) 1168 1169990327 pre-release (alpha.gnu.org:/gnu/ncurses-5.0-beta1.tar.gz) 1170 + minor fixes to xterm-xfree86 terminfo entry - TD. 1171 + split up an expression in configure script check for ldconfig to 1172 workaround limitation of BSD/OS sh (reported by Jeff Haas 1173 <jmh@mail.msen.com>). 1174 + correct a typo in man/form_hook.3x (Todd C Miller). 1175 1176990318 pre-release 1177 + parenthesize and undef 'index' symbol in c++ binding and demo, to 1178 accommodate its definition on NeXT (reported by Francisco A. Tomei 1179 Torres). 1180 + add sigismember() to base/sigaction.c compatibility to link on NeXT 1181 (reported by Francisco A. Tomei Torres). 1182 + further refinements to inequality in hashmap.c to cover a case with 1183 ^U in nvi (patch by Alexander Lukyanov). 1184 1185990316 pre-release 1186 + add fallback definition for getcwd, to link on NeXT. 1187 + add a copy of cur_term to tic.c to make it link properly on NeXT 1188 (reported by Francisco A. Tomei Torres). 1189 + change inequality in hashmap.c which checks the distance traveled by 1190 a chunk so that ^D command in nvi (scrolls 1/2 screen) will use 1191 scrolling logic (patch by Alexander Lukyanov, reported by Jeffrey 1192 C Honig). 1193 1194990314 pre-release 1195 + modify lib_color.c to handle a special case where the curscr 1196 attributes have been made obsolete (patch by Alexander Lukyanov). 1197 + update BSD/OS console terminfo entries to use klone+sgr and 1198 klone+color (patch by Jeffrey C Honig). 1199 + update glibc addon configure script for extended capabilities. 1200 + correct a couple of warnings in the --enable-const configuration. 1201 + make comp_hash build properly with _nc_strdup(), on NeXT (reported by 1202 Francisco A. Tomei Torres <francisco.tomei@cwix.com>). 1203 1204990313 pre-release 1205 + correct typos in linux-c initc string - TD 1206 + add 'crt' terminfo entry, update xterm-xfree86 entry - TD 1207 + remove a spurious argument to tparm() in lib_sklrefr.c (patch by 1208 Alexander Lukyanov). 1209 1210990307 pre-release 1211 + back-out change to wgetch because it causes a problem with ^Z 1212 handling in lynx (reported by Kim DeVaughn). 1213 1214990306 pre-release 1215 + add -G option to tic and infocmp, to reverse the -g option. 1216 + recode functions in name_match.c to avoid use of strncpy, which 1217 caused a 4-fold slowdown in tic (cf: 980530). 1218 + correct a few warnings about sign-extension in recent changes. 1219 > patch by Juergen Pfeifer: 1220 + fixes suggested by Jeff Bradbury <jibradbury@lucent.com>: 1221 + improved parameter checking in new_fieldtype(). 1222 + fixed a typo in wgetch() timeout handling. 1223 + allow slk_init() to be called per newterm call. The internal SLK 1224 state is stored in the SCREEN struct after every newterm() and then 1225 reset for the next newterm. 1226 + fix the problem that a slk_refresh() refreshes stdscr if the 1227 terminal has true SLKs. 1228 + update HTML documentation for Ada binding. 1229 1230990301 pre-release 1231 + remove 'bool' casts from definitions of TRUE/FALSE so that statements 1232 such as "#if TRUE" work. This was originally done to allow for a C++ 1233 compiler which would warn of implicit conversions between enum and 1234 int, but is not needed for g++ (reported by Kim DeVaughn). 1235 + add use_extended_names() function to allow applications to suppress 1236 read of the extended capabilities. 1237 + add configure option --enable-tcap-names to support logic which 1238 allows ncurses' tic to define new (i.e., extended) terminal 1239 capabilities. This is activated by the tic -x switch. The infocmp 1240 program automatically shows or compares extended capabilities. 1241 Note: This changes the Strings and similar arrays in the TERMTYPE 1242 struct so that applications which manipulate it must be recompiled. 1243 + use macros typeMalloc, typeCalloc and typeRealloc consistently 1244 throughout ncurses library. 1245 + add _nc_strdup() to doalloc.c. 1246 + modify define_key() to allow multiple strings to be bound to the 1247 same keycode. 1248 + correct logic error in _nc_remove_string, from 990220. 1249 > patch by Juergen Pfeifer, for Ada95 binding: 1250 + regenerate some of the html documentation 1251 + minor cleanup in terminal_interface-curses.adb 1252 1253990220 pre-release 1254 + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in 1255 xterm and ncsa terminfo entries by removing the unneeded ones. Note 1256 that some entries will return kend & khome versus kslt and kfnd, for 1257 PC-style keyboards versus strict vt220 compatiblity - TD 1258 + add function keybound(), which returns the definition associated with 1259 a given keycode. 1260 + modify define_key() to undefine the given string when no keycode is 1261 given. 1262 + modify keyok() so it works properly if there is more than one string 1263 defined for a keycode. 1264 + add check to tic to warn about terminfo descriptions that contain 1265 more than one key assigned to the same string. This is shown only if 1266 the verbose (-v) option is given. Moved related logic (tic -v) from 1267 comp_parse.c into the tic program. 1268 + add/use _nc_trace_tries() to show the function keys that will be 1269 recognized. 1270 + rename init_acs to _nc_init_acs (request by Alexander Lukyanov). 1271 > patch by Juergen Pfeifer, for Ada95 binding: 1272 + remove all the *_adabind.c from ncurses, menu and form projects. 1273 Those little helper routines have all been implemented in Ada and are 1274 no longer required. 1275 + The option handling routines in menu and form have been made more 1276 save. They now make sure that the unused bits in options are always 1277 zero. 1278 + modify configuration scripts to 1279 + use gnatmake as default compiler name. This is a safer choice than 1280 gcc, because some GNAT implementations use other names for the 1281 compilerdriver to avoid conflicts. 1282 + use new default installation locations for the Ada files according 1283 to the proposed GNU Ada filesystem standard (for Linux). 1284 + simplify the Makefiles for the Ada binding 1285 + rename ada_include directory to src. 1286 1287990213 1288 + enable sigwinch handler by default. 1289 + disable logic that allows setbuf to be turned off/on, because some 1290 implementations will overrun the buffer after it has been disabled 1291 once. 1292 1293990206 1294 + suppress sc/rc capabilities from terminal description if they appear 1295 in smcup/rmcup. This affects only scrolling optimization, to fix a 1296 problem reported by several people with xterm's alternate screen, 1297 though the problem is more general. 1298 > patch by Juergen Pfeifer, for Ada95 binding: 1299 + removed all pragma Preelaborate() stuff, because the just released 1300 gnat-3.11p complains on some constructs. 1301 + fixed some upper/lower case notations because gnat-3.11p found 1302 inconsistent use. 1303 + used a new method to generate the HTML documentation of the Ada95 1304 binding. This invalidates nearly the whole ./Ada95/html subtree. 1305 Nearly all current files in this subtree are removed 1306 1307990130 1308 + cache last result from _nc_baudrate, for performance (suggested by 1309 Alexander Lukyanov). 1310 + modify ClrUpdate() function to workaround a problem in nvi, which 1311 uses redrawwin in SIGTSTP handling. Jeffrey C Honig reported that 1312 ncurses repainted the screen with nulls before resuming normal 1313 operation (patch by Alexander Lukyanov). 1314 + generalize is_xterm() function a little by letting xterm/rxvt/kterm 1315 be any substring rather than the prefix. 1316 + modify lib_data.c to initialize SP. Some linkers, e.g., IBM's, will 1317 not link a module if the only symbols exported from the module are 1318 uninitialized ones (patch by Ilya Zakharevich, who says that he has 1319 seen messages claiming this behaviour conforms to the standard.) 1320 + move call on _nc_signal_handler past _nc_initscr, to avoid a small 1321 window where Nttyb hasn't yet been filled (reported by Klaus Weide). 1322 + modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a 1323 problem where ncurses applications which were run via a shell script 1324 would hang when given a ^Z. Also, check if the terminal's process 1325 group is consistent, i.e., a shell has not taken ownership of it, 1326 before deciding to save the current terminal settings in the SIGTSTP 1327 handler (patch by Klaus Weide). 1328 + correct spelling of ACS_ names in curs_border.3x (reported by Bob van 1329 der Poel <bvdpoel@kootenay.com>). 1330 + correct a couple of typos in the macros supporting the configure 1331 --with-shlib-version option. 1332 1333990123 1334 + modify fty_regex.c to compile on HAVE_REGEXPR_H_FUNCS machine (patch 1335 by Kimio Ishii <ishii@csl.sony.co.jp>). 1336 + rename BSDI console terminfo entries: bsdos to bsdos-pc-nobold, and 1337 bsdos-bold to bsdos-pc (patch by Jeffrey C Honig). 1338 + modify tput to accept termcap names as an alternative to terminfo 1339 names (patch by Jeffrey C Honig). 1340 + correct a typo in term.7 (Todd C Miller). 1341 + add configure --with-shlib-version option to allow installing shared 1342 libraries named according to release or ABI versions. This 1343 parameterizes some existing logic in the configure script, and is 1344 intended for compatiblity upgrades on Digital Unix, which used 1345 versioned libraries in ncurses 4.2, but no longer does (cf: 980425). 1346 + resync configure script against autoconf 2.13 + patches 1347 + minor improvements for teraterm terminfo entry based on the program's 1348 source distribution. 1349 1350990116 1351 + change default for configure --enable-big-core to assume machines do 1352 have enough memory to resolve terminfo.src in-memory. 1353 + correct name of ncurses library in TEST_ARGS when configuring with 1354 debug library. 1355 + minor fixes to compile ncurses library with broken-linker with g++. 1356 + add --enable-broken-linker configure option, default to environment 1357 variable $BROKEN_LINKER (request by Jeffrey C Honig). 1358 + change key_names[] array to static since it is not part of the curses 1359 interface (reported by Jeffrey C Honig <jch@bsdi.com>). 1360 1361990110 1362 + add Tera Term terminfo entry - TD 1363 1364990109 1365 + reviewed/corrected macros in curses.h as per XSI document. 1366 + provide support for termcap PC variable by copying it from terminfo 1367 data and using it as the padding character in tputs (reported by 1368 Alexander Lukyanov). 1369 + corrected iris-ansi and iris-ansi-ap terminfo entries for kent and 1370 kf9-kf12 capabilities, as well as adding kcbt. 1371 + document the mouse handling mechanism in menu_driver and make a small 1372 change in menu_driver's return codes to provide more consistency 1373 (patch by Juergen Pfeifer). 1374 + add fallback definition for NCURSES_CONST to termcap.h.in (reported 1375 by Uchiyama Yasushi <uch@nop.or.jp>). 1376 + move lib_restart.c to ncurses/base, since it uses curses functions 1377 directly, and therefore cannot be used in libtinfo.so 1378 + rename micro_char_size to micro_col_size, adding #define to retain 1379 old name. 1380 + add set_a_attributes and set_pglen_inch to terminfo structure, as per 1381 XSI and Solaris 2.5. 1382 + minor makefile files to build ncurses test_progs 1383 + update html files in misc directory to reflect changes since 4.2 1384 1385990102 1386 + disable scroll hints when hashmap is enabled (patch by Alexander 1387 Lukyanov). 1388 + move logic for tic's verify of -e option versus -I and -C so that the 1389 terminfo data is not processed if we cannot handle -e (reported by 1390 Steven Schwartz <steves@unitrends.com>. 1391 + add test-driver traces to terminfo and termcap functions. 1392 + provide support for termcap ospeed variable by copying it from the 1393 internal cur_term member, and using ospeed as the baudrate reference 1394 for the delay_output and tputs functions. If an application does not 1395 set ospeed, the library behaves as before, except that _nc_timed_wait 1396 is no longer used, or needed, since ospeed always has a value. But 1397 the application can modify ospeed to adjust the output of padding 1398 characters (from a bug report for screen 3.7.6 and email from Michael 1399 Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>). 1400 + removed some unused ifdef's as part of Alexander's restructuring. 1401 + reviewed/updated curses.h, term.h against X/Open Curses Issue 4 1402 Version 2. This includes making some parameters NCURSES_CONST 1403 rather than const, e.g., in termcap.h. 1404 + change linux terminfo entry to use ncv#2, since underline does not 1405 work with color 1406 1407981226 1408 + miscellaneous corrections for curses.h to match XSI. 1409 + change --enable-no-padding configure option to be normally enabled. 1410 + add section to ncurses manpage for environment variables. 1411 + investigated Debian bug report that pertains to screen 3.7.4/3.7.6 1412 changes, found no sign of problems on Linux (or on SunOS, Solaris) 1413 running screen built with ncurses. 1414 + check if tmp_fp is opened in tic.c before closing it (patch by Pavel 1415 Roskin <pavel_roskin@geocities.com>). 1416 + correct several font specification typos in man-pages. 1417 1418981220 1419 + correct default value for BUILD_CC (reported by Larry Virden). 1420 1421981219 1422 + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent 1423 it from changing the terminfo directory after chdir'ing to it. 1424 Otherwise, a relative path in $TERMINFO would confuse tic (from a 1425 Debian bug report). 1426 + correct/update ncsa terminfo entry (report by Larry Virden). 1427 + update xterm-xfree86 terminfo to current (patch 90), smcur/rmcur changes 1428 + add Mathew Vernon's mach console entries to terminfo.src 1429 + more changes, moving functions, as part of Alexander's restructuring. 1430 + modify configure script for GNU/Hurd share-library support, introduce 1431 BUILD_CC variable for cross compiling (patch by Uchiyama Yasushi 1432 <uch@nop.or.jp>) 1433 1434981212 1435 + add environment variable NCURSES_NO_SETBUF to allow disabling the 1436 setbuf feature, for testing purposes. 1437 + correct ifdef's for termcap.h versus term.h that suppress redundant 1438 declarations of prototypes (reported by H.J.Lu). 1439 + modify Makefile.os2 to add linker flags which allow multiple copies 1440 of an application to coexist (reported by Ilya Zakharevich). 1441 + update Makefile.glibc and associated configure script so that ncurses 1442 builds as a glibc add-on with the new directory configuration 1443 (reported by H.J.Lu). 1444 1445981205 1446 + modify gen_reps() function in gen.c to work properly on SunOS 1447 (sparc), which is a left-to-right architecture. 1448 + modify relative_move and tputs to avoid an interaction with the 1449 BSD-style padding. The relative_move function could produce a string 1450 to replace on the screen which began with a numeric character, which 1451 was then interpreted by tputs as padding. Now relative_move will not 1452 generate a string with a leading digit in that case (overwrite). 1453 Also, tputs will only interpret padding if the string begins with a 1454 digit; as coded it permitted a string to begin with a decimal point 1455 or asterisk (reported by Larry Virden). 1456 > patches by Juergen Pfeifer: 1457 + fix a typo in m_driver.c mouse handling and improves the error 1458 handling. 1459 + fix broken mouse handling in the Ada95 binding 1460 + make the Ada95 sample application menus work with the new menu mouse 1461 support 1462 + improve the mouse handling introduced by Ilya; it now handles menus 1463 with spacing. 1464 + repair a minor bug in the menu_driver code discovered during this 1465 rework. 1466 + add new function wmouse_trafo() to hide implementation details of 1467 _yoffset member of WINDOW struct needed for mouse coordinate 1468 transformation. 1469 1470981128 1471 + modify Ada95/gen/gen.c to avoid using return-value of sprintf, since 1472 some older implementations (e.g., SunOS 4.x) return the buffer 1473 address rather than its length. 1474 > patch by Rick Ohnemus: 1475 + modify demo.cc to get it to compile with newer versions of egcs. 1476 + trim a space that appears at the end of the table preprocessor lines 1477 ('\" t). This space prevents some versions of man from displaying 1478 the pages - changed to remove all trailing whitespace (TD) 1479 + finally, 'make clean' does not remove panel objects. 1480 > patches by Ilya Zakharevich: 1481 + allow remapping of OS/2 mouse buttons using environment variable 1482 MOUSE_BUTTONS_123 with the default value 132. 1483 + add mouse support to ncurses menus. 1484 1485981121 1486 + modify misc/makedef.cmd to report old-style .def file symbols, and to 1487 generate the .def files sorted by increasing names rather than the 1488 reverse. 1489 + add misc/*.ref which are J.J.G.Ripoll's dll definition files (renamed 1490 from misc/*.old), and updated based on the entrypoint coding he used 1491 for an older version of ncurses. 1492 + add README.emx, to document how to build on OS/2 EMX. 1493 + updates for config.guess, config.sub from Lynx 1494 > patches by Ilya Zakharevich: 1495 + minor fixes for mouse handling mode: 1496 a) Do not initialize mouse if the request is to have no mouse; 1497 b) Allow switching of OS/2 VIO mouse on and off. 1498 + modify Makefile.os2 to support alternative means of generating 1499 configure script, by translating Unix script with Perl. 1500 > patches by Juergen Pfeifer: 1501 + Updates MANIFEST to reflect changes in source structure 1502 + Eliminates a problem introduced with my last patch for the C++ 1503 binding in the panels code. It removes the update() call done in the 1504 panel destructor. 1505 + Changes in the Ada95 binding to better support systems where 1506 sizeof(chtype)!=sizeof(int) (e.g. DEC Alpha). 1507 1508981114 1509 + modify install-script for manpages to skip over .orig and .rej files 1510 (request by Larry Virden). 1511 > patches/discussion by Alexander Lukyanov: 1512 + move base-library sources into ncurses/base and tty (serial terminal) 1513 sources into ncurses/tty, as part of Alexander Lukyanov's proposed 1514 changes to ncurses library. 1515 + copy _tracemouse() into ncurses.c so that lib_tracemse.c need not 1516 be linked into the normal ncurses library. 1517 + move macro winch to a function, to hide details of struct ldat 1518 > patches by Juergen Pfeifer: 1519 + fix a potential compile problem in cursesw.cc 1520 + some Ada95 cosmetics 1521 + fix a gen.c problem when compiling on 64-Bit machines 1522 + fix Ada95/gen/Makefile.in "-L" linker switch 1523 + modify Ada95 makefiles to use the INSTALL_PREFIX setting. 1524 1525981107 1526 + ifdef'd out lib_freeall.c when not configured. 1527 + rename _tracebits() to _nc_tracebits(). 1528 + move terminfo-library sources into ncurses/tinfo, and trace-support 1529 functions into ncurses/trace as part of Alexander Lukyanov's proposed 1530 changes to ncurses library. 1531 + modify generated term.h to always specify its own definitions for 1532 HAVE_TERMIOS_H, etc., to guard against inclusion by programs with 1533 broken configure scripts. 1534 1535981031 1536 + modify terminfo parsing to accept octal and hexadecimal constants, 1537 like Solaris. 1538 + remove an autoconf 2.10 artifact from the configure script's check 1539 for "-g" compiler options. (Though harmless, this confused someone 1540 at Debian, who recently issued a patch that results in the opposite 1541 effect). 1542 + add configure option --with-ada-compiler to accommodate installations 1543 that do not use gcc as the driver for GNAT (patch by Juergen 1544 Pfeifer). 1545 1546981017 1547 + ensure ./man exists in configure script, needed when configuring 1548 with --srcdir option. 1549 + modify infocmp "-r" option to remove limit on formatted termcap 1550 output, which makes it more like Solaris' version. 1551 + modify captoinfo to treat no-argument case more like Solaris' version, 1552 which uses the contents of $TERMCAP as the entry to format. 1553 + modify mk-2nd.awk to handle subdirectories, e.g., ncurses/tty 1554 (patch by Alexander V Lukyanov). 1555 1556981010 1557 + modify --with-terminfo-dirs option so that the default value is the 1558 ${datadir} value, unless $TERMINFO_DIRS is already set. This gets 1559 rid of a hardcoded list of candidate directories in the configure 1560 script. 1561 + add some error-checking to _nc_read_file_entry() to ensure that 1562 strings are properly terminated (Todd C Miller). 1563 + rename manpage file curs_scr_dmp.3x to curs_scr_dump.3x, to 1564 correspond with contents (reported by Neil Zanella 1565 <nzanella@cs.mun.ca>). 1566 + remove redundant configure check for C++ which did not work when $CXX 1567 was specified with a full pathname (reported by Andreas Jaeger). 1568 + corrected bcopy/memmove check; the macro was not standalone. 1569 1570981003 1571 + remove unnecessary portion of OS/2 EMX mouse change from 1572 check_pending() (reported by Alexander V Lukyanov). 1573 1574980926 1575 + implement mouse support for OS/2 EMX (adapted from patch against 1576 4.2(?) by Ilya Zakharevich). 1577 + add configure-check for bcopy/memmove, for 980919 changes to hashmap. 1578 + merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD 1579 + merge AIX 3.2.5 terminfo descriptions for IBM terminals, replaces 1580 some older entries - TD 1581 + modify tic to compile into %'char' form in preference to %{number}, 1582 since that is a little more efficient. 1583 + minor correction to infocmp to avoid displaying "difference" between 1584 two capabilities that are rendered in equivalent forms. 1585 + add -g option to tic/infocmp to force character constants to be 1586 displayed in quoted form. Otherwise their decimal values are shown. 1587 + modify setupterm so that cancelled strings are treated the same as 1588 absent strings, cancelled and absent booleans false (does not affect 1589 tic, infocmp). 1590 + modify tic, infocmp to discard redundant i3, r3 strings when output 1591 to termcap format. 1592 > patch by Alexander V Lukyanov: 1593 + improve performance of tparm, now it takes 19% instead of 25% when 1594 profiling worm. 1595 + rename maxlen/minlen to prec/width for better readability. 1596 + use format string for printing strings. 1597 + use len argument correctly in save_text, and pass it to save_number. 1598 1599980919 1600 + make test_progs compile (but hashmap does not function). 1601 + correct NC_BUFFERED macro, used in lib_mvcur test-driver, modify 1602 associated logic to avoid freeing the SP->_setbuf data. 1603 + add modules home_terminfo and getenv_num to libtinfo. 1604 + move write_entry to libtinfo, to work with termcap caching. 1605 + minor fixes to blue.c to build with atac. 1606 + remove softscroll.c module; no longer needed for testing. 1607 > patches by Todd C Miller: 1608 + use strtol(3) instead of atoi(3) when parsing env variables so we can 1609 detect a bogus (non-numeric) value. 1610 + check for terminal names > MAX_NAME_SIZE in a few more places when 1611 dealing with env variables again. 1612 + fix a MAX_NAME_SIZE that should be MAX_NAME_SIZE+1 1613 + use sizeof instead of strlen(3) on PRIVATE_INFO since it is a fixed 1614 string #define (compile time vs runtime). 1615 + when setting errno to ENOMEM, set it right before the return, not 1616 before code that could, possibly, set errno to a different value. 1617 > patches by Alexander V Lukyanov: 1618 + use default background in update_cost_from_blank() 1619 + disable scroll-hints when hashmap is configured. 1620 + improve integration of hashmap scrolling code, by adding oldhash and 1621 newhash data to SP struct. 1622 + invoke del_curterm from delscreen. 1623 + modify del_curterm to set cur_term to null if it matches the function's 1624 parameter which is deleted. 1625 + modify lib_doupdate to prefer parm_ich to the enter_insert_mode and 1626 exit_insert_mode combination, adjusting InsCharCost to check 1627 enter_insert_mode, exit_insert_mode and insert_padding. Add 1628 insert_padding in insert mode after each char. This adds new costs 1629 to the SP struct. 1630 1631980912 1632 + modify test-driver in lib_mvcur.s to use _nc_setbuffer, for consistent 1633 treatment. 1634 + modify ncurses to restore output to unbuffered on endwin, and resume 1635 buffering in refresh (see lib_set_term.c and NC_BUFFERED macro). 1636 + corrected HTML version numbers (according to the W3C validator, they 1637 never were HTML 2.0-compliant, but are acceptable 3.0). 1638 1639980905 1640 + modify MKterminfo.sh to generate terminfo.5 with tables sorted by 1641 capability name, as in SVr4. 1642 + modified term.h, termcap.h headers to avoid redundant declarations. 1643 + change 'u_int' type in tset.c to unsigned, making this compile on 1644 Sequent PRX 4.1 (reported by Michael Sterrett <msterret@coat.com>). 1645 1646980829 1647 + corrections to mailing addresses, and moving the magic line that 1648 causes the man program to invoke tbl to the first line of each 1649 manpage (patch by Rick Ohnemus <rick@ecompcon.com>). 1650 + add Makefile.os2 and supporting scripts to generate dll's on OS/2 EMX 1651 (from J.J.G.Ripoll, with further integration by TD). 1652 + correct a typo in icl6404 terminfo entry. 1653 + add xtermm and xtermc terminfo entries. 1654 > from esr's terminfo version: 1655 + Added Francesco Potorti's tuned Wyse 99 entries. 1656 + dtterm enacs correction from Alexander V Lukyanov. 1657 + Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version. 1658 1659980822 1660 + document AT&T acs characters in terminfo.5 manpage. 1661 + use EMX _scrsize() function if terminfo and environment do not 1662 declare the screen size (reported by Ilya Zakharevich 1663 <ilya@math.ohio-state.edu>). 1664 + remove spurious '\' characters from eterm and osborne terminfo 1665 entries (prompted by an old Debian bug report). 1666 + correct reversed malloc/realloc calls in _nc_doalloc (reported by 1667 Hans-Joachim Widmaier <hjwidmai@foxboro.com>). 1668 + correct misplaced parenthesis which caused file-descriptor from 1669 opening termcap to be lost, from 980725 changes (reported by Andreas 1670 Jaeger). 1671 1672980815 1673 + modify lib_setup.c to eliminate unneeded include of <sys/ioctl.h> when 1674 termios is not used (patch by Todd C Miller). 1675 + add function _nc_doalloc, to ensure that failed realloc calls do not 1676 leak memory (reported by Todd C Miller). 1677 + improved ncsa-telnet terminfo entry. 1678 1679980809 1680 + correct missing braces around a trace statement in read_entry.c, 1681 from 980808 (reported by Kim DeVaughn <kimdv@best.com> and Liviu 1682 Daia). 1683 1684980808 1685 + fix missing include <errno.h> in ditto.c (reported by Bernhard 1686 Rosenkraenzer <bero@k5.sucks.eu.org>) 1687 + add NCSA telnet terminfo entries from Francesco Potorti 1688 <F.Potorti@cnuce.cnr.it>, from Debian bug reports. 1689 + make handling of $LINES and $COLUMNS variables more compatible with 1690 Solaris by allowing them to individually override the window size 1691 as obtained via ioctl. 1692 1693980801 1694 + modify lib_vidattr.c to allow for terminal types (e.g., xterm-color) 1695 which may reset all attributes in the 'op' capability, so that colors 1696 are set before turning on bold and other attributes, but still after 1697 turning attributes off. 1698 + add 'ditto.c' to test directory to illustrate use of newterm for 1699 initializing multiple screens. 1700 + modify _nc_write_entry() to recover from failed attempt to link alias 1701 for a terminfo on a filesystem which does not preserve character case 1702 (reported by Peter L Jordan <PJordan@chla.usc.edu>). 1703 1704980725 1705 + updated versions of config.guess and config.sub based on automake 1.3 1706 + change name-comparisons in lib_termcap to compare no more than 2 1707 characters (gleaned from Debian distribution of 1.9.9g-8.8, verified 1708 with Solaris curses). 1709 + fix typo in curs_insstr.3x (patch by Todd C Miller) 1710 + use 'access()' to check if ncurses library should be permitted to 1711 open or modify files with fopen/open/link/unlink/remove calls, in 1712 case the calling application is running in setuid mode (request by 1713 Cristian Gafton <gafton@redhat.com>, responding to Duncan Simpson 1714 <dps@io.stargate.co.uk>). 1715 + arm100 terminfo entries from Dave Millen <dmill@globalnet.co.uk>). 1716 + qnxt2 and minitel terminfo entries from esr's version. 1717 1718980718 1719 + use -R option with ldconfig on FreeBSD because otherwise it resets 1720 the search path to /usr/lib (reported by Dan Nelson). 1721 + add -soname option when building shared libraries on OpenBSD 2.x 1722 (request by QingLong). 1723 + add configure options --with-manpage-format and --with-manpage-renames 1724 (request by QingLong). 1725 + correct conversion of CANCELLED_NUMERIC in write_object(), which was 1726 omitting the high-order byte, producing a 254 in the compiled 1727 terminfo. 1728 + modify return-values of tgetflag, tgetnum, tgetstr, tigetflag, 1729 tigetnum and tigetstr to be compatible with Solaris (gleaned from 1730 Debian distribution of 1.9.9g-8.8). 1731 + modify _nc_syserr_abort to abort only when compiled for debugging, 1732 otherwise simply exit with an error. 1733 1734980711 1735 + modify Ada95 'gen' program to use appropriate library suffix (e.g., 1736 "_g" for a debug build). 1737 + update Ada95 'make clean' rule to include generics .ali files 1738 + add a configure test to ensure that if GNAT is found, that it can 1739 compile/link working Ada95 program. 1740 + flush output in beep and flash functions, fixing a problem with 1741 getstr (patch by Alexander V Lukyanov) 1742 + fix egcs 1.0.2 warning for etip.h (patch by Chris Johns). 1743 + correct ifdef/brace nesting in lib_sprintf.c (patch by Bernhard 1744 Rosenkraenzer <bero@Pool.Informatik.RWTH-Aachen.DE>). 1745 + correct typo in wattr_get macro from 980509 fixes (patch by Dan 1746 Nelson). 1747 1748980704 1749 + merge changes from current XFree86 xterm terminfo descriptions. 1750 + add configure option '--without-ada'. 1751 + add a smart-default for termcap 'ac' to terminfo 'acs_chars' which 1752 corresponds to vt100. 1753 + change translation for termcap 'rs' to terminfo 'rs2', which is 1754 the documented equivalent, rather than 'rs1'. 1755 1756980627 1757 + slow 'worm' down a little, for very fast machines. 1758 + corrected firstchar/lastchar computation in lib_hline.c 1759 + simplify some expressions with CHANGED_CELL, CHANGED_RANGE and 1760 CHANGED_TO_EOL macros. 1761 + modify init_pair so that if a color-pair is reinitialized, we will 1762 repaint the areas of the screen whose color changes, like SVr4 curses 1763 (reported by Christian Maurer <maurer@inf.fu-berlin.de>). 1764 + modify getsyx/setsyx macros to comply with SVr4 man-page which 1765 says that leaveok() affects their behavior (report by Darryl Miles, 1766 patch by Alexander V Lukyanov). 1767 1768980620 1769 + review terminfo.5 against Solaris 2.6 curses version, corrected 1770 several minor errors/omissions. 1771 + implement tparm %l format. 1772 + implement tparm printf-style width and precision for %s, %d, %x, %o 1773 as per XSI. 1774 + implement tparm dynamic variables (reported by Xiaodan Tang). 1775 1776980613 1777 + update man-page for for wattr_set, wattr_get (cf: 980509) 1778 + correct limits in hashtest, which would cause nonprinting characters 1779 to be written to large screens. 1780 + correct configure script, when --without-cxx was specified: the 1781 wrong variable was used for cf_cv_type_of_bool. Compilers up to gcc 1782 2.8 tolerated the missing 'int'. 1783 + remove the hardcoded name "gcc" for the GNU Ada compiler. The 1784 compiler's name might be something like "egcs" (patch by Juergen 1785 Pfeifer). 1786 + correct curs_addch.3x, which implied that echochar could directly 1787 display control characters (patch by Alexander V Lukyanov). 1788 + fix typos in ncurses-intro.html (patch by Sidik Isani 1789 <isani@cfht.hawaii.edu>) 1790 1791980606 1792 + add configure test for conflicting use of exception in math.h and 1793 other headers. 1794 + minor optimization to 'hash()' function in hashmap.c, reduces its 1795 time by 10%. 1796 + correct form of LD_SHARED_OPTS for HP-UX 10.x (patch by Tim Mooney). 1797 + fix missing quotes for 'print' in MKunctrl.awk script (reported by 1798 Mihai Budiu <mihaib@gs41.sp.cs.cmu.edu>). 1799 > patch by Alexander V Lukyanov: 1800 + correct problem on Solaris (with poll() function) where getch could 1801 hang indefinitely even if timeout(x) was called. This turned out to 1802 be because milliseconds was not updated before 'goto retry' in 1803 _nc_timed_wait. 1804 + simplified the function _nc_timed_wait and fixed another bug, which 1805 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft 1806 assignment. 1807 + removed the cycle on EINTR, as it seems to be useless. 1808 1809980530 1810 + add makefile-rule for test/keynames 1811 + modify run_tic.sh and shlib to ensure that user's .profile does not 1812 override the $PATH used to run tic (patch by Tim Mooney). 1813 + restore LD_SHARED_OPTS to $(LD_SHARED_FLAGS) when linking programs, 1814 needed for HP-UX shared-library path (recommended by Tim Mooney). 1815 + remove special case of HP-UX -L options, use +b options to embed 1816 $(libdir) in the shared libraries (recommended by Tim Mooney). 1817 + add checks for some possible buffer overflows and unchecked 1818 malloc/realloc/calloc/strdup return values (patch by Todd C Miller 1819 <Todd.Miller@courtesan.com>) 1820 1821980523 1822 + correct maxx/maxy expression for num_columns/num_lines in derwin 1823 (patch by Alexander V Lukyanov). 1824 + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty 1825 fallbacks to _nc_read_entry(), along with --with-terminfo-dirs 1826 configure option (suggested by Mike Hopkirk). 1827 + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike 1828 Hopkirk <hops@sco.com>). 1829 + suppress definition of CC_SHARED_OPTS in LDFLAGS_SHARED in c++ 1830 Makefile.in, since this conflicts when g++ is used with HP-UX 1831 compiler (reported by Tim Mooney). 1832 + parenthesize 'strcpy' calls in c++ binding to workaround redefinition 1833 in some C++ implementations (reported by several people running 1834 egcs with glibc 2.0.93, analysis by Andreas Jaeger. 1835 1836980516 1837 + modify write_entry.c so that it will not attempt to link aliases 1838 with embedded '/', but give only a warning. 1839 + put -L$(libdir) first when linking programs, except for HP-UX. 1840 + modify comp_scan.c to handle SVr4 terminfo description for att477, 1841 which contains a colon in the description field. 1842 + modify configure script to support SCO osr5.0.5 shared libraries 1843 (from comp.unix.sco.programmer newsgroup item by Mike Hopkirk 1844 <hops@sco.com>). 1845 + eliminate extra GoTo call in lib_doupdate.c (patch by Alexander V. 1846 Lukyanov). 1847 + minor adjustments of const/NCURSES_CONST from IRIX compile. 1848 + add updates based on esr's 980509 version of terminfo.src. 1849 1850980509 1851 + correct macros for wattr_set, wattr_get, separate wattrset macro from 1852 these to preserve behavior that allows attributes to be combined with 1853 color pair numbers. 1854 + add configure option --enable-no-padding, to allow environment 1855 variable $NCURSES_NO_PADDING to eliminate non-mandatory padding, 1856 thereby making terminal emulators (e.g., for vt100) a little more 1857 efficient (request by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>). 1858 + modify configure script to embed ABI in shared libraries for HP-UX 1859 10.x (detailed request by Tim Mooney). 1860 + add test/example of the 'filter()' function. 1861 + add nxterm and xterm-color terminfo description (request by Cristian 1862 Gafton <gafton@redhat.com>). 1863 + modify rxvt terminfo description to clear alternate screen before 1864 switching back to normal screen, for compatibility with applications 1865 which use xterm (reported by Manoj Kasichainula <manojk@io.com>). 1866 + modify linux terminfo description to reset color palette (reported 1867 by Telford Tendys <telford@eng.uts.edu.au>). 1868 + correction to doupdate, for case where terminal does not support 1869 insert/delete character. The logic did not check that there was a 1870 difference in alignment of changes to old/new screens before 1871 repainting the whole non-blank portion of the line. Modified to fall 1872 through into logic that reduces by the portion which does not differ 1873 (reported by Daniel Eisenbud <eisenbud@cs.swarthmore.edu>). 1874 + minor performance improvement to wnoutrefresh by moving some 1875 comparisons out of inner loop. 1876 1877980425 1878 + modify configure script to substitute NCURSES_CONST in curses.h 1879 + updated terminfo entries for xterm-xf86-v40, xterm-16color, 1880 xterm-8bit to correspond to XFree86 3.9Ag. 1881 + remove restriction that forces ncurses to use setaf/setab if the 1882 number of colors is greater than 8. (see 970524 for xterm-16color). 1883 + change order of -L options (so that $(libdir) is searched first) when 1884 linking tic and other programs, to workaround HP's linker. 1885 Otherwise, the -L../lib is embedded when linking against shared 1886 libraries and the installed program does not run (reported by Ralf 1887 Hildebrandt). 1888 + modify configuration of shared libraries on Digital Unix so that 1889 versioning is embedded in the library, rather than implied by 1890 links (patch by Tim Mooney). 1891 1892980418 1893 + modify etip.h to avoid conflict with math.h on HP-UX 9.03 with gcc 1894 2.8.1 which redefines 'exception' (reported by Ralf Hildebrandt 1895 <R.Hildebrandt@tu-bs.de>). 1896 + correct configure tests in CF_SHARED_OPTS which used $CC value to 1897 check for gcc, rather than autoconf's $GCC value. This did not 1898 work properly if the full pathname of the compiler were given 1899 (reported by Michael Yount <yount@csf.Colorado.edu>). 1900 + revise check for compiler options to force ANSI mode since repeating 1901 an option such as -Aa causes HP's compiler to fail on its own headers 1902 (reported by Clint Olsen <olsenc@ichips.intel.com>). 1903 1904980411 1905 + ifdef'd has_key() and mcprint() as extended functions. 1906 + modified several prototypes to correspond with 1997 version of 1907 X/Open Curses (affects ABI since developers have used attr_get). 1908 + remove spurious trailing blanks in glibc addon-scripts (patch by 1909 H.J.Lu). 1910 + insert a few braces at locations where gcc-2.8.x asks to use them to 1911 avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch 1912 by Juergen Pfeifer). 1913 1914980404 1915 + split SHLIB_LIST into SHLIB_DIRS/SHLIB_LIST to keep -L options 1916 before -l to accommodate Solaris' linker (reported by Larry Virden). 1917 1918980328 1919 + modify lib_color.c to eliminate dependency on orig_colors and 1920 orig_pair, since SVr4 curses does not require these either, but 1921 uses them when they are available. 1922 + add detailed usage-message to infocmp. 1923 + correct a typo in att6386 entry (a "%?" which was "?"). 1924 + add -f option to infocmp and tic, which formats the terminfo 1925 if/then/else/endif so that they are readable (with newlines and 1926 tabs). 1927 + fixes for glibc addon scripts (patch by H.J.Lu). 1928 1929980321 1930 + revise configure macro CF_SPEED_TYPE so that termcap.h has speed_t 1931 declared (from Adam J. Richter <adam@yggdrasil.com>) 1932 + remove spurious curs_set() call from leaveok() (J.T.Conklin). 1933 + corrected handling leaveok() in doupdate() (patch by Alexander V. 1934 Lukyanov). 1935 + improved version of wredrawln (patch by Alexander V. Lukyanov). 1936 + correct c++/Makefile.in so install target do not have embedded ../lib 1937 to confuse it (patch by Thomas Graf <graf@essi.fr>). 1938 + add warning to preinstall rule which checks if the installer would 1939 overwrite a curses.h or termcap.h that is not derived from ncurses. 1940 (The recommended configuration for developers who need both is to 1941 use --disable-overwrite). 1942 + modify preinstall rule in top-level Makefile to avoid implicit 1943 use of 'sh', to accommodate Ultrix 4.4 (reported by Joao Palhoto 1944 Matos <jmatos@math.ist.utl.pt>, patch by Thomas Esser 1945 <te@informatik.uni-hannover.de>) 1946 + refine ifdef's for TRACE so that libncurses has fewer dependencies 1947 on libtinfo when TRACE is disabled. 1948 + modify configure script so that if the --with-termlib option is used 1949 to generate a separate terminfo library, we chain it to the ncurses 1950 library with a "-l" option (reported by Darryl Miles and Ian T. 1951 Zimmerman). 1952 1953980314 1954 + correct limits and window in wredrawln function (reported/analysis by 1955 Alexander V. Lukyanov). 1956 + correct sed expression in configure script for --with-fallback 1957 option (patch by Jesse Thilo). 1958 + correct some places in configure script where $enableval was used 1959 rather than $withval (patch by Darryl Miles <dlm@g7led.demon.co.uk>). 1960 + modify some man-pages so no '.' or '..' falls between TH and SH 1961 macros, to accommodate man_db program (reported by Ian T. Zimmerman 1962 <itz@rahul.net>). 1963 + terminfo.src 10.2.1 from Eric's webpage. 1964 > several changes by Juergen Pfeifer: 1965 + add copyright notices (and rcs id's) on remaining man-pages. 1966 + corrected prototypes for slk_* functions, using chtype rather than 1967 attr_t. 1968 + implemented the wcolor_set() and slk_color() functions 1969 + the slk_attr_{set,off,on} functions need an additional void* 1970 parameter according to XSI. 1971 + fix the C++ and Ada95 binding as well as the man pages to 1972 reflect above enhancements. 1973 1974980307 1975 + use 'stat()' rather than 'access()' in toe.c to check for the 1976 existence of $HOME/.terminfo, since it may be a file. 1977 + suppress configure CF_CXX_LIBRARY check if we are not using g++ 1978 2.7.x, since this is not needed with g++ 2.8 or egcs (patch by 1979 Juergen Pfeifer). 1980 + turn on hashmap scrolling code by default, intend to remedy defects 1981 by 4.3 release. 1982 + minor corrections to terminfo.src changelog. 1983 1984980302 4.2 release for upload to prep.ai.mit.edu 1985 + correct Florian's email address in ncurses-intro.html 1986 + terminfo.src 10.2.0 from Eric. 1987 1988980228 pre-release 1989 + add linux-koi8r replace linux-koi8, which is not KOI8 (patch by 1990 QingLong <qinglong@Bolizm.ihep.su>). 1991 + minor documentation fixes (patch by Juergen Pfeifer). 1992 + add setlocale() call to ncurses.c (reported by Claes G. Lindblad 1993 <claesg@algonet.se>). 1994 + correct sign-extension in lib_insstr.c (reported by Sotiris 1995 Vassilopoulos <svas@leon.nrcps.ariadne-t.gr>) 1996 1997980221 pre-release 1998 + regenerated some documentation overlooked in 980214 patch 1999 (ncurses-intro.doc, curs_outopts.3x.html) 2000 + minor ifdef change to C++ binding to work with gcc 2.8.0 (patch by 2001 Juergen Pfeifer). 2002 + change maintainer's mailing address to florian@gnu.org, change 2003 tentative mailing list address to bug-ncurses-request@gnu.org (patch 2004 by Florian La Roche). 2005 + add definition of $(REL_VERSION) to c++/Makefile.in (reported by Gran 2006 Hasse <gh@raditex.se>). 2007 + restore version numbers to Ada95 binding, accidentally deleted by 2008 copyright patch (patch by Juergen Pfeifer). 2009 2010980214 pre-release 2011 + remove ncurses.lsm from MANIFEST so that it won't be used in FSF 2012 distributions, though it is retained in development. 2013 + correct scaling of milliseconds to nanoseconds in lib_napms.c (patch 2014 by Jeremy Buhler). 2015 + update mailing-list information (bug-ncurses@gnu.org). 2016 + update announcement for upcoming 4.2 release. 2017 + modify -lm test to check for 'sin()' rather than 'floor()' 2018 + remove spurious commas from terminfo.src descriptions. 2019 + change copyright notices to Free Software Foundation 2020 2021980207 2022 + minor fixes for autoconf macros CF_ERRNO, CF_HELP_MESSAGE and 2023 CF_SIZECHANGE 2024 + modify Makefile.glibc so that $(objpfx) is defined (H.J.Lu). 2025 + ifdef-out true-return from _nc_mouse_inline() which depends on 2026 merge of QNX patch (pending 4.2 release). 2027 > patch by J.T.Conklin, to split off seldom-used modules in ncurses 2028 (reduces size by up to 2.6kb): 2029 + move functionality of _nc_usleep into napms, add configuration case 2030 for nanosleep(). 2031 + moved wchgat() from lib_addch.c to lib_chgat.c 2032 + moved clearok(), immedok(), leaveok(), and scrollok() from 2033 lib_options.c to lib_clearok.c, lib_immedok.c, lib_leaveok.c and 2034 lib_scrollok.c. 2035 + moved napms() from lib_kernel.c to lib_napms.c 2036 + moved echo() and noecho() from lib_raw.c to lib_echo.c 2037 + moved nl() and nonl() from lib_raw.c to lib_nl.c 2038 2039980131 2040 + corrected conversion in tclock.c (cf: 971018). 2041 + updates to Makefile.glibc and associated Linux configure script 2042 (patch by H.J.Lu). 2043 + workaround a quoting problem on SunOS with tar-copy.sh 2044 + correct init_pair() calls in worm.c to work when use_default_colors() 2045 is not available. 2046 + include <sys/types.h> in CF_SYS_TIME_SELECT to work with FreeBSD 2.1.5 2047 + add ncv capability to FreeBSD console (cons25w), making reverse 2048 work with color. 2049 + correct sense of configure-test for sys/time.h inclusion with 2050 sys/select.h 2051 + fixes for Ada95/ada_include/Makefile.in to work with --srcdir option. 2052 + remove unused/obsolete test-program rules from progs/Makefile.in 2053 (the rules in ncurses/Makefile.in work). 2054 + remove shared-library loader flags from test/Makefile.in, etc. 2055 + simplify test/configure.in using new version of autoconf to create 2056 test/ncurses_cfg.h 2057 + suppress suffix rules in test/Makefile.in, provide explicit dependency 2058 to work with --srcdir option and less capable 'make' programs. 2059 > adapted from patch for QNX by Xiaodan Tang: 2060 + initialize %P and %g variables set/used in tparm, and also ensure 2061 that empty strings don't return a null result from tparam_internal 2062 + add QNX-specific prototype for vsscanf() 2063 + move initialization of SP->_keytry from init_keytry() to newterm() to 2064 avoid resetting it via a keyok() call by mouse_activate(). 2065 + reorganized some functions in lib_mouse() to use case-statements. 2066 + remove sgr string from qnx terminfo entry since it is reported to 2067 turn off attributes inconsistently. 2068 2069980124 2070 + add f/F/b/B commands to ncurses 'b' test to toggle colors, providing 2071 test for no_color_video. 2072 + adjusted emx.src to use no_color_video, now works with ncurses 'b' 2073 and 'k' tests. 2074 + implement no_color_video attribute, and as a special case, reverse 2075 colors when the reverse attribute cannot be combined with color. 2076 + check for empty string in $TERM variable (reported by Brett Michaels 2077 <brett@xylan.com>). 2078 > from reports by Fred Fish: 2079 + add configure-test for isascii 2080 + add configure-test for -lm library. 2081 + modify CF_BOOL_SIZE to check if C++ bool types are unsigned. 2082 > patches by J.J.G.Ripoll 2083 + add configure/makefile variables to support .exe extension on 2084 OS/2 EMX (requires additional autoconf patches). 2085 + explicitly initialize variables in lib_data.c to appease OS/2 linker 2086 > patches by Fred Fish <fnf@ninemoons.com> 2087 + misc/Makefile.in (install.data): Avoid trying to install the CVS 2088 directory. 2089 + aclocal.m4 (install.includes): Remove files in the include directory 2090 where we are going to install new ones, not the original source 2091 files. 2092 + misc/terminfo.src: Add entry for "beterm", derived from termcap 2093 distributed with BeOS PR2 using captoinfo. 2094 + aclocal.m4: Wrap $cf_cv_type_of_bool with quotes (contains space) 2095 + aclocal.m4: Assume bool types are unsigned. 2096 + progs/infocmp.c: workaround mwcc 32k function data limit 2097 2098980117 2099 + correct initialization of color-pair (from 970524) in xmas.c, which 2100 was using only one color-pair for all colors (reported by 2101 J.J.G.Ripoll). 2102 + add multithread options for objects build on EMX, for compatibility 2103 with XFree86. 2104 + split up an expression in MKlib_gen.sh to work around a problem on 2105 OS/2 EMX, with 'ash' (patch by J.J.G.Ripoll). 2106 + change terminfo entries xterm (xterm-xf86-v40), xterm-8bit rs1 to use 2107 hard reset. 2108 + rename terminfo entry xterm-xf86-v39t to xterm-xf86-v40 2109 + remove bold/underline from sun console entries since they're not 2110 implemented. 2111 + correct _tracef calls in _tracedump(), which did not separate format 2112 from parameters. 2113 + correct getopt string for tic "-o" option, and add it to man-page 2114 synopsis (reported by Darren Hiebert <darren@hmi.com>). 2115 + correct typo in panel/Makefile.in, reversed if-statement in scrolling 2116 optimization (Alexander V. Lukyanov). 2117 + test for 'remove()', use 'unlink() if not found (patch by Philippe De 2118 Muyter <phdm@macqel.be>). 2119 > patches by Juergen Pfeifer: 2120 + Improve a feature of the forms driver. For invisible fields 2121 (O_VISIBLE off) only the contents but not the attributes are cleared. 2122 We now clear both. (Reported by Javier Kohan 2123 <jkohan@adan.fceia.unr.edu.ar>) 2124 + The man page form_field_opts.3x makes now clear, that invisible 2125 fields are also always inactive. 2126 + adjust ifdef's to compile the C++ binding with the just released 2127 gcc-2.8.0 c++ and the corresponding new C++ libraries. 2128 2129980110 2130 + correct "?" command in ncurses.c; it was performing non-screen writes 2131 while the program was in screen mode. (It "worked" in 1.9.9e because 2132 that version sets OPOST and OCRNL incorrectly). 2133 + return error from functions in lib_kernel, lib_raw and lib_ti if 2134 cur_term is null, or if underlying I/O fails. 2135 + amend change to tputs() so that it does not return an error if 2136 cur_term is null, since some applications depend on being able to use 2137 tputs without initializing the terminal (reported by Christian J. 2138 Robinson <infynity@cyberhighway.net>). 2139 2140980103 2141 + add a copy of emx.src from J.J.G.Ripoll's OS/2 EMX version of ncurses 2142 1.9.9e, together with fixes/additions for the "ansi" terminal type. 2143 + add tic check for save/restore cursor if change_scroll_region is 2144 defined (from O'Reilly book). 2145 + modify read_termcap.c to handle EMX-style pathnames (reported by 2146 J.J.G.Ripoll). 2147 + modify lib_raw.c to use EMX's setmode (from J.J.G.Ripoll, who says 2148 EMX's curses does this). 2149 + modify _nc_tic_expand() to generate \0 rather than \200. 2150 + move/revise 'expand()' from dump_entry.c to ncurses library as 2151 _nc_tic_expand(), for use by tack. 2152 + decode \a as \007 for terminfo, as per XSI. 2153 + correct translation of terminfo "^@", to \200, like \0. 2154 + modify next_char() to treat <cr><lf> the same as <newline>, for 2155 cross-platform compatibility. 2156 + use new version of autoconf (971230) to work around limited 2157 environment on CLIX, due to the way autoconf builds --help message. 2158 > patch by Juergen Pfeifer: 2159 + check that the Ada95 binding runs against the correct version of 2160 ncurses. 2161 + insert constants about the library version into the main spec-file of 2162 the Ada95 binding. 2163 2164971227 2165 + modify open/fopen calls to use binary mode, needed for EMX. 2166 + modify configure script to work with autoconf 2.10 mods for OS/2 2167 EMX from J.J.G.Ripoll. 2168 + generated ncurses_cfg.h with patch (971222) to autoconf 2.12 which 2169 bypasses limited sed buffer length. 2170 > several changes from Juan Jose Garcia Ripoll <worm@arrakis.es> 2171 (J.J.G.Ripoll) to support OS/2 EMX: 2172 + add a _scrolling flag to SP, to set when we encounter a terminal 2173 that simply cannot scroll. 2174 + corrected logic in _nc_add_to_try(), by ensuring that strings with 2175 embedded \200 characters are matched. 2176 + don't assume the host has 'link()' function, for linking terminfo 2177 entries. 2178 2179971220 2180 + if there's no ioctl's to support sigwinch handler, disable it. 2181 + add configure option --disable-ext-funcs to remove the extended 2182 functions from the build. 2183 + add configure option --with-termlib to generate the terminfo 2184 functions as a separate library. 2185 + add 'sources' rule to facilitate cross-compiling. 2186 + review/fix order of mostlyclean/clean/distclean rules. 2187 + modify install-rule for headers to first remove old header, in 2188 case there was a symbolic link that confuses the install script. 2189 + corrected substitution for NCURSES_CONST in term.h (cf: 971108) 2190 + add null pointer checks in wnoutrefresh(), overlap() (patch by 2191 Xiaodan Tang <xtang@qnx.com>) 2192 + correct tputs(), which could dereference a null cur_term if invoked 2193 before terminal is initialized (patch by Christopher Seawood 2194 <cls@seawood.org>) 2195 > patch by Juergen Pfeifer: 2196 + makes better use of "pragma Inline" in the Ada95 binding 2197 + resynchronizes the generated html manpages 2198 2199971213 2200 + additional fixes for man-pages section-references 2201 + add (for debugging) a check for ich/ich1 conflict with smir/rmir 2202 to tic, etc. 2203 + remove hpa/vpa from rxvt terminal description because they are not 2204 implemented correctly, added sgr0. 2205 + change ncurses 's' to use raw mode, so ^Q works (reported by Rudolf 2206 Leitgeb <leitgeb@leland.stanford.edu>) 2207 2208971206 2209 + modify protection when installing libraries to (normally) not 2210 executable. HP-UX shared libraries are an exception. 2211 + add configure check for 'tack'. 2212 + implement script for renaming section-references in man-page install, 2213 for Debian configuration. 2214 + add validity-check for SP in trace code in baudrate() (reported by 2215 Daniel Weaver). 2216 > patch by Alexander V. Lukyanov (fixes to match sol25 curses) 2217 + modify 'overlay()' so that copy applies target window background to 2218 characters. 2219 + correct 'mvwin()' so that it does not clear the previous locations. 2220 + correct lib_acs.c so that 8-bit character is not sign expanded in 2221 case of wide characters in chtype. 2222 + correct control-char test in lib_addch.c for use with wide chars 2223 + use attribute in the chtype when adding a control character in 2224 lib_addch.c control char was added with current attribute 2225 2226971129 2227 + save/restore errno in _tracef() function 2228 + change treatment of initialize_color to use a range of 0..1000 2229 (recommended by Daniel Weaver). 2230 + set umask in mkinstalldirs, fixing problems reported by users who 2231 have set root's umask to 077. 2232 + correct bug in tic that caused capabilities to be reprinted at the 2233 end of output when they had embedded comments. 2234 + rewrote wredrawln to correspond to XSI, and split-out since it is 2235 not often used (from report by Alexander V. Lukyanov, 970825) 2236 + rewrote Dan Nelson's change to make it portable, as well as to 2237 correct logic for handling backslashes. 2238 + add code to _nc_tgetent() to make it work more like a real tgetent(). 2239 It removes all empty fields, and removes all but the first in a group 2240 of duplicate caps. The code was pulled from the BSD libtermcap code 2241 in termcap.c (patch by Dan Nelson <dnelson@emsphone.com> 2242 + don't include --enable-widec in the --with-develop configure option, 2243 since it is not binary-compatible with 4.1 (noted by Alexander V. 2244 Lukyanov) 2245 > patch by Juergen Pfeifer: 2246 + further improvements of the usage of elaboration pragmas in the Ada95 2247 binding 2248 + enhanced Ada95 sample to use the user_data mechanism for panels. 2249 + a fix for the configuration script to make gnat-3.10 the required 2250 version. 2251 + resync of the html version of the manpages 2252 2253971122 2254 > fixes/updates for terminfo.src: 2255 + add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97 2256 version. 2257 + add hds200 description (Walter Skorski) 2258 + add EMX 0.9b descriptions 2259 + correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver) 2260 + rename xhpterm back to hpterm. 2261 > patch by Juergen Pfeifer: 2262 + Improves the usage of elaboration pragmas for the Ada95 binding. 2263 + Adds a translation of the test/rain.c into Ada95 to the samples. 2264 This has been contributed to the project by Laurent Pautet 2265 (pautet@gnat.com) 2266 2267971115 2268 + increase MAX_NAME_SIZE to 512 to handle extremely long alias list 2269 in HP-UX terminfo. 2270 + correction & simplification of delay computation in tputs, based on 2271 comments from Daniel Weaver. 2272 + replace test for SCO with more precise header tests. 2273 + add configure test for unsigned literals, use in NCURSES_BITS macro. 2274 + comment-out the -PIC, etc., flags from c++, progs and test makefiles 2275 since they probably are not needed, and are less efficient (noted by. 2276 Ju"rgen Fluk) 2277 + add -L$(libdir) to loader options, after -L../lib so that loaders 2278 that record this information will tend to do the right thing if 2279 the programs are moved around after installing them (suggested by. 2280 Ju"rgen Fluk). 2281 + add -R option to loader options for programs for Solaris if the 2282 --enable-rpath option is specified for the libraries. 2283 2284971112 2285 + correct installed filename for shared libraries on *BSD (reported by 2286 Ju"rgen Fluk). 2287 2288971108 2289 + cleanup logic for deciding when tputs() should call delay_output(), 2290 based on comments from Daniel Weaver. 2291 + modified tputs() to avoid use of float. 2292 + correct use of trailpad in tputs(), which used the wrong variable 2293 in call to delay_output(). 2294 + correct inverted expression for null-count in delay_output() 2295 (analysis by Daniel Weaver). 2296 + apply --enable-rpath option to Solaris (requested by Larry Virden). 2297 + correct substitution of EXTRA_CFLAGS for gcc 2.6.3 2298 + correct check for error-return by _nc_tgetent(), which returns 0 2299 for success. 2300 + add configure test for BSD 4.4 cgetent() function, modify 2301 read_termcap.c to use the host's version of that if found, using the 2302 terminal database on FreeBSD (reported by Peter Wemm). 2303 + add u8, u9 strings to sun-il description for Daniel Weaver. 2304 + use NCURSES_CONST in panel's user-pointer. 2305 + modify edit_cfg.sh and MKterm.h.awk.in to substitute NCURSES_CONST 2306 so that will work on NeXT. 2307 + use _nc_set_screen() rather than assignments to SP to fix port to 2308 NeXT (reported by Francisco A. Tomei Torres). 2309 2310971101 2311 + force mandatory padding in bell and flash_screen, as specified in XSI. 2312 + don't allow padding_baud_rate to override mandatory delays (reported 2313 by Daniel Weaver). 2314 + modify delay_output() to use _nc_timed_wait() if no baudrate has been 2315 defined, or if the cur_term pointer is not initialized. XSI treats 2316 this as unspecified. (requested by Daniel Weaver). 2317 + change getcap-cache ifdef's to eliminate unnecessary chdir/mkdir 2318 when that feature is not configured. 2319 + remove _nc_err_abort() calls when write_entry.c finds a directory but 2320 cannot write to it, e.g., when translating part/all of /etc/termcap 2321 (reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>). 2322 (this dates back to 951102, in 1.9.7a). 2323 + minor ifdef fixes to compile with atac and glibc 2.0.5c 2324 + add check for -lgen when configuring regexpr.h 2325 + modify Solaris shared-library option "-d y" to "-dy" to workaround 2326 incompatibility of gcc 2.7.2 vs vendor's tools. 2327 2328971026 2329 + correct ifdef's for struct winsize vs struct ttysize in lib_setup.c 2330 to compile on SCO. 2331 + remove dangling backslash in panel/Makefile.in 2332 + modify MKkeyname.awk to work with SCO's nawk, which dumps core in the 2333 length() function. 2334 + correct length of allocation in _nc_add_to_try(), to allow for 2335 trailing null. 2336 + correct logic in _nc_remove_key(), which was discarding too many 2337 nodes (patch by Alexander V. Lukyanov) 2338 2339971025 2340 + add definition for $(REL_VERSION) to test/Makefile.in, so *BSD 2341 shared libraries link properly (see 970524). 2342 + modify Linux shared-library generation to include library 2343 dependencies (e.g., -lncurses and -lgpm) in the forms, menu and 2344 panel libraries (suggested by Juergen Pfeifer). 2345 + modify configure script to use config.guess and config.sub rather 2346 than uname, which is unreliable on some systems. 2347 + updated Makefile.glibc, test-built with glibc 2.0.5c 2348 + modify keyname() to return values consistent with SVr4 curses (patch 2349 by Ju"rgen Fluk). 2350 > changes requested by Daniel Weaver: 2351 + modify delay_output() so that it uses the same output function as 2352 tputs() if called from that function. 2353 + move _baudrate from SCREEN to TERMINAL so that low-level use of 2354 tputs works when SP is not set. 2355 > patch by Juergen Pfeifer: 2356 + factor lib_menu and lib_form into smaller modules 2357 + clean up the interface between panel and SCREEN 2358 + minor changes to the Ada95 mouse support implemenation 2359 + minor bugfix in C++ binding to ripoff windows 2360 + fix a few Ada95 html documentation pages 2361 2362971018 2363 + split-out lib_ungetch.c, make runtime link to resizeterm() to 2364 decouple those modules from lib_restart.c 2365 + add xterm-xf86-v39t description to terminfo.src 2366 + reset SP->_endwin in lib_tstp.c cleanup() function after calling 2367 endwin() to avoid unnecessary repainting if the application has 2368 established an atexit function, etc. Encountered this problem in 2369 the c++ demo, whose destructors repaint the screen. 2370 + combine _nc_get_screensize() and resizeterm() calls as new function 2371 _nc_update_screensize(). 2372 + minor fixes to allow compile with g++ (suggested by Nelson H. F. 2373 Beebe). 2374 + implement install-rules for Ada95 makefiles. 2375 + use screen_lines or MAXLINES as needed where LINES was coded, 2376 as well as screen_columns for COLS, in the ncurses library. 2377 > patch by Alexander V. Lukyanov: 2378 + modify logic for ripped-off lines to handle several SCREENs. 2379 > patch by Juergen Pfeifer: 2380 + factors lib_slk.c into some smaller modules 2381 + factors panel.c into some smaller modules 2382 + puts the static information about the current panel stack into the 2383 SCREEN structure to allow different panel stacks on different 2384 screens. 2385 + preliminary fix for an error adjusting LINES to account for 2386 ripped-off lines. 2387 2388971011 2389 + move _nc_max_click_interval and other mouse interface items to SCREEN 2390 struct so that they are associated with a single terminal, and also 2391 save memory when the application does not need a mouse (roughly 3k vs 2392 0.5k on Linux). 2393 + modify mouseinterval() so that a negative parameter queries the 2394 click-interval without modifying it. 2395 + modify ncurses 'i' test to work with ncurses' apparent extension from 2396 SVr4, i.e., allows nocbreak+noecho (analysis by Alexander V. 2397 Lukyanov). 2398 + add configure options --with-ada-includes and --with-ada-objects, 2399 to drive Ada95 binding install (not yet implemented). 2400 + install C++ binding as -lncurses++ and associated headers with the 2401 other ncurses headers. 2402 + fix header uninstall if configure --srcdir is used. 2403 > minor interface changes (request by Daniel Weaver <danw@znyx.com>, 2404 to support 'tack' program): 2405 + export functions _nc_trans_string() and _nc_msec_cost(). 2406 + add variable _nc_nulls_sent, to record the number of padding 2407 characters output in delay_output(). 2408 + move tests for generic_type and hard_copy terminals in setupterm() 2409 to the end of that function so that the library will still be 2410 initialized, though not generally useful for curses programs. 2411 > patches by Alexander V. Lukyanov: 2412 + modify ClrBottom() to avoid using clr_eos if there is only one line 2413 to erase. 2414 + typo in configure --help. 2415 > patch by J.T.Conklin (with minor resync against Juergen's changes) 2416 + split-out lib_flash.c from lib_beep.c 2417 + split-out lib_hline.c and lib_vline.c from lib_box.c 2418 + split-out lib_wattron.c, lib_wattroff.c from lib_addch.c 2419 2420971005 2421 > patch by Juergen Pfeifer: 2422 + correct source/target of c++/edit_cfg.sh 2423 2424971004 2425 + add color, mouse support to kterm terminfo entry. 2426 + modify lib_mouse.c to recognize rxvt, kterm, color_xterm also as 2427 providing "xterm"-style mouse. 2428 + updated rxvt's terminfo description to correspond to 2.21b, with 2429 fixes for the acsc (the box1 capability is incorrect, ech1 does not 2430 work). 2431 + fix logic in parse_entry.c that discarded acsc when 'synthesizing' 2432 an entry from equivalents in XENIX or AIX. This lets ncurses handle 2433 the distribution copy of rxvt's terminfo. 2434 + modify acsc capability for linux and linux-koi8 terminfo descriptions 2435 (from Pavel Roskin <pavel@absolute.spb.su>). 2436 + corrected definition in curses.h for ACS_LANTERN, which was 'I' 2437 rather than 'i' (see 970802). 2438 + updated terminfo.src with reformatted acsc entries, and repaired the 2439 trashed entries with spurious '\' characters that this exposed. 2440 + add logic to dump_entry.c to reformat acsc entries into canonical 2441 form (sorted, unique mapping). 2442 + add configure script to generate c++/etip.h 2443 + add configure --with-develop option, to enable by default most of the 2444 experimental options (requested by Alexander V. Lukyanov). 2445 + rename 'deinstall' to 'uninstall', following GNU convention (suggested 2446 by Alexander V. Lukyanov). 2447 > patches by Alexander V. Lukyanov: 2448 + modify tactics 2 and 5 in onscreen_mvcur(), to allow them on the last 2449 line of the screen, since carriage return will not cause a newline. 2450 + remove clause from PutCharLR() that would try to use 2451 eat_newline_glitch since that apparently does not work on some 2452 terminals (e.g., M$ telnet). 2453 + correct a limit check in scroll_csr_backward() 2454 > patches by Juergen Pfeifer: 2455 + adds dummy implementations of methods above() and below() to the 2456 NCursesPanel class. 2457 + fixes missing returncode in NCursesWindow::ripoffline() 2458 + fixes missing returncode in TestApplication::run() in demo.cc 2459 + We should at least give a comment in etip.h why it is currently a 2460 problem to install the C++ binding somewhere 2461 + makes the WINDOW* argument of wenclose() a const. 2462 + modifies several of the routines in lib_adabind.c to use a const 2463 WINDOW* argument. 2464 2465970927 2466 + add 'deinstall' rules. 2467 + use explicit assignments in configure --without-progs option to 2468 work around autoconf bug which doesn't always set $withval. 2469 + check for ldconfig, don't try to run it if not found. 2470 + implement simple/unoptimized case in lib_doupdate.c to handle 2471 display with magic cookie glitch, tested with ncurses.c program. 2472 + correct missing _tracef in getmouse(), to balance the returnCode 2473 macro. 2474 + simplify show_attr() in ncurses.c using termattrs(). 2475 > patches by Juergen Pfeifer: 2476 + provides missing inlines for mvw[hv]line in cursesw.h of the C++ 2477 binding 2478 + fixes a typo in a comment of frm_driver.c 2479 + Enhances Ada95 Makefiles to fulfill the requirement of GNAT-3.10 that 2480 generics should be compiled. Proper fixes to the configuration 2481 scripts are also provided. 2482 2483970920 2484 + several modifications to the configure script (requested by Ward 2485 Horner): 2486 + add configure options --without-progs, to suppress the build of the 2487 utility programs, e.g., for cross-compiling. 2488 + add $(HOSTCCFLAGS) and $(HOSTLDFLAGS) symbols to ncurses 2489 Makefile.in, to simplify setup for cross compiling. 2490 + add logic in configure script to recognize "--target=vxworks", and 2491 generate load/install actions for VxWorks objects. 2492 + move typedef for sigaction_t into SigAction.h to work around problem 2493 generating lint library. 2494 + modify fty_regex.c to reflect renaming of ifdef's for regular 2495 expressions. 2496 + simplify ifdef in lib_setup.c for TIOCGWINSZ since that symbol may 2497 reside in <sys/ioctl.h>. 2498 + merge testcurs.c with version from PDCurses 2.3, clarifying some of 2499 the more obscure tests, which rely upon color. 2500 + use macros getbegyx() and getmaxyx() in newdemo.c and testcurs.c 2501 + modify ncurses.c to use getbegyx() and getmaxyx() macros to cover up 2502 implementation difference wrt SVr4 curses, allow 's' test to work. 2503 + add missing endwin() to testscanw.c program (reported by Fausto 2504 Saporito <fausap@itb.it>). 2505 + fixes/updates for Makefile.glibc and related files under sysdeps 2506 (patch by H.J.Lu). 2507 > patches by Juergen Pfeifer: 2508 + add checks for null pointers, especially WINDOW's throughout the 2509 ncurses library. 2510 + solve a problem with wrong calculation of panel overlapping (reported 2511 by Ward Horner): 2512 + make sure that a panel's window isn't a pad. 2513 + do more error checking in module lib_touch.c 2514 + missing files for Ada95 binding from the last patch 2515 + synch. of generated html pages (RCS-Id's were wrong in html files) 2516 + support for Key_Resize in Ada binding 2517 + changed documentation style in ./c++/cursesm.h 2518 > patches by Alexander V. Lukyanov: 2519 + undo attempt to do recursive inlining for PutChar(), noting that it 2520 did not improve timing measurably, but inflated the size of 2521 lib_doupdate.o 2522 2523970913 2524 + modify rain.c to use color. 2525 + correct scroll_csr_backward() to match scroll_csr_forward(). 2526 + minor adjustment to llib-lncurses, to work with Solaris 2.5.1 2527 + minor fixes to sysdeps/unix/sysv/linux/configure to reflect renaming 2528 of configure cache variables in 970906. 2529 + correct logic involving changes to O_VISIBLE option in 2530 Synchronize_Options function in frm_driver.c (Tony Hoffmann 2531 <Tony.Hoffmann@hia.nrc.ca>) 2532 + add $(HOSTCC) symbol to ncurses Makefile.in, to simplify setup for 2533 cross compiling (suggested by Chris Johns). 2534 + modify ifdef in lib_setup.c to only include <sys/ioctl.h> if we can 2535 use it to support screen-size calculation (reported by Chris Johns). 2536 + #undef unctrl to avoid symbol conflict in port to RTEMS (reported by 2537 Chris Johns <cjohns@plessey.com.au>) 2538 > patches by Juergen Pfeifer: 2539 + simplified, made minor corrections to Ada95 binding to form fieldtype. 2540 + The C++ binding has been enhanced: 2541 + Improve NCursesWindow class: added additional methods to cover 2542 more ncurses functionality. Make refresh() and noutrefresh() 2543 virtual members to allow different implementation in the 2544 NCursesPanel class. 2545 + CAUTION: changed order of parameters in vline() and hline() of 2546 NCursesWindow class. 2547 + Make refresh() in NCursesPanel non-static, it is now a 2548 reimplementation of refresh() in the base class. Added 2549 noutrefresh() to NCursesPanel. 2550 + Added NCursesForm and related classes to support libform 2551 functionality. 2552 + Moved most of configuration related stuff from cursesw.h to etip.h 2553 + Added NCursesApplication class to support easy configuration of 2554 menu and forms related attributes as well as ripped of title lines 2555 and Soft-Label-Keys for an application. 2556 + Support of Auto-Cleanup for a menu's fieldlist. 2557 + Change of return type for current_item() and operator[] for menus. 2558 + Enhanced demo. 2559 + Fixed a bug in form/fld_def.c: take into account that copyarg and 2560 freearg for a fieldtype may be NULL, makearg must not be NULL 2561 + Fixed a bug in form/fld_type.c: in set_fieldtype_arg() makearg must 2562 not be NULL, copyarg and freearg may be NULL. 2563 + Fixed a bug in form/frm_def.c: Allow Disconnect_Fields() if it is 2564 already disconnected. 2565 + Enhance form/frm_driver.c: Allow growth of dynamic fields also on 2566 navigation requests. 2567 + Fixed a bug in form/fty_enum.c: wrong position of postincrement in 2568 case-insensitiva comparision routine. 2569 + Enhanced form/lib_adabind.c with function _nc_get_field() to get a 2570 forms field by index. 2571 + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus 2572 item by index. 2573 + Fixed in curses.h.in: make chtype argument for pechochar() constant. 2574 Mark wbkgdset() as implemented, remove wbkgdset macro, because it was 2575 broken (didn't handle colors correctly). 2576 + Enhanced lib_mouse.c: added _nc_has_mouse() function 2577 + Added _nc_has_mouse() prototype to curses.priv.h 2578 + Modified lib_bkgd.c: hopefully correct implementation of wbkgdset(); 2579 streamlined implementation of wbkgd() 2580 + Modified lib_mvwin.c: Disable move of a pad. Implement (costly) 2581 move of subwindows. Fixed update behaviour of movements of regular 2582 windows. 2583 + Fixed lib_pad.c: make chtype argument of pechochar() const. 2584 + Fixed lib_window.c: dupwin() is not(!) in every bit a really clone 2585 of the original. Subwindows become regular windows by doing a 2586 dupwin(). 2587 + Improved manpage form_fieldtype.3x 2588 > patches by Alexander V. Lukyanov: 2589 + simplify the PutChar() handling of exit_am_mode, because we already 2590 know that auto_right_margin is true. 2591 + add a check in PutChar() for ability to insert to the case of 2592 shifting character to LR corner. 2593 + in terminal initialization by _nc_screen_resume(), make sure that 2594 terminal right margin mode is known. 2595 + move logic that invokes touchline(), or does the equivalent, into 2596 _nc_scroll_window(). 2597 + modify scrolling logic use of insert/delete line capability, assuming 2598 that they affect the screen contents only within the current 2599 scrolling region. 2600 + modify rain.c to demonstrate SIGWINCH handler. 2601 + remove logic from getch() that would return an ERR if the application 2602 called getch() when the cursor was at the lower-right corner of the 2603 physical screen, and the terminal does not have insert-character 2604 ability. 2605 + change view.c so that it breaks out of getch() loop if a KEY_RESIZE 2606 is read, and modify logic in getch() so this fix will yield the 2607 desired behavior, i.e., the screen is repainted automatically when 2608 the terminal window is resized. 2609 2610970906 2611 + add configure option --enable-sigwinch 2612 + modify view.c to test KEY_RESIZE logic, with "-r" option. 2613 + modify testcurs.c to eliminate misleading display wrt cursor type 2614 by testing if the terminal supports cnorm, civis, cvvis. 2615 + several fixes for m68k/NeXT 4.0, to bring cur_term, _nc_curr_line and 2616 _nc_curr_col variables into linked programs: move these variables, 2617 making new modules lib_cur_term and trace_buf (reported by Francisco 2618 Alberto Tomei Torres <fatomei@sandburg.unm.edu>). 2619 > patches by Alexander V. Lukyanov: 2620 + add pseudo-functionkey KEY_RESIZE which is returned by getch() when 2621 the SIGWINCH handler has been called since the last call to 2622 doupdate(). 2623 + modify lib_twait.c to hide EINTR only if HIDE_EINTR is defined. 2624 + add SIGWINCH handler to ncurses library which is used if there is no 2625 application SIGWINCH handler in effect when the screen is 2626 initialized. 2627 + make linked list of all SCREEN structures. 2628 + move curses.h include before definition of SCREEN to use types in 2629 that structure. 2630 + correction to ensure that wgetstr uses only a newline to force a 2631 scroll (970831). 2632 2633970831 2634 + add experimental configure option --enable-safe-sprintf; the normal 2635 mode now allocates a buffer as large as the screen for the 2636 lib_printw.c functions. 2637 + modify wgetch to refresh screen when reading ungetch'd characters, 2638 since the application may require this - SVr4 does this. 2639 + refine treatment of newline in wgetstr to echo only when this would 2640 force the screen to scroll. 2641 2642970830 2643 + remove override in wgetstr() that forces keypad(), since SVr4 does 2644 not do this. 2645 + correct y-reference for erasure in wgetstr() when a wrap forces a 2646 scroll. 2647 + correct x-position in waddch() after a wrap forces a scroll. 2648 + echo newline in wgetstr(), making testscanw.c scroll properly when 2649 scanw is done. 2650 + modify vwscanw() to avoid potential buffer overflow. 2651 + rewrote lib_printw.c to eliminate fixed-buffer limits. 2652 > patches by Alexander V. Lukyanov: 2653 + correct an error in handling cooked mode in wgetch(); processing 2654 was in the wrong order. 2655 + simplified logic in wgetch() that handles backspace, etc., by using 2656 wechochar(). 2657 + correct wechochar() so that it interprets the output character as 2658 in waddch(). 2659 + modify pechochar() to use prefresh() rather than doupdate(), since 2660 the latter does not guarantee immediate refresh of the pad. 2661 + modify pechochar() so that if called with a non-pad WINDOW, will 2662 invoke wechochar() instead. 2663 + modify fifo indices to allow fifo to be longer than 127 bytes. 2664 2665970823 2666 + add xterm-8bit to terminfo.src 2667 + moved logic for SP->_fifohold inside check_pending() to make it 2668 work properly when we add calls to that function. 2669 + ensure that bool functions return only TRUE or FALSE, and TRUE/FALSE 2670 are assigned to bool values (patch by H.J.Lu). 2671 > patches by Alexander V. Lukyanov: 2672 + several fixes to getch: 2673 1. Separate cooked and raw keys in fifo 2674 2. Fix the case of ungetch'ed KEY_MOUSE 2675 3. wrap the code for hiding EINTR with ifdef HIDE_EINTR 2676 4. correctly handle input errors (i.e., EINTR) without loss of raw 2677 keys 2678 5. recognize ESC KEY_LEFT and similar 2679 6. correctly handle the case of receiption of KEY_MOUSE from gpm 2680 + correct off-by-one indexing error in _nc_mouse_parse(), that caused 2681 single mouse events (press/release) to be ignored in favor of 2682 composed events (click). Improves on a fix from integrating gpm 2683 support in 961229. 2684 + add another call to check_pending, before scrolling, for 2685 line-breakout optimization 2686 + improve hashmap.c by 2687 1. fixed loop condition in grow_hunks() 2688 2. not marking lines with offset 0 2689 3. fixed condition of 'too far' criteria, thus one-line hunks are 2690 ignored and two lines interchanged won't pass. 2691 + rewrote/simplified _nc_scroll_optimize() by separating into two 2692 passes, forward/backward, looking for chunks moving only in the given 2693 direction. 2694 + move logic that emits sgr0 when initializing the screen to 2695 _nc_screen_init(), now invoked from newterm. 2696 + move cursor-movement cleanup from endwin() into _nc_mvcur_wrap() 2697 function and screen cleanup (i.e., color) into _nc_screen_wrap() 2698 function. 2699 + add new functions _nc_screen_init(), _nc_screen_resume() and 2700 _nc_screen_wrap(). 2701 + rename _nc_mvcur_scrolln() to _nc_scrolln(). 2702 + add a copy of acs_map[] to the SCREEN structure, where it can be 2703 stored/retrieved via set_term(). 2704 + move variables _nc_idcok, _nc_idlok, _nc_windows into the SCREEN 2705 structure. 2706 2707970816 2708 + implement experimental _nc_perform_scroll(). 2709 + modify newterm (actually _nc_setupscreen()) to emit an sgr0 when 2710 initializing the screen, as does SVr4 (reported by Alexander V. 2711 Lukyanov). 2712 + added test_progs rule to ncurses/Makefile. 2713 + modify test/configure.in to check if initscr is already in $LIBS 2714 before looking for (n)curses library. 2715 + correct version-number in configure script for OSF1 shared-library 2716 options (patch by Tim Mooney). 2717 + add -DNDEBUG to CPPFLAGS for --enable-assertions (as Juergen 2718 originally patched) since the c++ demo files do not necessarily 2719 include ncurses_cfg.h 2720 + supply default value for --enable-assertions option in configure 2721 script (reported by Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>). 2722 > patches by Alexander V. Lukyanov: 2723 + correct/simplify logic of werase(), wclrtoeol() and wclrbot(). See 2724 example firstlast.c 2725 + optimize waddch_literal() and waddch_nosync() by factoring out 2726 common subexpressions. 2727 + correct sense of NDEBUG ifdef for CHECK_POSITION macro. 2728 + corrections to render_char(), to make handling of colored blanks 2729 match SVr4 curses, as well as to correct a bug that xor'd space 2730 against the background character. 2731 + replaced hash function with a faster one (timed it) 2732 + rewrote the hashmap algorithm to be one-pass, this avoids multiple 2733 cost_effective() calls on the same lines. 2734 + modified cost_effective() so it is now slightly more precise. 2735 > patches by H.J.Lu for glibc integration: 2736 + add modules define_key, keyok, name_match, tries 2737 + add makefile rules for some of the unit tests in ncurses (mvcur, 2738 captoinfo, hardscroll, hashmap). 2739 + update Linux configure-script for wide-character definitions. 2740 2741970809 2742 + modify _tracebits() to show the character size (e.g., CS8). 2743 + modify tparm() to emit '\200' where the generated string would have a 2744 null (reported by From: Ian Dall <Ian.Dall@dsto.defence.gov.au> for 2745 terminal type ncr7900). 2746 + modify install process so that ldconfig is not invoked if the 2747 package is built with an install-prefix. 2748 + correct test program for chtype size (reported by Tim Mooney). 2749 + add configure option --disable-scroll-hints, using this to ifdef the 2750 logic that computes indices for _nc_scroll_optimize(). 2751 + add module ncurses/softscroll.c, to perform single-stage computation 2752 of scroll indices used in _nc_scroll_optimize(). This is faster than 2753 the existing scrolling algorithm, but tends to make too-small hunks. 2754 + eliminate fixed buffer size in _nc_linedump(). 2755 + minor fixes to lib_doupdate.c to add tradeoff between clr_eol (el) 2756 and clr_bol (el1), refine logic in ClrUpdate() and ClrBottom() (patch 2757 by Alexander V. Lukyanov). 2758 + add test/testaddch.c, from a pending patch by Alexander V. Lukyanov. 2759 + correct processing of "configure --enable-assertions" option (patch 2760 by Juergen Pfeifer). 2761 2762970802 2763 + add '-s' (single-step) option too test/hashtest.c, correct an error 2764 in loop limit for '-f' (footer option), toggle scrollok() when 2765 writing footer to avoid wrap at lower-right corner. 2766 + correct behavior of clrtoeol() immediately after wrapping cursor, 2767 which was not clearing the line at the cursor position (reported by 2768 Liviu Daia <daia@stoilow.imar.ro>). 2769 + corrected mapping for ACS_LANTERN, which was 'I' rather than 'i' 2770 (reported by Klaus Weide <kweide@tezcat.com>). 2771 + many corrections to make progs/capconvert work, as well as make it 2772 reasonably portable and integrated with ncurses 4.1 (reported by Dave 2773 Furstenau <df@ravine.binary.net>). 2774 2775970726 2776 + add flag SP->_fifohold, corresponding logic to modify the behavior of 2777 the line breakout logic so that if the application does not read 2778 input, refreshes will not be stopped, but only slowed. 2779 + generate slk_attr_off(), slk_attr_on(), slk_attr_set(), vid_attr(), 2780 ifdef'd for wide-character support, since ncurses' WA_xxx attribute 2781 masks are identical with the A_xxx masks. 2782 + modify MKlib_gen.sh to generate ifdef'd functions to support optional 2783 configuration of wide-characters. 2784 + modify tset to behave more like SVr4's tset, which does not modify 2785 the settings of intr, quit or erase unless they are given as command 2786 options (reported by Nelson H. F. Beebe <beebe@math.utah.edu>). 2787 + modify tset to look in /etc/ttys or /etc/ttytype if the configuration 2788 does not have getttynam(). 2789 + extend baudrate table in tset.c to match baudrate() function. 2790 + add table entries for 230400 and 460800 bd to baudrate() function. 2791 + improve breakout logic by allowing it before the first line updated, 2792 which is what SVr4 curses does (patch by Alexander V. Lukyanov). 2793 + correct initialization of vcost in relative_move(), for cursor-down 2794 case (patch by Alexander V. Lukyanov). 2795 > nits gleaned from Debian distribution of 1.9.9g-3: 2796 + install symbolic link for intotocap. 2797 + reference libc directly when making shared libraries. 2798 + correct renaming of curs_scr_dmp.3x in man_db.renames. 2799 + guard tgetflag() and other termcap functions against null cur_term 2800 pointer. 2801 2802970719 2803 + corrected initial state of software echo (error in 970405, reported 2804 by Alexander V. Lukyanov). 2805 + reviewed/added messages to configure script, so that all non-test 2806 options should be accompanied by a message. 2807 + add configure check for long filenames, using this to determine if 2808 it is safe to allow long aliases for terminal descriptions as does 2809 SVr4. 2810 + add configure options for widec (wide character), hashmap (both 2811 experimental). 2812 > patch by Alexander V. Lukyanov: 2813 + hashmap.c - improved by heuristic, so that scroll test works much 2814 better when csr is not available. 2815 + hardscroll.c - patched so that it continues to scroll other chunks 2816 after failure to scroll one. 2817 + lib_doupdate.c - _nc_mvcur_scrolln extended to handle more cases; csr 2818 is avoided as it is relative costly. Fixed wrong coordinates in one 2819 case and wrong string in TRACE. 2820 > patch by Juergen Pfeifer: 2821 + modify C++ binding to compile on AIX 4.x with the IBM C-SET++ 2822 compiler. 2823 2824970712 2825 + remove alternate character set from kterm terminfo entry; it uses the 2826 shift-out control for a purpose incompatible with curses, i.e., font 2827 switching. 2828 + disentangle 'xterm' terminfo entry from some derived entries that 2829 should be based on xterm-r6 instead. 2830 + add cbt to xterm-xf86-xv32 terminfo entry; I added the emulation for 2831 XFree86 3.1.2F, but overlooked its use in terminfo then - T.Dickey. 2832 + correct logic in lib_mvcur.c that uses back_tab. 2833 2834970706 2835 + correct change from 970628 to ClrUpdate() in lib_doupdate.c so that 2836 contents of curscr are saved in newscr before clearing the screen. 2837 This is needed to make repainting work with the present logic of 2838 TransformLine(). 2839 + use napms() rather than sleep() in tset.c to avoid interrupting I/O. 2840 2841970705 2842 + add limit checks to _nc_read_file_entry() to guard against overflow 2843 of buffer when reading incompatible terminfo format, e.g, from OSF/1. 2844 + correct some loop-variable errors in xmc support in lib_doupdate.c 2845 + modify ncurses 'b' test to add gaps, specified by user, to allow 2846 investigation of interaction with xmc (magic cookie) code. 2847 + correct typo in 970524 mods to xmas.c, had omitted empty parameter 2848 list from has_colors(), which gcc ignores, but SVr4 does not 2849 (reported by Larry Virden). 2850 + correct rmso capability in wy50-mc description. 2851 + add configure option "--enable-hard-tabs", renamed TABS_OK ifdef to 2852 USE_HARD_TABS. 2853 > patch by Juergen Pfeifer: 2854 + Add bindings for keyok() and define_key() to the Ada95 packages. 2855 + Improve man pages menu_post.3x and menu_format.3x 2856 + Fix the HTML pages in the Ada95/html directory to reflect the above 2857 changes. 2858 2859970628 2860 + modify change from 970101 to ClrUpdate() in lib_doupdate.c so that 2861 pending changes to both curscr and newscr are flushed properly. 2862 This fixes a case where the first scrolling operation in nvi would 2863 cause the screen to be cleared unnecessarily and repainted before 2864 doing the indexing, i.e., by repeatedly pressing 'j' (reported by 2865 Juergen Pfeifer). 2866 + correct error in trans_string() which added embedded newlines in a 2867 terminfo description to the stored strings. 2868 + remove spurious newlines from sgr in wyse50 (and several other) 2869 terminfo descriptions. 2870 + add configure option for experimental xmc (magic cookie) code, 2871 "--enable-xmc-glitch". When disabled (the default), attributes that 2872 would store a magic cookie are suppressed in vidputs(). The magic 2873 cookie code is far from workable at this stage; the configuration 2874 option is a stopgap. 2875 + move _nc_initscr() from lib_initscr.c to lib_newterm.c 2876 + correct path for invoking make_keys (a missing "./"). 2877 2878970621 2879 + correct sign-extension problem with "infocmp -e", which corrupted 2880 acsc values computed for linux fallback data. 2881 + correct dependency on ncurses/names.c (a missing "./"). 2882 + modify configure script to use '&&' even for cd'ing to existing 2883 directories to work around broken shell interpreters. 2884 + correct a loop-limit in _nc_hash_map() (patch by Alexander V. 2885 Lukyanov). 2886 2887970615 2888 + restore logic in _nc_scroll_optimize() which marks as touched the 2889 lines in curscr that are shifted. 2890 + add new utility 'make_keys' to compute keys.tries as a table rather 2891 than a series of function calls. 2892 + correct include-dependency for tic.h used by name_match 2893 + removed buffer-allocation for name and description from m_item_new.c, 2894 since this might result in incompatibilities with SVr4. Also fixed 2895 the corresponding Ada95 binding module (patch by Juergen Pfeifer, 2896 from report by Avery Pennarun <apenwarr@foxnet.net>) 2897 + removed the mechanism to timestamp the generated Ada95 sources. This 2898 resulted always in generating patches for the HTML doc, even when 2899 nothing really changed (patch by Juergen Pfeifer). 2900 + improve man page mitem_new.3x (patch by Juergen Pfeifer). 2901 2902970614 2903 + remove ech capability from rxvt description because it does not work. 2904 + add missing case logic for infocmp -I option (reported by Lorenzo M. 2905 Catucci <lorenzo@argon.roma2.infn.it>) 2906 + correct old bug in pnoutrefresh() unmasked by fix in 970531; this 2907 caused glitches in the ncurses 'p' test since the area outside the 2908 pad was not compared when setting up indices for _nc_scroll_optimize. 2909 + rewrote tracebits() to workaround misdefinition of TOSTOP on Ultrix 2910 4.4, as well as to eliminate fixed-size buffer (reported by Chris 2911 Tanner <tannerc@aecl.ca>) 2912 + correct prototype for termattrs() as per XPG4 version 2. 2913 + add placeholder prototypes for color_set(), erasewchar(), 2914 term_attrs(), wcolor_set() as per XPG4 version 2. 2915 + correct attribution for progs/progs.priv.h and lib_twait.c 2916 + improve line-breakout logic by checking based on changed lines rather 2917 than total lines (patch by Alexander V. Lukyanov). 2918 + correct loop limits for table-lookup of enumerated value in form 2919 (patch by Juergen Pfeifer). 2920 + improve threshhold computation for determining when to call ClrToEOL 2921 (patch by Alexander V. Lukyanov). 2922 2923970531 2924 + add configure option --disable-database to force the library to 2925 use only the fallback data. 2926 + add configure option --with-fallbacks, to specify list of fallback 2927 terminal descriptions. 2928 + add a symbolic link for ncurses.h during install; too many programs 2929 still assume there's an ncurses.h 2930 + add new terminfo.src entry for xterm-xf86-v33. 2931 + restore terminfo.src entry for emu to using setf/setb, since it is 2932 not, after all, generating ANSI sequences. Corrected missing comma 2933 that caused setf/setb entries to merge. 2934 + modify mousemask() to use keyok() to enable/disable KEY_MOUSE, so 2935 that applications can disable ncurses' mouse and supply their own 2936 handler. 2937 + add extensions keyok() and define_key(). These are designed to allow 2938 the user's application better control over the use of function keys, 2939 e.g., disabling the ncurses KEY_MOUSE. (The define_key idea was from 2940 a mailing-list thread started by kjahds@kjahds.com Nov'1995). 2941 + restore original behavior in ncurses 'g' test, i.e., explicitly 2942 set the keypad mode rather than use the default, since it confuses 2943 people. 2944 + rewrote the newdemo banner so it's readable (reported by Hugh Daniel). 2945 + tidy up exit from hashtest (reported by Hugh Daniel). 2946 + restore check for ^Q in ncurses 'g' test broken in 970510 (reported 2947 by Hugh Daniel) 2948 + correct tput program, checking return-value of setupterm (patch by 2949 Florian La Roche). 2950 + correct logic in pnoutrefresh() and pechochar() functions (reported 2951 by Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>). The computation 2952 of 'wide' date to eric's #283 (1.9.9), and the pechochar bug to the 2953 original implementation (1.9.6). 2954 + correct typo in vt102-w terminfo.src entry (patch by Robert Wuest 2955 <rwuest@sire.vt.com>) 2956 + move calls of _nc_background() out of various loops, as its return 2957 value will be the same for the whole window being operated on (patch 2958 by J.T.Conklin). 2959 + add macros getcur[xy] getbeg[xy] getpar[xy], which are defined in 2960 SVr4 headers (patch by J.T.Conklin <jtc@NetBSD.ORG>) 2961 + modify glibc addon-configure scripts (patch by H.J.Lu). 2962 + correct a bug in hashmap.c: the size used for clearing the hashmap 2963 table was incorrect, causing stack corruption for large values of 2964 LINES, e.g., >MAXLINES/2 (patch by Alexander V. Lukyanov). 2965 + eric's terminfo 9.13.23 & 9.13.24 changes: replaced minitel-2 entry, 2966 added MGR, ansi-nt (note: the changes described for 9.13.24 have not 2967 been applied). 2968 > several changes by Juergen Pfeifer: 2969 + correct a missing error-return in form_driver.c when wrapping of a 2970 field is not possible. 2971 + correct logic in form_driver.c for configurations that do not have 2972 memccpy() (reported by Sidik Isani <isani@cfht.hawaii.edu>) 2973 + change several c++ binding functions to inline. 2974 + modify c++ menu binding to inherit from panels, for proper 2975 initialization. 2976 + correct freeing of menu items in c++ binding. 2977 + modify c++ binding to reflect removal of const from user data pointer 2978 in forms/menus libraries. 2979 2980970524 2981 + add description of xterm-16color. 2982 + modify name of shared-library on *BSD to end with $(REL_VERSION) 2983 rather than $(ABI_VERSION) to match actual convention on FreeBSD 2984 (cf: 960713). 2985 + add OpenBSD to shared-library case, same as NetBSD and FreeBSD 2986 (reported by Hugh Daniel <hugh@rat.toad.com>). 2987 + corrected include-dependency in menu/Makefile so that "make install" 2988 works properly w/o first doing "make". 2989 + add fallback definition for isascii, used in infocmp. 2990 + modify xmas to use color, and to exit right away when a key is 2991 pressed. 2992 + modify gdc so that the scrolled digits function as described (there 2993 was no time delay between the stages, and the digits overwrote the 2994 bounding box without tidying up). 2995 + modify lib_color.c to use setaf/setab only for the ANSI color codes 2996 0 through 7. Using 16 colors requires setf/setb. 2997 + modify ncurses 'c' test to work with 16 colors, as well as the normal 2998 8 colors. 2999 + remove const qualifier from user data pointer in forms and menus 3000 libraries (patch by Juergen Pfeifer). 3001 + rewrote 'waddchnstr()' to avoid using the _nc_waddch_nosync() 3002 function, thereby not interpreting tabs, etc., as per spec (patch by 3003 Alexander V. Lukyanov). 3004 3005970517 3006 + suppress check for pre-existing ncurses header if the --prefix 3007 option is specified. 3008 + add configure options "--with-system-type" and "--with-system-release" 3009 to assist in checking the generated makefiles. 3010 + add configure option "--enable-rpath" to allow installers to specify 3011 that programs linked against shared libraries will have their library 3012 path embedded, allowing installs into nonstandard locations. 3013 + add flags to OSF1 shared-library options to specify version and 3014 symbol file (patch by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>) 3015 + add missing definition for ABI_VERSION to c++/Makefile.in (reported 3016 by Satoshi Adachi <adachi@wisdom.aa.ap.titech.ac.jp>). 3017 + modify link flags to accommodate HP-UX linker which embeds absolute 3018 pathnames in executables linked against shared libraries (reported by 3019 Jason Evans <jasone@mrc.uidaho.edu>, solved by Alan Shutko 3020 <ats@hubert.wustl.edu>). 3021 + drop unnecessary check for attribute-change in onscreen_mvcur() since 3022 mvcur() is the only caller within the library, and that check in turn 3023 is exercised only from lib_doupdate.c (patch by Alexander V. 3024 Lukyanov). 3025 + add 'blank' parameter to _nc_scroll_window() so _nc_mvcur_scrolln() 3026 can use the background of stdscr as a parameter to that function 3027 (patch by Alexander V. Lukyanov). 3028 + moved _nc_mvcur_scrolln() from lib_mvcur.c to lib_doupdate.c, to use 3029 the latter's internal functions, as well as to eliminate unnecessary 3030 cursor save/restore operations (patch by Alexander V. Lukyanov). 3031 + omit parameter of ClrUpdate(), since it is called only for newscr, 3032 further optimized/reduced by using ClearScreen() and TransformLine() 3033 to get rid of duplicate code (patch by Alexander V. Lukyanov). 3034 + modify scrolling algorithm in _nc_scroll_optimize() to reject hunks 3035 that are smaller than the distance to be moved (patch by Alexander V. 3036 Lukyanov). 3037 + correct a place where the panel library was not ifdef'd in ncurses.c 3038 (Juergen Pfeifer) 3039 + documentation fixes (Juergen Pfeifer) 3040 3041970515 4.1 release for upload to prep.ai.mit.edu 3042 + re-tag changes since 970505 as 4.1 release. 3043 3044970510 3045 + modify ncurses 'g' test to allow mouse input 3046 + modify default xterm description to include mouse. 3047 + modify configure script to add -Wwrite-strings if gcc warnings are 3048 enabled while configuring --enable-const (and fixed related warnings). 3049 + add toggle, status display for keypad mode to ncurses 'g' test to 3050 verify that keypad and scrollok are not inherited from parent window 3051 during a call to newwin. 3052 + correction to MKexpanded.sh to make it work when configure --srcdir is 3053 used (reported by H.J.Lu). 3054 + revise test for bool-type, ensuring that it checks if builtin.h is 3055 available before including it, adding test for sizeof(bool) equal 3056 to sizeof(short), and warning user if the size cannot be determined 3057 (reported by Alexander V. Lukyanov). 3058 + add files to support configuration of ncurses as an add-on library 3059 for GNU libc (patch by H.J.Lu <hjl@lucon.org>) 3060 3061970506 3062 + correct buffer overrun in lib_traceatr.c 3063 + modify change to lib_vidattr.c to avoid redundant orig_pair. 3064 + turn on 'echo()' in hanoi.c, since it is initially off. 3065 + rename local 'errno' variable in etip.h to avoid conflict with global 3066 (H.J.Lu). 3067 + modify configure script to cache LD, AR, AR_OPTS (patch by H.J.Lu 3068 <hjl@lucon.org>) 3069 3070970505 4.1 pre-release 3071 + regenerate the misc directory html dumps without the link list, which 3072 is not useful. 3073 + correct dependency in form directory makefile which caused unnecessary 3074 recompiles. 3075 + correct substitution for ABI_VERSION in test-makefile 3076 + modify install rules for shared-library targets to remove the target 3077 before installing, since some install programs do not properly handle 3078 overwrite of symbolic links. 3079 + change order of top-level targets so that 'include' immediate 3080 precedes the 'ncurses' directory, reducing the time between new 3081 headers and new libraries (requested by Larry Virden). 3082 + modify lib_vidattr.c so that colors are turned off only before 3083 modifying other attributes, turned on after others. This makes the 3084 hanoi.c program display correctly on FreeBSD console. 3085 + modify debug code in panel library to print user-data addresses 3086 rather than the strings which they (may) point to. 3087 + add check to ensure that C++ binding and demo are not built with g++ 3088 versions below 2.7, since the binding uses templates. 3089 + modify c++ binding and demo to build and run with SGI's c++ compiler. 3090 (It also compiles with the Sun SparcWorks compiler, but the demo does 3091 not link, due to a vtbl problem). 3092 + corrections to demo.cc, to fix out-of-scope variables (Juergen 3093 Pfeifer). 3094 3095970503 3096 + correct memory leak in _nc_trace_buf(). 3097 + add configure test for regexpr.h, for Unixware 1.x. 3098 + correct missing "./" prefixing names of generated files in ncurses 3099 directory. 3100 + use single-quotes in configure scripts assignments for MK_SHARED_LIB 3101 to workaround shell bug on FreeBSD 2.1.5 3102 + remove tabs from intermediate #define's for GCC_PRINTF, GCC_SCANF 3103 that caused incorrect result in ncurses_cfg.h 3104 + correct initialization in lib_trace.c, which omitted version info. 3105 + remove ech, el1 attributes from cons25w description; they appear to 3106 malfunction in FreeBSD 2.1.5 3107 + correct color attributes in terminfo.src and lib_color.c to match 3108 SVr4 behavior by interchanging codes 1,4, 3,6 in the setf/setb 3109 capabilities. 3110 + use curs_set() rather than checks via tigetstr() for test programs 3111 that hide the cursor: firework, rain, worm. 3112 + ensure that if the terminal lacks change_scroll_region, parm_index 3113 and parm_rindex are used only to scroll the whole screen (patch by 3114 Peter Wemm). 3115 + correct curs_set() logic, which did not return ERR if the requested 3116 attributes did not exist, nor did it assume an unknown initial state 3117 for the cursor (patch by Alexander V. Lukyanov). 3118 + combine IDcTransformLine and NoIDcTransformLine to new TransformLine 3119 function in lib_doupdate.c (patch by Alexander V. Lukyanov). 3120 + correct hashmap.c, which did not update index information (patch by 3121 Alexander V. Lukyanov). 3122 + patch by Juergen Pfeifer for C++ binding and demo (see c++/NEWS) 3123 + correct index in lib_instr.c (Juergen Pfeifer). 3124 + correct typo in 970426 patch from Tom's cleanup of lib_overlay.c 3125 (Juergen Pfeifer). 3126 3127970426 3128 + corrected cost computation in PutRange(), which was using 3129 milliseconds compared to characters by adding two new members to the 3130 SCREEN struct, _hpa_ch_cost and _cup_ch_cost. 3131 + drop ncurses/lib_unctrl.c, add ncurses/MKunctrl.awk to generate a 3132 const array of strings (suggested by Alexander V. Lukyanov, though 3133 with a perl script 970118). 3134 + rewrote ncurses 'b' test to better exercise magic-cookie (xmc), as 3135 well as noting the attributes that are not supported by a terminal. 3136 + trace the computation of cost values in lib_mvcur.c 3137 + modify _nc_visbuf() to use octal rather than hex, corrected sign 3138 extension bug in that function that caused buffer overflow. 3139 + modify trace in lib_acs.c to use _nc_visbuf(). 3140 + suppress trace within _traceattr2(). 3141 + correct logic of _tracechtype2(), which did not account for repeats 3142 or redefinition within an acsc string. 3143 + modify debug-library version baudrate() to use environment variable 3144 $BAUDRATE to override speed computation. This is needed for 3145 regression testing. 3146 + correct problems shown by "weblint -pedantic". 3147 + update mailing-list information (now ncurses@bsdi.com). 3148 3149970419 3150 + Improve form_field_validation.3x manpage to better describe the 3151 precision parameter for TYPE_NUMERIC and TYPE_INTEGER. Provide more 3152 precise information how the range checking can be avoided. (patch by 3153 Juergen Pfeifer, reported by Bryan Henderson) 3154 + change type of min/max value of form types TYPE_INTEGER to long to 3155 match SVr4 documentation. 3156 + set the form window to stdscr in set_form_win() so that form_win() 3157 won't return null (patch by Juergen Pfeifer, reported by Bryan 3158 Henderson <bryanh@giraffe.netgate.net>). 3159 3160970412 3161 + corrected ifdef'ing of inline (from 970321) for TRACE vs C++. 3162 + corrected toggle_attr_off() macro (patch by Andries.Brouwer). 3163 + modify treatment of empty token in $MANPATH to /usr/man (reported by 3164 <Andries.Brouwer@cwi.nl>) 3165 + modify traces that record functions-called so that chtype and attr_t 3166 values are expressed symbolically, to simplify reuse of generated 3167 test-scripts on SVr4 regression testing. 3168 + add new trace functions _traceattr2() and _tracechtype2() 3169 3170970405 3171 + add configure option --enable-const, to support the use of 'const' 3172 where XSI should have, but did not, specify. This defines 3173 NCURSES_CONST, which is an empty token otherwise, for strict 3174 compatibility. 3175 + make processing of configure options more verbose by echoing the 3176 --enable/--with values. 3177 + add configure option --enable-big-core 3178 + set initial state of software echo off as per XSI. 3179 + check for C++ builtin.h header 3180 + correct computation of absolute-path for $INSTALL that dropped "-c" 3181 parameter from the expression. 3182 + rename config.h to ncurses_cfg.h to avoid naming-conflict when ncurses 3183 is integrated into larger systems (from diffs by H.J.Lu for libc). 3184 + correct inequality in lib_doupdate.c that caused a single-char to not 3185 be updated when the char on the right-margin was not blank, idcok() 3186 was true (patch by Alexander V. Lukyanov 970124, also reported by 3187 Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu> 970329). 3188 + modify 'clean' rule in include/Makefile so that files created by 3189 configure script are removed in 'distclean' rule instead. 3190 3191970328 3192 + correct array limit in tparam_internal(), add case to interpret "%x" 3193 (patch by Andreas Schwab) 3194 + rewrote number-parsing in ncurses.c 'd' test; it did not reset the 3195 value properly when non-numeric characters were given (reported by 3196 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>) 3197 3198970321 3199 + move definition of __INTERNAL_CAPS_VISIBLE before include for 3200 progs.priv.h (patch by David MacKenzie). 3201 + add configuration summary, reordered check for default include 3202 directory to better accommodate a case where installer is configuring 3203 a second copy of ncurses (reported by Klaus Weide 3204 <kweide@tezcat.com>) 3205 + moved the #define for 'inline' as an empty token from the 3206 $(CFLAGS_DEBUG) symbol into config.h, to avoid redefinition warning 3207 (reported by Ward Horner). 3208 + modify test for bool builtin type to use 'unsigned' rather than 3209 'unknown' when cross-compiling (reported by Ward Horner). 3210 3211970315 3212 + add header dependencies so that "make install.libs" will succeed 3213 even if "make all" is not done first. 3214 + moved some macros from lib_doupdate.c to curses.priv.h to use in 3215 expanded functions with ATAC. 3216 + correct implementation of lib_instr.c; both XSI and SVr4 agree that 3217 the winnstr functions can return more characters than will fit on one 3218 line. 3219 3220970308 3221 + modify script that generates lib_gen.c to support traces of called & 3222 return. 3223 + add new configure option "--disable-macros", for testing calls within 3224 lib_gen.c 3225 + corrected logic that screens level-checking of called/return traces. 3226 3227970301 3228 + use new configure macro NC_SUBST to replace AC_PATH_PROG, better 3229 addressing request by Ward Horner. 3230 + check for cross-compiling before trying to invoke the autoconf 3231 AC_FUNC_SETVBUF_REVERSED macro (reported by Ward Horner) 3232 + correct/simplify loop in _nc_visbuf(), 970201 changes omitted 3233 a pointer-increment. 3234 + eliminate obsolete symbol SHARED_ABI from dist.mk (noted by 3235 Florian La Roche). 3236 3237970215 3238 + add configure option --enable-expanded, together with code that 3239 implements an expanded form of certain complex macros, for testing 3240 with ATAC. 3241 + disable CHECK_POSITION unless --with-assertions is configured 3242 (Alexander Lukyanov pointed out that this is redundant). 3243 + use keyname() to show traced chtype values where applicable rather 3244 than _tracechar(), which truncates the value to 8-bits. 3245 + minor fixes to TRACE_ICALLS, added T_CREATE, TRACE_CCALLS macros. 3246 + modify makefiles in progs and test directories to avoid using C 3247 preprocessor options on link commands (reported by Ward Horner) 3248 + correct ifdef/include-order for nc_alloc.h vs lib_freeall.c (reported 3249 by Ward Horner) 3250 + modify ifdef's to use configure-defined symbols consistently 3251 (reported by Ward Horner) 3252 + add/use new makefile symbols AR, AR_OPTS and LD to assist in non-UNIX 3253 ports (reported by Ward Horner <whorner@tsi-telsys.com>) 3254 + rename struct try to struct tries, to avoid name conflict with C++ 3255 (reported by Gary Johnson). 3256 + modify worm.c to hide cursor while running. 3257 + add -Wcast-qual to gcc warnings, fix accordingly. 3258 + use PutChar rather than PutAttrChar in ClrToEOL to properly handle 3259 wrapping (Alexander Lukyanov). 3260 + correct spurious echoing of input in hanoi.c from eric's #291 & #292 3261 patches (reported by Vernon C. Hoxie <vern@zebra.alphacdc.com>). 3262 + extend IRIX configuration to IRIX64 3263 + supply missing install.libs rule needed after restructuring 3264 test/Makefile.in 3265 3266970208 3267 + modify "make mostlyclean" to leave automatically-generated source 3268 in the ncurses directory, for use in cross-compiles. 3269 + autogenerated object-dependencies for test directory 3270 + add configure option --with-rcs-ids 3271 + modify configuration scripts to generate major/minor/patch versions 3272 (suggested by Alexander Lukyanov). 3273 + supply missing va_end's in lib_scanw.c 3274 + use stream I/O for trace-output, to eliminate fixed-size buffer 3275 + add TRACE_ICALLS definition/support to lib_trace.c 3276 + modify Ada95 binding to work with GNAT 3.09 (Juergen Pfeifer). 3277 3278970201 3279 + add/modify traces for called/return values to simplify extraction 3280 for test scripts. 3281 + changed _nc_visbuf to quote its result, and to dynamically allocate 3282 the returned buffer. 3283 + invoke ldconfig after installing shared library 3284 + modify install so that overwrite applies to shared library -lcurses 3285 in preference to static library (reported by Zeyd 960928). 3286 + correct missing ';' in 961221 mod to overwrite option use of $(LN_S). 3287 + fixes to allow "make install" to work without first doing a "make 3288 all" (suggested by Larry Virden). 3289 3290970125 3291 + correct order of #ifdef for TABS_OK. 3292 + instrumented toe.c to test memory-leaks. 3293 + correct memory-deallocation in toe.c (patch by Jesse Thilo). 3294 + include <sys/types.h> in configuration test for regex.h (patch by 3295 Andreas Schwab) 3296 + make infocmp recognize -I option, for SVr4 compatibility (reported by 3297 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>) 3298 3299970118 3300 + add extension 'use_default_colors()', modified test applications that 3301 use default background (firework, gdc, hanoi, knight, worm) to 3302 demonstrate. 3303 + correct some limit checks in lib_doupdate.c exposed while running 3304 worm. 3305 + use typeCalloc macro for readability. 3306 + add/use definition for CONST to accommodate testing with Solaris 3307 (SVr4) curses, which doesn't use 'const' in its prototypes. 3308 + modify ifdef's in test/hashtest.c and test/view.c to compile with 3309 Solaris curses. 3310 + modify _tracedump() to pad pad colors & attrs lines to match change 3311 in 970101 showing first/last changes. 3312 + corrected location of terminating null on dynamically allocated forms 3313 fields (patch by Per Foreby). 3314 3315970111 3316 + added headers to make view.c compile on SCO with the resizeterm() 3317 code (i.e., struct winsize) - though this compiles, I don't have a 3318 suitable test configuration since SIGWINCH doesn't pass my network to 3319 that machine - T.Dickey. 3320 + update test/configure.in to supply some default substitutions. 3321 + modify configure script to add -lncurses after -lgpm to fix problem 3322 linking against static libraries. 3323 + add a missing noraw() to test/ncurses.c (places noted by Jeremy 3324 Buhler) 3325 + add a missing wclear() to test/testcurs.c (patch by Jeremy Buhler 3326 <jbuhler@cs.washington.edu>) 3327 + modify headers to accommodate compilers that don't allow duplicate 3328 "#define" lines for NCURSES_VERSION (reported by Larry W. Virden 3329 <lvirden@cas.org>) 3330 + fix formatting glitch in curs_getch.3x (patch by Jesse Thilo). 3331 + modify lib_doupdate to make el, el1 and ed optimization use the 3332 can_clear_with macro, and change EmitRange to allow leaving cursor at 3333 the middle of interval, rather than always at the end (patch by 3334 Alexander Lukyanov originally 960929, resync 970106). 3335 3336970104 3337 + workaround defect in autoconf 2.12 (which terminates configuration 3338 if no C++ compiler is found) by adding an option --without-cxx. 3339 + modify several man-pages to use tbl, where .nf/.fi was used (reported 3340 by Jesse Thilo). 3341 + correct font-codes in some man-pages (patch by Jesse Thilo 3342 <Jesse.Thilo@pobox.com>) 3343 + use configure script's knowledge of existence of g++ library for the 3344 c++ Makefile (reported by Paul Jackson). 3345 + correct misleading description of --datadir configuration option 3346 (reported by Paul Jackson <pj@sam.engr.sgi.com>) 3347 3348970101 3349 + several corrections to _nc_mvcur_scrolln(), prompted by a bug report 3350 from Peter Wemm: 3351 > the logic for non_dest_scroll_region was interchanged between the 3352 forward & reverse scrolling cases. 3353 > multiple returns from the function allowed certain conditions to do 3354 part of an operation before discovering that it couldn't be 3355 completed, returning an error without restoring the cursor. 3356 > some returns were ERR, where the function had completed the 3357 operation, because the insert/delete line logic was improperly 3358 tested (this was probably the case Peter saw). 3359 > contrary to comments, some scrolling cases were tested after the 3360 insert/delete line method. 3361 + modify _tracedump() to show first/last changes. 3362 + modify param of ClrUpdate() in lib_doupdate.c to 'newscr', fixes 3363 refresh problem (reported by Peter Wemm) that caused nvi to not show 3364 result of ":r !ls" until a ^L was typed. 3365 3366961229 (internal alpha) 3367 + correct some of the writable-strings warnings (reported by Gary 3368 Johnson <gjohnson@season.com>). Note that most of the remaining ones 3369 are part of the XSI specification, and can't be "fixed". 3370 + improve include-dependencies in form, menu, panel directories. 3371 + correct logic of delay_output(), which would return early if 3372 there is data on stdin. 3373 + modify interface & logic of _nc_timed_wait() to support 2 file 3374 descriptors, needed for GPM. 3375 + integrate patch by Andrew Kuchling <amk@magnet.com> for GPM (mouse) 3376 support, correcting logic in wgetch() and _nc_mouse_parse() which 3377 prevented patch from working properly. 3378 + improve performance of panel algorithm (Juergen Pfeifer 961203). 3379 + strip RCS id's from generated .html files in Ada95 subtree. 3380 + resync with generated .html files (Juergen Pfeifer 961223). 3381 + terminfo.src 10.1.0 from Eric. 3382 3383961224 4.0 release 3384 + release as 4.0 to accommodate Linux ld.so.1.8.5 3385 + correct syntax/spelling, regenerated .doc files from .html using 3386 lynx 2.5 3387 + refined forms/menus makefiles (Juergen Pfeifer 961223). 3388 3389961221 - snapshot 3390 + remove logic in read_entry.c that attempts to refine errno by using 3391 'access()' for the directory (from patch by Florian La Roche). 3392 + correct configure test/substitution that inhibits generating 3393 include-path to /usr/include if gcc is used (reported by Florian La 3394 Roche). 3395 + modify setupterm() to allocate new TERMINAL for each call, just as 3396 solaris' curses does (Alexander Lukyanov 960829). 3397 + corrected memory leaks in read_entry.c 3398 + add configure options --with-dbmalloc, --with-dmalloc, and 3399 --disable-leaks, tested by instrumenting infocmp, ncurses programs. 3400 + move #include's for stdlib.h and string.h to *.priv.h to accommodate 3401 use of dbmalloc. 3402 + modify use of $(LN_S) to follow recommendation in autoconf 2.12, 3403 i.e., set current directory before linking. 3404 + split-out panel.priv.h, improve dependencies for forms, menus 3405 (Juergen Pfeifer 961204). 3406 + modify _nc_freewin() to reset globals curscr/newscr/stdscr when 3407 freeing the corresponding WINDOW (Purify). 3408 + modify delwin() to return ERR if the window to be deleted has 3409 subwindows, needed as a side-effect of resizeterm() (Purify). Tested 3410 and found that SVr4 curses behaves this way. 3411 + implement logic for _nc_freeall(), bringing stub up to date. 3412 3413961215 3414 + modify wbkgd() so that it doesn't set nulls in the rendered text, 3415 even if its argument doesn't specify a character (fixes test case by 3416 Juergen Pfeifer for bug-report). 3417 + set window-attributes in wbkgd(), to simplify comparison against 3418 Solaris curses, which does this. 3419 3420961214 - snapshot 3421 + replace most constants in ncurses 'o' test by expressions, making it 3422 work with wider range of screen sizes. 3423 + add options to ncurses.c to specify 'e' test softkey format, and the 3424 number of header/footer lines to rip-off. 3425 + add ^R (repaint after resize), ^L (refresh) commands to ncurses 'p' 3426 test. 3427 + add shell-out (!) command to ncurses 'p' test to allow test of 3428 resize between endwin/refresh. 3429 + correct line-wrap case in mvcur() by emitting carriage return, 3430 overlooked in 960928, but needed due to SVr4 compatibility changes to 3431 terminal modes in 960907. 3432 + correct logic in wresize that causes new lines to be allocated, 3433 broken for the special case of increasing rows only in 960907's fix 3434 for subwindows. 3435 + modify configure script to generate $(LDFLAGS) with -L and -l options 3436 in preference to explicit library filenames. (NOTE: this may 3437 require further amending, since I vaguely recall a dynamic loader 3438 that did not work properly without the full names, but it should be 3439 handled as an exception to the rule, since some linkers do bulk 3440 inclusion of libraries when given the full name - T.Dickey). 3441 + modify configure script to allow user-supplied $CFLAGS to set the 3442 debug-option in all libraries (requested by lots of people). 3443 + use return consistently from main(), rather than exit (reported by 3444 Florian La Roche). 3445 + add --enable-getcap-cache option to configure, normally disabled 3446 (requested by Florian La Roche). 3447 + make configure test for gettimeofday() and possibly -lbsd more 3448 efficient (requested by Florian La Roche florian@knorke.saar.de) 3449 + minor adjustments to Ada95 binding (patches by Juergen Pfeifer) 3450 + correct attributes after emitting orig_pair in lib_vidattr.c (patch 3451 by lav@yars.free.net). 3452 3453961208 3454 + corrected README wrt Ada95 (Juergen Pfeifer) 3455 3456961207 - snapshot 3457 + integrate resizeterm() into doupdate(), so that if screen size 3458 changes between endwin/refresh, ncurses will resize windows to fit 3459 (this needs additional testing with pads and softkeys). 3460 + add, for memory-leak testing, _nc_freeall() entrypoint to free all 3461 data used in ncurses library. 3462 + initialize _nc_idcok, _nc_idlok statically to resolve discrepancy 3463 between initscr() and newwin() initialization (reported by 3464 lav@yars.free.net). 3465 + test built VERSION=4.0, SHARED_ABI=4 with Linux ld.so.1.8.5 3466 (set beta versions to those values -- NOTE that subsequent pre-4.0 3467 beta may not be interchangeable). 3468 + modify configure script to work with autoconf 2.12 3469 3470961130 1.9.9g release 3471 + add copyright notices to configuration scripts (written by Thomas 3472 Dickey). 3473 3474961127 3475 > patch by Juergen Pfeifer (mostly for panel): 3476 + cosmetic improvement for a few routines in the ncurses core library 3477 to avoid warning messages. 3478 + the panel overlap detection was broken 3479 + the panel_window() function was not fool-proof. 3480 + Some inlining... 3481 + Cosmetic changes (also to avoid warning messages when compiling with 3482 -DTRACE). 3483 3484961126 3485 > patch by Juergen Pfeifer: 3486 + eliminates warning messages for the compile of libform. 3487 + inserts Per Foreby's new field type TYPE_IPV4 into libform. 3488 + Updates man page and the Ada95 binding to reflect this. 3489 + Improves inlining in libmenu and libform. 3490 3491961120 3492 + improve the use of the "const" qualifier in the 3493 panel library (Juergen Pfeifer) 3494 + change set_panel_userptr() and panel_userptr() to use void* 3495 (Juergen Pfeifer) 3496 3497961119 3498 + change ABI to 3.4 3499 + package with 961119 version of Ada95 binding (fixes for gnat-3.07). 3500 (Juergen Pfeifer) 3501 + correct initialization of the stdscr pseudo panel in panel library 3502 (Juergen Pfeifer) 3503 + use MODULE_ID (rcs keywords) in forms and menus libraries (Juergen 3504 Pfeifer). 3505 > patch #324 by Eric. 3506 + typo in curs_termcap man page (reported by Hendrik Reichel 3507 <106065.2344@compuserve.com>) 3508 + change default xterm entry to xterm-r6. 3509 + add entry for color_xterm 3510 3511961116 - snapshot 3512 + lint found several functions that had only #define implementations 3513 (e.g., attr_off), modified curses.h.in to generate them as per XSI 3514 Curses requirement that every macro be available as a function. 3515 + add check in infocmp.c to guard against string compare of 3516 CANCELLED_STRING values. 3517 + modify firework.c, rain.c to hide cursor while running. 3518 + correct missing va_end in lib_tparm.c 3519 + modify hanoi.c to work on non-color terminals, and to use timing 3520 delays when in autoplay mode. 3521 + correct 'echochar()' to refresh immediately (reported by Adrian 3522 Garside 94ajg2@eng.cam.ac.uk) 3523 > patch #322 by eric: 3524 + reorganize terminfo.src entries for xterm. 3525 3526961109 - snapshot 3527 + corrected error in line-breakout logic (lib_doupdate.c) 3528 + modified newdemo to use wgetch(win) rather than getch() to eliminate 3529 a spurious clear-screen. 3530 + corrected ifdef's for 'poll()' configuration. 3531 + added modules to ncurses, form, menu for Ada95 binding (Juergen 3532 Pfeifer). 3533 + modify set_field_buffer() to allow assignment of string longer than 3534 the initial buffer length, and to return the complete string rather 3535 than only the initial size (Juergen Pfeifer and Per Foreby 3536 <perf@efd.lth.se>). 3537 3538961102 - snapshot 3539 + configure for 'poll()' in preference to 'select()', since older 3540 systems are more likely to have a broken 'select()'. 3541 + modified render_char() to avoid OR'ing colors. 3542 + minor fixes to testcurs.c, newdemo.c test programs: ifdef'd out the 3543 resize test, use wbkgd and corrected box() parameters. 3544 + make flushinp() test work in ncurses.c by using napms() instead of 3545 sleep(). 3546 + undo Eric's changes to xterm-x11r6 (it no longer matched the X11R6.1 3547 distribution, as stated) 3548 + terminfo 9.13.18 (resync by Eric) 3549 + check for getenv("HOME") returning null (Eric). 3550 + change buffer used to decode xterm-mouse commands to unsigned to 3551 handle displays wider than 128 chars (Juergen Pfeifer). 3552 + correct typo curs_outopts.3x (Juergen Pfeifer). 3553 + correct limit-checking in wenclose() (Juergen Pfeifer). 3554 + correction to Peter Wemm's newwin change (Thomas Fehr <fehr@suse.de>). 3555 + corrections to logic that combines colors and attributes; they must 3556 not be OR'd (Juergen Pfeifer, extending from report/patch by Rick 3557 Marshall). 3558 3559961026 - snapshot 3560 + reset flags in 'getwin()' that might cause refresh to attempt to 3561 manipulate the non-existent parent of a window that is read from a 3562 file (lib_screen.c). 3563 + restructure _nc_timed_wait() to log more information, and to try to 3564 recover from badly-behaved 'select()' calls (still testing this). 3565 + move define for GOOD_SELECT into configure script. 3566 + corrected extra '\' character inserted before ',' in comp_scan.c 3567 + corrected expansion of %-format characters in dump_entry.c; some were 3568 rendered as octal constants. 3569 + modify dump_entry.c to make terminfo output more readable and like 3570 SVr4, by using "\s" for spaces (leading/trailing only), "\," for 3571 comma, "\^" and "\:" as well. 3572 + corrected some memory leaks in ncurses.c, and a minor logic error 3573 in the top-level command-parser. 3574 + correction for label format 4 (PC style with info line), a 3575 slk_clear(), slk_restore() sequence didn't redraw the info line 3576 (Juergen Pfeifer). 3577 + modified the slk window (if simulated) to inherit the background and 3578 default character attributes from stdscr (Juergen Pfeifer). 3579 + corrected limit-check in set_top_row (Juergen Pfeifer). 3580 3581961019 - snapshot 3582 + correct loop-limit in wnoutrefresh(), bug exposed during pipe-testing 3583 had '.lastchar' entry one beyond '._maxx'. 3584 + modify ncurses test-program to work with data piped to it. 3585 + corrected pathname computation in run_tic.sh, removing extra "../" 3586 (reported by Tim Mooney). 3587 + modified configure script to use previous install's location for 3588 curses.h 3589 + added NetBSD and FreeBSD to platforms that use --prefix=/usr as 3590 a default. 3591 3592961013 3593 + revised xterm terminfo descriptions to reflect the several versions 3594 that are available. 3595 + corrected a pointer reference in dump_entry.c that didn't test if 3596 the pointer was -1. 3597 3598961005 - snapshot 3599 + correct _nc_mvcur_scrolln for terminals w/o scrolling region. 3600 + add -x option to hashtest to control whether it allows writes to the 3601 lower-right corner. 3602 + ifdef'd (NCURSES_TEST) the logic for _nc_optimize_enable to make it 3603 simpler to construct tests (for double-check of _nc_hash_map tests). 3604 + correct ifdef's for c++ in curses.h 3605 + change default xterm type to xterm-x11r6. 3606 + correct quoting in configure that made man-pages installed with 3607 $datadir instead of actual terminfo path. 3608 + correct whitespace in include/Caps, which caused kf11, clr_eol and 3609 clr_end to be omitted from terminfo.5 3610 + fix memory leaks in delscreen() (adapted from Alexander Lukyanov). 3611 + improve appearance of marker in multi-selection menu (Juergen 3612 Pfeifer) 3613 + fix behaviour for forms with all fields inactive (Juergen 3614 Pfeifer) 3615 + document 'field_index()' (Juergen Pfeifer) 3616 > patch #321 by eric: 3617 + add some more XENIX keycap translations to include/Caps. 3618 + modify newwin to set initial state of each line to 'touched' 3619 (from patch by Peter Wemm <peter@spinner.dialix.com>) 3620 + in SET_TTY, replace TCSANOW with TCSADRAIN (Alexander Lukyanov). 3621 3622960928 - snapshot 3623 + ifdef'd out _nc_hash_map (still slower) 3624 + add graphic characters to vt52 description. 3625 + use PutAttrChar in ClrToEOL to ensure proper background, position. 3626 + simplify/correct logic in 'mvcur()' that does wrapping; it was 3627 updating the position w/o actually moving the cursor, which broke 3628 relative moves. 3629 + ensure that 'doupdate()' sets the .oldindex values back to a sane 3630 state; this was causing a spurious refresh in ncurses 'r'. 3631 + add logic to configure (from vile) to guard against builders who 3632 don't remove config.cache & config.status when doing new builds. 3633 + corrected logic for 'repeat_char' in EmitRange (from #317), which 3634 did not follow the 2-parameter scheme specified in XSI. 3635 + corrected logic of wrefresh, wnoutrefresh broken in #319, making 3636 clearok work properly (from report by Michael Elkins). 3637 + corrected problem with endwin introduced by #314 (removing the 3638 scrolling-region reset) that broke ncurses.c tests. 3639 + corrected order of args in AC_CHECK_LIB (from report by Ami Fischman 3640 <fischman@math.ucla.edu>). 3641 + corrected formatting of terminfo.5 tables (Juergen Ehling) 3642 > patch 320 by eric: 3643 + change ABI to 3.3 3644 + emit a carriage-return in 'endwin()' to workaround a kernel bug in 3645 BSDI. (requested by Mike Karels <karels@redrock.bsdi.com>) 3646 + reverse the default o configure --enable-termcap (consensus). 3647 > patch 319 by eric: 3648 + modified logic for clearok and related functions (from report by 3649 Michael Elkins) - untested 3650 > patch 318 by eric: 3651 + correction to #317. 3652 > patch 317 by eric: 3653 + re-add _nc_hash_map 3654 + modify EmitRange to maintain position as per original design. 3655 + add hashtest.c, program to time the hashmap optimization. 3656 > patch 316 by eric: 3657 + add logic to deal with magic-cookie (how was this tested?) 3658 (lib_doupdate.c). 3659 + add ncurses.c driver for magic-cookie, some fixes to ncurses.c 3660 > patch 315 by eric: 3661 + merged A. Lukyanov's patch to use ech and rep - untested 3662 (lib_doupdate.c). 3663 + modified handling of interrupted system calls - untested 3664 (lib_getch.c, lib_twait.c). 3665 + new function _nc_mvcur_resume() 3666 + fix return value for 'overlay()', 'overwrite()' 3667 3668960914 - snapshot 3669 + implement subwindow-logic in wresize, minor fixes to ncurses 'g' 3670 test. 3671 + corrected bracketing of fallback.c (reported/suggested fix by Juergen 3672 Ehling <eh@eclipse.aball.de>). 3673 + update xterm-color to reflect XFree86 3.1.3G release. 3674 + correct broken dtterm description from #314 patch (e.g., spurious 3675 newline. The 'pairs' change might work, but no one's tested it 3676 either ;-) 3677 + clarify the documentation for the builtin form fieldtypes (Juergen 3678 Pfeifer) 3679 > patch 314 by eric: 3680 + Enhancement suggested by A. Lukyanov -- reset scroll region on 3681 startup rather than at wrapup time. 3682 + Fix suggested by A. Lukyanov, make storage of palette tables 3683 and their size counts per-screen for multi-terminal applications. 3684 + Improved error reporting for infotocap translation errors. 3685 + Update terminfo.src to 9.13.14. 3686 3687960907 - snapshot 3688 + rewrote wgetstr to make it erase control chars and also fix bogus use 3689 of _nc_outstr which caused the display to not wrap properly (display 3690 problem reported by John M. Flinchbaugh <glynis@netrax.net>) 3691 + modify ncurses 'f' test to accommodate terminal responses to C1 codes 3692 (and split up this screen to accommodate non-ANSI terminals). 3693 + test enter_insert_mode and exit_insert_mode in has_ic(). 3694 + removed bogus logic in mvcur that assumes nl/nonl set output modes 3695 (XSI says they are input modes; SVr4 implements this). 3696 + added macros SET_TTY, GET_TTY to term.h 3697 + correct getstr() logic that altered terminal modes w/o restoring. 3698 + disable ICRNL, etc., during initialization to match SVr4, removing 3699 the corresponding logic from raw, cbreak, etc. 3700 + disable ONLCR during initialization, to match SVr4 (this is needed 3701 for cursor optimization when the cursor-down is a newline). 3702 + replaced Eric's imitation of wresize with my original (his didn't 3703 work). 3704 3705960831 - snapshot 3706 + memory leaks (Alexander V. Lukyanov). 3707 + modified pnoutrefresh() to be more tolerant of too-large screen 3708 size (reported by Michael Elkins). 3709 + correct handling of terminfo files with no strings (Philippe De 3710 Muyter) 3711 + correct "tic -s" to take into account -I, -C options. 3712 + modify ncurses 'f' test to not print codes 80 through 9F, since they 3713 are considered control codes by ANSI terminals. 3714 3715960824 - snapshot 3716 + correct speed variable-type in 'tgetent()' (reported by Peter Wemm) 3717 + make "--enable-getcap" configuration-option work (reported by 3718 Peter Wemm <peter@spinner.DIALix.COM>) 3719 3720960820 3721 + correct err in 960817 that changed return-value of tigetflag() 3722 (reported by Alexander V. Lukyanov). 3723 + modify infocmp to use library default search-path for terminfo 3724 directory (Alexander V. Lukyanov). 3725 3726960817 - snapshot 3727 + corrected an err in mvcur that broke resizing-behavior. 3728 + correct fall-thru behavior of _nc_read_entry(), which was not finding 3729 descriptions that existed in directories past the first one searched 3730 (reported by Alexander V. Lukyanov) 3731 + corrected typo in dtterm description. 3732 > patch 313 by eric: 3733 + add dtterm description 3734 + clarify ncurses 'i' test (drop vscanf subtest) 3735 3736960810 - snapshot 3737 + correct nl()/nonl() to work as per SVr4 & XSI. 3738 + minor fixes to ncurses.c (use 'noraw()', mvscanw return-code) 3739 + refine configure-test for -g option (Tim Mooney). 3740 + correct interaction between O_BLANK and NEW_LINE request in form 3741 library (Juergen Pfeifer) 3742 3743960804 3744 + revised fix to tparm; previous fix reversed parameter order. 3745 > patch 312 by eric: 3746 correct terminfo.src corrupted by #310 3747 > patch 311 by eric: 3748 + fix idlok() and idcok() and the default of the idlok switch. 3749 3750960803 - snapshot 3751 + corrected tparm to handle capability strings without explicit pop 3752 (reported by William P Setzer) 3753 + add fallback def for GCC_NORETURN, GCC_UNUSED for termcap users 3754 (reported by Tim Mooney). 3755 > patch 310 by eric: 3756 + documentation and prototyping errors for has_color, immedok and idcok 3757 (reported by William P Setzer <wsetzer@pams.ncsu.edu>) 3758 + updated qnx terminfo entry (by Michael Hunter) 3759 3760960730 3761 + eliminate quoted includes in ncurses subdirectory, ensure config.h 3762 is included first. 3763 + newterm initializes terminal settings the same as initscr (reported 3764 by Tim Mooney). 3765 3766960727 - snapshot 3767 + call cbreak() in initscr(), as per XSI & SVr4. 3768 + turn off hardware echo in initscr() as per XSI & SVr4 3769 > patch 309 by eric: 3770 + terminfo changes (9.3.10), from BRL 3771 + add more checks to terminfo parser. 3772 + add more symbols to infocmp. 3773 3774960720 - snapshot 3775 + save previous-attribute in lib_vidattr.c if SP is null (reported by 3776 Ju"rgen Fluk <louis@dachau.marco.de>) 3777 + corrected calls on _nc_render so that background character is set 3778 as per XSI. 3779 + corrected wbkgdset macro (XSI allows background character to be null), 3780 and tests that use it. 3781 + more corrections to terminfo (xterm & rxvt) 3782 + undid change to mcprint prototype (cannot use size_t in curses.h 3783 because not all systems declare it in the headers that we can safely 3784 include therein). 3785 + move the ifdefs for errno into curses.priv.h 3786 > patch 308 by eric: 3787 + terminfo changes (9.3.8) 3788 + modified logic of error-reporting in terminfo parser 3789 3790960713 - snapshot 3791 + always check for <sys/bsdtypes.h> since ISC needs it to declare 3792 fd_set (Juergen Pfeifer) 3793 + install shared-libraries on NetBSD/FreeBSD with ABI-version (reported 3794 by several people: Juergen Pfeifer, Mike Long) 3795 + add LOCAL_LDFLAGS2 symbol (Juergen Pfeifer) 3796 + corrected prototype for delay_output() -- bump ABI to 3.2 3797 + terminfo patches #306/307 from Eric. 3798 + moved logic that filters out rmul and rmso from setupterm to newterm 3799 where it is less likely to interfere with termcap applications. 3800 3801960707 3802 + rollback Eric's #305 change to terminfo.src (it breaks existing 3803 applications, e.g., 'less 290'). 3804 + correct path of edit_man.sh, and fix typo that made all man-pages 3805 preformatted. 3806 + restore man/menu_requestname.3x omitted in Zeyd's resync (oops). 3807 + auto-configure the GCC_PRINTFLIKE/GCC_SCANFLIKE macros (reported by 3808 Philippe De Muyter). 3809 3810960706 - snapshot 3811 + make lib_vidattr.c more readable using macros. 3812 + filter out rmul, rmso that conflict with sgr0 when reading terminal 3813 descriptions. 3814 + added sanity-checking of various paired string attributes (Eric). 3815 + work around autoconf bug, force $INSTALL to absolute path. 3816 (reported by Zeyd). 3817 + modify man-page install for BSDI to install preformatted .0 files 3818 (reported by David MacKenzie). 3819 + add/use gcc __attribute__ for printf and scanf in curses.h 3820 + added SGR attributes test-case to ncurses 3821 + revised ncurses 't' logic to show trace-disable effect in the menu. 3822 + use getopt in ncurses program to process -s and -t options. 3823 + make ncurses 'p' legend toggle with '?' 3824 + disable scrollok during the ncurses 'p' test; if it is enabled the 3825 stdscr will scroll when putting the box-corners in the lower-right 3826 of the screen. 3827 3828960629 - snapshot 3829 + check return code of _nc_mvcur_scrolln() in _nc_scroll_optimize() for 3830 terminals with no scrolling-support (reported by Nikolay Shadrin 3831 <queen@qh.mirea.ac.ru>) 3832 + added ^S scrollok-toggle to ncurses 'g' test. 3833 + added ^T trace-toggle to ncurses tests. 3834 + modified ncurses test program to use ^Q or ESC consistently for 3835 terminating tests (rather than ^D), and to use control keys rather 3836 than function keys in 'g' test. 3837 + corrected misplaced wclrtoeol calls in addch to accommodate wrapping 3838 (reported by Philippe De Muyter). 3839 + modify lib_doupdate.c to use effective costs to tradeoff between 3840 delete-character/insert-character vs normal updating (reported by 3841 David MacKenzie). 3842 + compute effective costs for screen update operations (e.g., clr_eos, 3843 delete_character). 3844 + corrected error in knight.c exposed by wrap fixes in 960622; the 3845 msgwin needed scrollok set. 3846 + corrected last change to IDcTransformLine logic to avoid conflict 3847 between PutRange and InsStr 3848 + modified run_tic.sh to not use /usr/tmp (reported by David MacKenzie), 3849 and further revised it and aclocal.m4 to use $TMPDIR if set. 3850 + corrected off-by-one in RoomFor call in read_entry.c 3851 3852960622 - snapshot 3853 + modified logic that wraps cursor in addch to follow the XSI spec, 3854 (implemented in SVr4) which states that the cursor position is 3855 updated when wrapping. Renamed _NEED_WRAP to _WRAPPED to reflect the 3856 actual semantics. 3857 + added -s option to tic, to provide better diagnostics in run_tic.sh 3858 + improved error-recovery for tabset install. 3859 + change ABI to 3.1 (dropped tparam, corrected getbkgd(), added 3860 _yoffset to WINDOW). 3861 + modified initialization of SP->_ofp so that init_acs() is called with 3862 the "right" file pointer (reported by Rick Marshall <rjm@nlc.net.au> 3863 + documentation fixes (Juergen Pfeifer). 3864 + corrected, using new SCREEN and WINDOW members, the behavior of 3865 ncurses if one uses ripoffline() to remove a line from the top of the 3866 screen (Juergen Pfeifer). 3867 + modified autoconf scripts to prepare for Ada95 (GNAT) binding to 3868 ncurses (Juergen Pfeifer). 3869 + incorrect buffer-size in _nc_read_entry, reported by Eric Raymond. 3870 3871960617 3872 + corrected two logic errors in read_entry.c, write_entry.c (called by 3873 tic, the write/read of terminfo entries used inconsistent rules for 3874 locating the entries; the $TERMINFO_DIRS code would find only the 3875 first entry in a list). 3876 + refined pathname computation in run_tic.sh and shlib. 3877 + corrected initialization of $IP in misc/run_tic.sh 3878 3879960615 - snapshot 3880 + ifdef'd out _nc_hash_map() call because it does not improve speed. 3881 + display version of gcc if configure script identifies it. 3882 + modify configure script to use /usr as Linux's default prefix. 3883 + modify run_tic.sh to use shlib script, fixes some problems installing 3884 with a shared-library configuration. 3885 + adjusted configure script so that it doesn't run tests with the 3886 warnings turned on, which makes config.log hard to read. 3887 + added 'lint' rule to top-level Makefile. 3888 + added configure option '--with-install-prefix' for use by system 3889 builders to install into staging locations (from request by 3890 charles@comm.polymtl.ca) 3891 + corrected autoconfigure for Debian man program; it's not installed 3892 as "man_db". 3893 + set noecho in 'worm'; it was ifdef'd for debug only 3894 + updated test/configure.in for timing-display in ncurses 'p' test 3895 + corrected misspelled 'getbkgd()'. 3896 + corrected wbkgdset to work like observed syvr4 (sets A_CHARTEXT part 3897 to blank if no character given, copies attributes to window's 3898 attributes). 3899 + modified lib_doupdate.c to use lower-level SP's current_attr state 3900 instead of curscr's state, since it is redundant. 3901 + correction to IDcTransformLine logic which controls where InsStr is 3902 invoked (refined by lav@yars.free.net). 3903 > patches 303 by eric 3904 + conditionally include Chris Torek's hash function _nc_hash_map(). 3905 + better fix for nvi refresh-bug (Rick Marshall) 3906 + fix for bug in handling of interrupted keystroke waits, 3907 (Werner Fleck). 3908 3909960601 - snapshot 3910 + auto-configure man-page compression-format and renames for Debian. 3911 + corrected several typos in curses.h.in (i.e., the mvXXXX macros). 3912 + re-order curses.priv.h for lint. 3913 + added rules for lintlib, lint 3914 + corrected ifdef for BROKEN_LINKER in MKnames.awk.in 3915 + corrected missing INSTALL_DATA in misc/Makefile.in 3916 + flush output when changing cursor-visibility (Rick Marshall) 3917 + fix a minor bug in the _nc_ripoff() routine and improve error checking 3918 when creating the label window (Juergen Pfeifer). 3919 + enhancement to the control over the new PC-style soft key format. 3920 allow caller now to select whether or not one wants to have 3921 the index-line; see curs_slk.3x for documentation (Juergen Pfeifer). 3922 + typos, don't use inline with -g (Philippe De Muyter) 3923 + fixes for menus & wattr-, slk-functions (Juergen Pfeifer) 3924 3925960526 - snapshot 3926 + removed --with-ticdir option altogether, maintain compatibility with 3927 existing applications via symbolic link in run_tic.sh 3928 + patch for termio.h, signal (Philippe De Muyter) 3929 + auto-configure gcc warning options rather than infer from version. 3930 + auto-configure __attribute__ for different gcc versions. 3931 + corrected special use of clearok() in hardscroll.c by resetting flag 3932 in wrefresh(). 3933 + include stdlib.h before defs for EXIT_SUCCESS, for OSF/1. 3934 + include sys/types.h in case stdlib.h does not declare size_t. 3935 + fixes for makefile (Tim Mooney) 3936 + fixes for menus & forms (Juergen.Pfeifer@T-Online.de) 3937 3938960518 - snapshot 3939 + revised ncurses.c panner test, let pad abut all 4 sides of screen. 3940 + refined case in lib_doupdate.c for ClrToEOL(). 3941 + corrected prior change for PutRange (Alexander V. Lukyanov: 3942 lav@yars.free.net). 3943 + autoconf mods (Tim Mooney: mooney@dogbert.cc.ndsu.NoDak.edu). 3944 + locale fix for forms (Philippe De Muyter: phdemuyt@ulb.ac.be) 3945 + renamed "--with-datadir" option to "--with-ticdir" to avoid 3946 confusion, and made this check for the /usr/lib/terminfo pre-existing 3947 directory. 3948 > patches 299-301 by eric: 3949 + added hashmap.c 3950 + mods to tracing, especially for ACS chars. 3951 + corrected off-by-one in IDCtransform. 3952 + corrected intermittent mouse bug by using return-value from read(). 3953 + mods to parse_entry.c, for smarter defaults. 3954 3955960512 3956 + use getopt in 'tic'; added -L option and modified -e option to allow 3957 list from a file. 3958 3959960511 3960 + don't use fixed buffer-size in tparm(). 3961 + modified tic to create terminfo directory if it doesn't exist. 3962 + added -T options to tic and infocmp (for testing/analysis) 3963 + refined the length criteria for termcap and terminfo 3964 + optimize lib_doupdate with memcpy, PutRange 3965 > patches 297, 298 by eric 3966 + implement TERMINFO_DIRS, and -o option of tic 3967 + added TRACE_IEVENT 3968 + removed boolean version of 'getm' 3969 + added lib_print.c (for Rick Marshall) 3970 + added has_key() 3971 + added 't' to ncurses.c test. 3972 + moved delay_output() to lib_tputs.c 3973 + removed tparam(). 3974 + misc cursor & optimization fixes. 3975 3976960504 - snapshot 3977 + modified ncurses 'p' test to allow full-screen range for panner size. 3978 + fixes for locale (phdm@labauto1.ulb.ac.be) 3979 + don't use fixed buffer-size in fmt_entry(). 3980 + added usage-message to 'infocmp'. 3981 + modified install.includes rules to prepend subdirectory-name to 3982 "#include" if needed. 3983 3984960430 3985 + protect wrefresh, wnoutrefresh from invocation with pad argument. 3986 + corrected default CCFLAGS in test/Makefile. 3987 3988960428 - snapshot 3989 + implemented logic to support terminals with background color erase 3990 (e.g., rxvt and the newer color xterm). 3991 + improved screen update logic (off-by-one logic error; use clr_eos if 3992 possible) 3993 3994960426 - snapshot 3995 + change ncurses 'a' test to run in raw mode. 3996 + make TIOCGWINSZ configure test less stringent, in case user 3997 configures via terminal that cannot get screen size. 3998 > patches 295, 296 by eric: 3999 + new "-e" option of tic. 4000 + fix for "infocmp -e". 4001 + restore working-directory in read_termcap.c 4002 + split lib_kernel.c, lib_setup.c and names.c in order to reduce 4003 overhead for programs that use only termcap features. 4004 4005960418 - snapshot 4006 + use autoconf 2.9 4007 + fix for AIX 3.2.5 (must define _POSIX_SOURCE to get termios struct 4008 definitions via <termios.h>, modified macros in lib_raw.c to avoid 4009 K&R-style substitution) 4010 > patches 293, 294 by eric: 4011 + mods to wgetch() in cooked mode 4012 + corrected askuser() logic in tset 4013 + correct interaction of endwin() with mouse processing 4014 + added trace support for TTY flags 4015 4016960406 4017 + fixes for NeXT, ISC and HPUX auto-configure 4018 + autogenerate development header-dependencies (config.h, *.priv.h) 4019 + corrected single-column formatting of "use=" (e.g., in tic) 4020 + modify tic to read full terminfo-names 4021 + corrected divide-by-zero that caused hang (or worse) when redirecting output 4022 + modify tic to generate directories only as-needed (and corrected 4023 instance of use of data from function that had already returned). 4024 4025### ncurses-1.9.8a -> 1.9.9e 4026 4027* fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has 4028 copy-changed-lines behavior. 4029* added and documented wresize() function. 4030* more fixes to LOWER-RIGHT corner handling. 4031* changed the line-breakout optimization code to allow some lines to be 4032 emitted before the first check. 4033* added option for tic to use symbolic instead of hard links (for AFS) 4034* fix to restore auto-wrap mode. 4035* trace level can be controlled by environment variable. 4036* better handling of NULs in terminal descriptions. 4037* improved compatibility with observed SVR4 behavior. 4038* the refresh behavior of over-lapping windows is now more efficient and 4039 behaves like SVR4. 4040* use autoconf 2.7, which results in a working setup for SCO 5.0. 4041* support for ESCDELAY. 4042* small fixes for menu/form code. 4043* the test directory has its own configure. 4044* fixes to pads when optimizing scrolling. 4045* fixed several off-by-one bugs. 4046* fixes for termcap->terminfo translation; less restrictions more correct 4047 behavior. 4048 4049### ncurses-1.9.7 -> 1.9.8a 4050 4051* teach infocmp -i to recognize ECMA highlight sequences 4052* infocmp now dumps all SVr4 termcaps (not just the SVr4 ones) on -C 4053* support infocmp -RBSD. 4054* satisfy XSI Curses requirement that every macro be available as a function. 4055* This represents the last big change to the public interface of ncurses. The 4056 ABI_VERSION has now been set at 3.0 and should stay there barring any great 4057 catastrophies or acts of God. 4058* The C++ has been cleaned up in reaction to the changes to satisfy XSI's 4059 requirements. 4060* libncurses now gets linked to libcurses to help seamless emulation 4061 (replacement) of a vendor's curses. --disable-overwrite turns this behavior 4062 off. 4063 4064### ncurses-1.9.6 -> 1.9.7 4065 4066* corrected return values of setupterm() 4067* Fixed some bugs in tput (it does padding now) 4068* fixed a bug in tic that made it do the wrong thing on entries with more than 4069 one `use' capability. 4070* corrected the screen-size calculation at startup time to alter the 4071 numeric capabilities as per SVr4, not just LINES and COLS. 4072* toe(1) introduced; does what infocmp -T used to. 4073* tic(1) can now translate AIX box1 and font[0123] capabilities. 4074* tic uses much less core, the dotic.sh kluge can go away now. 4075* fix read_entry() and write_entry() to pass through cancelled capabilities OK. 4076* Add $HOME/.terminfo as source/target directory for terminfo entries. 4077* termcap compilation now automatically dumps an entry to $HOME/.terminfo. 4078* added -h option to toe(1). 4079* added -R option to tic(1) and infocmp(1). 4080* added fallback-entry-list feature. 4081* added -i option to infocmp(1). 4082* do a better job at detecting if we're on SCO. 4083 4084### ncurses-1.9.5 -> 1.9.6 4085 4086* handling of TERMCAP environment variables now works correctly. 4087* various changes to shorten termcap translations to less that 1024 chars. 4088* tset(1) added 4089* mouse support for xterm. 4090* most data tables are now const and accordingly live in shareable text space. 4091* Obey the XPG4/SVr4 practice that echo() is initally off. 4092* tic is much better at translating XENIX and AIX termcap entries now. 4093* tic can interpret ko capabilities now. 4094* integrated Juergen Pfeifer's forms library. 4095* taught write_entry() how not to write more than it needs to; this change 4096 reduces the size of the terminfo tree by a full 26%! 4097* infocmp -T option added. 4098* better warnings about historical tic quirks from tic. 4099 4100### ncurses 1.9.4 -> 1.9.5 4101 4102* menus library is now included with documentation. 4103* lib_mvcur has been carefully profiled and tuned. 4104* Fixed a ^Z-handling bug that was tanking lynx(1). 4105* HJ Lu's patches for ELF shared libraries under Linux 4106* terminfo.src 9.8.2 4107* tweaks for compiling in seperate directories. 4108* Thomas Dickey's patches to support NeXT's brain-dead linker 4109* Eric Raymond's patches to fix problems with long termcap entries. 4110* more support for shared libraries under SunOS and IRIX. 4111 4112### ncurses 1.9.3 -> 1.9.4 4113 4114* fixed an undefined-order-of-evaluation bug in lib_acs.c 4115* systematically gave non-API public functions and data an _nc_ prefix. 4116* integrated Juergen Pfeifer's menu code into the distribution. 4117* totally rewrote the knight test game's interface 4118 4119### ncurses 1.9.2c -> 1.9.3 4120 4121* fixed the TERMCAP_FILE Support. 4122* fixed off-by-one errors in scrolling code 4123* added tracemunch to the test tools 4124* took steps to cut the running time of make install.data 4125 4126### ncurses 1.9.2c -> 1.9.2d 4127 4128* revised 'configure' script to produce libraries for normal, debug, 4129 profile and shared object models. 4130 4131### ncurses 1.9.1 -> 1.9.2 4132 4133* use 'autoconf' to implement 'configure' script. 4134* panels support added 4135* tic now checks for excessively long termcap entries when doing translation 4136* first cut at eliminating namespace pollution. 4137 4138### ncurses 1.8.9 -> 1.9 4139 4140* cleanup gcc warnings for the following: use size_t where 'int' is not 4141 appropriate, fixed some shadowed variables, change attr_t to compatible with 4142 chtype, use attr_t in some places where it was confused with 'int'. 4143* use chtype/attr_t casts as appropriate to ensure portability of masking 4144 operations. 4145* added-back waddchnstr() to lib_addstr.c (it had been deleted). 4146* supplied missing prototypes in curses.h 4147* include <termcap.h> in lib_termcap.c to ensure that the prototypes 4148 are consistent (they weren't). 4149* corrected prototype of tputs in <termcap.h> 4150* rewrote varargs parsing in lib_tparm.c (to avoid referencing memory 4151 that may be out of bounds on the stack) -- Purify found this. 4152* ensure that TRACE is defined in lib_trace.c (to solve prototype 4153 warnings from gcc). 4154* corrected scrolling-region size in 'mvcur_wrap()' 4155* more spelling fixes 4156* use 'calloc()' to allocate WINDOW struct in lib_newwin.c (Purify). 4157* set default value for SP->_ofp in lib_set_term.c (otherwise SunOS dumps 4158 core in init_acs()). 4159* include <errno.h> in write_entry.c (most "braindead" includes declare errno 4160 in that file). 4161 4162### ncurses 1.8.8 -> 1.8.9 4163 4164* compile (mostly) clean with gcc 2.5.8 -Wall -Wstrict-prototypes 4165 -Wmissing-prototypes -Wconversion and using __attribute__ to flush out 4166 non-portable use of "%x" for pointers, or for chtype data (which is declared 4167 as a long). 4168* modified doupdate to ensure that typahead was turned on before attempting 4169 select-call (otherwise, some implementations hang). 4170* added trace mask TRACE_FIFO, use this in lib_getch.c to allow finer 4171 resolution of traces. 4172* improved bounds checking on several critical functions. 4173* the data directory has been replaced by the new master terminfo file. 4174* -F file-comparison option added to infocmp. 4175* compatibility with XSI Curses is now documented in the man bages. 4176* wsyncup/wsyncdown functions are reliable now; subwindow code in general 4177 is much less flaky. 4178* capabilities ~msgr, tilde_glitch, insert_padding, generic_type, no_pad_char, 4179 memory_above, memory_below, and hard_copy are now used properly. 4180* cursor-movement optimization has been completely rewritten. 4181* vertical-movement optimization now uses hardware scrolling, il, dl. 4182 4183### ncurses 1.8.7 -> 1.8.8 4184* untic no longer exists, infocmp replaces it. 4185* tic can understand termcap now, especially if it is called captoinfo. 4186* The Linux Standard Console terminfo entry is called linux insead of console. 4187 It also uses the kernel's new method of changing charsets. 4188* initscr() will EXIT upon error (as the docs say) This wil mostly happen if 4189 you try to run on an undefined terminal. 4190* I can get things running on AIX but tic can't compile terminfo. I have to 4191 compile entries on another machine. Volunteers to hunt this bug are welcome. 4192* wbkgd() and wbkgdset() can be used to set a windows background to color. 4193 wclear()/werase() DO NOT use the current attribute to clear the screen. 4194 This is the way SVR4 curses works. PDCurses 2.1 is broken in this respect, 4195 though PDCurses 2.2 has been fixed. 4196* cleaned up the test/ directory. 4197* test/worm will segfault after quite a while. 4198* many spelling corrections courtesy of Thomas E. Dickey 4199 4200### ncurses 1.8.6 -> 1.8.7 4201* cleaned up programs in test/ directory. 4202* fixed wbkgdset() macro. 4203* modified getstr() to stop it from advancing cursor in noecho mode. 4204* modified linux terminfo entry to work with the latest kernel to get 4205 the correct alternate character set. 4206* also added a linux-mono entry for those running on monochrome screens. 4207* changed initscr() so that it behaves like the man page says it does. 4208 this fixes the problem with programs in test/ crashing with SIGSEV if 4209 a terminal is undefined. 4210* modified addch() to avoid using any term.h #define's 4211* removed duplicate tgoto() in lib_tparm.c 4212* modified dump_entry.c so that infocmp deals correctly with ',' in acsc 4213* modified delwin() to correctly handle deleting subwindows. 4214* fixed Makefile.dist to stop installing an empty curses.h 4215* fixed a couple of out-of-date notes in man pages. 4216 4217### ncurses 1.8.5 -> 1.8.6 4218* Implemented wbkgd(), bkgd(), bkgdset(), and wbkgdset(). 4219* The handling of attributes has been improved and now does not turn off color 4220 if other attributes are turned off. 4221* scrolling code is improved. Scrolling in subwindows is still broken. 4222* Fixes to several bugs that manifest them on platforms other than Linux. 4223* The default to meta now depends on the status of the terminal when ncurses 4224 is started. 4225* The interface to the tracing facility has changed. Instead of the pair of 4226 functions traceon() and traceoff(), there is just one function trace() which 4227 takes a trace mask argument. The trace masks, defined in curses.h, are 4228 as follows: 4229 4230 #define TRACE_DISABLE 0x00 /* turn off tracing */ 4231 #define TRACE_ORDINARY 0x01 /* ordinary trace mode */ 4232 #define TRACE_CHARPUT 0x02 /* also trace all character outputs */ 4233 #define TRACE_MAXIMUM 0x0f /* maximum trace level */ 4234 4235 More trace masks may be added, or these may be changed, in future releases. 4236* The pad code has been improved and the pad test code in test/ncurses.c has 4237 been improved. 4238* The prototype ansi entry has been changed to work with a wider variety 4239 of emulators. 4240* Fix to the prototype ansi entry that enables it to work with PC emulators 4241 that treat trailing ";m" in a highlight sequence as ";0m"; this doesn't 4242 break operation with any emulators. 4243* There are now working infocmp, captoinfo, tput, and tclear utilities. 4244* tic can now compile entries in termcap syntax. 4245* Core-dump bug in pnoutrefresh fixed. 4246* We now recognize and compile all the nonstandard capabilities in Ross 4247 Ridge's mytinfo package (rendering it obsolete). 4248* General cleanup and documentation improvements. 4249* Fixes and additions to the installation-documentation files. 4250* Take cursor to normal mode on endwin. 4251 4252### ncurses 1.8.4 -> 1.8.5 4253* serious bugs in updating screen which caused erratic non-display, 4254 fixed. 4255* fixed initialization for getch() related variable which cause 4256 unpredictable results. 4257* fixed another doupdate bug which only appeared if you have 4258 parm_char. 4259* implemented redrawln() and redrawwin(). 4260* implemented winsnstr() and related functions. 4261* cleaned up insertln() and deleteln() and implemented (w)insdeln(). 4262* changed Makefile.dist so that installation of man pages will 4263 take note of the terminfo directory. 4264* fixed Configure (removed the mysterious 'X'). 4265* Eric S. Raymond fixed the script.* files so that they work with 4266 stock awk. 4267 4268#### ncurses 1.8.3 -> 1.8.4 #### #### 4269* fixed bug in refreshing the screen after return from shell_mode. 4270 There are still problems but they don't manifest themselves on 4271 my machine (Linux 0.99.14f). 4272* added wgetnstr() and modified things accordingly. 4273* fixed the script.src script.test to work with awk not just gawk. 4274* Configure can now take an argument of the target system. 4275* added test/ncurses.c which replaces several other programs and 4276 performs more testing. 4277[Thanks to Eric S Raymond for the last 4] 4278* more fixes to lib_overlay.c and added test/over.c to illustrate 4279 how it works. 4280* fixed ungetch() to take int instead of ch. 4281* fixes to cure wgetch() if flushinp() is called. 4282 4283One note I forgot to mention in 1.8.3 is that tracing is off by 4284default starting in the version. If you want tracing output, put 4285traceon(); in your code and link with -ldcurses. 4286 4287#### ncurses 1.8.2 -> ncurses 1.8.3 #### #### 4288MAJOR CHANGES: 42891) The order of capabilities has been changed in order to achieve 4290binary compatibility with SVR4 terminfo database. This has the 4291unfortunate effect of breaking application currently linked with 4292ncurses. To ensure correct behavior, recompile all such programs. 4293Most programs using color or newer capabilities will break, others 4294will probably continue to work ok. 4295 42962) Pavel Curtis has renounced his copyright to the public domain. 4297This means that his original sources (posted to comp.sources.unix, 4298volume 1) are now in the public domain. The current sources are 4299NOT in the public domain, they are copyrighted by me. I'm 4300entertaining ideas on what the new terms ncurses is released under. 4301 43023) Eric S. Raymond has supplied a complete set of man pages for 4303ncurses in ?roff format. They will eventually replace most of the 4304current docs. Both sets are included in this release. 4305 4306Other changes and notes from 1.8.2 include: 4307* SIGSEGV during scrolling no longer occurs. 4308* Other problems with scrolling and use of idl have been corrected. 4309* lib_getch.c has been re-written and should perform flawlessly. 4310 please use test/getch.c and any other programs to test this. 4311* ripoffline() is implemented (Thanks to Eric) and slk_ functions 4312 changed accordingly. 4313* I've added support for terminals that scroll if you write in the 4314 bottom-right corner. 4315* fixed more bugs in pads code. If anybody has a program that uses 4316 pads I'd love a copy. 4317* correct handling for terminal with back_color_erase capability 4318 (such as Linux console, and most PC terminals) 4319* ^Z handling apparently didn't work (I should never trust code 4320 sent me to me without extensive testing). It now seems to be 4321 fixed. Let me know if you have problems. 4322* I've added support for Apollo and NeXT, but it may still be 4323 incomplete, especially when dealing with the lack of POSIX 4324 features. 4325* scrolling should be more efficient on terminals with idl 4326 capabilities. Please see src/lib_scroll.c for more notes. 4327* The line drawing routines were offset by 1 at both ends. This 4328 is now fixed. 4329* added a few missing prototypes and macros (e.g. setterm()) 4330* fixed code in src/lib_overlay.c which used to crash. 4331* added a few more programs in test/ The ones from the PDCurses 4332 package are useful, especially if you have SVR4 proper. I'm 4333 interested in the results you get on such a systems (Eric? ;-). 4334 They already exposed certain bugs in ncurses. 4335* See src/README for porting notes. 4336* The C++ code should really replace ncurses.h instead of working 4337 around it. It should avoid name-space clashes with nterm.h (use 4338 rows instead of lines, etc.) 4339* The C++ should compile ok. I've added explicit rules to the 4340 Makefile because no C++ defaults are documented on the suns. 4341* The docs say that echo() and nocbreak() are mutually exclusive. 4342 At the moment ncurses will switch to cbreak() if the case above 4343 occurs. Should it continue to do so? How about echo() and noraw()? 4344* PDCurses seem to assume that wclear() will use current attribute 4345 when clearing the screen. According to Eric this is not the case 4346 with SVR4. 4347* I have discovered, to my chagrin, SunOS 4.x (and probably other systems) 4348 * doesn't have vsscanf and God knows what else! I've will do a vsscanf(). 4349* I've also found out that the src/script.* rely on gawk and will not 4350 work with stock awk or even with nawk. Any changes are welcome. 4351* Linux is more tolerant of NULL dereferences than most systems. This 4352 fact was exposed by hanoi. 4353* ncurses still seems inefficient in drawing the screen on a serial 4354 link between Linux and suns. The padding may be the culprit. 4355* There seems to be one lingering problem with doupdate() after shelling 4356 out. Despite the fact the it is sending out the correct information 4357 to the terminal, nothing takes effect until you press ^L or another 4358 refresh takes place. And yes, output does get flushed. 4359 4360#### ncurses 1.8.1 -> ncurses 1.8.2 #### Nov 28, 1993 #### 4361 4362* added support for SVR4 and BSDI's BSD/386. 4363* major update and fix to scrolling routine. 4364* MORE fixes to stuff in lib_getch.c. 4365* cleaned-up configuration options and can now generate 4366 Config.* files through an awk script. 4367* changed setupterm() so it can be called more than once, 4368 add added set_curterm(), del_curterm(). 4369* a few minor cleanups. 4370* added more prototypes in curses.h 4371 4372#### ncurses 1.8 -> ncurses 1.8.1 #### Nov 4, 1993 #### 4373 4374* added support for NeXTStep 3.0 4375* added termcap emulation (not well tested). 4376* more complete C++ interface to ncurses. 4377* fixed overlay(), overwrite(), and added copywin(). 4378* a couple of bug fixes. 4379* a few code cleanups. 4380 4381#### ncurses 0.7.2/0.7.3 -> ncurses 1.8 #### Aug 31, 1993 #### 4382 4383* The annoying message "can't open file." was due to missing 4384 terminfo entry for the used terminal. It has now been 4385 replaced by a hopefully more helpful message. 4386* Problems with running on serial lines are now fixed. 4387* Added configuration files for SunOS, Linux, HP/UX, Ultrix, 4388 386bsd/BSDI (if you have others send'em to me) 4389* Cleaner Makefile. 4390* The documentation in manual.doc is now more uptodate. 4391* update optimization and support for hp terminals, and 386bsd 4392 console driver(s). 4393* mvcur optimization for terminals without cursor addressing 4394 (doesn't work on Linux) 4395* if cursor moved since last update, getch() will refresh the 4396 screen before working. 4397* getch() & alarm() can now live together. in 0.7.3 a signal 4398 interrupted getch() (bug or feature?) now the getch is 4399 restarted. 4400* scanw() et all were sick, now fixed. 4401* support for 8-bit input (use meta()). 4402* added default screen size to all terminfos. 4403* added c++ Ncursesw class. 4404* several minor bug fixes. 4405 4406#### ncurses 0.7.2 -> ncurses 0.7.3 #### May 27, 1993 #### 4407 4408* Config file to cope with different platforms (386BSD, BSDI, Ultrix, SunOS) 4409* more fixes to lib_getch.c 4410* changes related to Config 4411 4412#### ncurses 0.7 -> ncurses 0.7.2 #### May 22, 1993 #### 4413 4414* docs updated slightly (color usage is now documented). 4415* yet another fix for getch(), this one fixes problems with ESC being swallowed 4416 if another character is typed before the 1 second timeout. 4417* Hopefully, addstr() and addch() are 8-bit clean. 4418* fixed lib_tparm.c to use stdarg.h (should run on suns now) 4419* order of capabilities changed to reflect that specified in SYSV 4420 this will allow for binary-compatibility with existing terminfo dbs. 4421* added halfdelay() 4422* fixed problems with asc_init() 4423* added A_PROTECT and A_INVIS 4424* cleaned up vidputs() 4425* general cleanup of the code 4426* more attention to portability to other systems 4427* added terminfos for hp70092 (wont work until changes to lib_update.c are 4428 made) and 386BSD pcvt drivers. 4429 4430Thanks to Hellmuth Michaelis for his help. 4431optimization code is slated for the next major release, stay tuned! 4432 4433#### ncurses 0.6/0.61 -> ncurses 0.7 #### April 1, 1993 4434Please note that the next release will be called 1.8. If you want to know about 4435the rationale drop me a line. 4436 4437Included are several test programs in test/. 4438I've split up the panels library, reversi, tetris, sokoban. They are now 4439available separately from netcom.com:pub/zmbenhal/ 4440 4441* color and ACS support is now fully compatible with SYSV at the terminfo 4442 level. 4443* Capabilities now includes as many SYSV caps I could find. 4444* tigetflag,tigetnum,tigetstr functions added. 4445* boolnames, boolfnames, boolcodes numnames, numfnames, numcodes, 4446 strnames, strfnames, strcodes arrays are now added. 4447* keyname() is added. 4448* All function keys can be defined in terminfo entries. 4449* fixed lin_tparm.c to behave properly. 4450* terminfo entries for vt* and xterm are included (improvements are welcome) 4451* more automation in handling caps and keys. 4452* included fixes from 0.6.1 4453* added a few more missing functions. 4454* fixed a couple of minor bugs. 4455* updated docs JUST a little (still miles behind in documenting the newer 4456 features). 4457 4458#### ncurses 0.6 -> ncurses 0.61 #### 4459 44601) Included the missing data/console. 4461 44622) allow attributes when drawing boxes. 4463 44643) corrected usage of win->_delay value. 4465 44664) fixed a bug in lib_getch.c. if it didn't recognize a sequence it would 4467 simply return the last character in the sequence. The correct 4468 behavior is to return the entire sequence one character at a time. 4469 4470#### ncurses0.5 -> ncurses0.6 #### March 1, 1993 #### 4471* removed _numchngd from struct _win_st and made appropriate changes. 4472* rewritten kgetch() to remove problems with interaction between alarm and 4473 read(). It caused SIGSEGV every now and then. 4474* fixed a bug that miscounted the numbers of columns when updating. 4475 (in lib_doupdate.c(ClrUpdate() -- iterate to columns not columns-1) 4476* fixed a bug that cause the lower-right corner to be incorrect. 4477 (in lib_doupdate.c(putChar() -- check against columns not columns-1) 4478* made resize() and cleanup() static to lib_newterm.c 4479* added notimeout(). 4480* added timeout() define in curses.h 4481* added more function prototypes and fixed napms. 4482* added use_env(). 4483* moved screen size detection to lib_setup.c. 4484* fixed newterm() to confirm to prototype. 4485* removed SIGWINCH support as SYSV does not define its semantics. 4486* cleaned-up lib_touch.c 4487* added waddnstr() and relatives. 4488* added slk_* support. 4489* fixed a bug in wdeleteln(). 4490* added PANEL library. 4491* modified Makefile for smoother installation. 4492* terminfo.h is really term.h 4493 4494#### ncurses 0.4 -> ncurses 0.5 #### Feb 14, 1993 #### 4495* changed _win_st structure to allow support for missing functionality. 4496* Addition of terminfo support for all KEY_*. 4497* Support for nodelay(), timeout(), notimeout(). 4498* fixed a bug with the keypad char reading that did not return ESC until 4499 another key is pressed. 4500* nl mapping no longer occur on output (as should be) 4501 fixed bug '\n' no causing a LF. 4502* fixed bug that reset terminal colors regardless of whether we use color 4503 or not. 4504* Better support for ACS (not quite complete). 4505* fixed bug in wvline(). 4506* added curs_set(). 4507* changed from signal() to sigaction(). 4508* re-included the contents of important.patch into source. 4509 4510#### ncurses 0.3 -> ncurses 0.4 #### Feb 3, 1993 #### 4511* Addition of more KEY_* definitions. 4512* Addition of function prototypes. 4513* Addition of several missing functions. 4514* No more crashes if screen size is undefined (use SIGWINCH handler). 4515* added a handler to cleanup after SIGSEGV (hopefully never needed). 4516* changed SRCDIR from /etc/term to /usr/lib/terminfo. 4517* renamed compile/dump to tic/untic. 4518* New scrolling code. 4519* fixed bug that reversed the sense of nl() and nonl(). 4520 4521#### ncurses 0.2 -> ncurses 0.3 #### Jan 20, 1993 #### 4522* more support for color and graphics see test/ for examples. 4523* fixed various files to allow correct update after shelling out. 4524* more fixes for updates. 4525* no more core dumps if you don't have a terminfo entry. 4526* support for LINES and COLUMNS environment variables. 4527* support for SIGWINCH signal. 4528* added a handler for SIGINT for clean exits. 4529 4530#### ncurses 0.1 -> ncurses 0.2 #### Aug 14, 1992 #### 4531* support for color. 4532* support for PC graphic characters. 4533* lib_trace.c updated to use stdarg.h and vprintf routines. 4534* added gdc.c (Great Digital Clock) as an example of using color. 4535 4536#### ncurses -> ncurses 0.1 #### Jul 31, 1992 #### 4537* replacing sgtty stuff by termios stuff. 4538* ANSIfication of some functions. 4539* Disabling cost analysis 'cause it's incorrect. 4540* A quick hack for a terminfo entry. 4541