Mageia Bugzilla – Attachment 13628 Details for
Bug 31378
Update ncurses to 6.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
ncurses patch for 6.4
ncurses-6.4-20221231.patch (text/plain), 211.16 KB, created by
Kristoffer Grundström
on 2023-01-06 21:54:11 CET
(
hide
)
Description:
ncurses patch for 6.4
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2023-01-06 21:54:11 CET
Size:
211.16 KB
patch
obsolete
># ncurses 6.4 - patch 20221231 - Thomas E. Dickey ># ># ------------------------------------------------------------------------------ ># ># Ncurses 6.4 is at ># https://invisible-island.net/archives/ncurses/ ># https://invisible-mirror.net/archives/ncurses/ ># https://ftp.gnu.org/gnu/ncurses/ ># ># Patches for ncurses 6.4 can be found at ># https://invisible-island.net/archives/ncurses/6.4 ># https://invisible-mirror.net/archives/ncurses/6.4 ># ># ------------------------------------------------------------------------------ ># https://invisible-island.net/archives/ncurses/6.4/ncurses-6.4-20221231.patch.gz ># patch by Thomas E. Dickey <dickey@invisible-island.net> ># created Sat Dec 31 23:49:40 UTC 2022 ># ------------------------------------------------------------------------------ ># ANNOUNCE | 524 ++--- ># INSTALL | 25 ># NEWS | 8 ># VERSION | 2 ># announce.html.in | 1019 +++------- ># dist.mk | 6 ># doc/hackguide.doc | 48 ># doc/html/ada/terminal_interface-curses_constants__ads.htm | 4 ># doc/html/announce.html | 1207 ++++-------- ># doc/html/man/adacurses6-config.1.html | 2 ># doc/html/man/captoinfo.1m.html | 2 ># doc/html/man/clear.1.html | 2 ># doc/html/man/form.3x.html | 2 ># doc/html/man/infocmp.1m.html | 2 ># doc/html/man/infotocap.1m.html | 2 ># doc/html/man/menu.3x.html | 2 ># doc/html/man/ncurses.3x.html | 2 ># doc/html/man/ncurses6-config.1.html | 2 ># doc/html/man/panel.3x.html | 2 ># doc/html/man/tabs.1.html | 2 ># doc/html/man/terminfo.5.html | 2 ># doc/html/man/tic.1m.html | 2 ># doc/html/man/toe.1m.html | 2 ># doc/html/man/tput.1.html | 2 ># doc/html/man/tset.1.html | 2 ># doc/ncurses-intro.doc | 182 - ># man/man_db.renames.in | 4 ># misc/terminfo.src | 16 ># ncurses/llib-lncurses | 12 ># ncurses/llib-lncursest | 12 ># ncurses/llib-lncursestw | 12 ># ncurses/llib-lncursesw | 12 ># ncurses/llib-ltinfo | 12 ># ncurses/llib-ltinfot | 12 ># ncurses/llib-ltinfotw | 12 ># ncurses/llib-ltinfow | 12 ># package/debian-mingw/changelog | 4 ># package/debian-mingw64/changelog | 4 ># package/debian/changelog | 4 ># package/mingw-ncurses.nsi | 6 ># package/mingw-ncurses.spec | 4 ># package/ncurses.spec | 4 ># package/ncursest.spec | 4 ># progs/progs.priv.h | 4 ># 44 files changed, 1308 insertions(+), 1899 deletions(-) ># ------------------------------------------------------------------------------ >Index: ANNOUNCE >--- ncurses-6.3-20221224+/ANNOUNCE 2021-10-20 22:54:22.000000000 +0000 >+++ ncurses-6.4-20221231/ANNOUNCE 2022-12-31 20:38:47.000000000 +0000 >@@ -1,4 +1,4 @@ >- Announcing ncurses 6.3 >+ Announcing ncurses 6.4 > > Overview > >@@ -40,19 +40,19 @@ > > The ncurses distribution is available at ncurses' homepage: > >- ftp://ftp.invisible-island.net/ncurses/ or >+ https://invisible-island.net/archives/ncurses/ or > https://invisible-mirror.net/archives/ncurses/ . > >- It is also available via anonymous FTP at the GNU distribution site >+ It is also available at the GNU distribution site > >- ftp://ftp.gnu.org/gnu/ncurses/ . >+ https://ftp.gnu.org/gnu/ncurses/ . > > Release Notes > >- These notes are for ncurses 6.3, released October 21, 2021. >+ These notes are for ncurses 6.4, released December 31, 2022. > > This release is designed to be source-compatible with ncurses 5.0 >- through 6.2; providing extensions to the application binary interface >+ through 6.3; providing extensions to the application binary interface > (ABI). Although the source can still be configured to support the > ncurses 5 ABI, the reason for the release is to reflect improvements > to the ncurses 6 ABI and the supporting utility programs. >@@ -60,240 +60,179 @@ > There are, of course, numerous other improvements, listed in this > announcement. > >- The most important bug-fixes/improvements dealt with portability >+ The most important bug-fixes/improvements dealt with robustness > issues. The release notes also mention some other bug-fixes, but are > focused on new features and improvements to existing features since >- ncurses 6.2 release. >+ ncurses 6.3 release. > > Library improvements > > New features > >- There are a few new features: >- * A new (experimental) driver, for the Windows Terminal >- configuration is provided. >- * A script is provided which enables OpenBSD users to upgrade their >- system to use ncurses 6.3 (OpenBSD developers are also invited to >- do this). >- >- Additionally, to improve performance other changes (and extensions) >- are provided in this release: >- * modify lib_mouse.c to check for out-of-range button numbers, >- convert those to position reports. >- * add sp-funcs for erasewchar, killwchar. >+ There are no new features in this release. > > Other improvements > >- These are revised features: >- * modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 >- curses in its treatment of interrupt and quit characters >- >- These were done to limit or ultimately deprecate features: >- * mark wgetch-events feature as deprecated. >- + prevent KEY_EVENT from appearing in curses.h unless the >- configure option --enable-wgetch-events is used. >- + modify MKkey_defs.sh to hide ncurses' definition of >- KEY_EVENTS to reduce Visual Studio C++ redefinition warnings. >- * reduce build-warnings by excluding ncurses-internals from >- deprecation warnings. >- > These are improvements to existing features: >- * drop symbols GCC_PRINTF and GCC_SCANF from <curses.h>, to simplify >- use. >- * apply gcc format attribute to prototypes which use a va_list >- parameter rather than a "..." variable-length parameter list. >- * modify <term.h> so that it is not necessary to include <curses.h> >- before <term.h>. >- * provide for wide-characters as background character in wbkgrnd >- * improve parameter-checking for tparm, adding function _nc_tiparm() >- to handle the most-used case, which accepts only numeric >- parameters. >- * use return-value from vsnprintf to reallocate as needed to allow >- for buffers larger than the screen size. >- * add another fflush(stdout) in _nc_flush to handle time-delays in >- the middle of strings such as flash when the application uses >- low-level calls rather than curses. >+ * modify delscreen to more effectively delete all windows on the >+ given screen. >+ * modify wnoutrefresh to call pnoutrefresh if its parameter is a >+ pad, rather than treating it as an error, and modify new_panel to >+ permit its window-parameter to be a pad >+ * modify curses_trace() to show the trace-mask as symbols, e.g., >+ TRACE_ORDINARY, DEBUG_LEVEL(3). >+ * improve checks for valid mouse events when an intermediate mouse >+ state is not part of the mousemask specified by the caller >+ * allow extended-color number in opts parameter of wattr_on. >+ * improve _tracecchar_t2 formatting of base+combining character. >+ * trim out some unwanted linker options from ncurses*config and .pc >+ files seen in Fedora 36+. >+ * improve shell-scripts with shellcheck >+ * improve use of "trap" in shell scripts, using a script. >+ * modify make-tar.sh scripts to make timestamps more predictable. > > These are corrections to existing features: >- * add a check to guard against repeat_char emitting digits which >- could be interpreted as BSD-style padding when --enable-bsdpad is >- configured. >- * check for screen size-change in scr_init and scr_restore, in case >- a screen dump does not match the current screen dimensions >+ * modify misc/gen-pkgconfig.in to allow for the case where the >+ library directory does not yet exist, since this is processed >+ before doing an install >+ * set trailing null on string passed from winsnstr to wins_nwstr. >+ * modify waddch_literal to allow for double-width base character >+ when merging a combining character > > Program improvements > > Several improvements were made to the utility programs: > >- tabs >+ infocmp > >- + implement "+m" option >+ + rewrite canonical_name function of infocmp to ensure buffer >+ size >+ + improve readability of long parameterized expressions with >+ the infocmp "-f" option by allowing split before a "%p" >+ marker. >+ + modify verbose-option of infocmp, tic, toe to enable >+ debug-tracing if that is configured. > >- tic >+ tabs >+ limit tab-stop values to max-columns > >- + add check for duplicate "use=" clauses. >- + add check to report instances where tparm would detect an >- error in an expression. >- + add user-defined capabilities from mintty to Caps-ncurses, >- for checking consistency. >- + improve warning when oc/op do not mention SGR 39/49 for xterm >- compatible XT flag. >- + improve checks for number of parameters of smglp, smgrp, >- smgtp, and smgbp. >- + improve "-c" option to validate the number and type of >- parameters and compare against expected number/type before >- deciding which set of parameter-lists to use in tparm calls. >- + improve check for errors detected in tparm. >- + improve format of output, to ensure that the messages contain >- only printable text. >- + modify to eliminate unnecessary "\" to escape ":" in terminfo >- format. >- + remove check that assumes that none or both parameterized and >- non-parameterized margin-setting capabilities are present. >- >- toe >- >- + modify output of "toe -as" to show first description found >- rather than the last. >- + add a check to ensure that a "termcap file" is text rather >- than binary. >+ tic >+ add consistency check in tic for u6/u7/u8/u9 and NQ >+ capabilities. > > tput >- >- + modify to allow multiple commands per line. >- + improve parameter-checking by analyzing all extended string >- capabilities, e.g., as used in the Cs and Ms capabilities of >- the tmux description. >- + make warning messages consistently using alias names when >- those are used, rather than the underlying program's name. >- + improve usage message for aliases such as clear, by >- eliminating tput-specific portions. >- + modify initialization to avoid opening /dev/tty for cases >- other than reset/init, e.g., for clear. >+ corrected use of original tty-modes in init/reset subcommands > > Examples > > Along with the library and utilities, improvements were made to the > ncurses-examples. Most of this activity aimed at improving the >- test-packages. A few changes are more generally useful, e.g., for the >- main ncurses test-program, and for analyzing traces using the >- tracemunch script: >- * add "-r" option to the dots test-programs, to help with scripting >- a performance comparison. >- * build-fix for test_opaque, for configurations without opaque >- curses structs, e.g., ncurses 5.7. >- * improve tracemunch logic for "RUN" compaction. >- * improve tracemunch's coverage of form/menu/panel libraries. >- * improve tracemunch's checking/reporting the type for the first >- parameter, e.g., "WINDOW*" rather than "#1". >- * modify tracemunch and the panel library to show readable traces >- for panel- and user-pointers. >+ test-packages: >+ * add minimal -h (usage) and -V (version) getopt logic to all >+ ncurses-examples programs. >+ * fix an error in "@" command in test/ncurses.c F-menu >+ * add curses_trace to ifdef's for START_TRACE in test/test.priv.h >+ * improve pthread-configuration for test/worm.c >+ * add setlocale call to several test-programs. >+ * workaround in test/picsmap.c for use of floating point for rgb >+ values by ImageMagick 6.9.11, which appears to use the wrong upper >+ limit. >+ * use static libraries for AdaCurses test-package for Mageia, since >+ no gprbuild package is available. >+ * install Ada95 sample programs in libexecdir, adding a wrapper >+ script to invoke those. >+ * install ncurses-examples programs in libexecdir, adding a wrapper >+ script to invoke those. > > There are other new demo/test programs and reusable examples: > >- back_ground >- to exercise the wide-character background functions. >+ test/combine >+ demonstrate combining characters > >- move_field >- to demonstrate move_field, and a stub for a corresponding demo >- of dup_field. >+ test/test_delwin >+ demonstrate deleting a window > >- test_tparm >- for checking tparm changes. >+ test/test_mouse >+ observe mouse events in the raw terminal or parsed ncurses >+ modes >+ >+ test/test_unget_wch >+ demonstrate the unget_wch and unget functions > > Terminal database > > There are several new terminal descriptions: >- >- absolute, att610+cvis, foot, foot-direct, hp98550-color, >- hpterm-color2, hterm, hterm-256color, linux-s, putty+keypad, >- putty+screen, putty-screen, screen.linux-s, scrt/securecrt, >- tmux-direct, vt220+cvis, vt220+cvis8, vt220+pcedit, vt220+vtedit, >- vt220-base, vt52+keypad, xterm+256color2, xterm+88color2, >- xterm-direct16, xterm-direct256, xterm+nofkeys, and >- xterm+nopcfkeys. >+ * mosh >+ * mosh-256color >+ * teken-16color >+ * teken-sc >+ * teken-vt >+ * xgterm > > There are many changes to existing terminal descriptions. Some were > updates to several descriptions: >- * correct use-ordering in some xterm-direct flavors >- * fix some sgr inconsistencies in d230c, ibm6153, ibm6154, >- ncrvt100an >- * improve vt50h and vt52 based on DECScope manual >- * use hp+arrows in a few places >- * use hp+pfk-cr in a few places >- * use vt220+cvis in st, terminology, termite since they ignore >- blinking-cursor detail in att610+cvis >+ * make description-fields distinct >+ * fix errata in description fields >+ * add/use several building-blocks: >+ + aixterm+sl >+ + ansi+cpr >+ + apollo+vt132 >+ + decid+cpr >+ + ncr260vp+sl >+ + wyse+sl >+ + x10term+sl >+ + xterm+acs >+ + xterm+alt47 > > while others affected specific descriptions. These were retested, to > take into account changes by their developers: >- >- kitty+common, mlterm3, ms-terminal >+ * kitty >+ * teken > > while these are specific fixes based on reviewing documentation, user > reports, or warnings from tic: > >- aaa+dec, aaa+rv >- correct rmacs/smacs >+ att610+cvis0 >+ amended note as per documentation for att610, att620, att730 > >- aaa+rv >- correct sgr >+ kon, kon2, jfbterm >+ revise to undo "linux2.6" change to smacs/rmacs/enacs > >- icl6404 >- correct csr >+ st-0.6 >+ add dim, ecma+strikeout > >- kitty >- use att610+cvis, xterm+tmux and ansi+enq >+ foot+base >+ add xterm+sl-alt > >- konsole-base >- re-enable "bel" >+ dec+sl >+ correct dsl in dec+sl > >- linux2.6 >- fix pound-sign mapping in acsc >+ mintty and tmux >+ correct setal in mintty/tmux entries, add to vte-2018 > >- linux3.0 >- modify to reflect default mapping of shift-tab by kbd 1.14 >- >- pccons >- fill in some missing pieces, to make it comparable to the vt220 >- entry >+ nsterm >+ modify nsterm to use xterm+alt1049 > > putty >- use vt100+fnkeys, add rep >- >- screen >- use vt100+enq >+ modify putty to use xterm+alt1049 > >- terminator >- corrected tsl capability >- >- ti916 >- correct cup >- >- tmux >- change kbs to ^? >- >- vt220 >- use vt220+cvis >- >- vt420+lrmm >- add smglp and smgrp >- >- vt420 >- use vt420+lrmm >- >- xterm-new >- add nel >- >- xterm-vt52 >- use vt52+keypad >+ vte-2018 >+ add blink and setal > > A few entries use extensions (user-defined terminal capabilities): >- * add shifted Linux console keys in linux+sfkeys entry for >- screen.linux >- * add Smulx to alacritty >- * add kbeg to xterm+keypad to accommodate termcap applications >- * add extensions in xterm+tmux and ecma+strikeout to ms-terminal, >- but cancel the non-working Cr and Ms capabilities >+ * use ansi+enq and decid+cpr in cases where the terminal probably >+ supported the u6-u9 extension >+ * remove u6-u9 from teken-2018 >+ * use NQ to flag entries where the terminal does not support query >+ and response >+ * add/use bracketed+paste to help identify terminals supporting this >+ xterm feature >+ * modify samples for xterm mouse 1002/1003 modes to use 1006 mode, >+ and also provide for focus in/out responses >+ * xterm patch #371 supports DEC-compatible status-line. add dec+sl >+ to xterm-new, per xterm #371, add xterm-p371, add xterm-p370, for >+ use in older terminals, and set "xterm-new" to "xterm-p370" (to >+ ease adoption). > > Documentation > >@@ -308,164 +247,123 @@ > features and show how they evolved, there are corrections, > clarifications, etc.: > * Corrections: >- + make opts extension for getcchar work as documented for >- ncurses 6.1, adding "-g" flag to demo_new_pair to illustrate. >- + modify tset "-q" option to refrain from modifying terminal >- modes, to match the documentation. >+ + remove a stray '/' from description of %g in terminfo(5). >+ + correct/improve font-formatting in curs_getch.3x, as well as >+ other manual pages. > * New/improved history and portability sections: >- + improve documentation for tparm and static/dynamic variables. >- + add history note to curs_scanw.3x for <stdarg.h> and >- <varargs.h> >- + add history note to curs_printw.3x for <stdarg.h> and >- <varargs.h> >- + add portability note to ncurses.3x regarding <stdarg.h> >- + add historical notes to tput, curses-terminfo and >- curses-color manpages based on source-code for SVr2, SVr3 and >- SVr4. >- + improve history section for tset manpage based on the 1BSD >- tarball, which preceded BSD's SCCS checkins by more than >- three years. >+ + add portability notes for delscreen and delwin in manual. >+ + improve curs_slk.3x discussion of extensions and portability > * Other improvements: >- + explain in ncurses.3x that functions in the tinfo library do >- not rely upon wide-characters. >- + improve manual page for panel library, extending the >- portability section as well as documenting error-returns. >- + add section on margins to terminfo.5, adapted from X/Open >- Curses. >- + improve man/term.5 section on legacy storage format. >- + add a note in terminfo.5 explaining that no-parameter strings >- such as sgr0 or cnorm should not be used with tparm. >- + improve description of BSD-style padding in curs_termcap.3x >- + improve discussion of padding versus tparm and tputs in >- man/curs_terminfo.3x >- + add a note in manual page to explain ungetch vs unget_wch. >- + improve description of error-returns in waddch and waddnstr >- manual pages. >+ + improve curs_bkgd.3x, explaining that bkgdset can affect >+ results for bkgd >+ + add note on portable memory-leak checking in curs_memleaks.3x >+ + expanded description in resizeterm.3x >+ + add section on releasing memory to curs_termcap.3x and >+ curs_terminfo.3x manpages. >+ + add clarification of the scope of dynamic variables in >+ terminfo(5). >+ + improve formatting of ncurses-intro.html and hackguide.html >+ + improve curs_clear.3x links to other pages >+ + update ncurses-howto, making documentation fixes along with >+ corrections to example programs. >+ + use newer version 1.36 of gnathtml for generating Ada html >+ files. >+ + update external links in Ada95.html > > There are no new manual pages (all of the manual page updates are to > existing pages). > >- Some of the improvements are more subtle, relating to the way the >- information is presented. For instance, hyphenation is suppressed in >- the HTML files generated from manual pages because an upgrade to groff >- gave noticeably poorer results, interfering with the process of >- creating links between the resulting webpages. >- > Interesting bug-fixes > >- While there were many bugs fixed during development of ncurses 6.3, >+ While there were many bugs fixed during development of ncurses 6.4, > only a few (the reason for this release) were both important and > interesting. Most of the bug-fixes were for local issues which did not > affect compatibility across releases. Since those are detailed in the > NEWS file no elaboration is needed here. > >- The interesting bugs were: >- * modify wbkgd and wbkgrnd to avoid storing a null in the background >- character, because it may be used in cases where the corresponding >- 0x80 is not treated as a null. >- This was a regression introduced in ncurses 6.2 (reported on the >- mailing list), for which the workaround was to specify a blank for >- the background character. >- * remove output-related checks for nl/nonl (also reported on the >- mailing list). >- * improve tparm implementation of %P and %g, more closely matching >- SVr4 terminfo. Those denote static and dynamic variables in >- terminfo expressions. >- Exactly what those terms meant was never documented before in any >- implementation of curses, aside from source code. Unlike the other >- two fixes, the problem was discovered while studying OpenBSD's >- version of tset. >+ The interesting bugs were those dealing with memory leaks and buffer >+ overflows. Although the utilities are designed for text files (which >+ they do properly), some choose to test them with non-text files. >+ * Text files contain no embedded nulls. Also, they end with a >+ newline. Feeding tic non-text files exposed a few cases where the >+ program did not check for those issues. As a result, further >+ processing of the input found limit-checks whose assumptions were >+ invalid. >+ * Fixing the limit-checks (first) found a problem with tic managing >+ the list of strings in a terminal description. In merging two >+ terminal descriptions (i.e., the "use=" feature), tic was not >+ allocating a complete copy. A quick repair for that introduced a >+ memory leak. >+ * The checks for non-text files are improved (i.e., embedded nulls >+ in the input file will cause tic to reject it rather than >+ attempting to process it). >+ * The string allocations in tic are likewise improved. > > Configuration changes > > Major changes > >- There are no major changes. Several new options were added to ease >- integration of packages with systems using different versions of GNAT >- and ncurses. Also, improvements were made to configure checks. >+ There are no major changes. No new options were added. Several >+ improvements were made to configure checks. > > Configuration options > > There are a few new/modified configure options: > >- --enable-fvisibility >- new configure option and check for gcc -fvisibility=hidden >- feature >- >- --enable-leaks >- corrected to allow turning leak-checking off later in a set of >- options. >- >- --enable-stdnoreturn >- new configure option makes the _Noreturn keyword optional to >- ease transition. >- >- --disable-pkg-ldflags >- revised option also controls whether $LDFLAGS from the build is >- provided in "-config" and ".pc" files. >- >- --disable-root-access >- add configure option which tells ncurses to disallow most >- file-opens by setuid processes. >- >- --disable-wattr-macros >- changed default to help packagers who reuse wide ncursesw >- header file with non-wide ncurses library. >- >- --with-pkg-config-libdir >- revised option uses the actual search path from pkg-config or >- pkgconf using the output from --debug. >- >- --with-ada-libname >- --with-form-libname >- --with-menu-libname >- --with-panel-libname >- new several --with-xxx-libname options, to help with pkgsrc >+ --with-abi-version >+ add ABI 7 defaults to configure script. >+ >+ --with-caps >+ add warning in configure script if file specified for >+ "--with-caps" does not exist. >+ >+ --with-manpage-format >+ bzip2 and xz compression are now supported >+ >+ --with-xterm-kbs >+ add check/warning in configure script if option >+ "--with-xterm-kbs" is missing or inconsistent > > Portability > > Many of the portability changes are implemented via the configure > script: >- * add a special case in the configure script to work around one of >- the build-time breakages reported for OpenBSD 6 here: >- >- https://www.mail-archive.com/bugs@openbsd.org/msg13200.html >- * modify configure check for libtool to prevent accidental use of an >- OpenBSD program which uses the same name. >- * modify configuration checks for build-time tic/infocmp to use >- AC_CHECK_TOOL. That can still be overridden by --with-tic-path and >- --with-infocmp-path when fallbacks are used, but even if not using >- fallbacks, the improved check may help with cross-compiling. >- * relax modification-time comparison in CF_LINK_FUNCS to allow it to >- accept link() function with NFS filesystems which change the mtime >- on the link target, e.g., several BSD systems. >- * modify configure check for c89/c99 aliases of clang to use its >- -std option instead, because some platforms, in particular macOS, >- do not provide workable c89/c99 aliases. >- * modify CF_NCURSES_CONFIG to work around Xcode's c99 "-W" option, >- which conflicts with conventional use for passing linker options. >- * modify configure scripts to filter out redefinitions of >- _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, but >- 600 is needed for ncursesw. >+ * amend configure option's auto-search to account for systems where >+ none of the directories known to pkg-config exist >+ * corrected regex needed for older pkg-config used in Solaris 10 >+ * improve handling of --with-pkg-config-libdir option, allowing for >+ the case where either $PKG_CONFIG_LIBDIR or the option value has a >+ colon-separated list of directories >+ * if the --with-pkg-config-libdir option is not given, use >+ ${libdir}/pkgconfig as a default >+ * improve search-path check for pkg-config, e.g., for Debian testing >+ which installs pkg-config with architecture-prefixes. >+ * build-fix for cross-compiling to MingW, conditionally add -lssp >+ * improve configure check for getttynam >+ * fixes to build with dietlibc: >+ + add configure check for fpathconf >+ + add configure check for math sine/cosine, needed in >+ test/tclock, and eliminate pow() from test/hanoi >+ + use wcsnlen as an alternative to wmemchr if it is not found >+ * modify configure macro CF_BUILD_CC to check if the build-compiler >+ works, rather than that it is different from the cross-compiler, >+ e.g., to accommodate a compiler which can be used for either >+ purpose with different flags >+ * modify configure/scripts to work around interference by GNU grep >+ 3.8 > > Here are some of the other portability fixes: >- * change configure-check and source-code for gcc's noreturn >- attribute to assume it is a prefix rather than suffix, matching >- c11's _Noreturn convention. >- * modify mk-1st.awk to account for extra-suffix configure option. >- * build-fix for termsort module when configured with termcap. >- * modify configure script and makefiles to support ".PHONY" make >- program feature. >- * amend libtool configuration to add dependency for install.tic, >- etc., in ncurses/Makefile on the lower-level libraries. >- * modify Ada95 source-generation utility to write to a file given as >- parameter rather than to the standard output, allowing builds with >- MinGW. >- * amend tic/infocmp check to allow for the respective tool's >- absence. >- * build-fixes for gnat 10.1.1, whose gnatmake drops integration with >- gprbuild. >- * correct configure version-check/warning for g++ to allow for 10.x >+ * change man_db.renames to template, to handle ncurses*-config >+ script with the --extra-suffix configure option. >+ * update CF_XOPEN_SOURCE macro, adding variants "gnueabi" and >+ "gnueabihf" to get _DEFAULT_SOURCE special case, as well as adding >+ GNU libc suffixes for "abi64", "abin32", "x32" to distinguish it >+ from other libc flavors. >+ * work around musl's nonstandard use of feature test macros by >+ adding a definition for NCURSES_WIDECHAR to the generated ".pc" >+ and *-config files. >+ * use "command -v" rather than "type" in Ada95/gen/Makefile.in to >+ fix a portability issue. > _________________________________________________________________ > > Features of ncurses >@@ -717,13 +615,13 @@ > > Beta versions of ncurses are made available at > >- ftp://ftp.invisible-island.net/ncurses/current/ and >+ https://invisible-island.net/archives/ncurses/current/ and > https://invisible-mirror.net/archives/ncurses/current/ . > > Patches to the current release are made available at > >- ftp://ftp.invisible-island.net/ncurses/6.2/ and >- https://invisible-mirror.net/archives/ncurses/6.2/ . >+ https://invisible-island.net/archives/ncurses/6.3/ and >+ https://invisible-mirror.net/archives/ncurses/6.3/ . > > There is an archive of the mailing list here: > >Index: INSTALL >Prereq: 1.237 >--- ncurses-6.3-20221224+/INSTALL 2021-11-20 17:54:20.000000000 +0000 >+++ ncurses-6.4-20221231/INSTALL 2022-12-29 20:30:06.000000000 +0000 >@@ -1,5 +1,5 @@ > ------------------------------------------------------------------------------- >--- Copyright 2018-2020,2021 Thomas E. Dickey -- >+-- Copyright 2018-2021,2022 Thomas E. Dickey -- > -- Copyright 1998-2017,2018 Free Software Foundation, Inc. -- > -- -- > -- Permission is hereby granted, free of charge, to any person obtaining a -- >@@ -26,7 +26,7 @@ > -- sale, use or other dealings in this Software without prior written -- > -- authorization. -- > ------------------------------------------------------------------------------- >--- $Id: INSTALL,v 1.237 2021/11/20 17:54:20 tom Exp $ >+-- $Id: INSTALL,v 1.238 2022/12/29 20:30:06 tom Exp $ > --------------------------------------------------------------------- > How to install Ncurses/Terminfo on your system > --------------------------------------------------------------------- >@@ -1411,6 +1411,27 @@ > you may encounter when building a system with different versions of > ncurses: > >+ 6.4 (Dec 31, 2022) >+ Interface changes: >+ >+ + none >+ >+ Added extensions: >+ >+ + none >+ >+ Added internal functions (other than "_sp" variants): >+ >+ + add _nc_free_termtype1 and _nc_free_tparm, for memory-leaks >+ >+ Removed internal functions: >+ >+ + none >+ >+ Modified internal functions: >+ >+ + none >+ > 6.3 (Oct 21, 2021) > Interface changes: > >Index: NEWS >Prereq: 1.3891 >--- ncurses-6.3-20221224+/NEWS 2022-12-25 00:20:45.000000000 +0000 >+++ ncurses-6.4-20221231/NEWS 2022-12-31 20:43:21.000000000 +0000 >@@ -26,7 +26,7 @@ > -- sale, use or other dealings in this Software without prior written -- > -- authorization. -- > ------------------------------------------------------------------------------- >--- $Id: NEWS,v 1.3891 2022/12/25 00:20:45 tom Exp $ >+-- $Id: NEWS,v 1.3895 2022/12/31 20:43:21 tom Exp $ > ------------------------------------------------------------------------------- > > This is a log of changes that ncurses has gone through since Zeyd started >@@ -46,6 +46,12 @@ > Changes through 1.9.9e did not credit all contributions; > it is not possible to add this information. > >+20221231 6.4 release for upload to ftp.gnu.org >+ + update release notes >+ + regenerate llib-* files. >+ + correct PS vs PE names in bracketed+paste (report by Bram Moolenaar) >+ -TD >+ > 20221224 > + add mutex lock/unlock in a few places reported by thread-sanitizer > + add/use bracketed+paste to help identify terminals supporting this >Index: VERSION >--- ncurses-6.3-20221224+/VERSION 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/VERSION 2022-12-31 20:43:21.000000000 +0000 >@@ -1 +1 @@ >-5:0:10 6.3 20221224 >+5:0:10 6.4 20221231 >Index: announce.html.in >Prereq: 1.102 >--- ncurses-6.3-20221224+/announce.html.in 2021-10-20 22:41:55.000000000 +0000 >+++ ncurses-6.4-20221231/announce.html.in 2022-12-31 20:35:34.000000000 +0000 >@@ -1,7 +1,7 @@ > <!-- >- $Id: announce.html.in,v 1.102 2021/10/20 22:41:55 tom Exp $ >+ $Id: announce.html.in,v 1.104 2022/12/31 20:35:34 tom Exp $ > **************************************************************************** >- * Copyright 2018-2020,2021 Thomas E. Dickey * >+ * Copyright 2018-2021,2022 Thomas E. Dickey * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * > * copy of this software and associated documentation files (the * >@@ -137,28 +137,27 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/">ftp://ftp.invisible-island.net/ncurses/</a> >+ "https://invisible-island.net/archives/ncurses/">https://invisible-island.net/archives/ncurses/</a> > or<br> > <a href= > "https://invisible-mirror.net/archives/ncurses/">https://invisible-mirror.net/archives/ncurses/</a> .</p> > </blockquote> > >- <p>It is also available via anonymous FTP at the GNU distribution >- site</p> >+ <p>It is also available at the GNU distribution site</p> > > <blockquote> > <p><a href= >- "ftp://ftp.gnu.org/gnu/ncurses/">ftp://ftp.gnu.org/gnu/ncurses/</a> .</p> >+ "https://ftp.gnu.org/gnu/ncurses/">https://ftp.gnu.org/gnu/ncurses/</a> .</p> > </blockquote> > > <h2><a name="h2-release-notes" id="h2-release-notes">Release > Notes</a></h2> > > <p>These notes are for <span class="main-name">ncurses</span> >- @VERSION@, released <strong>October 21, 2021</strong>.</p> >+ @VERSION@, released <strong>December 31, 2022</strong>.</p> > > <p>This release is designed to be source-compatible with >- <span class="main-name">ncurses</span> 5.0 through 6.2; providing >+ <span class="main-name">ncurses</span> 5.0 through 6.3; providing > extensions to the application binary interface (ABI). Although > the source can still be configured to support the <span class= > "main-name">ncurses</span> 5 ABI, the reason for the release is >@@ -170,127 +169,73 @@ > this announcement.</p> > > <p>The most <a href="#h3-bug-fixes">important >- bug-fixes/improvements</a> dealt with portability issues. The >+ bug-fixes/improvements</a> dealt with robustness issues. The > release notes also mention some other bug-fixes, but are focused > on new features and improvements to existing features since >- <span class="main-name">ncurses</span> 6.2 release.</p> >+ <span class="main-name">ncurses</span> 6.3 release.</p> > > <h3><a name="h3-library" id="h3-library">Library improvements</a></h3> > > <h4><a name="h4-new-library" id="h4-new-library">New features</a></h4> > >- <p>There are a few new features:</p> >- >- <ul> >- <li> >- <p>A new (experimental) driver, for the Windows Terminal >- configuration is provided.</p> >- </li> >- >- <li> >- <p>A script is provided which enables <a href= >- "@HOMEPAGE@/ncurses-openbsd.html">OpenBSD</a> users to >- upgrade their system to use ncurses 6.3 (OpenBSD developers >- are also invited to do this).</p> >- </li> >- </ul> >- >- <p>Additionally, to improve performance other changes (and >- extensions) are provided in this release:</p> >- >- <ul> >- <li> >- <p>modify lib_mouse.c to check for out-of-range button >- numbers, convert those to position reports.</p> >- </li> >- >- <li> >- <p>add sp-funcs for <a href= >- "@HOMEPAGE@/man/curs_termattrs.3x.html#h3-erasechar_-erasewchar"> >- erasewchar</a>, <a href= >- "@HOMEPAGE@/man/curs_termattrs.3x.html#h3-killchar_-killwchar"> >- killwchar</a>.</p> >- </li> >- </ul> >+ <p>There are no new features in this release.</p> > > <h4><a name="h4-fixes-library" id="h4-fixes-library">Other > improvements</a></h4> > >- <p>These are revised features:</p> >- >- <ul> >- <li>modify wgetnstr, wgetn_wstr to improve compatibility with >- SVr4 curses in its treatment of interrupt and quit >- characters</li> >- </ul> >- >- <p>These were done to limit or ultimately deprecate features:</p> >+ <p>These are improvements to existing features:</p> > > <ul> > <li> >- <p>mark wgetch-events feature as deprecated.</p> >- >- <ul> >- <li> >- <p>prevent <tt>KEY_EVENT</tt> from appearing in >- <tt>curses.h</tt> unless the configure option >- <code>--enable-wgetch-events</code> is used.</p> >- </li> >- >- <li> >- <p>modify <tt>MKkey_defs.sh</tt> to hide ncurses' >- definition of <tt>KEY_EVENTS</tt> to reduce <em>Visual >- Studio C++</em> redefinition warnings.</p> >- </li> >- </ul> >+ <p>modify <tt>delscreen</tt> to more effectively delete all >+ windows on the given screen.</p> > </li> > > <li> >- <p>reduce build-warnings by excluding ncurses-internals from >- deprecation warnings.</p> >+ <p>modify <tt>wnoutrefresh</tt> to call <tt>pnoutrefresh</tt> >+ if its parameter is a pad, rather than treating it as an >+ error, and modify new_panel to permit its window-parameter to >+ be a pad</p> > </li> >- </ul> > >- <p>These are improvements to existing features:</p> >+ <li> >+ <p>modify curses_trace() to show the trace-mask as symbols, >+ e.g., <tt>TRACE_ORDINARY</tt>, <tt>DEBUG_LEVEL(3)</tt>.</p> >+ </li> > >- <ul> > <li> >- <p>drop symbols <em>GCC_PRINTF</em> and <em>GCC_SCANF</em> >- from <curses.h>, to simplify use.</p> >+ <p>improve checks for valid mouse events when an intermediate >+ mouse state is not part of the mousemask specified by the >+ caller</p> > </li> > > <li> >- <p>apply gcc format attribute to prototypes which use a >- va_list parameter rather than a “<tt>...</tt>” >- variable-length parameter list.</p> >+ <p>allow extended-color number in <em>opts</em> parameter of >+ <tt>wattr_on</tt>.</p> > </li> > > <li> >- <p>modify <term.h> so that it is not necessary to >- include <curses.h> before <term.h>.</p> >+ <p>improve <tt>_tracecchar_t2</tt> formatting of >+ base+combining character.</p> > </li> > > <li> >- <p>provide for wide-characters as background character in >- wbkgrnd</p> >+ <p>trim out some unwanted linker options from ncurses*config >+ and .pc files seen in Fedora 36+.</p> > </li> > > <li> >- <p>improve parameter-checking for tparm, adding function >- _nc_tiparm() to handle the most-used case, which accepts only >- numeric parameters.</p> >+ <p>improve shell-scripts with <em>shellcheck</em></p> > </li> > > <li> >- <p>use return-value from <em>vsnprintf</em> to reallocate as >- needed to allow for buffers larger than the screen size.</p> >+ <p>improve use of "trap" in shell scripts, using a >+ script.</p> > </li> > > <li> >- <p>add another <em>fflush(stdout)</em> in <em>_nc_flush</em> >- to handle time-delays in the middle of strings such as flash >- when the application uses low-level calls rather than >- curses.</p> >+ <p>modify <tt>make-tar.sh</tt> scripts to make timestamps >+ more predictable.</p> > </li> > </ul> > >@@ -298,18 +243,19 @@ > > <ul> > <li> >- <p>add a check to guard against <em>repeat_char</em> emitting >- digits which could be interpreted as BSD-style padding when >- <tt>--enable-bsdpad</tt> is configured.</p> >+ <p>modify <tt>misc/gen-pkgconfig.in</tt> to allow for the >+ case where the library directory does not yet exist, since >+ this is processed before doing an install</p> > </li> > > <li> >- <p>check for screen size-change in <a href= >- "@HOMEPAGE@/man/curs_scr_dump.3x.html">scr_init</a> and >- <a href= >- "@HOMEPAGE@/man/curs_scr_dump.3x.html">scr_restore</a>, in >- case a screen dump does not match the current screen >- dimensions</p> >+ <p>set trailing null on string passed from <tt>winsnstr</tt> >+ to <tt>wins_nwstr</tt>.</p> >+ </li> >+ >+ <li> >+ <p>modify <tt>waddch_literal</tt> to allow for double-width >+ base character when merging a combining character</p> > </li> > </ul> > >@@ -321,134 +267,44 @@ > > <dl> > <dt><span class="part-name"><a href= >- "@HOMEPAGE@/man/tabs.1.html">tabs</a></span> >+ "@HOMEPAGE@/man/infocmp.1m.html">infocmp</a></span> > </dt> > > <dd> > <ul> >- <li> >- <p>implement “<tt>+m</tt>” option</p> >- </li> >+ <li>rewrite <tt>canonical_name</tt> function of >+ <tt>infocmp</tt> to ensure buffer size</li> >+ >+ <li>improve readability of long parameterized expressions >+ with the infocmp “<tt>-f</tt>” option by >+ allowing split before a “<tt>%p</tt>” >+ marker.</li> >+ >+ <li>modify verbose-option of <tt>infocmp</tt>, >+ <tt>tic</tt>, <tt>toe</tt> to enable debug-tracing if that >+ is configured.</li> > </ul> > </dd> > > <dt><span class="part-name"><a href= >- "@HOMEPAGE@/man/tic.1m.html">tic</a></span> >+ "@HOMEPAGE@/man/tabs.1.html">tabs</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>add check for duplicate “<tt>use=</tt>” >- clauses.</p> >- </li> >- >- <li> >- <p>add check to report instances where <tt>tparm</tt> >- would detect an error in an expression.</p> >- </li> >- >- <li> >- <p>add user-defined capabilities from <em>mintty</em> to >- <tt>Caps-ncurses</tt>, for checking consistency.</p> >- </li> >- >- <li> >- <p>improve warning when oc/op do not mention SGR 39/49 >- for <em>xterm</em> compatible <code>XT</code> flag.</p> >- </li> >- >- <li> >- <p>improve checks for number of parameters of >- <code>smglp</code>, <code>smgrp</code>, >- <code>smgtp</code>, and <code>smgbp</code>.</p> >- </li> >- >- <li> >- <p>improve “<tt>-c</tt>” option to validate >- the number and type of parameters and compare against >- expected number/type before deciding which set of >- parameter-lists to use in tparm calls.</p> >- </li> >- >- <li> >- <p>improve check for errors detected in >- <code>tparm</code>.</p> >- </li> >- >- <li> >- <p>improve format of output, to ensure that the messages >- contain only printable text.</p> >- </li> >- >- <li> >- <p>modify to eliminate unnecessary >- “<code>\</code>” to escape >- “<code>:</code>” in terminfo format.</p> >- </li> >- >- <li> >- <p>remove check that assumes that none or both >- parameterized and non-parameterized margin-setting >- capabilities are present.</p> >- </li> >- </ul> >- </dd> >+ <dd>limit tab-stop values to max-columns</dd> > > <dt><span class="part-name"><a href= >- "@HOMEPAGE@/man/toe.1m.html">toe</a></span> >+ "@HOMEPAGE@/man/tic.1m.html">tic</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>modify output of “<tt>toe -as</tt>” to >- show first description found rather than the last.</p> >- </li> >- >- <li> >- <p>add a check to ensure that a “termcap >- file” is text rather than binary.</p> >- </li> >- </ul> >- </dd> >+ <dd>add consistency check in tic for u6/u7/u8/u9 and NQ >+ capabilities.</dd> > > <dt><span class="part-name"><a href= > "@HOMEPAGE@/man/tput.1.html">tput</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>modify to allow multiple commands per line.</p> >- </li> >- >- <li> >- <p>improve parameter-checking by analyzing all extended >- string capabilities, e.g., as used in the <code>Cs</code> >- and <code>Ms</code> capabilities of the <em>tmux</em> >- description.</p> >- </li> >- >- <li> >- <p>make warning messages consistently using alias names >- when those are used, rather than the underlying program's >- name.</p> >- </li> >- >- <li> >- <p>improve usage message for aliases such as >- <em>clear</em>, by eliminating <em>tput</em>-specific >- portions.</p> >- </li> >- >- <li> >- <p>modify initialization to avoid opening >- <tt>/dev/tty</tt> for cases other than >- <em>reset/init</em>, e.g., for <em>clear</em>.</p> >- </li> >- </ul> >- </dd> >+ <dd>corrected use of original tty-modes in <em>init/reset</em> >+ subcommands</dd> > </dl> > > <h4><a name="h4-examples" id="h4-examples">Examples</a></h4> >@@ -456,42 +312,51 @@ > <p>Along with the library and utilities, improvements were made > to the <a href= > "@HOMEPAGE@/ncurses-examples.html">ncurses-examples</a>. Most of >- this activity aimed at improving the test-packages. A few changes >- are more generally useful, e.g., for the main ncurses >- test-program, and for analyzing traces using the >- <em>tracemunch</em> script:</p> >+ this activity aimed at improving the test-packages:</p> > > <ul> > <li> >- <p>add “<tt>-r</tt>” option to the <em>dots</em> >- test-programs, to help with scripting a performance >- comparison.</p> >+ <p>add minimal <tt>-h</tt> (usage) and <tt>-V</tt> (version) >+ getopt logic to all ncurses-examples programs.</p> >+ </li> >+ >+ <li> >+ <p>fix an error in "@" command in <tt>test/ncurses.c</tt> >+ F-menu</p> >+ </li> >+ >+ <li> >+ <p>add curses_trace to ifdef's for <tt>START_TRACE</tt> in >+ <tt>test/test.priv.h</tt></p> > </li> > > <li> >- <p>build-fix for <em>test_opaque</em>, for configurations >- without opaque curses structs, e.g., ncurses 5.7.</p> >+ <p>improve pthread-configuration for test/worm.c</p> > </li> > > <li> >- <p>improve <em>tracemunch</em> logic for "RUN" >- compaction.</p> >+ <p>add <tt>setlocale</tt> call to several test-programs.</p> > </li> > > <li> >- <p>improve <em>tracemunch</em>'s coverage of form/menu/panel >- libraries.</p> >+ <p>workaround in <tt>test/picsmap.c</tt> for use of floating >+ point for rgb values by ImageMagick 6.9.11, which appears to >+ use the wrong upper limit.</p> > </li> > > <li> >- <p>improve <em>tracemunch</em>'s checking/reporting the type >- for the first parameter, e.g., "WINDOW*" rather than >- "#1".</p> >+ <p>use static libraries for AdaCurses test-package for >+ Mageia, since no gprbuild package is available.</p> > </li> > > <li> >- <p>modify <em>tracemunch</em> and the panel library to show >- readable traces for panel- and user-pointers.</p> >+ <p>install Ada95 sample programs in libexecdir, adding a >+ wrapper script to invoke those.</p> >+ </li> >+ >+ <li> >+ <p>install ncurses-examples programs in libexecdir, adding a >+ wrapper script to invoke those.</p> > </li> > </ul> > >@@ -499,266 +364,218 @@ > examples:</p> > > <dl> >- <dt><span class="part-name"><em>back_ground</em></span> >+ <dt><span class="part-name"><em>test/combine</em></span> >+ </dt> >+ >+ <dd>demonstrate combining characters</dd> >+ >+ <dt><span class="part-name"><em>test/test_delwin</em></span> > </dt> > >- <dd>to exercise the wide-character background functions.</dd> >+ <dd>demonstrate deleting a window</dd> > >- <dt><span class="part-name"><em>move_field</em></span> >+ <dt><span class="part-name"><em>test/test_mouse</em></span> > </dt> > >- <dd>to demonstrate <a href= >- "@HOMEPAGE@/man/form_field.3x.html">move_field</a>, and a stub >- for a corresponding demo of <a href= >- "@HOMEPAGE@/man/form_field_new.3x.html">dup_field</a>.</dd> >+ <dd>observe mouse events in the raw terminal or parsed ncurses >+ modes</dd> > >- <dt><span class="part-name"><em>test_tparm</em></span> >+ <dt><span class="part-name"><em>test/test_unget_wch</em></span> > </dt> > >- <dd>for checking <em>tparm</em> changes.</dd> >+ <dd>demonstrate the unget_wch and unget functions</dd> > </dl> > > <h3><a name="h3-database" id="h3-database">Terminal database</a></h3> > > <p>There are several new terminal descriptions:</p> > >- <blockquote style="word-break:keep-all"> >- <p><tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-absolute">absolute</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis">att610+cvis</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-foot">foot</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-foot-direct">foot-direct</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hp98550-color">hp98550-color</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hpterm-color2">hpterm-color2</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hterm">hterm</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hterm-256color">hterm-256color</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-linux-s">linux-s</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-putty_keypad">putty+keypad</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-putty_screen">putty+screen</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-putty-screen">putty-screen</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-screen.linux-s">screen.linux-s</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-scrt/securecrt">scrt/securecrt</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-tmux-direct">tmux-direct</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis">vt220+cvis</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis8">vt220+cvis8</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220_pcedit">vt220+pcedit</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220_vtedit">vt220+vtedit</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220-base">vt220-base</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt52_keypad">vt52+keypad</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_256color2">xterm+256color2</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_88color2">xterm+88color2</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct16">xterm-direct16</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct256">xterm-direct256</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_nofkeys">xterm+nofkeys</a></tt>, >- and <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_nopcfkeys">xterm+nopcfkeys</a></tt>.</p> >- </blockquote> >- >- <p>There are many changes to existing terminal descriptions. Some >- were updates to several descriptions:</p> >- > <ul> >- <li>correct use-ordering in some <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct">xterm-direct</a> >- flavors</li> >- >- <li>fix some sgr inconsistencies in <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-d230c">d230c</a>, <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-ibm6153">ibm6153</a>, >- <a href="@HOMEPAGE@/terminfo.src.html#tic-ibm6154">ibm6154</a>, >- <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-ncrvt100an">ncrvt100an</a></li> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-mosh">mosh</a></tt> >+ </li> > >- <li>improve <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt50h">vt50h</a> and <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt52">vt52</a> based on >- DECScope manual</li> >- >- <li>use <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hp_arrows">hp+arrows</a> in a >- few places</li> >- >- <li>use <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-hp_pfk-cr">hp+pfk-cr</a> in a >- few places</li> >- >- <li>use <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis">vt220+cvis</a> in >- <tt>st</tt>, <tt>terminology</tt>, <tt>termite</tt> since they >- ignore blinking-cursor detail in <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis">att610+cvis</a></li> >- </ul> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-mosh-256color">mosh-256color</a></tt> >+ </li> > >- <p>while others affected specific descriptions. These were >- retested, to take into account changes by their developers:</p> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-teken-16color">teken-16color</a></tt> >+ </li> > >- <blockquote> >- <p><tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-kitty_common">kitty+common</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-mlterm3">mlterm3</a></tt>, >- <tt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-ms-terminal">ms-terminal</a></tt></p> >- </blockquote> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-teken-sc">teken-sc</a></tt> >+ </li> > >- <p>while these are specific fixes based on reviewing >- documentation, user reports, or warnings from <span class= >- "part-name">tic</span>:</p> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-teken-vt">teken-vt</a></tt> >+ </li> > >- <dl> >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-aaa_dec">aaa+dec</a>, >- aaa+rv</dt> >+ <li><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-xgterm">xgterm</a></tt> >+ </li> >+ </ul> > >- <dd>correct rmacs/smacs</dd> >+ <p>There are many changes to existing terminal descriptions. Some >+ were updates to several descriptions:</p> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-aaa_rv">aaa+rv</a> >- </dt> >+ <ul> >+ <li> >+ <p>make description-fields distinct</p> >+ </li> > >- <dd>correct sgr</dd> >+ <li> >+ <p>fix errata in description fields</p> >+ </li> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-icl6404">icl6404</a> >- </dt> >+ <li> >+ <p>add/use several building-blocks:</p> > >- <dd>correct csr</dd> >+ <ul> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-aixterm_sl"><tt>aixterm+sl</tt></a></li> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-kitty">kitty</a> >- </dt> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-ansi_cpr"><tt>ansi+cpr</tt></a></li> > >- <dd>use att610+cvis, xterm+tmux and ansi+enq</dd> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-apollo_vt132"><tt>apollo+vt132</tt></a></li> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-konsole-base">konsole-base</a> >- </dt> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-decid_cpr"><tt>decid+cpr</tt></a></li> > >- <dd>re-enable "bel"</dd> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-ncr260vp_sl"><tt>ncr260vp+sl</tt></a></li> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-linux2.6">linux2.6</a> >- </dt> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-wyse_sl"><tt>wyse+sl</tt></a></li> > >- <dd>fix pound-sign mapping in acsc</dd> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-x10term_sl"><tt>x10term+sl</tt></a></li> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-linux3.0">linux3.0</a> >- </dt> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-xterm_acs"><tt>xterm+acs</tt></a></li> > >- <dd>modify to reflect default mapping of shift-tab by kbd >- 1.14</dd> >+ <li><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-xterm_alt47"><tt>xterm+alt47</tt></a></li> >+ </ul> >+ </li> >+ </ul> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-pccons">pccons</a> >- </dt> >+ <p>while others affected specific descriptions. These were >+ retested, to take into account changes by their developers:</p> > >- <dd>fill in some missing pieces, to make it comparable to the >- vt220 entry</dd> >+ <ul> >+ <li> >+ <p><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-kitty">kitty</a></tt> >+ </p> >+ </li> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-putty">putty</a> >- </dt> >+ <li> >+ <p><tt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-teken">teken</a></tt> >+ </p> >+ </li> >+ </ul> > >- <dd>use vt100+fnkeys, add rep</dd> >+ <p>while these are specific fixes based on reviewing >+ documentation, user reports, or warnings from <span class= >+ "part-name">tic</span>:</p> > >+ <dl> > <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-screen">screen</a> >+ "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis0">att610+cvis0</a> > </dt> > >- <dd>use vt100+enq</dd> >+ <dd>amended note as per documentation for att610, att620, >+ att730</dd> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-terminator">terminator</a> >- </dt> >+ <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-kon">kon</a>, >+ kon2, jfbterm</dt> > >- <dd>corrected tsl capability</dd> >+ <dd>revise to undo "linux2.6" change to smacs/rmacs/enacs</dd> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-ti916">ti916</a> >+ <dt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-st-0_6">st-0.6</a> > </dt> > >- <dd>correct cup</dd> >+ <dd>add dim, ecma+strikeout</dd> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-tmux">tmux</a> >+ <dt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-foot_base">foot+base</a> > </dt> > >- <dd>change kbs to ^?</dd> >+ <dd>add xterm+sl-alt</dd> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-vt220">vt220</a> >+ <dt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-dec_sl">dec+sl</a> > </dt> > >- <dd>use vt220+cvis</dd> >+ <dd>correct dsl in dec+sl</dd> > > <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-vt420_lrmm">vt420+lrmm</a> >- </dt> >+ "@HOMEPAGE@/terminfo.src.html#tic-mintty">mintty</a> and >+ tmux</dt> > >- <dd>add smglp and smgrp</dd> >+ <dd>correct setal in mintty/tmux entries, add to vte-2018</dd> > >- <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-vt420">vt420</a> >+ <dt><a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-nsterm">nsterm</a> > </dt> > >- <dd>use vt420+lrmm</dd> >+ <dd>modify nsterm to use xterm+alt1049</dd> > >- <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm-new">xterm-new</a> >+ <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-putty">putty</a> > </dt> > >- <dd>add nel</dd> >+ <dd>modify putty to use xterm+alt1049</dd> > > <dt><a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm-vt52">xterm-vt52</a> >+ "@HOMEPAGE@/terminfo.src.html#tic-vte-2018">vte-2018</a> > </dt> > >- <dd>use vt52+keypad</dd> >+ <dd>add blink and setal</dd> > </dl> > > <p>A few entries use extensions (user-defined terminal > capabilities):</p> > > <ul> >- <li>add shifted Linux console keys in <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-linux_sfkeys">linux+sfkeys</a> >- entry for <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-screen.linux">screen.linux</a></li> >- >- <li>add Smulx to <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-alacritty">alacritty</a></li> >- >- <li>add kbeg to <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_keypad">xterm+keypad</a> >- to accommodate termcap applications</li> >- >- <li>add extensions in <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-xterm_tmux">xterm+tmux</a> >- and <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-ecma_strikeout">ecma+strikeout</a> >- to <a href= >- "@HOMEPAGE@/terminfo.src.html#tic-ms-terminal">ms-terminal</a>, >- but cancel the non-working Cr and Ms capabilities</li> >+ <li> >+ <p>use <tt>ansi+enq</tt> and <tt>decid+cpr</tt> in cases >+ where the terminal probably supported the u6-u9 extension</p> >+ </li> >+ >+ <li> >+ <p>remove u6-u9 from teken-2018</p> >+ </li> >+ >+ <li> >+ <p>use <tt>NQ</tt> to flag entries where the terminal does >+ not support query and response</p> >+ </li> >+ >+ <li> >+ <p>add/use <a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-bracketed_paste"><tt>bracketed+paste</tt></a> >+ to help identify terminals supporting this xterm feature</p> >+ </li> >+ >+ <li> >+ <p>modify samples for xterm mouse 1002/1003 modes to use 1006 >+ mode, and also provide for focus in/out responses</p> >+ </li> >+ >+ <li> >+ <p>xterm patch #371 supports DEC-compatible status-line. add >+ <tt>dec+sl</tt> to xterm-new, per xterm #371, add <a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-xterm-p371"><tt>xterm-p371</tt></a>, >+ add <a href= >+ "@HOMEPAGE@/terminfo.src.html#tic-xterm-p370"><tt>xterm-p370</tt></a>, >+ for use in older terminals, and set “xterm-new” >+ to “xterm-p370” (to ease adoption).</p> >+ </li> > </ul> > > <h3><a name="h3-documentation" id= >@@ -793,18 +610,16 @@ > > <ul> > <li> >- <p>make <em>opts</em> extension for <a href= >- "@HOMEPAGE@/man/curs_getcchar.3x.html#h3-getcchar"><tt>getcchar</tt></a> >- work as documented for <a href= >- "@HOMEPAGE@/announce-6.1.htmll#h4-new-library">ncurses >- 6.1</a>, adding “<tt>-g</tt>” flag to >- <em>demo_new_pair</em> to illustrate.</p> >+ <p>remove a stray '/' from description of <tt>%g</tt> in >+ <a href= >+ "@HOMEPAGE@/man/terminfo.5.html#h3-Parameterized-Strings"> >+ terminfo(5)</a>.</p> > </li> > > <li> >- <p>modify <a href="@HOMEPAGE@/man/tset.1.html">tset</a> >- “-q” option to refrain from modifying >- terminal modes, to match the documentation.</p> >+ <p>correct/improve font-formatting in <a href= >+ "@HOMEPAGE@/man/curs_getch.3x.html">curs_getch.3x</a>, as >+ well as other manual pages.</p> > </li> > </ul> > </li> >@@ -814,44 +629,17 @@ > > <ul> > <li> >- <p>improve documentation for <a href= >- "@HOMEPAGE@/man/terminfo.5.html#h3-Parameterized-Strings"> >- tparm</a> and static/dynamic variables.</p> >- </li> >- >- <li> >- <p>add history note to <a href= >- "@HOMEPAGE@/man/curs_scanw.3x.html#h2-HISTORY">curs_scanw.3x</a> >- for <stdarg.h> and <varargs.h></p> >- </li> >- >- <li> >- <p>add history note to <a href= >- "@HOMEPAGE@/man/curs_printw.3x.html#h2-HISTORY">curs_printw.3x</a> >- for <stdarg.h> and <varargs.h></p> >- </li> >- >- <li> >- <p>add portability note to <a href= >- "@HOMEPAGE@/man/ncurses.3x.html#h3-Header-files">ncurses.3x</a> >- regarding <stdarg.h></p> >- </li> >- >- <li> >- <p>add historical notes to <a href= >- "@HOMEPAGE@/man/tput.1.html#h2-HISTORY">tput</a>, >- <a href="@HOMEPAGE@/man/curs_terminfo.3x.html#h2-HISTORY"> >- curses-terminfo</a> and <a href= >- "@HOMEPAGE@/man/curs_color.3x.html#h2-HISTORY">curses-color</a> >- manpages based on source-code for SVr2, SVr3 and >- SVr4.</p> >+ <p>add portability notes for <a href= >+ "@HOMEPAGE@/man/curs_initscr.3x.html#h2-PORTABILITY">delscreen</a> >+ and <a href= >+ "@HOMEPAGE@/man/curs_window.3x.html#h2-PORTABILITY">delwin</a> >+ in manual.</p> > </li> > > <li> >- <p>improve history section for <a href= >- "@HOMEPAGE@/man/tset.1.html#h2-HISTORY">tset</a> manpage >- based on the 1BSD tarball, which preceded BSD's SCCS >- checkins by more than three years.</p> >+ <p>improve <a href= >+ "@HOMEPAGE@/man/curs_slk.3x.html#h2-EXTENSIONS">curs_slk.3x</a> >+ discussion of extensions and portability</p> > </li> > </ul> > </li> >@@ -861,64 +649,64 @@ > > <ul> > <li> >- <p>explain in <a href= >- "@HOMEPAGE@/man/ncurses.3x.html#h2-ALTERNATE-CONFIGURATIONS"> >- ncurses.3x</a> that functions in the tinfo library do not >- rely upon wide-characters.</p> >+ <p>improve <a href= >+ "@HOMEPAGE@/man/curs_bkgd.3x.html">curs_bkgd.3x</a>, >+ explaining that <tt>bkgdset</tt> can affect results for >+ <tt>bkgd</tt></p> > </li> > > <li> >- <p>improve manual page for <a href= >- "@HOMEPAGE@/man/panel.3x.html#h2-PORTABILITY">panel</a> >- library, extending the portability section as well as >- documenting error-returns.</p> >+ <p>add note on portable memory-leak checking in <a href= >+ "@HOMEPAGE@/man/curs_memleaks.3x.html#h2-PORTABILITY">curs_memleaks.3x</a></p> > </li> > > <li> >- <p>add section on margins to <a href= >- "@HOMEPAGE@/man/terminfo.5.html#h3-Margins">terminfo.5</a>, >- adapted from X/Open Curses.</p> >+ <p>expanded description in <a href= >+ "@HOMEPAGE@/man/resizeterm.3x.html">resizeterm.3x</a></p> > </li> > > <li> >- <p>improve <a href= >- "@HOMEPAGE@/man/term.5.html#h3-LEGACY-STORAGE-FORMAT">man/term.5</a> >- section on legacy storage format.</p> >+ <p>add section on releasing memory to <a href= >+ "@HOMEPAGE@/man/curs_termcap.3x.html#h3-Releasing-Memory"> >+ curs_termcap.3x</a> and <a href= >+ "@HOMEPAGE@/man/curs_terminfo.3x.html#h3-Releasing-Memory"> >+ curs_terminfo.3x</a> manpages.</p> > </li> > > <li> >- <p>add a note in <a href= >- "@HOMEPAGE@/man/terminfo.5.html#h3-Predefined-Capabilities"> >- terminfo.5</a> explaining that no-parameter strings such >- as <em><tt>sgr0</tt></em> or <em><tt>cnorm</tt></em> >- should not be used with tparm.</p> >+ <p>add clarification of the scope of dynamic variables in >+ <a href= >+ "@HOMEPAGE@/man/terminfo.5.html">terminfo(5)</a>.</p> > </li> > > <li> >- <p>improve description of BSD-style padding in <a href= >- "@HOMEPAGE@/man/curs_termcap.3x.html#h2-BUGS">curs_termcap.3x</a></p> >+ <p>improve formatting of <a href= >+ "@HOMEPAGE@/ncurses-intro.html">ncurses-intro.html</a> >+ and <a href= >+ "@HOMEPAGE@/hackguide.html">hackguide.html</a></p> > </li> > > <li> >- <p>improve discussion of padding versus <tt>tparm</tt> >- and <tt>tputs</tt> in <a href= >- "@HOMEPAGE@/man/curs_terminfo.3x.html#h3-Formatting-Output"> >- man/curs_terminfo.3x</a></p> >+ <p>improve <a href= >+ "@HOMEPAGE@/man/curs_clear.3x.html">curs_clear.3x</a> >+ links to other pages</p> > </li> > > <li> >- <p>add a note in manual page to explain <a href= >- "@HOMEPAGE@/man/curs_getch.3x.html#h3-Ungetting-characters"> >- ungetch</a> vs <a href= >- "@HOMEPAGE@/man/curs_get_wch.3x.html#h3-unget_wch">unget_wch</a>.</p> >+ <p>update <a href= >+ "@HOMEPAGE@/howto/NCURSES-Programming-HOWTO.html">ncurses-howto</a>, >+ making documentation fixes along with corrections to >+ example programs.</p> > </li> > > <li> >- <p>improve description of error-returns in <a href= >- "@HOMEPAGE@/man/curs_addch.3x.html#h2-RETURN-VALUE">waddch</a> >- and <a href= >- "@HOMEPAGE@/man/curs_addstr.3x.html#h2-RETURN-VALUE">waddnstr</a> >- manual pages.</p> >+ <p>use newer version 1.36 of gnathtml for generating Ada >+ html files.</p> >+ </li> >+ >+ <li> >+ <p>update external links in <a href= >+ "@HOMEPAGE@/Ada95.html">Ada95.html</a></p> > </li> > </ul> > </li> >@@ -927,61 +715,49 @@ > <p>There are no new manual pages (all of the manual page updates > are to existing pages).</p> > >- <p>Some of the improvements are more subtle, relating to the way >- the information is presented. For instance, hyphenation is >- suppressed in the HTML files generated from manual pages because >- an upgrade to <em>groff</em> gave noticeably poorer results, >- interfering with the process of creating links between the >- resulting webpages.</p> >- > <h3><a name="h3-bug-fixes" id="h3-bug-fixes">Interesting > bug-fixes</a></h3> > > <p>While there were many bugs fixed during development of ncurses >- 6.3, only a few (the reason for this release) were both important >+ 6.4, only a few (the reason for this release) were both important > and interesting. Most of the bug-fixes were for local issues > which did not affect compatibility across releases. Since those > are detailed in the <a href= >- "@HOMEPAGE@/NEWS.html#t20211018">NEWS</a> file no elaboration is >+ "@HOMEPAGE@/NEWS.html#t20221231">NEWS</a> file no elaboration is > needed here.</p> > >- <p>The interesting bugs were:</p> >+ <p>The interesting bugs were those dealing with memory leaks and >+ buffer overflows. Although the utilities are designed for >+ <em>text</em> files (which they do properly), some choose to test >+ them with <strong>non-</strong><em>text</em> files.</p> > > <ul> > <li> >- <p>modify <a href= >- "@HOMEPAGE@/man/curs_bkgd.3x.html#h3-bkgd">wbkgd</a> and >- <a href= >- "@HOMEPAGE@/man/curs_bkgrnd.3x.html#h3-bkgrnd">wbkgrnd</a> to >- avoid storing a null in the background character, because it >- may be used in cases where the corresponding 0x80 is not >- treated as a null.</p> >- >- <p>This was a regression introduced in ncurses 6.2 (<a href= >- "https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00000.html">reported</a> >- on the mailing list), for which the workaround was to specify >- a blank for the background character.</p> >+ <p>Text files contain no embedded nulls. Also, they end with >+ a newline. Feeding <strong>tic</strong> non-text files >+ exposed a few cases where the program did not check for those >+ issues. As a result, further processing of the input found >+ limit-checks whose assumptions were invalid.</p> >+ </li> >+ >+ <li> >+ <p>Fixing the limit-checks (first) found a problem with >+ <strong>tic</strong> managing the list of strings in a >+ terminal description. In merging two terminal descriptions >+ (i.e., the “use=” feature), <strong>tic</strong> >+ was not allocating a complete copy. A quick repair for that >+ introduced a memory leak.</p> > </li> > > <li> >- <p>remove output-related checks for <a href= >- "@HOMEPAGE@/man/curs_outopts.3x.html">nl/nonl</a> (also >- <a href= >- "https://lists.gnu.org/archive/html/bug-ncurses/2020-09/msg00018.html"> >- reported</a> on the mailing list).</p> >+ <p>The checks for non-text files are improved (i.e., embedded >+ nulls in the input file will cause <strong>tic</strong> to >+ reject it rather than attempting to process it).</p> > </li> > > <li> >- <p>improve tparm implementation of <tt>%P</tt> and >- <tt>%g</tt>, more closely matching SVr4 terminfo. Those >- denote <em>static</em> and <em>dynamic</em> variables in >- terminfo expressions.</p> >- >- <p>Exactly what those terms meant was never documented before >- in any implementation of curses, aside from source code. >- Unlike the other two fixes, the problem was discovered while >- studying OpenBSD's version of <a href= >- "@HOMEPAGE@/ncurses-openbsd.html#issue_tput">tset</a>.</p> >+ <p>The string allocations in <strong>tic</strong> are >+ likewise improved.</p> > </li> > </ul> > >@@ -991,9 +767,7 @@ > <h4><a name="h4-config-major" id="h4-config-major">Major > changes</a></h4> > >- <p>There are no major changes. Several new options were added to >- ease integration of packages with systems using different >- versions of <em>GNAT</em> and <em>ncurses</em>. Also, >+ <p>There are no major changes. No new options were added. Several > improvements were made to configure checks.</p> > > <h4><a name="h4-config-options" id= >@@ -1002,73 +776,35 @@ > <p>There are a few new/modified configure options:</p> > > <dl> >- <dt><tt>--enable-fvisibility</tt> >+ <dt><tt>--with-abi-version</tt> > </dt> > > <dd> >- <p>new configure option and check for <em>gcc</em> >- <tt>-fvisibility=hidden</tt> feature</p> >+ <p>add ABI 7 defaults to configure script.</p> > </dd> > >- <dt><tt>--enable-leaks</tt> >+ <dt><tt>--with-caps</tt> > </dt> > > <dd> >- <p>corrected to allow turning leak-checking off later in a >- set of options.</p> >+ <p>add warning in configure script if file specified for >+ “<tt>--with-caps</tt>” does not exist.</p> > </dd> > >- <dt><tt>--enable-stdnoreturn</tt> >+ <dt><tt>--with-manpage-format</tt> > </dt> > > <dd> >- <p>new configure option makes the <code>_Noreturn</code> >- keyword optional to ease transition.</p> >+ <p>bzip2 and xz compression are now supported</p> > </dd> > >- <dt><tt>--disable-pkg-ldflags</tt> >+ <dt><tt>--with-xterm-kbs</tt> > </dt> > > <dd> >- <p>revised option also controls whether <code>$LDFLAGS</code> >- from the build is provided in “<tt>-config</tt>” >- and “<tt>.pc</tt>” files.</p> >- </dd> >- >- <dt><tt>--disable-root-access</tt> >- </dt> >- >- <dd> >- <p>add configure option which tells ncurses to disallow most >- file-opens by setuid processes.</p> >- </dd> >- >- <dt><tt>--disable-wattr-macros</tt> >- </dt> >- >- <dd> >- <p>changed default to help packagers who reuse wide ncursesw >- header file with non-wide ncurses library.</p> >- </dd> >- >- <dt><tt>--with-pkg-config-libdir</tt> >- </dt> >- >- <dd> >- <p>revised option uses the actual search path from >- <em>pkg-config</em> or <em>pkgconf</em> using the output from >- <tt>--debug</tt>.</p> >- </dd> >- >- <dt><tt>--with-ada-libname</tt><br> >- <tt>--with-form-libname</tt><br> >- <tt>--with-menu-libname</tt><br> >- <tt>--with-panel-libname</tt> >- </dt> >- >- <dd> >- <p>new several <tt>--with-<em>xxx</em>-libname</tt> options, >- to help with pkgsrc</p> >+ <p>add check/warning in configure script if option >+ “<tt>--with-xterm-kbs</tt>” is missing or >+ inconsistent</p> > </dd> > </dl> > >@@ -1079,107 +815,100 @@ > > <ul> > <li> >- <p>add a special case in the configure script to work around >- one of the build-time breakages reported for <a href= >- "@HOMEPAGE@/ncurses-openbsd.html">OpenBSD 6</a> here:</p> >- >- <blockquote> >- <p><a href= >- "https://www.mail-archive.com/bugs@openbsd.org/msg13200.html"> >- https://www.mail-archive.com/bugs@openbsd.org/msg13200.html</a></p> >- </blockquote> >+ <p>amend configure option's auto-search to account for >+ systems where none of the directories known to >+ <em>pkg-config</em> exist</p> > </li> > > <li> >- <p>modify configure check for <em>libtool</em> to prevent >- accidental use of an OpenBSD program which uses the same >- name.</p> >+ <p>corrected regex needed for older <em>pkg-config</em> used >+ in Solaris 10</p> > </li> > > <li> >- <p>modify configuration checks for build-time tic/infocmp to >- use <em>AC_CHECK_TOOL</em>. That can still be overridden by >- <tt>--with-tic-path</tt> and <tt>--with-infocmp-path</tt> >- when fallbacks are used, but even if not using fallbacks, the >- improved check may help with cross-compiling.</p> >+ <p>improve handling of <tt>--with-pkg-config-libdir</tt> >+ option, allowing for the case where either >+ <tt>$PKG_CONFIG_LIBDIR</tt> or the option value has a >+ colon-separated list of directories</p> > </li> > > <li> >- <p>relax modification-time comparison in >- <em>CF_LINK_FUNCS</em> to allow it to accept link() function >- with NFS filesystems which change the mtime on the link >- target, e.g., several BSD systems.</p> >+ <p>if the <tt>--with-pkg-config-libdir</tt> option is not >+ given, use <tt>${libdir}/pkgconfig</tt> as a default</p> > </li> > > <li> >- <p>modify configure check for c89/c99 aliases of >- <em>clang</em> to use its <tt>-std</tt> option instead, >- because some platforms, in particular macOS, do not provide >- workable c89/c99 aliases.</p> >+ <p>improve search-path check for <em>pkg-config</em>, e.g., >+ for Debian testing which installs <em>pkg-config</em> with >+ architecture-prefixes.</p> > </li> > > <li> >- <p>modify <em>CF_NCURSES_CONFIG</em> to work around >- <em>Xcode</em>'s c99 "-W" option, which conflicts with >- conventional use for passing linker options.</p> >+ <p>build-fix for cross-compiling to MingW, conditionally add >+ <tt>-lssp</tt></p> > </li> > > <li> >- <p>modify configure scripts to filter out redefinitions of >- _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, >- but 600 is needed for ncursesw.</p> >+ <p>improve configure check for <tt>getttynam</tt></p> > </li> >- </ul> >- >- <p>Here are some of the other portability fixes:</p> > >- <ul> > <li> >- <p>change configure-check and source-code for gcc's noreturn >- attribute to assume it is a prefix rather than suffix, >- matching c11's _Noreturn convention.</p> >- </li> >+ <p>fixes to build with <em>dietlibc</em>:</p> > >- <li> >- <p>modify mk-1st.awk to account for extra-suffix configure >- option.</p> >- </li> >+ <ul> >+ <li>add configure check for <tt>fpathconf</tt></li> > >- <li> >- <p>build-fix for termsort module when configured with >- termcap.</p> >+ <li>add configure check for math sine/cosine, needed in >+ test/tclock, and eliminate <tt>pow()</tt> from >+ test/hanoi</li> >+ >+ <li>use <tt>wcsnlen</tt> as an alternative to >+ <tt>wmemchr</tt> if it is not found</li> >+ </ul> > </li> > > <li> >- <p>modify configure script and makefiles to support ".PHONY" >- make program feature.</p> >+ <p>modify configure macro <tt>CF_BUILD_CC</tt> to check if >+ the build-compiler works, rather than that it is different >+ from the cross-compiler, e.g., to accommodate a compiler >+ which can be used for either purpose with different flags</p> > </li> > > <li> >- <p>amend <em>libtool</em> configuration to add dependency for >- install.tic, etc., in ncurses/Makefile on the lower-level >- libraries.</p> >+ <p>modify configure/scripts to work around interference by >+ GNU grep 3.8</p> > </li> >+ </ul> >+ >+ <p>Here are some of the other portability fixes:</p> > >+ <ul> > <li> >- <p>modify Ada95 source-generation utility to write to a file >- given as parameter rather than to the standard output, >- allowing builds with MinGW.</p> >+ <p>change <tt>man_db.renames</tt> to template, to handle >+ <em>ncurses*-config</em> script with the >+ <tt>--extra-suffix</tt> configure option.</p> > </li> > > <li> >- <p>amend tic/infocmp check to allow for the respective tool's >- absence.</p> >+ <p>update <tt>CF_XOPEN_SOURCE</tt> macro, adding variants >+ “gnueabi" and “gnueabihf" to get >+ <tt>_DEFAULT_SOURCE</tt> special case, as well as adding GNU >+ libc suffixes for “abi64”, “abin32”, >+ “x32” to distinguish it from other libc >+ flavors.</p> > </li> > > <li> >- <p>build-fixes for gnat 10.1.1, whose gnatmake drops >- integration with gprbuild.</p> >+ <p>work around <em>musl</em>'s nonstandard use of feature >+ test macros by adding a definition for >+ <tt>NCURSES_WIDECHAR</tt> to the generated “.pc” >+ and <em><tt>*-config</tt></em> files.</p> > </li> > > <li> >- <p>correct configure version-check/warning for g++ to allow >- for 10.x</p> >+ <p>use “<tt>command -v</tt>” rather than >+ “<tt>type</tt>” in <tt>Ada95/gen/Makefile.in</tt> >+ to fix a portability issue.</p> > </li> > </ul> > >@@ -1693,7 +1422,7 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/current/">ftp://ftp.invisible-island.net/ncurses/current/</a> >+ "https://invisible-island.net/archives/ncurses/current/">https://invisible-island.net/archives/ncurses/current/</a> > and<br> > <a href= > "https://invisible-mirror.net/archives/ncurses/current/">https://invisible-mirror.net/archives/ncurses/current/</a> .</p> >@@ -1703,10 +1432,10 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/6.2/">ftp://ftp.invisible-island.net/ncurses/6.2/</a> >+ "https://invisible-island.net/archives/ncurses/6.3/">https://invisible-island.net/archives/ncurses/6.3/</a> > and<br> > <a href= >- "https://invisible-mirror.net/archives/ncurses/6.2/">https://invisible-mirror.net/archives/ncurses/6.2/</a> .</p> >+ "https://invisible-mirror.net/archives/ncurses/6.3/">https://invisible-mirror.net/archives/ncurses/6.3/</a> .</p> > </blockquote> > > <p>There is an archive of the mailing list here:</p> >Index: dist.mk >Prereq: 1.1518 >--- ncurses-6.3-20221224+/dist.mk 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/dist.mk 2022-12-31 20:43:21.000000000 +0000 >@@ -26,7 +26,7 @@ > # use or other dealings in this Software without prior written # > # authorization. # > ############################################################################## >-# $Id: dist.mk,v 1.1518 2022/12/24 12:35:34 tom Exp $ >+# $Id: dist.mk,v 1.1519 2022/12/31 20:43:21 tom Exp $ > # Makefile for creating ncurses distributions. > # > # This only needs to be used directly as a makefile by developers, but >@@ -37,8 +37,8 @@ > > # These define the major/minor/patch versions of ncurses. > NCURSES_MAJOR = 6 >-NCURSES_MINOR = 3 >-NCURSES_PATCH = 20221224 >+NCURSES_MINOR = 4 >+NCURSES_PATCH = 20221231 > > # We don't append the patch to the version, since this only applies to releases > VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) >Index: doc/hackguide.doc >--- ncurses-6.3-20221224+/doc/hackguide.doc 2019-07-28 18:09:46.000000000 +0000 >+++ ncurses-6.4-20221231/doc/hackguide.doc 2022-12-31 20:38:47.000000000 +0000 >@@ -1,6 +1,8 @@ > A Hacker's Guide to NCURSES > >- Contents >+A Hacker's Guide to NCURSES >+ >+Contents > > * Abstract > * Objective of the Package >@@ -24,7 +26,7 @@ > * Style Tips for Developers > * Porting Hints > >- Abstract >+Abstract > > This document is a hacker's tour of the ncurses library and utilities. > It discusses design philosophy, implementation methods, and the >@@ -32,7 +34,7 @@ > reading for anyone who is interested in porting, extending or > improving the package. > >- Objective of the Package >+Objective of the Package > > The objective of the ncurses package is to provide a free software API > for character-cell terminals and terminal emulators with the following >@@ -52,7 +54,7 @@ > cannot add features if it means breaking the portion of the API > corresponding to historical curses versions. > >-Why System V Curses? >+ Why System V Curses? > > We used System V curses as a model, reverse-engineering their API, in > order to fulfill the first two objectives. >@@ -65,7 +67,7 @@ > X/Open is explicitly and closely modeled on System V. So conformance > with System V took us most of the way to base-level XSI conformance. > >-How to Design Extensions >+ How to Design Extensions > > The third objective (standards conformance) requires that it be easy > to condition source code using ncurses so that the absence of >@@ -80,7 +82,7 @@ > does not define, but which is defined in the ncurses library header. > You can use this to condition the calls to the mouse API calls. > >- Portability and Configuration >+Portability and Configuration > > Code written for ncurses may assume an ANSI-standard C compiler and > POSIX-compatible OS interface. It may also assume the presence of a >@@ -101,7 +103,7 @@ > specification files (configure.in and aclocal.m4) to set up a new > feature macro, which you then use to condition your code. > >- Documentation Conventions >+Documentation Conventions > > There are three kinds of documentation associated with this package. > Each has a different preferred format: >@@ -111,7 +113,7 @@ > > Our conventions are simple: > 1. Maintain package-internal files in plain text. The expected viewer >- for them more(1) or an editor window; there is no point in >+ for them is more(1) or an editor window; there is no point in > elaborate mark-up. > 2. Mark up manual pages in the man macros. These have to be viewable > through traditional man(1) programs. >@@ -127,7 +129,7 @@ > nice-looking printed version from it. Also, of course, it make > exporting things like the announcement document to WWW pretty trivial. > >- How to Report Bugs >+How to Report Bugs > > The reporting address for bugs is bug-ncurses@gnu.org. This is a > majordomo list; to join, write to bug-ncurses-request@gnu.org with a >@@ -228,9 +230,9 @@ > comments of hardscroll.c and hashmap.c; then try it out. You can also > test the hardware-scrolling optimization separately with hardscroll. > >- A Tour of the Ncurses Library >+A Tour of the Ncurses Library > >-Library Overview >+ Library Overview > > Most of the library is superstructure -- fairly trivial convenience > interfaces to a small set of basic functions and data structures used >@@ -303,9 +305,9 @@ > > We will discuss these in the compiler tour. > >-The Engine Room >+ The Engine Room > >- Keyboard Input >+ Keyboard Input > > All ncurses input funnels through the function wgetch(), defined in > lib_getch.c. This function is tricky; it has to poll for keyboard and >@@ -328,7 +330,7 @@ > value. The function timed_wait() effectively simulates a System V > select. > >- Mouse Events >+ Mouse Events > > If the mouse interface is active, wgetch() polls for mouse events each > call, before it goes to the keyboard for input. It is up to >@@ -368,7 +370,7 @@ > accepted to parse the digested mouse reports (low-level events) into a > gesture (a high-level or composite event). > >- Output and Screen Updating >+ Output and Screen Updating > > With the single exception of character echoes during a wgetnstr() call > (which simulates cooked-mode line editing in an ncurses window), the >@@ -412,7 +414,7 @@ > variable _nc_optimize_enable. See the file include/curses.h.in for > mask values, near the end. > >- The Forms and Menu Libraries >+The Forms and Menu Libraries > > The forms and menu libraries should work reliably in any environment > you can port ncurses to. The only portability issue anywhere in them >@@ -428,7 +430,7 @@ > panels support; u386mon 2.10 and beyond use it. This version has been > slightly cleaned up for ncurses. > >- A Tour of the Terminfo Compiler >+A Tour of the Terminfo Compiler > > The ncurses implementation of tic is rather complex internally; it has > to do a trying combination of missions. This starts with the fact >@@ -443,7 +445,7 @@ > the grammar above it is trivial, just "parse entries till you run out > of file". > >-Translation of Non-use Capabilities >+ Translation of Non-use Capabilities > > Translation of most things besides use capabilities is pretty > straightforward. The lexical analyzer's tokenizer hands each >@@ -464,7 +466,7 @@ > of adding one line to the include/Caps file. We will have more to say > about this in the section on Source-Form Translation. > >-Use Capability Resolution >+ Use Capability Resolution > > The background problem that makes tic tricky is not the capability > translation itself, it is the resolution of use capabilities. Older >@@ -512,7 +514,7 @@ > complain about overwriting entries newly made during the tic run, but > not about overwriting ones that predate it. > >-Source-Form Translation >+ Source-Form Translation > > Another use of tic is to do source translation between various termcap > and terminfo formats. There are more variants out there than you might >@@ -536,7 +538,7 @@ > for example, is where the AIX box1 capability get translated to an > acsc string. > >- Other Utilities >+Other Utilities > > The infocmp utility is just a wrapper around the same entry-dumping > code used by tic for source translation. Perhaps the one interesting >@@ -548,7 +550,7 @@ > The tput and clear utilities just do an entry load followed by a > tputs() of a selected capability. > >- Style Tips for Developers >+Style Tips for Developers > > See the TO-DO file in the top-level directory of the source > distribution for additions that would be particularly useful. >@@ -575,7 +577,7 @@ > > Have fun! > >- Porting Hints >+Porting Hints > > The following notes are intended to be a first step towards DOS and > Macintosh ports of the ncurses libraries. >Index: doc/html/ada/terminal_interface-curses_constants__ads.htm >--- ncurses-6.3-20221224+/doc/html/ada/terminal_interface-curses_constants__ads.htm 2022-01-15 18:03:55.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/ada/terminal_interface-curses_constants__ads.htm 2022-12-31 20:38:54.000000000 +0000 >@@ -36,8 +36,8 @@ > <span class="comment"><em>-- Version of the ncurses library from extensions(3NCURSES)</em></span> > > <span class="symbol"><a name="ref_21_4">NCURSES_VERSION_MAJOR</a></span> : <b>constant</b> := 6; >- <span class="symbol"><a name="ref_22_4">NCURSES_VERSION_MINOR</a></span> : <b>constant</b> := 3; >- <span class="symbol"><a name="ref_23_4">Version</a></span> : <b>constant</b> String := "6.3"; >+ <span class="symbol"><a name="ref_22_4">NCURSES_VERSION_MINOR</a></span> : <b>constant</b> := 4; >+ <span class="symbol"><a name="ref_23_4">Version</a></span> : <b>constant</b> String := "6.4"; > > <span class="comment"><em>-- Character non-color attributes from attr(3NCURSES)</em></span> > >Index: doc/html/announce.html >Prereq: 1.67 >--- ncurses-6.3-20221224+/doc/html/announce.html 2022-11-26 17:41:51.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/announce.html 2022-12-31 20:38:46.000000000 +0000 >@@ -1,5 +1,5 @@ > <!-- >- $Id: announce.html,v 1.67 2022/11/26 17:41:51 tom Exp $ >+ $Id: announce.html,v 1.68 2022/12/31 20:38:46 tom Exp $ > **************************************************************************** > * Copyright 2018-2021,2022 Thomas E. Dickey * > * * >@@ -33,7 +33,7 @@ > <head> > <meta name="generator" content= > "HTML Tidy for HTML5 for Linux version 5.6.0"> >- <title>Announcing ncurses 6.3</title> >+ <title>Announcing ncurses 6.4</title> > <link rel="author" href="mailto:bug-ncurses@gnu.org"> > <meta http-equiv="Content-Type" content= > "text/html; charset=us-ascii"> >@@ -56,7 +56,7 @@ > </style> > </head> > <body> >- <h1 class="no-header">Announcing ncurses 6.3</h1> >+ <h1 class="no-header">Announcing ncurses 6.4</h1> > > <h2><a name="h2-overview" id="h2-overview">Overview</a></h2> > >@@ -100,38 +100,33 @@ > including</p> > > <ul> >- <li><a href= >- "https://invisible-island.net/ncurses/man/captoinfo.1m.html"><span class="part-name"> >- captoinfo</span></a>, a termcap conversion tool</li> >+ <li><a href="https://invisible-island.net/ncurses/man/captoinfo.1m.html"><span class= >+ "part-name">captoinfo</span></a>, a termcap conversion >+ tool</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/clear.1.html"><span class="part-name"> >- clear</span></a>, utility for clearing the screen</li> >+ <li><a href="https://invisible-island.net/ncurses/man/clear.1.html"><span class= >+ "part-name">clear</span></a>, utility for clearing the >+ screen</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/infocmp.1m.html"><span class="part-name"> >- infocmp</span></a>, the terminfo decompiler</li> >+ <li><a href="https://invisible-island.net/ncurses/man/infocmp.1m.html"><span class= >+ "part-name">infocmp</span></a>, the terminfo decompiler</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/tabs.1.html"><span class="part-name"> >- tabs</span></a>, set tabs on a terminal</li> >+ <li><a href="https://invisible-island.net/ncurses/man/tabs.1.html"><span class= >+ "part-name">tabs</span></a>, set tabs on a terminal</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/tic.1m.html"><span class="part-name"> >- tic</span></a>, the terminfo compiler</li> >+ <li><a href="https://invisible-island.net/ncurses/man/tic.1m.html"><span class= >+ "part-name">tic</span></a>, the terminfo compiler</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/toe.1m.html"><span class="part-name"> >- toe</span></a>, list (table of) terminfo entries</li> >+ <li><a href="https://invisible-island.net/ncurses/man/toe.1m.html"><span class= >+ "part-name">toe</span></a>, list (table of) terminfo >+ entries</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/tput.1.html"><span class="part-name"> >- tput</span></a>, utility for retrieving terminal capabilities >- in shell scripts</li> >+ <li><a href="https://invisible-island.net/ncurses/man/tput.1.html"><span class= >+ "part-name">tput</span></a>, utility for retrieving terminal >+ capabilities in shell scripts</li> > >- <li><a href= >- "https://invisible-island.net/ncurses/man/tset.1.html"><span class="part-name"> >- tset</span></a>, to initialize the terminal</li> >+ <li><a href="https://invisible-island.net/ncurses/man/tset.1.html"><span class= >+ "part-name">tset</span></a>, to initialize the terminal</li> > </ul> > > <p>Full manual pages are provided for the library and tools.</p> >@@ -142,28 +137,27 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/">ftp://ftp.invisible-island.net/ncurses/</a> >+ "https://invisible-island.net/archives/ncurses/">https://invisible-island.net/archives/ncurses/</a> > or<br> > <a href= > "https://invisible-mirror.net/archives/ncurses/">https://invisible-mirror.net/archives/ncurses/</a> .</p> > </blockquote> > >- <p>It is also available via anonymous FTP at the GNU distribution >- site</p> >+ <p>It is also available at the GNU distribution site</p> > > <blockquote> > <p><a href= >- "ftp://ftp.gnu.org/gnu/ncurses/">ftp://ftp.gnu.org/gnu/ncurses/</a> .</p> >+ "https://ftp.gnu.org/gnu/ncurses/">https://ftp.gnu.org/gnu/ncurses/</a> .</p> > </blockquote> > > <h2><a name="h2-release-notes" id="h2-release-notes">Release > Notes</a></h2> > > <p>These notes are for <span class="main-name">ncurses</span> >- 6.3, released <strong>October 21, 2021</strong>.</p> >+ 6.4, released <strong>December 31, 2022</strong>.</p> > > <p>This release is designed to be source-compatible with >- <span class="main-name">ncurses</span> 5.0 through 6.2; providing >+ <span class="main-name">ncurses</span> 5.0 through 6.3; providing > extensions to the application binary interface (ABI). Although > the source can still be configured to support the <span class= > "main-name">ncurses</span> 5 ABI, the reason for the release is >@@ -175,127 +169,73 @@ > this announcement.</p> > > <p>The most <a href="#h3-bug-fixes">important >- bug-fixes/improvements</a> dealt with portability issues. The >+ bug-fixes/improvements</a> dealt with robustness issues. The > release notes also mention some other bug-fixes, but are focused > on new features and improvements to existing features since >- <span class="main-name">ncurses</span> 6.2 release.</p> >+ <span class="main-name">ncurses</span> 6.3 release.</p> > > <h3><a name="h3-library" id="h3-library">Library improvements</a></h3> > > <h4><a name="h4-new-library" id="h4-new-library">New features</a></h4> > >- <p>There are a few new features:</p> >- >- <ul> >- <li> >- <p>A new (experimental) driver, for the Windows Terminal >- configuration is provided.</p> >- </li> >- >- <li> >- <p>A script is provided which enables <a href= >- "https://invisible-island.net/ncurses/ncurses-openbsd.html">OpenBSD</a> >- users to upgrade their system to use ncurses 6.3 (OpenBSD >- developers are also invited to do this).</p> >- </li> >- </ul> >- >- <p>Additionally, to improve performance other changes (and >- extensions) are provided in this release:</p> >- >- <ul> >- <li> >- <p>modify lib_mouse.c to check for out-of-range button >- numbers, convert those to position reports.</p> >- </li> >- >- <li> >- <p>add sp-funcs for <a href= >- "https://invisible-island.net/ncurses/man/curs_termattrs.3x.html#h3-erasechar_-erasewchar"> >- erasewchar</a>, <a href= >- "https://invisible-island.net/ncurses/man/curs_termattrs.3x.html#h3-killchar_-killwchar"> >- killwchar</a>.</p> >- </li> >- </ul> >+ <p>There are no new features in this release.</p> > > <h4><a name="h4-fixes-library" id="h4-fixes-library">Other > improvements</a></h4> > >- <p>These are revised features:</p> >- >- <ul> >- <li>modify wgetnstr, wgetn_wstr to improve compatibility with >- SVr4 curses in its treatment of interrupt and quit >- characters</li> >- </ul> >- >- <p>These were done to limit or ultimately deprecate features:</p> >+ <p>These are improvements to existing features:</p> > > <ul> > <li> >- <p>mark wgetch-events feature as deprecated.</p> >- >- <ul> >- <li> >- <p>prevent <tt>KEY_EVENT</tt> from appearing in >- <tt>curses.h</tt> unless the configure option >- <code>--enable-wgetch-events</code> is used.</p> >- </li> >- >- <li> >- <p>modify <tt>MKkey_defs.sh</tt> to hide ncurses' >- definition of <tt>KEY_EVENTS</tt> to reduce <em>Visual >- Studio C++</em> redefinition warnings.</p> >- </li> >- </ul> >+ <p>modify <tt>delscreen</tt> to more effectively delete all >+ windows on the given screen.</p> > </li> > > <li> >- <p>reduce build-warnings by excluding ncurses-internals from >- deprecation warnings.</p> >+ <p>modify <tt>wnoutrefresh</tt> to call <tt>pnoutrefresh</tt> >+ if its parameter is a pad, rather than treating it as an >+ error, and modify new_panel to permit its window-parameter to >+ be a pad</p> > </li> >- </ul> > >- <p>These are improvements to existing features:</p> >+ <li> >+ <p>modify curses_trace() to show the trace-mask as symbols, >+ e.g., <tt>TRACE_ORDINARY</tt>, <tt>DEBUG_LEVEL(3)</tt>.</p> >+ </li> > >- <ul> > <li> >- <p>drop symbols <em>GCC_PRINTF</em> and <em>GCC_SCANF</em> >- from <curses.h>, to simplify use.</p> >+ <p>improve checks for valid mouse events when an intermediate >+ mouse state is not part of the mousemask specified by the >+ caller</p> > </li> > > <li> >- <p>apply gcc format attribute to prototypes which use a >- va_list parameter rather than a “<tt>...</tt>” >- variable-length parameter list.</p> >+ <p>allow extended-color number in <em>opts</em> parameter of >+ <tt>wattr_on</tt>.</p> > </li> > > <li> >- <p>modify <term.h> so that it is not necessary to >- include <curses.h> before <term.h>.</p> >+ <p>improve <tt>_tracecchar_t2</tt> formatting of >+ base+combining character.</p> > </li> > > <li> >- <p>provide for wide-characters as background character in >- wbkgrnd</p> >+ <p>trim out some unwanted linker options from ncurses*config >+ and .pc files seen in Fedora 36+.</p> > </li> > > <li> >- <p>improve parameter-checking for tparm, adding function >- _nc_tiparm() to handle the most-used case, which accepts only >- numeric parameters.</p> >+ <p>improve shell-scripts with <em>shellcheck</em></p> > </li> > > <li> >- <p>use return-value from <em>vsnprintf</em> to reallocate as >- needed to allow for buffers larger than the screen size.</p> >+ <p>improve use of "trap" in shell scripts, using a >+ script.</p> > </li> > > <li> >- <p>add another <em>fflush(stdout)</em> in <em>_nc_flush</em> >- to handle time-delays in the middle of strings such as flash >- when the application uses low-level calls rather than >- curses.</p> >+ <p>modify <tt>make-tar.sh</tt> scripts to make timestamps >+ more predictable.</p> > </li> > </ul> > >@@ -303,18 +243,19 @@ > > <ul> > <li> >- <p>add a check to guard against <em>repeat_char</em> emitting >- digits which could be interpreted as BSD-style padding when >- <tt>--enable-bsdpad</tt> is configured.</p> >+ <p>modify <tt>misc/gen-pkgconfig.in</tt> to allow for the >+ case where the library directory does not yet exist, since >+ this is processed before doing an install</p> >+ </li> >+ >+ <li> >+ <p>set trailing null on string passed from <tt>winsnstr</tt> >+ to <tt>wins_nwstr</tt>.</p> > </li> > > <li> >- <p>check for screen size-change in <a href= >- "https://invisible-island.net/ncurses/man/curs_scr_dump.3x.html"> >- scr_init</a> and <a href= >- "https://invisible-island.net/ncurses/man/curs_scr_dump.3x.html"> >- scr_restore</a>, in case a screen dump does not match the >- current screen dimensions</p> >+ <p>modify <tt>waddch_literal</tt> to allow for double-width >+ base character when merging a combining character</p> > </li> > </ul> > >@@ -326,177 +267,96 @@ > > <dl> > <dt><span class="part-name"><a href= >- "https://invisible-island.net/ncurses/man/tabs.1.html">tabs</a></span> >+ "https://invisible-island.net/ncurses/man/infocmp.1m.html">infocmp</a></span> > </dt> > > <dd> > <ul> >- <li> >- <p>implement “<tt>+m</tt>” option</p> >- </li> >+ <li>rewrite <tt>canonical_name</tt> function of >+ <tt>infocmp</tt> to ensure buffer size</li> >+ >+ <li>improve readability of long parameterized expressions >+ with the infocmp “<tt>-f</tt>” option by >+ allowing split before a “<tt>%p</tt>” >+ marker.</li> >+ >+ <li>modify verbose-option of <tt>infocmp</tt>, >+ <tt>tic</tt>, <tt>toe</tt> to enable debug-tracing if that >+ is configured.</li> > </ul> > </dd> > > <dt><span class="part-name"><a href= >- "https://invisible-island.net/ncurses/man/tic.1m.html">tic</a></span> >+ "https://invisible-island.net/ncurses/man/tabs.1.html">tabs</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>add check for duplicate “<tt>use=</tt>” >- clauses.</p> >- </li> >- >- <li> >- <p>add check to report instances where <tt>tparm</tt> >- would detect an error in an expression.</p> >- </li> >- >- <li> >- <p>add user-defined capabilities from <em>mintty</em> to >- <tt>Caps-ncurses</tt>, for checking consistency.</p> >- </li> >- >- <li> >- <p>improve warning when oc/op do not mention SGR 39/49 >- for <em>xterm</em> compatible <code>XT</code> flag.</p> >- </li> >- >- <li> >- <p>improve checks for number of parameters of >- <code>smglp</code>, <code>smgrp</code>, >- <code>smgtp</code>, and <code>smgbp</code>.</p> >- </li> >- >- <li> >- <p>improve “<tt>-c</tt>” option to validate >- the number and type of parameters and compare against >- expected number/type before deciding which set of >- parameter-lists to use in tparm calls.</p> >- </li> >- >- <li> >- <p>improve check for errors detected in >- <code>tparm</code>.</p> >- </li> >- >- <li> >- <p>improve format of output, to ensure that the messages >- contain only printable text.</p> >- </li> >- >- <li> >- <p>modify to eliminate unnecessary >- “<code>\</code>” to escape >- “<code>:</code>” in terminfo format.</p> >- </li> >- >- <li> >- <p>remove check that assumes that none or both >- parameterized and non-parameterized margin-setting >- capabilities are present.</p> >- </li> >- </ul> >- </dd> >+ <dd>limit tab-stop values to max-columns</dd> > > <dt><span class="part-name"><a href= >- "https://invisible-island.net/ncurses/man/toe.1m.html">toe</a></span> >+ "https://invisible-island.net/ncurses/man/tic.1m.html">tic</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>modify output of “<tt>toe -as</tt>” to >- show first description found rather than the last.</p> >- </li> >- >- <li> >- <p>add a check to ensure that a “termcap >- file” is text rather than binary.</p> >- </li> >- </ul> >- </dd> >+ <dd>add consistency check in tic for u6/u7/u8/u9 and NQ >+ capabilities.</dd> > > <dt><span class="part-name"><a href= > "https://invisible-island.net/ncurses/man/tput.1.html">tput</a></span> > </dt> > >- <dd> >- <ul> >- <li> >- <p>modify to allow multiple commands per line.</p> >- </li> >- >- <li> >- <p>improve parameter-checking by analyzing all extended >- string capabilities, e.g., as used in the <code>Cs</code> >- and <code>Ms</code> capabilities of the <em>tmux</em> >- description.</p> >- </li> >- >- <li> >- <p>make warning messages consistently using alias names >- when those are used, rather than the underlying program's >- name.</p> >- </li> >- >- <li> >- <p>improve usage message for aliases such as >- <em>clear</em>, by eliminating <em>tput</em>-specific >- portions.</p> >- </li> >- >- <li> >- <p>modify initialization to avoid opening >- <tt>/dev/tty</tt> for cases other than >- <em>reset/init</em>, e.g., for <em>clear</em>.</p> >- </li> >- </ul> >- </dd> >+ <dd>corrected use of original tty-modes in <em>init/reset</em> >+ subcommands</dd> > </dl> > > <h4><a name="h4-examples" id="h4-examples">Examples</a></h4> > > <p>Along with the library and utilities, improvements were made > to the <a href= >- "https://invisible-island.net/ncurses/ncurses-examples.html">ncurses-examples</a>. >- Most of this activity aimed at improving the test-packages. A few >- changes are more generally useful, e.g., for the main ncurses >- test-program, and for analyzing traces using the >- <em>tracemunch</em> script:</p> >+ "https://invisible-island.net/ncurses/ncurses-examples.html">ncurses-examples</a>. Most of >+ this activity aimed at improving the test-packages:</p> > > <ul> > <li> >- <p>add “<tt>-r</tt>” option to the <em>dots</em> >- test-programs, to help with scripting a performance >- comparison.</p> >+ <p>add minimal <tt>-h</tt> (usage) and <tt>-V</tt> (version) >+ getopt logic to all ncurses-examples programs.</p> >+ </li> >+ >+ <li> >+ <p>fix an error in "@" command in <tt>test/ncurses.c</tt> >+ F-menu</p> > </li> > > <li> >- <p>build-fix for <em>test_opaque</em>, for configurations >- without opaque curses structs, e.g., ncurses 5.7.</p> >+ <p>add curses_trace to ifdef's for <tt>START_TRACE</tt> in >+ <tt>test/test.priv.h</tt></p> > </li> > > <li> >- <p>improve <em>tracemunch</em> logic for "RUN" >- compaction.</p> >+ <p>improve pthread-configuration for test/worm.c</p> > </li> > > <li> >- <p>improve <em>tracemunch</em>'s coverage of form/menu/panel >- libraries.</p> >+ <p>add <tt>setlocale</tt> call to several test-programs.</p> > </li> > > <li> >- <p>improve <em>tracemunch</em>'s checking/reporting the type >- for the first parameter, e.g., "WINDOW*" rather than >- "#1".</p> >+ <p>workaround in <tt>test/picsmap.c</tt> for use of floating >+ point for rgb values by ImageMagick 6.9.11, which appears to >+ use the wrong upper limit.</p> > </li> > > <li> >- <p>modify <em>tracemunch</em> and the panel library to show >- readable traces for panel- and user-pointers.</p> >+ <p>use static libraries for AdaCurses test-package for >+ Mageia, since no gprbuild package is available.</p> >+ </li> >+ >+ <li> >+ <p>install Ada95 sample programs in libexecdir, adding a >+ wrapper script to invoke those.</p> >+ </li> >+ >+ <li> >+ <p>install ncurses-examples programs in libexecdir, adding a >+ wrapper script to invoke those.</p> > </li> > </ul> > >@@ -504,301 +364,218 @@ > examples:</p> > > <dl> >- <dt><span class="part-name"><em>back_ground</em></span> >+ <dt><span class="part-name"><em>test/combine</em></span> >+ </dt> >+ >+ <dd>demonstrate combining characters</dd> >+ >+ <dt><span class="part-name"><em>test/test_delwin</em></span> > </dt> > >- <dd>to exercise the wide-character background functions.</dd> >+ <dd>demonstrate deleting a window</dd> > >- <dt><span class="part-name"><em>move_field</em></span> >+ <dt><span class="part-name"><em>test/test_mouse</em></span> > </dt> > >- <dd>to demonstrate <a href= >- "https://invisible-island.net/ncurses/man/form_field.3x.html">move_field</a>, >- and a stub for a corresponding demo of <a href= >- "https://invisible-island.net/ncurses/man/form_field_new.3x.html"> >- dup_field</a>.</dd> >+ <dd>observe mouse events in the raw terminal or parsed ncurses >+ modes</dd> > >- <dt><span class="part-name"><em>test_tparm</em></span> >+ <dt><span class="part-name"><em>test/test_unget_wch</em></span> > </dt> > >- <dd>for checking <em>tparm</em> changes.</dd> >+ <dd>demonstrate the unget_wch and unget functions</dd> > </dl> > > <h3><a name="h3-database" id="h3-database">Terminal database</a></h3> > > <p>There are several new terminal descriptions:</p> > >- <blockquote style="word-break:keep-all"> >- <p><tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-absolute"> >- absolute</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis"> >- att610+cvis</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot"> >- foot</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot-direct"> >- foot-direct</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp98550-color"> >- hp98550-color</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hpterm-color2"> >- hpterm-color2</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hterm"> >- hterm</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hterm-256color"> >- hterm-256color</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux-s"> >- linux-s</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty_keypad"> >- putty+keypad</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty_screen"> >- putty+screen</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty-screen"> >- putty-screen</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen.linux-s"> >- screen.linux-s</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-scrt/securecrt"> >- scrt/securecrt</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-tmux-direct"> >- tmux-direct</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis"> >- vt220+cvis</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis8"> >- vt220+cvis8</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_pcedit"> >- vt220+pcedit</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_vtedit"> >- vt220+vtedit</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220-base"> >- vt220-base</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt52_keypad"> >- vt52+keypad</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_256color2"> >- xterm+256color2</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_88color2"> >- xterm+88color2</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct16"> >- xterm-direct16</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct256"> >- xterm-direct256</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_nofkeys"> >- xterm+nofkeys</a></tt>, and <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_nopcfkeys"> >- xterm+nopcfkeys</a></tt>.</p> >- </blockquote> >- >- <p>There are many changes to existing terminal descriptions. Some >- were updates to several descriptions:</p> >- > <ul> >- <li>correct use-ordering in some <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct"> >- xterm-direct</a> flavors</li> >- >- <li>fix some sgr inconsistencies in <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-d230c"> >- d230c</a>, <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ibm6153"> >- ibm6153</a>, <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ibm6154"> >- ibm6154</a>, <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ncrvt100an"> >- ncrvt100an</a></li> >- >- <li>improve <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt50h"> >- vt50h</a> and <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt52"> >- vt52</a> based on DECScope manual</li> >- >- <li>use <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp_arrows"> >- hp+arrows</a> in a few places</li> >- >- <li>use <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp_pfk-cr"> >- hp+pfk-cr</a> in a few places</li> >- >- <li>use <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis"> >- vt220+cvis</a> in <tt>st</tt>, <tt>terminology</tt>, >- <tt>termite</tt> since they ignore blinking-cursor detail in >- <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis"> >- att610+cvis</a></li> >- </ul> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-mosh">mosh</a></tt> >+ </li> > >- <p>while others affected specific descriptions. These were >- retested, to take into account changes by their developers:</p> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-mosh-256color">mosh-256color</a></tt> >+ </li> > >- <blockquote> >- <p><tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty_common"> >- kitty+common</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-mlterm3"> >- mlterm3</a></tt>, <tt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ms-terminal"> >- ms-terminal</a></tt></p> >- </blockquote> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-16color">teken-16color</a></tt> >+ </li> > >- <p>while these are specific fixes based on reviewing >- documentation, user reports, or warnings from <span class= >- "part-name">tic</span>:</p> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-sc">teken-sc</a></tt> >+ </li> > >- <dl> >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-aaa_dec"> >- aaa+dec</a>, aaa+rv</dt> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-vt">teken-vt</a></tt> >+ </li> > >- <dd>correct rmacs/smacs</dd> >+ <li><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-xgterm">xgterm</a></tt> >+ </li> >+ </ul> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-aaa_rv"> >- aaa+rv</a> >- </dt> >+ <p>There are many changes to existing terminal descriptions. Some >+ were updates to several descriptions:</p> > >- <dd>correct sgr</dd> >+ <ul> >+ <li> >+ <p>make description-fields distinct</p> >+ </li> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-icl6404"> >- icl6404</a> >- </dt> >+ <li> >+ <p>fix errata in description fields</p> >+ </li> > >- <dd>correct csr</dd> >+ <li> >+ <p>add/use several building-blocks:</p> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty"> >- kitty</a> >- </dt> >+ <ul> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-aixterm_sl"><tt>aixterm+sl</tt></a></li> > >- <dd>use att610+cvis, xterm+tmux and ansi+enq</dd> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-ansi_cpr"><tt>ansi+cpr</tt></a></li> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-konsole-base"> >- konsole-base</a> >- </dt> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-apollo_vt132"><tt>apollo+vt132</tt></a></li> > >- <dd>re-enable "bel"</dd> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-decid_cpr"><tt>decid+cpr</tt></a></li> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux2.6"> >- linux2.6</a> >- </dt> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-ncr260vp_sl"><tt>ncr260vp+sl</tt></a></li> > >- <dd>fix pound-sign mapping in acsc</dd> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-wyse_sl"><tt>wyse+sl</tt></a></li> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux3.0"> >- linux3.0</a> >- </dt> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-x10term_sl"><tt>x10term+sl</tt></a></li> > >- <dd>modify to reflect default mapping of shift-tab by kbd >- 1.14</dd> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_acs"><tt>xterm+acs</tt></a></li> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-pccons"> >- pccons</a> >- </dt> >+ <li><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_alt47"><tt>xterm+alt47</tt></a></li> >+ </ul> >+ </li> >+ </ul> > >- <dd>fill in some missing pieces, to make it comparable to the >- vt220 entry</dd> >+ <p>while others affected specific descriptions. These were >+ retested, to take into account changes by their developers:</p> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty"> >- putty</a> >- </dt> >+ <ul> >+ <li> >+ <p><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty">kitty</a></tt> >+ </p> >+ </li> > >- <dd>use vt100+fnkeys, add rep</dd> >+ <li> >+ <p><tt><a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken">teken</a></tt> >+ </p> >+ </li> >+ </ul> >+ >+ <p>while these are specific fixes based on reviewing >+ documentation, user reports, or warnings from <span class= >+ "part-name">tic</span>:</p> > >+ <dl> > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen"> >- screen</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis0">att610+cvis0</a> > </dt> > >- <dd>use vt100+enq</dd> >+ <dd>amended note as per documentation for att610, att620, >+ att730</dd> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-terminator"> >- terminator</a> >- </dt> >+ <dt><a href="https://invisible-island.net/ncurses/terminfo.src.html#tic-kon">kon</a>, >+ kon2, jfbterm</dt> > >- <dd>corrected tsl capability</dd> >+ <dd>revise to undo "linux2.6" change to smacs/rmacs/enacs</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ti916"> >- ti916</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-st-0_6">st-0.6</a> > </dt> > >- <dd>correct cup</dd> >+ <dd>add dim, ecma+strikeout</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-tmux"> >- tmux</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot_base">foot+base</a> > </dt> > >- <dd>change kbs to ^?</dd> >+ <dd>add xterm+sl-alt</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220"> >- vt220</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-dec_sl">dec+sl</a> > </dt> > >- <dd>use vt220+cvis</dd> >+ <dd>correct dsl in dec+sl</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt420_lrmm"> >- vt420+lrmm</a> >- </dt> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-mintty">mintty</a> and >+ tmux</dt> > >- <dd>add smglp and smgrp</dd> >+ <dd>correct setal in mintty/tmux entries, add to vte-2018</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt420"> >- vt420</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-nsterm">nsterm</a> > </dt> > >- <dd>use vt420+lrmm</dd> >+ <dd>modify nsterm to use xterm+alt1049</dd> > >- <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-new"> >- xterm-new</a> >+ <dt><a href="https://invisible-island.net/ncurses/terminfo.src.html#tic-putty">putty</a> > </dt> > >- <dd>add nel</dd> >+ <dd>modify putty to use xterm+alt1049</dd> > > <dt><a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-vt52"> >- xterm-vt52</a> >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-vte-2018">vte-2018</a> > </dt> > >- <dd>use vt52+keypad</dd> >+ <dd>add blink and setal</dd> > </dl> > > <p>A few entries use extensions (user-defined terminal > capabilities):</p> > > <ul> >- <li>add shifted Linux console keys in <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux_sfkeys"> >- linux+sfkeys</a> entry for <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen.linux"> >- screen.linux</a></li> >- >- <li>add Smulx to <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-alacritty"> >- alacritty</a></li> >- >- <li>add kbeg to <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_keypad"> >- xterm+keypad</a> to accommodate termcap applications</li> >- >- <li>add extensions in <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_tmux"> >- xterm+tmux</a> and <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ecma_strikeout"> >- ecma+strikeout</a> to <a href= >- "https://invisible-island.net/ncurses/terminfo.src.html#tic-ms-terminal"> >- ms-terminal</a>, but cancel the non-working Cr and Ms >- capabilities</li> >+ <li> >+ <p>use <tt>ansi+enq</tt> and <tt>decid+cpr</tt> in cases >+ where the terminal probably supported the u6-u9 extension</p> >+ </li> >+ >+ <li> >+ <p>remove u6-u9 from teken-2018</p> >+ </li> >+ >+ <li> >+ <p>use <tt>NQ</tt> to flag entries where the terminal does >+ not support query and response</p> >+ </li> >+ >+ <li> >+ <p>add/use <a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-bracketed_paste"><tt>bracketed+paste</tt></a> >+ to help identify terminals supporting this xterm feature</p> >+ </li> >+ >+ <li> >+ <p>modify samples for xterm mouse 1002/1003 modes to use 1006 >+ mode, and also provide for focus in/out responses</p> >+ </li> >+ >+ <li> >+ <p>xterm patch #371 supports DEC-compatible status-line. add >+ <tt>dec+sl</tt> to xterm-new, per xterm #371, add <a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-p371"><tt>xterm-p371</tt></a>, >+ add <a href= >+ "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-p370"><tt>xterm-p370</tt></a>, >+ for use in older terminals, and set “xterm-new” >+ to “xterm-p370” (to ease adoption).</p> >+ </li> > </ul> > > <h3><a name="h3-documentation" id= >@@ -818,9 +595,8 @@ > > <li> > <p>fills in overlooked descriptions of features which were >- described in the <a href= >- "https://invisible-island.net/ncurses/NEWS.html">NEWS</a> >- file but treated sketchily in manual pages.</p> >+ described in the <a href="https://invisible-island.net/ncurses/NEWS.html">NEWS</a> file >+ but treated sketchily in manual pages.</p> > </li> > </ul> > >@@ -834,19 +610,16 @@ > > <ul> > <li> >- <p>make <em>opts</em> extension for <a href= >- "https://invisible-island.net/ncurses/man/curs_getcchar.3x.html#h3-getcchar"> >- <tt>getcchar</tt></a> work as documented for <a href= >- "https://invisible-island.net/ncurses/announce-6.1.html#h4-new-library"> >- ncurses 6.1</a>, adding “<tt>-g</tt>” flag to >- <em>demo_new_pair</em> to illustrate.</p> >+ <p>remove a stray '/' from description of <tt>%g</tt> in >+ <a href= >+ "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Parameterized-Strings"> >+ terminfo(5)</a>.</p> > </li> > > <li> >- <p>modify <a href= >- "https://invisible-island.net/ncurses/man/tset.1.html">tset</a> >- “-q” option to refrain from modifying >- terminal modes, to match the documentation.</p> >+ <p>correct/improve font-formatting in <a href= >+ "https://invisible-island.net/ncurses/man/curs_getch.3x.html">curs_getch.3x</a>, as >+ well as other manual pages.</p> > </li> > </ul> > </li> >@@ -856,48 +629,17 @@ > > <ul> > <li> >- <p>improve documentation for <a href= >- "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Parameterized-Strings"> >- tparm</a> and static/dynamic variables.</p> >- </li> >- >- <li> >- <p>add history note to <a href= >- "https://invisible-island.net/ncurses/man/curs_scanw.3x.html#h2-HISTORY"> >- curs_scanw.3x</a> for <stdarg.h> and >- <varargs.h></p> >- </li> >- >- <li> >- <p>add history note to <a href= >- "https://invisible-island.net/ncurses/man/curs_printw.3x.html#h2-HISTORY"> >- curs_printw.3x</a> for <stdarg.h> and >- <varargs.h></p> >- </li> >- >- <li> >- <p>add portability note to <a href= >- "https://invisible-island.net/ncurses/man/ncurses.3x.html#h3-Header-files"> >- ncurses.3x</a> regarding <stdarg.h></p> >- </li> >- >- <li> >- <p>add historical notes to <a href= >- "https://invisible-island.net/ncurses/man/tput.1.html#h2-HISTORY"> >- tput</a>, <a href= >- "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h2-HISTORY"> >- curses-terminfo</a> and <a href= >- "https://invisible-island.net/ncurses/man/curs_color.3x.html#h2-HISTORY"> >- curses-color</a> manpages based on source-code for SVr2, >- SVr3 and SVr4.</p> >+ <p>add portability notes for <a href= >+ "https://invisible-island.net/ncurses/man/curs_initscr.3x.html#h2-PORTABILITY">delscreen</a> >+ and <a href= >+ "https://invisible-island.net/ncurses/man/curs_window.3x.html#h2-PORTABILITY">delwin</a> >+ in manual.</p> > </li> > > <li> >- <p>improve history section for <a href= >- "https://invisible-island.net/ncurses/man/tset.1.html#h2-HISTORY"> >- tset</a> manpage based on the 1BSD tarball, which >- preceded BSD's SCCS checkins by more than three >- years.</p> >+ <p>improve <a href= >+ "https://invisible-island.net/ncurses/man/curs_slk.3x.html#h2-EXTENSIONS">curs_slk.3x</a> >+ discussion of extensions and portability</p> > </li> > </ul> > </li> >@@ -907,66 +649,64 @@ > > <ul> > <li> >- <p>explain in <a href= >- "https://invisible-island.net/ncurses/man/ncurses.3x.html#h2-ALTERNATE-CONFIGURATIONS"> >- ncurses.3x</a> that functions in the tinfo library do not >- rely upon wide-characters.</p> >+ <p>improve <a href= >+ "https://invisible-island.net/ncurses/man/curs_bkgd.3x.html">curs_bkgd.3x</a>, >+ explaining that <tt>bkgdset</tt> can affect results for >+ <tt>bkgd</tt></p> > </li> > > <li> >- <p>improve manual page for <a href= >- "https://invisible-island.net/ncurses/man/panel.3x.html#h2-PORTABILITY"> >- panel</a> library, extending the portability section as >- well as documenting error-returns.</p> >+ <p>add note on portable memory-leak checking in <a href= >+ "https://invisible-island.net/ncurses/man/curs_memleaks.3x.html#h2-PORTABILITY">curs_memleaks.3x</a></p> > </li> > > <li> >- <p>add section on margins to <a href= >- "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Margins"> >- terminfo.5</a>, adapted from X/Open Curses.</p> >+ <p>expanded description in <a href= >+ "https://invisible-island.net/ncurses/man/resizeterm.3x.html">resizeterm.3x</a></p> > </li> > > <li> >- <p>improve <a href= >- "https://invisible-island.net/ncurses/man/term.5.html#h3-LEGACY-STORAGE-FORMAT"> >- man/term.5</a> section on legacy storage format.</p> >+ <p>add section on releasing memory to <a href= >+ "https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h3-Releasing-Memory"> >+ curs_termcap.3x</a> and <a href= >+ "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h3-Releasing-Memory"> >+ curs_terminfo.3x</a> manpages.</p> > </li> > > <li> >- <p>add a note in <a href= >- "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Predefined-Capabilities"> >- terminfo.5</a> explaining that no-parameter strings such >- as <em><tt>sgr0</tt></em> or <em><tt>cnorm</tt></em> >- should not be used with tparm.</p> >+ <p>add clarification of the scope of dynamic variables in >+ <a href= >+ "https://invisible-island.net/ncurses/man/terminfo.5.html">terminfo(5)</a>.</p> > </li> > > <li> >- <p>improve description of BSD-style padding in <a href= >- "https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h2-BUGS"> >- curs_termcap.3x</a></p> >+ <p>improve formatting of <a href= >+ "https://invisible-island.net/ncurses/ncurses-intro.html">ncurses-intro.html</a> >+ and <a href= >+ "https://invisible-island.net/ncurses/hackguide.html">hackguide.html</a></p> >+ </li> >+ >+ <li> >+ <p>improve <a href= >+ "https://invisible-island.net/ncurses/man/curs_clear.3x.html">curs_clear.3x</a> >+ links to other pages</p> > </li> > > <li> >- <p>improve discussion of padding versus <tt>tparm</tt> >- and <tt>tputs</tt> in <a href= >- "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h3-Formatting-Output"> >- man/curs_terminfo.3x</a></p> >+ <p>update <a href= >+ "https://invisible-island.net/ncurses/howto/NCURSES-Programming-HOWTO.html">ncurses-howto</a>, >+ making documentation fixes along with corrections to >+ example programs.</p> > </li> > > <li> >- <p>add a note in manual page to explain <a href= >- "https://invisible-island.net/ncurses/man/curs_getch.3x.html#h3-Ungetting-characters"> >- ungetch</a> vs <a href= >- "https://invisible-island.net/ncurses/man/curs_get_wch.3x.html#h3-unget_wch"> >- unget_wch</a>.</p> >+ <p>use newer version 1.36 of gnathtml for generating Ada >+ html files.</p> > </li> > > <li> >- <p>improve description of error-returns in <a href= >- "https://invisible-island.net/ncurses/man/curs_addch.3x.html#h2-RETURN-VALUE"> >- waddch</a> and <a href= >- "https://invisible-island.net/ncurses/man/curs_addstr.3x.html#h2-RETURN-VALUE"> >- waddnstr</a> manual pages.</p> >+ <p>update external links in <a href= >+ "https://invisible-island.net/ncurses/Ada95.html">Ada95.html</a></p> > </li> > </ul> > </li> >@@ -975,62 +715,49 @@ > <p>There are no new manual pages (all of the manual page updates > are to existing pages).</p> > >- <p>Some of the improvements are more subtle, relating to the way >- the information is presented. For instance, hyphenation is >- suppressed in the HTML files generated from manual pages because >- an upgrade to <em>groff</em> gave noticeably poorer results, >- interfering with the process of creating links between the >- resulting webpages.</p> >- > <h3><a name="h3-bug-fixes" id="h3-bug-fixes">Interesting > bug-fixes</a></h3> > > <p>While there were many bugs fixed during development of ncurses >- 6.3, only a few (the reason for this release) were both important >+ 6.4, only a few (the reason for this release) were both important > and interesting. Most of the bug-fixes were for local issues > which did not affect compatibility across releases. Since those > are detailed in the <a href= >- "https://invisible-island.net/ncurses/NEWS.html#t20211018">NEWS</a> >- file no elaboration is needed here.</p> >+ "https://invisible-island.net/ncurses/NEWS.html#t20221231">NEWS</a> file no elaboration is >+ needed here.</p> > >- <p>The interesting bugs were:</p> >+ <p>The interesting bugs were those dealing with memory leaks and >+ buffer overflows. Although the utilities are designed for >+ <em>text</em> files (which they do properly), some choose to test >+ them with <strong>non-</strong><em>text</em> files.</p> > > <ul> > <li> >- <p>modify <a href= >- "https://invisible-island.net/ncurses/man/curs_bkgd.3x.html#h3-bkgd"> >- wbkgd</a> and <a href= >- "https://invisible-island.net/ncurses/man/curs_bkgrnd.3x.html#h3-bkgrnd"> >- wbkgrnd</a> to avoid storing a null in the background >- character, because it may be used in cases where the >- corresponding 0x80 is not treated as a null.</p> >- >- <p>This was a regression introduced in ncurses 6.2 (<a href= >- "https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00000.html">reported</a> >- on the mailing list), for which the workaround was to specify >- a blank for the background character.</p> >+ <p>Text files contain no embedded nulls. Also, they end with >+ a newline. Feeding <strong>tic</strong> non-text files >+ exposed a few cases where the program did not check for those >+ issues. As a result, further processing of the input found >+ limit-checks whose assumptions were invalid.</p> > </li> > > <li> >- <p>remove output-related checks for <a href= >- "https://invisible-island.net/ncurses/man/curs_outopts.3x.html"> >- nl/nonl</a> (also <a href= >- "https://lists.gnu.org/archive/html/bug-ncurses/2020-09/msg00018.html"> >- reported</a> on the mailing list).</p> >+ <p>Fixing the limit-checks (first) found a problem with >+ <strong>tic</strong> managing the list of strings in a >+ terminal description. In merging two terminal descriptions >+ (i.e., the “use=” feature), <strong>tic</strong> >+ was not allocating a complete copy. A quick repair for that >+ introduced a memory leak.</p> > </li> > > <li> >- <p>improve tparm implementation of <tt>%P</tt> and >- <tt>%g</tt>, more closely matching SVr4 terminfo. Those >- denote <em>static</em> and <em>dynamic</em> variables in >- terminfo expressions.</p> >- >- <p>Exactly what those terms meant was never documented before >- in any implementation of curses, aside from source code. >- Unlike the other two fixes, the problem was discovered while >- studying OpenBSD's version of <a href= >- "https://invisible-island.net/ncurses/ncurses-openbsd.html#issue_tput"> >- tset</a>.</p> >+ <p>The checks for non-text files are improved (i.e., embedded >+ nulls in the input file will cause <strong>tic</strong> to >+ reject it rather than attempting to process it).</p> >+ </li> >+ >+ <li> >+ <p>The string allocations in <strong>tic</strong> are >+ likewise improved.</p> > </li> > </ul> > >@@ -1040,9 +767,7 @@ > <h4><a name="h4-config-major" id="h4-config-major">Major > changes</a></h4> > >- <p>There are no major changes. Several new options were added to >- ease integration of packages with systems using different >- versions of <em>GNAT</em> and <em>ncurses</em>. Also, >+ <p>There are no major changes. No new options were added. Several > improvements were made to configure checks.</p> > > <h4><a name="h4-config-options" id= >@@ -1051,73 +776,35 @@ > <p>There are a few new/modified configure options:</p> > > <dl> >- <dt><tt>--enable-fvisibility</tt> >- </dt> >- >- <dd> >- <p>new configure option and check for <em>gcc</em> >- <tt>-fvisibility=hidden</tt> feature</p> >- </dd> >- >- <dt><tt>--enable-leaks</tt> >+ <dt><tt>--with-abi-version</tt> > </dt> > > <dd> >- <p>corrected to allow turning leak-checking off later in a >- set of options.</p> >+ <p>add ABI 7 defaults to configure script.</p> > </dd> > >- <dt><tt>--enable-stdnoreturn</tt> >+ <dt><tt>--with-caps</tt> > </dt> > > <dd> >- <p>new configure option makes the <code>_Noreturn</code> >- keyword optional to ease transition.</p> >+ <p>add warning in configure script if file specified for >+ “<tt>--with-caps</tt>” does not exist.</p> > </dd> > >- <dt><tt>--disable-pkg-ldflags</tt> >+ <dt><tt>--with-manpage-format</tt> > </dt> > > <dd> >- <p>revised option also controls whether <code>$LDFLAGS</code> >- from the build is provided in “<tt>-config</tt>” >- and “<tt>.pc</tt>” files.</p> >+ <p>bzip2 and xz compression are now supported</p> > </dd> > >- <dt><tt>--disable-root-access</tt> >+ <dt><tt>--with-xterm-kbs</tt> > </dt> > > <dd> >- <p>add configure option which tells ncurses to disallow most >- file-opens by setuid processes.</p> >- </dd> >- >- <dt><tt>--disable-wattr-macros</tt> >- </dt> >- >- <dd> >- <p>changed default to help packagers who reuse wide ncursesw >- header file with non-wide ncurses library.</p> >- </dd> >- >- <dt><tt>--with-pkg-config-libdir</tt> >- </dt> >- >- <dd> >- <p>revised option uses the actual search path from >- <em>pkg-config</em> or <em>pkgconf</em> using the output from >- <tt>--debug</tt>.</p> >- </dd> >- >- <dt><tt>--with-ada-libname</tt><br> >- <tt>--with-form-libname</tt><br> >- <tt>--with-menu-libname</tt><br> >- <tt>--with-panel-libname</tt> >- </dt> >- >- <dd> >- <p>new several <tt>--with-<em>xxx</em>-libname</tt> options, >- to help with pkgsrc</p> >+ <p>add check/warning in configure script if option >+ “<tt>--with-xterm-kbs</tt>” is missing or >+ inconsistent</p> > </dd> > </dl> > >@@ -1128,108 +815,100 @@ > > <ul> > <li> >- <p>add a special case in the configure script to work around >- one of the build-time breakages reported for <a href= >- "https://invisible-island.net/ncurses/ncurses-openbsd.html">OpenBSD >- 6</a> here:</p> >- >- <blockquote> >- <p><a href= >- "https://www.mail-archive.com/bugs@openbsd.org/msg13200.html"> >- https://www.mail-archive.com/bugs@openbsd.org/msg13200.html</a></p> >- </blockquote> >+ <p>amend configure option's auto-search to account for >+ systems where none of the directories known to >+ <em>pkg-config</em> exist</p> > </li> > > <li> >- <p>modify configure check for <em>libtool</em> to prevent >- accidental use of an OpenBSD program which uses the same >- name.</p> >+ <p>corrected regex needed for older <em>pkg-config</em> used >+ in Solaris 10</p> > </li> > > <li> >- <p>modify configuration checks for build-time tic/infocmp to >- use <em>AC_CHECK_TOOL</em>. That can still be overridden by >- <tt>--with-tic-path</tt> and <tt>--with-infocmp-path</tt> >- when fallbacks are used, but even if not using fallbacks, the >- improved check may help with cross-compiling.</p> >+ <p>improve handling of <tt>--with-pkg-config-libdir</tt> >+ option, allowing for the case where either >+ <tt>$PKG_CONFIG_LIBDIR</tt> or the option value has a >+ colon-separated list of directories</p> > </li> > > <li> >- <p>relax modification-time comparison in >- <em>CF_LINK_FUNCS</em> to allow it to accept link() function >- with NFS filesystems which change the mtime on the link >- target, e.g., several BSD systems.</p> >+ <p>if the <tt>--with-pkg-config-libdir</tt> option is not >+ given, use <tt>${libdir}/pkgconfig</tt> as a default</p> > </li> > > <li> >- <p>modify configure check for c89/c99 aliases of >- <em>clang</em> to use its <tt>-std</tt> option instead, >- because some platforms, in particular macOS, do not provide >- workable c89/c99 aliases.</p> >+ <p>improve search-path check for <em>pkg-config</em>, e.g., >+ for Debian testing which installs <em>pkg-config</em> with >+ architecture-prefixes.</p> > </li> > > <li> >- <p>modify <em>CF_NCURSES_CONFIG</em> to work around >- <em>Xcode</em>'s c99 "-W" option, which conflicts with >- conventional use for passing linker options.</p> >+ <p>build-fix for cross-compiling to MingW, conditionally add >+ <tt>-lssp</tt></p> > </li> > > <li> >- <p>modify configure scripts to filter out redefinitions of >- _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, >- but 600 is needed for ncursesw.</p> >+ <p>improve configure check for <tt>getttynam</tt></p> > </li> >- </ul> > >- <p>Here are some of the other portability fixes:</p> >- >- <ul> > <li> >- <p>change configure-check and source-code for gcc's noreturn >- attribute to assume it is a prefix rather than suffix, >- matching c11's _Noreturn convention.</p> >- </li> >+ <p>fixes to build with <em>dietlibc</em>:</p> > >- <li> >- <p>modify mk-1st.awk to account for extra-suffix configure >- option.</p> >- </li> >+ <ul> >+ <li>add configure check for <tt>fpathconf</tt></li> > >- <li> >- <p>build-fix for termsort module when configured with >- termcap.</p> >+ <li>add configure check for math sine/cosine, needed in >+ test/tclock, and eliminate <tt>pow()</tt> from >+ test/hanoi</li> >+ >+ <li>use <tt>wcsnlen</tt> as an alternative to >+ <tt>wmemchr</tt> if it is not found</li> >+ </ul> > </li> > > <li> >- <p>modify configure script and makefiles to support ".PHONY" >- make program feature.</p> >+ <p>modify configure macro <tt>CF_BUILD_CC</tt> to check if >+ the build-compiler works, rather than that it is different >+ from the cross-compiler, e.g., to accommodate a compiler >+ which can be used for either purpose with different flags</p> > </li> > > <li> >- <p>amend <em>libtool</em> configuration to add dependency for >- install.tic, etc., in ncurses/Makefile on the lower-level >- libraries.</p> >+ <p>modify configure/scripts to work around interference by >+ GNU grep 3.8</p> > </li> >+ </ul> > >+ <p>Here are some of the other portability fixes:</p> >+ >+ <ul> > <li> >- <p>modify Ada95 source-generation utility to write to a file >- given as parameter rather than to the standard output, >- allowing builds with MinGW.</p> >+ <p>change <tt>man_db.renames</tt> to template, to handle >+ <em>ncurses*-config</em> script with the >+ <tt>--extra-suffix</tt> configure option.</p> > </li> > > <li> >- <p>amend tic/infocmp check to allow for the respective tool's >- absence.</p> >+ <p>update <tt>CF_XOPEN_SOURCE</tt> macro, adding variants >+ “gnueabi" and “gnueabihf" to get >+ <tt>_DEFAULT_SOURCE</tt> special case, as well as adding GNU >+ libc suffixes for “abi64”, “abin32”, >+ “x32” to distinguish it from other libc >+ flavors.</p> > </li> > > <li> >- <p>build-fixes for gnat 10.1.1, whose gnatmake drops >- integration with gprbuild.</p> >+ <p>work around <em>musl</em>'s nonstandard use of feature >+ test macros by adding a definition for >+ <tt>NCURSES_WIDECHAR</tt> to the generated “.pc” >+ and <em><tt>*-config</tt></em> files.</p> > </li> > > <li> >- <p>correct configure version-check/warning for g++ to allow >- for 10.x</p> >+ <p>use “<tt>command -v</tt>” rather than >+ “<tt>type</tt>” in <tt>Ada95/gen/Makefile.in</tt> >+ to fix a portability issue.</p> > </li> > </ul> > >@@ -1410,19 +1089,18 @@ > </li> > > <li> >- <p>The <a href= >- "https://invisible-island.net/ncurses/man/tic.1m.html"><span class="part-name"> >- tic</span></a>/<a href= >- "https://invisible-island.net/ncurses/man/captoinfo.1m.html">captoinfo</a> >- utility provided with <span class="main-name">ncurses</span> >- has the ability to translate many termcaps from the XENIX, >- IBM and AT&T extension sets.</p> >+ <p>The <a href="https://invisible-island.net/ncurses/man/tic.1m.html"><span class= >+ "part-name">tic</span></a>/<a href= >+ "https://invisible-island.net/ncurses/man/captoinfo.1m.html">captoinfo</a> utility >+ provided with <span class="main-name">ncurses</span> has the >+ ability to translate many termcaps from the XENIX, IBM and >+ AT&T extension sets.</p> > </li> > > <li> > <p>A BSD-like <a href= >- "https://invisible-island.net/ncurses/man/tset.1.html"><span class="part-name"> >- tset</span></a> utility is provided.</p> >+ "https://invisible-island.net/ncurses/man/tset.1.html"><span class= >+ "part-name">tset</span></a> utility is provided.</p> > </li> > > <li> >@@ -1451,9 +1129,9 @@ > > <li> > <p>The table-of-entries utility <a href= >- "https://invisible-island.net/ncurses/man/toe.1m.html"><span class="part-name"> >- toe</span></a> makes it easy for users to see exactly what >- terminal types are available on the system.</p> >+ "https://invisible-island.net/ncurses/man/toe.1m.html"><span class= >+ "part-name">toe</span></a> makes it easy for users to see >+ exactly what terminal types are available on the system.</p> > </li> > > <li> >@@ -1465,10 +1143,11 @@ > > <li> > <p>Extensive documentation is provided (see the <em><a href= >- "https://invisible-island.net/ncurses/ncurses.faq.html#additional_reading"> >- Additional Reading</a></em> section of the <em><a href= >- "https://invisible-island.net/ncurses/ncurses.faq.html"><span class="main-name"> >- ncurses</span> FAQ</a></em> for online documentation).</p> >+ "https://invisible-island.net/ncurses/ncurses.faq.html#additional_reading">Additional >+ Reading</a></em> section of the <em><a href= >+ "https://invisible-island.net/ncurses/ncurses.faq.html"><span class= >+ "main-name">ncurses</span> FAQ</a></em> for online >+ documentation).</p> > </li> > </ul> > >@@ -1501,9 +1180,7 @@ > <dd> > <p>Curses Development Kit</p> > >- <p><a href= >- "https://invisible-island.net/cdk/">https://invisible-island.net/cdk/</a><br> >- >+ <p><a href="https://invisible-island.net/cdk/">https://invisible-island.net/cdk/</a><br> > </p> > </dd> > >@@ -1513,8 +1190,7 @@ > <dd> > <p>directory-editor</p> > >- <p><a href= >- "https://invisible-island.net/ded/">https://invisible-island.net/ded/</a></p> >+ <p><a href="https://invisible-island.net/ded/">https://invisible-island.net/ded/</a></p> > </dd> > > <dt><span class="part-name">dialog</span> >@@ -1525,8 +1201,7 @@ > and the basis for similar install/configure applications on > many systems.</p> > >- <p><a href= >- "https://invisible-island.net/dialog/">https://invisible-island.net/dialog/</a></p> >+ <p><a href="https://invisible-island.net/dialog/">https://invisible-island.net/dialog/</a></p> > </dd> > > <dt><span class="part-name">lynx</span> >@@ -1631,8 +1306,7 @@ > <dd> > <p>terminfo action checker</p> > >- <p><a href= >- "https://invisible-island.net/ncurses/tack.html">https://invisible-island.net/ncurses/tack.html</a></p> >+ <p><a href="https://invisible-island.net/ncurses/tack.html">https://invisible-island.net/ncurses/tack.html</a></p> > </dd> > > <dt><span class="part-name">tmux</span> >@@ -1652,8 +1326,7 @@ > <p><em>vi-like-emacs</em> may be built to use the terminfo, > termcap or curses interfaces.</p> > >- <p><a href= >- "https://invisible-island.net/vile/">https://invisible-island.net/vile/</a></p> >+ <p><a href="https://invisible-island.net/vile/">https://invisible-island.net/vile/</a></p> > </dd> > </dl> > </blockquote> >@@ -1716,12 +1389,12 @@ > "mailto:dickey@invisible-island.net">Thomas E. Dickey</a>. Thomas > E. Dickey has acted as the maintainer for the Free Software > Foundation, which held a <a href= >- "https://invisible-island.net/ncurses/ncurses-license.html">copyright >- on ncurses</a> for releases 4.2 through 6.1. Following the >- release of ncurses 6.1, effective as of release 6.2, copyright >- for ncurses reverted to Thomas E. Dickey (see the <a href= >- "https://invisible-island.net/ncurses/ncurses.faq.html#relicensed"> >- ncurses FAQ</a> for additional information).</p> >+ "https://invisible-island.net/ncurses/ncurses-license.html">copyright on ncurses</a> for >+ releases 4.2 through 6.1. Following the release of ncurses 6.1, >+ effective as of release 6.2, copyright for ncurses reverted to >+ Thomas E. Dickey (see the <a href= >+ "https://invisible-island.net/ncurses/ncurses.faq.html#relicensed">ncurses FAQ</a> for >+ additional information).</p> > > <p>Contact the current maintainers at</p> > >@@ -1749,7 +1422,7 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/current/">ftp://ftp.invisible-island.net/ncurses/current/</a> >+ "https://invisible-island.net/archives/ncurses/current/">https://invisible-island.net/archives/ncurses/current/</a> > and<br> > <a href= > "https://invisible-mirror.net/archives/ncurses/current/">https://invisible-mirror.net/archives/ncurses/current/</a> .</p> >@@ -1759,10 +1432,10 @@ > > <blockquote> > <p><a href= >- "ftp://ftp.invisible-island.net/ncurses/6.2/">ftp://ftp.invisible-island.net/ncurses/6.2/</a> >+ "https://invisible-island.net/archives/ncurses/6.3/">https://invisible-island.net/archives/ncurses/6.3/</a> > and<br> > <a href= >- "https://invisible-mirror.net/archives/ncurses/6.2/">https://invisible-mirror.net/archives/ncurses/6.2/</a> .</p> >+ "https://invisible-mirror.net/archives/ncurses/6.3/">https://invisible-mirror.net/archives/ncurses/6.3/</a> .</p> > </blockquote> > > <p>There is an archive of the mailing list here:</p> >@@ -1781,34 +1454,28 @@ > which may be interesting by themselves:</p> > > <ul> >- <li><a href= >- "https://invisible-island.net/ncurses/ncurses-license.html"><span class="main-name"> >- ncurses</span> licensing</a></li> >+ <li><a href="https://invisible-island.net/ncurses/ncurses-license.html"><span class= >+ "main-name">ncurses</span> licensing</a></li> > >- <li><a href= >- "https://invisible-island.net/ncurses/ncurses-mapsyms.html">Symbol >- versioning in <span class="main-name">ncurses</span></a></li> >+ <li><a href="https://invisible-island.net/ncurses/ncurses-mapsyms.html">Symbol versioning >+ in <span class="main-name">ncurses</span></a></li> > >- <li><a href= >- "https://invisible-island.net/ncurses/ncurses-slang.html">Comments >- on <span class="main-name">ncurses</span> versus <span class= >+ <li><a href="https://invisible-island.net/ncurses/ncurses-slang.html">Comments on >+ <span class="main-name">ncurses</span> versus <span class= > "main-name">slang</span> (S-Lang)</a></li> > >- <li><a href= >- "https://invisible-island.net/ncurses/ncurses-openbsd.html">Comments >- on <span class="main-name">OpenBSD</span></a></li> >+ <li><a href="https://invisible-island.net/ncurses/ncurses-openbsd.html">Comments on >+ <span class="main-name">OpenBSD</span></a></li> > >- <li><a href= >- "https://invisible-island.net/ncurses/tack.html">tack – >- terminfo action checker</a></li> >+ <li><a href="https://invisible-island.net/ncurses/tack.html">tack – terminfo action >+ checker</a></li> > >- <li><a href= >- "https://invisible-island.net/ncurses/tctest.html">tctest >- – termcap library checker</a></li> >+ <li><a href="https://invisible-island.net/ncurses/tctest.html">tctest – termcap >+ library checker</a></li> > > <li><a href= >- "https://invisible-island.net/ncurses/ncurses.html#download_database"> >- Terminal Database</a></li> >+ "https://invisible-island.net/ncurses/ncurses.html#download_database">Terminal >+ Database</a></li> > </ul> > > <h2><a name="h2-other-stuff" id="h2-other-stuff">Other >Index: doc/html/man/adacurses6-config.1.html >--- ncurses-6.3-20221224+/doc/html/man/adacurses6-config.1.html 2022-12-11 00:25:05.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/adacurses6-config.1.html 2022-12-31 20:38:48.000000000 +0000 >@@ -126,7 +126,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/captoinfo.1m.html >--- ncurses-6.3-20221224+/doc/html/man/captoinfo.1m.html 2022-12-11 00:25:05.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/captoinfo.1m.html 2022-12-31 20:38:48.000000000 +0000 >@@ -199,7 +199,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> >Index: doc/html/man/clear.1.html >--- ncurses-6.3-20221224+/doc/html/man/clear.1.html 2022-12-11 00:25:05.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/clear.1.html 2022-12-31 20:38:48.000000000 +0000 >@@ -150,7 +150,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG>xterm(1)</STRONG>. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/form.3x.html >--- ncurses-6.3-20221224+/doc/html/man/form.3x.html 2022-12-11 00:25:08.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/form.3x.html 2022-12-31 20:38:50.000000000 +0000 >@@ -248,7 +248,7 @@ > <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "form_" for detailed > descriptions of the entry points. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/infocmp.1m.html >--- ncurses-6.3-20221224+/doc/html/man/infocmp.1m.html 2022-12-11 00:25:09.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/infocmp.1m.html 2022-12-31 20:38:51.000000000 +0000 >@@ -514,7 +514,7 @@ > > https://invisible-island.net/ncurses/tctest.html > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> >Index: doc/html/man/infotocap.1m.html >--- ncurses-6.3-20221224+/doc/html/man/infotocap.1m.html 2022-12-11 00:25:09.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/infotocap.1m.html 2022-12-31 20:38:51.000000000 +0000 >@@ -91,7 +91,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> >Index: doc/html/man/menu.3x.html >--- ncurses-6.3-20221224+/doc/html/man/menu.3x.html 2022-12-11 00:25:10.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/menu.3x.html 2022-12-31 20:38:51.000000000 +0000 >@@ -223,7 +223,7 @@ > <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "menu_" for detailed > descriptions of the entry points. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/ncurses.3x.html >--- ncurses-6.3-20221224+/doc/html/man/ncurses.3x.html 2022-12-11 00:25:10.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/ncurses.3x.html 2022-12-31 20:38:52.000000000 +0000 >@@ -60,7 +60,7 @@ > method of updating character screens with reasonable optimization. > This implementation is "new curses" (ncurses) and is the approved > replacement for 4.4BSD classic curses, which has been discontinued. >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > The <STRONG>ncurses</STRONG> library emulates the curses library of System V Release 4 > UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI >Index: doc/html/man/ncurses6-config.1.html >--- ncurses-6.3-20221224+/doc/html/man/ncurses6-config.1.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/ncurses6-config.1.html 2022-12-31 20:38:52.000000000 +0000 >@@ -113,7 +113,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/panel.3x.html >--- ncurses-6.3-20221224+/doc/html/man/panel.3x.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/panel.3x.html 2022-12-31 20:38:52.000000000 +0000 >@@ -281,7 +281,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>, > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> >Index: doc/html/man/tabs.1.html >--- ncurses-6.3-20221224+/doc/html/man/tabs.1.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/tabs.1.html 2022-12-31 20:38:52.000000000 +0000 >@@ -252,7 +252,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/terminfo.5.html >--- ncurses-6.3-20221224+/doc/html/man/terminfo.5.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/terminfo.5.html 2022-12-31 20:38:52.000000000 +0000 >@@ -106,7 +106,7 @@ > have, by specifying how to perform screen operations, and by specifying > padding requirements and initialization sequences. > >- This manual describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This manual describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE> >Index: doc/html/man/tic.1m.html >--- ncurses-6.3-20221224+/doc/html/man/tic.1m.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/tic.1m.html 2022-12-31 20:38:53.000000000 +0000 >@@ -469,7 +469,7 @@ > <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, > <STRONG><A HREF="term.5.html">term(5)</A></STRONG>. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> >Index: doc/html/man/toe.1m.html >--- ncurses-6.3-20221224+/doc/html/man/toe.1m.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/toe.1m.html 2022-12-31 20:38:53.000000000 +0000 >@@ -171,7 +171,7 @@ > <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, > <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/tput.1.html >--- ncurses-6.3-20221224+/doc/html/man/tput.1.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/tput.1.html 2022-12-31 20:38:53.000000000 +0000 >@@ -545,7 +545,7 @@ > </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> > <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/html/man/tset.1.html >--- ncurses-6.3-20221224+/doc/html/man/tset.1.html 2022-12-11 00:25:11.000000000 +0000 >+++ ncurses-6.4-20221231/doc/html/man/tset.1.html 2022-12-31 20:38:53.000000000 +0000 >@@ -391,7 +391,7 @@ > <STRONG>csh(1)</STRONG>, <STRONG>sh(1)</STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG>tty(4)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, > <STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG> > >- This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). >+ This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). > > > >Index: doc/ncurses-intro.doc >--- ncurses-6.3-20221224+/doc/ncurses-intro.doc 2019-07-28 18:09:40.000000000 +0000 >+++ ncurses-6.4-20221231/doc/ncurses-intro.doc 2022-12-31 20:38:47.000000000 +0000 >@@ -1,9 +1,11 @@ > Writing Programs with NCURSES > >+Writing Programs with NCURSES >+ > by Eric S. Raymond and Zeyd M. Ben-Halim > updates since release 1.9.9e by Thomas Dickey > >- Contents >+Contents > > * Introduction > + A Brief History of Curses >@@ -96,7 +98,7 @@ > o Avoiding Problems > _________________________________________________________________ > >- Introduction >+Introduction > > This document is an introduction to programming with curses. It is not > an exhaustive reference for the curses Application Programming >@@ -129,7 +131,7 @@ > will typically be a great deal simpler and less expensive than one > using an X toolkit. > >-A Brief History of Curses >+ A Brief History of Curses > > Historically, the first ancestor of curses was the routines written to > provide screen-handling for the vi editor; these used the termcap >@@ -163,7 +165,7 @@ > releases, curses evolved to use more facilities and offer more > capabilities, going far beyond BSD curses in power and flexibility. > >-Scope of This Document >+ Scope of This Document > > This document describes ncurses, a free implementation of the System V > curses API with some clearly marked extensions. It includes the >@@ -206,7 +208,7 @@ > extension libraries, also cloned from System V, which support easy > construction and sequences of menus and fill-in forms. > >-Terminology >+ Terminology > > In this document, the following terminology is used with reasonable > consistency: >@@ -227,11 +229,11 @@ > The package's idea of what the terminal display currently looks > like, i.e., what the user sees now. This is a special screen. > >- The Curses Library >+The Curses Library > >-An Overview of Curses >+ An Overview of Curses > >- Compiling Programs using Curses >+ Compiling Programs using Curses > > In order to use the library, it is necessary to have certain types and > variables defined. Therefore, the programmer must have a line: >@@ -245,7 +247,7 @@ > your LDFLAGS or on the command line. There is no need for any other > libraries. > >- Updating the Screen >+ Updating the Screen > > In order to update the screen optimally, it is necessary for the > routines to know what the screen currently looks like and what the >@@ -273,7 +275,7 @@ > package implementation determine the most efficient way to repaint the > screen. > >- Standard Windows and Function Naming Conventions >+ Standard Windows and Function Naming Conventions > > As hinted above, the routines can use several windows, but two are > automatically given: curscr, which knows what the terminal looks like, >@@ -313,7 +315,7 @@ > (y, x) coordinates. If a function requires a window pointer, it is > always the first parameter passed. > >- Variables >+ Variables > > The curses library sets some variables describing the terminal > capabilities. >@@ -340,7 +342,7 @@ > OK > error flag returned by routines when things go right. > >-Using the Library >+ Using the Library > > Now we describe how to actually use the screen package. In it, we > assume all updating, reading, etc. is applied to stdscr. These >@@ -409,7 +411,7 @@ > exit(0); > } > >- Starting up >+ Starting up > > In order to use the screen package, the routines must know about > terminal characteristics, and the space for curscr and stdscr must be >@@ -435,7 +437,7 @@ > of old windows. All the options described above can be applied to any > window. > >- Output >+ Output > > Now that we have set things up, we will want to actually update the > terminal. The basic functions used to change what will go on a window >@@ -464,7 +466,7 @@ > implementing a command which would redraw the screen in case it get > messed up. > >- Input >+ Input > > The complementary function to addch() is getch() which, if echo is > set, will call addch() to echo the character. Since the screen package >@@ -488,7 +490,7 @@ > curses.h The mapping from sequences to #define values is determined by > key_ capabilities in the terminal's terminfo entry. > >- Using Forms Characters >+ Using Forms Characters > > The addch() function (and some others, including box() and border()) > can accept some pseudo-character arguments which are specially defined >@@ -500,7 +502,7 @@ > the terminal does not have such characters, curses.h will map them to > a recognizable (though ugly) set of ASCII defaults. > >- Character Attributes and Color >+ Character Attributes and Color > > The ncurses package supports screen highlights including standout, > reverse-video, underline, and blink. It also supports color, which is >@@ -531,7 +533,7 @@ > combination. Note that COLOR_PAIR(N), for constant N, is itself a > compile-time constant and can be used in initializers. > >- Mouse Interfacing >+ Mouse Interfacing > > The ncurses library also provides a mouse interface. > >@@ -603,7 +605,7 @@ > See the manual page curs_mouse(3X) for full details of the > mouse-interface functions. > >- Finishing Up >+ Finishing Up > > In order to clean up after the ncurses routines, the routine endwin() > is provided. It restores tty modes to what they were when initscr() >@@ -611,12 +613,12 @@ > Thus, anytime after the call to initscr, endwin() should be called > before exiting. > >-Function Descriptions >+ Function Descriptions > > We describe the detailed behavior of some important curses functions > here, as a supplement to the manual page descriptions. > >- Initialization and Wrapup >+ Initialization and Wrapup > > initscr() > The first function called should almost always be initscr(). >@@ -660,7 +662,7 @@ > The inverse of newterm(); deallocates the data structures > associated with a given SCREEN reference. > >- Causing Output to the Terminal >+ Causing Output to the Terminal > > refresh() and wrefresh(win) > These functions must be called to actually get any output on >@@ -689,7 +691,7 @@ > with fewer total characters transmitted (this also avoids a > visually annoying flicker at each update). > >- Low-Level Capability Access >+ Low-Level Capability Access > > setupterm(term, filenum, errret) > This routine is called to initialize a terminal's description, >@@ -719,7 +721,7 @@ > array ttytype[]. Subsequent calls to setupterm() will overwrite > this array, so you will have to save it yourself if need be. > >- Debugging >+ Debugging > > NOTE: These functions are not part of the standard curses API! > >@@ -747,13 +749,13 @@ > single-line pseudo-operations. These pseudo-ops can be distinguished > by the fact that they are named in capital letters. > >-Hints, Tips, and Tricks >+ Hints, Tips, and Tricks > > The ncurses manual pages are a complete reference for this library. In > the remainder of this document, we discuss various useful methods that > may not be obvious from the manual page descriptions. > >- Some Notes of Caution >+ Some Notes of Caution > > If you find yourself thinking you need to use noraw() or nocbreak(), > think again and move carefully. It is probably better design to use >@@ -787,7 +789,7 @@ > in an environment with window resizes, in which case several screens > could be open with different sizes. > >- Temporarily Leaving NCURSES Mode >+ Temporarily Leaving NCURSES Mode > > Sometimes you will want to write a program that spends most of its > time in screen mode, but occasionally returns to ordinary "cooked" >@@ -812,7 +814,7 @@ > addstr("returned.\n"); /* prepare return message */ > refresh(); /* restore save modes, repaint screen */ > >- Using NCURSES under XTERM >+ Using NCURSES under XTERM > > A resize operation in X sends SIGWINCH to the application running > under xterm. The easiest way to handle SIGWINCH is to do an endwin, >@@ -835,7 +837,7 @@ > it cannot know how you want the screen re-painted. You will usually > have to write special-purpose code to handle KEY_RESIZE yourself. > >- Handling Multiple Terminal Screens >+ Handling Multiple Terminal Screens > > The initscr() function actually calls a function named newterm() to do > most of its work. If you are writing a program that opens multiple >@@ -847,7 +849,7 @@ > with the set_term call. Note that you will also have to call > def_shell_mode and def_prog_mode on each tty yourself. > >- Testing for Terminal Capabilities >+ Testing for Terminal Capabilities > > Sometimes you may want to write programs that test for the presence of > various capabilities before deciding whether to go into ncurses mode. >@@ -861,14 +863,14 @@ > can include the term.h file and test the value of the macro > cursor_address. > >- Tuning for Speed >+ Tuning for Speed > > Use the addchstr() family of functions for fast screen-painting of > text when you know the text does not contain any control characters. > Try to make attribute changes infrequent on your screens. Do not use > the immedok() option! > >- Special Features of NCURSES >+ Special Features of NCURSES > > The wresize() function allows you to resize a window in place. The > associated resizeterm() function simplifies the construction of >@@ -888,14 +890,14 @@ > 8. While most terminals which provide color allow only 8 colors, about > a quarter (including XFree86 xterm) support 16 colors. > >-Compatibility with Older Versions >+ Compatibility with Older Versions > > Despite our best efforts, there are some differences between ncurses > and the (undocumented!) behavior of older curses implementations. > These arise from ambiguities or omissions in the documentation of the > API. > >- Refresh of Overlapping Windows >+ Refresh of Overlapping Windows > > If you define two windows A and B that overlap, and then alternately > scribble on and refresh them, the changes made to the overlapping >@@ -947,7 +949,7 @@ > you have defined. Then you can do one doupdate() and there will be a > single burst of physical I/O that will do all your updates. > >- Background Erase >+ Background Erase > > If you have been using a very old versions of ncurses (1.8.7 or older) > you may be surprised by the behavior of the erase functions. In older >@@ -962,7 +964,7 @@ > This change in behavior conforms ncurses to System V Release 4 and the > XSI Curses standard. > >-XSI Curses Conformance >+ XSI Curses Conformance > > The ncurses library is intended to be base-level conformant with the > XSI Curses standard from X/Open. Many extended-level features (in >@@ -976,7 +978,7 @@ > have a corresponding function which may be linked (and will be > prototype-checked) if the macro definition is disabled with #undef. > >- The Panels Library >+The Panels Library > > The ncurses library by itself provides good support for screen > displays in which the windows are tiled (non-overlapping). In the more >@@ -993,7 +995,7 @@ > The panel library first appeared in AT&T System V. The version > documented here is the panel code distributed with ncurses. > >-Compiling With the Panels Library >+ Compiling With the Panels Library > > Your panels-using modules must import the panels library declarations > with >@@ -1004,7 +1006,7 @@ > -lncurses. Many linkers are two-pass and will accept either order, but > it is still good practice to put -lpanel first and -lncurses second. > >-Overview of Panels >+ Overview of Panels > > A panel object is a window that is implicitly treated as part of a > deck including all other panel objects. The deck has an implicit >@@ -1047,7 +1049,7 @@ > write, you will generate a lot of unnecessary refresh activity and > screen flicker. > >-Panels, Input, and the Standard Screen >+ Panels, Input, and the Standard Screen > > You should not mix wnoutrefresh() or wrefresh() operations with panels > code; this will work only if the argument window is either in the top >@@ -1065,7 +1067,7 @@ > There is presently no way to display changes to one obscured panel > without repainting all panels. > >-Hiding Panels >+ Hiding Panels > > It is possible to remove a panel from the deck temporarily; use > hide_panel for this. Use show_panel() to render it visible again. The >@@ -1076,7 +1078,7 @@ > or bottom_panel on a hidden panel(). Other panels operations are > applicable. > >-Miscellaneous Other Facilities >+ Miscellaneous Other Facilities > > It is possible to navigate the deck using the functions panel_above() > and panel_below. Handed a panel pointer, they return the panel above >@@ -1087,7 +1089,7 @@ > code, to which you can attach application data. See the man page > documentation of set_panel_userptr() and panel_userptr for details. > >- The Menu Library >+The Menu Library > > A menu is a screen display that assists the user to choose some subset > of a given set of items. The menu library is a curses extension that >@@ -1097,7 +1099,7 @@ > The menu library first appeared in AT&T System V. The version > documented here is the menu code distributed with ncurses. > >-Compiling With the menu Library >+ Compiling With the menu Library > > Your menu-using modules must import the menu library declarations with > #include <menu.h> >@@ -1107,7 +1109,7 @@ > -lncurses. Many linkers are two-pass and will accept either order, but > it is still good practice to put -lmenu first and -lncurses second. > >-Overview of Menus >+ Overview of Menus > > The menus created by this library consist of collections of items > including a name string part and a description string part. To make >@@ -1137,7 +1139,7 @@ > 9. Free the items using free_item(). > 10. Terminate curses. > >-Selecting items >+ Selecting items > > Menus may be multi-valued or (the default) single-valued (see the > manual page menu_opts(3x) to see how to change the default). Both >@@ -1154,7 +1156,7 @@ > option so far defined for menus, but it is good practice to code as > though other option bits might be on. > >-Menu Display >+ Menu Display > > The menu library calculates a minimum display size for your window, > based on the following variables: >@@ -1197,7 +1199,7 @@ > have reasonable defaults which the library allows you to change (see > the menu_attribs(3x) manual page. > >-Menu Windows >+ Menu Windows > > Each menu has, as mentioned previously, a pair of associated windows. > Both these windows are painted when the menu is posted and erased when >@@ -1217,7 +1219,7 @@ > these actually modifies the screen. To do that, call wrefresh() or > some equivalent. > >-Processing Menu Input >+ Processing Menu Input > > The main loop of your menu-processing code should call menu_driver() > repeatedly. The first argument of this routine is a menu pointer; the >@@ -1261,7 +1263,7 @@ > considered application-specific commands. The menu_driver() code > ignores them and returns E_UNKNOWN_COMMAND. > >-Miscellaneous Other Features >+ Miscellaneous Other Features > > Various menu options can affect the processing and visual appearance > and input processing of menus. See menu_opts(3x) for details. >@@ -1280,7 +1282,7 @@ > Each item, and each menu, has an associated user pointer on which you > can hang application data. See mitem_userptr(3x) and menu_userptr(3x). > >- The Forms Library >+The Forms Library > > The form library is a curses extension that supports easy programming > of on-screen forms for data entry and program control. >@@ -1288,7 +1290,7 @@ > The form library first appeared in AT&T System V. The version > documented here is the form code distributed with ncurses. > >-Compiling With the form Library >+ Compiling With the form Library > > Your form-using modules must import the form library declarations with > #include <form.h> >@@ -1298,7 +1300,7 @@ > -lncurses. Many linkers are two-pass and will accept either order, but > it is still good practice to put -lform first and -lncurses second. > >-Overview of Forms >+ Overview of Forms > > A form is a collection of fields; each field may be either a label > (explanatory text) or a data-entry location. Long forms may be >@@ -1347,7 +1349,7 @@ > operations, the menu driver loop has to support field editing and data > validation. > >-Creating and Freeing Fields and Forms >+ Creating and Freeing Fields and Forms > > The basic function for creating fields is new_field(): > FIELD *new_field(int height, int width, /* new field size */ >@@ -1423,7 +1425,7 @@ > to a form, but not vice-versa; thus, you will generally free your form > objects first. > >-Fetching and Changing Field Attributes >+ Fetching and Changing Field Attributes > > Each form field has a number of location and size attributes > associated with it. There are other field attributes used to control >@@ -1438,7 +1440,7 @@ > to mean this field. Changes to it persist as defaults until your forms > application terminates. > >- Fetching Size and Location Data >+ Fetching Size and Location Data > > You can retrieve field sizes and locations through: > int field_info(FIELD *field, /* field from which to fetch */ >@@ -1451,7 +1453,7 @@ > size and location attributes of a new field, it fetches them from an > existing one. > >- Changing the Field Location >+ Changing the Field Location > > It is possible to move a field's location on the screen: > int move_field(FIELD *field, /* field to alter */ >@@ -1459,7 +1461,7 @@ > > You can, of course. query the current location through field_info(). > >- The Justification Attribute >+ The Justification Attribute > > One-line fields may be unjustified, justified right, justified left, > or centered. Here is how you manipulate this attribute: >@@ -1472,7 +1474,7 @@ > preprocessor macros NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or > JUSTIFY_CENTER. > >- Field Display Attributes >+ Field Display Attributes > > For each field, you can set a foreground attribute for entered > characters, a background attribute for the entire field, and a pad >@@ -1507,7 +1509,7 @@ > etc). The page bit of a field controls whether it is displayed at the > start of a new form screen. > >- Field Option Bits >+ Field Option Bits > > There is also a large collection of field option bits you can set to > control various aspects of forms processing. You can manipulate them >@@ -1593,7 +1595,7 @@ > The option values are bit-masks and can be composed with logical-or in > the obvious way. > >-Field Status >+ Field Status > > Every field has a status flag, which is set to FALSE when the field is > created and TRUE when the value in field buffer 0 changes. This flag >@@ -1616,7 +1618,7 @@ > initialization or termination hooks, or (3) just after a > REQ_VALIDATION request has been processed by the forms driver. > >-Field User Pointer >+ Field User Pointer > > Each field structure contains one character pointer slot that is not > used by the forms library. It is intended to be used by applications >@@ -1634,7 +1636,7 @@ > field is created, the default-field user pointer is copied to > initialize the new field's user pointer. > >-Variable-Sized Fields >+ Variable-Sized Fields > > Normally, a field is fixed at the size specified for it at creation > time. If, however, you turn off its O_STATIC bit, it becomes dynamic >@@ -1673,7 +1675,7 @@ > the field; use dynamic_field_info() to get the actual dynamic > size. > >-Field Validation >+ Field Validation > > By default, a field will accept any data that will fit in its input > buffer. However, it is possible to attach a validation type to a >@@ -1703,7 +1705,7 @@ > > Here are the pre-defined validation types: > >- TYPE_ALPHA >+ TYPE_ALPHA > > This field type accepts alphabetic data; no blanks, no digits, no > special characters (this is checked at character-entry time). It is >@@ -1717,7 +1719,7 @@ > width, the validation check will always fail. A minimum width of zero > makes field completion optional. > >- TYPE_ALNUM >+ TYPE_ALNUM > > This field type accepts alphabetic data and digits; no blanks, no > special characters (this is checked at character-entry time). It is >@@ -1731,7 +1733,7 @@ > greater than the field width, the validation check will always fail. A > minimum width of zero makes field completion optional. > >- TYPE_ENUM >+ TYPE_ENUM > > This type allows you to restrict a field's values to be among a > specified set of string values (for example, the two-letter postal >@@ -1760,7 +1762,7 @@ > The REQ_NEXT_CHOICE and REQ_PREV_CHOICE input requests can be > particularly useful with these fields. > >- TYPE_INTEGER >+ TYPE_INTEGER > > This field type accepts an integer. It is set up as follows: > int set_field_type(FIELD *field, /* field to alter */ >@@ -1778,7 +1780,7 @@ > A TYPE_INTEGER value buffer can conveniently be interpreted with the C > library function atoi(3). > >- TYPE_NUMERIC >+ TYPE_NUMERIC > > This field type accepts a decimal number. It is set up as follows: > int set_field_type(FIELD *field, /* field to alter */ >@@ -1798,7 +1800,7 @@ > A TYPE_NUMERIC value buffer can conveniently be interpreted with the C > library function atof(3). > >- TYPE_REGEXP >+ TYPE_REGEXP > > This field type accepts data matching a regular expression. It is set > up as follows: >@@ -1809,7 +1811,7 @@ > The syntax for regular expressions is that of regcomp(3). The check > for regular-expression match is performed on exit. > >-Direct Field Buffer Manipulation >+ Direct Field Buffer Manipulation > > The chief attribute of a field is its buffer contents. When a form has > been completed, your application usually needs to know the state of >@@ -1840,7 +1842,7 @@ > or form's initialization or termination hooks, or (3) just after a > REQ_VALIDATION request has been processed by the forms driver. > >-Attributes of Forms >+ Attributes of Forms > > As with field attributes, form attributes inherit a default from a > system default form structure. These defaults can be queried or set by >@@ -1868,7 +1870,7 @@ > connected to a given from. It returns -1 if the form-pointer argument > is NULL. > >-Control of Form Display >+ Control of Form Display > > In the overview section, you saw that to display a form you normally > start by defining its size (and fields), posting it, and refreshing >@@ -1938,7 +1940,7 @@ > before handing control back to the forms driver in order to > re-synchronize it. > >-Input Processing in the Forms Driver >+ Input Processing in the Forms Driver > > The function form_driver() handles virtualized input requests for form > navigation, editing, and validation requests, just as menu_driver does >@@ -1955,7 +1957,7 @@ > field-termination functions) with which your application code can > check that the input taken by the driver matched what was expected. > >- Page Navigation Requests >+ Page Navigation Requests > > These requests cause page-level moves through the form, triggering > display of a new form screen. >@@ -1976,7 +1978,7 @@ > the last page goes to the first, and REQ_PREV_PAGE from the first page > goes to the last. > >- Inter-Field Navigation Requests >+ Inter-Field Navigation Requests > > These requests handle navigation between fields on the same page. > >@@ -2039,7 +2041,7 @@ > only if A, B, and C all share the same first line; otherwise it will > skip over B to C. > >- Intra-Field Navigation Requests >+ Intra-Field Navigation Requests > > These requests drive movement of the edit cursor within the currently > selected field. >@@ -2090,7 +2092,7 @@ > whitespace. The commands to move to beginning and end of line or field > look for the first or last non-pad character in their ranges. > >- Scrolling Requests >+ Scrolling Requests > > Fields that are dynamic and have grown and fields explicitly created > with offscreen rows are scrollable. One-line fields scroll >@@ -2138,7 +2140,7 @@ > For scrolling purposes, a page of a field is the height of its visible > part. > >- Editing Requests >+ Editing Requests > > When you pass the forms driver an ASCII character, it is treated as a > request to add the character to the field's data buffer. Whether this >@@ -2223,7 +2225,7 @@ > See Form Options for discussion of how to set and clear the overload > options. > >- Order Requests >+ Order Requests > > If the type of your field is ordered, and has associated functions for > getting the next and previous values of the type from a given value, >@@ -2240,14 +2242,14 @@ > Custom Validation Types), you can associate our own ordering > functions. > >- Application Commands >+ Application Commands > > Form requests are represented as integers above the curses value > greater than KEY_MAX and less than or equal to the constant > MAX_COMMAND. If your input-virtualization routine returns a value > above MAX_COMMAND, the forms driver will ignore it. > >-Field Change Hooks >+ Field Change Hooks > > It is possible to set function hooks to be executed whenever the > current field or form changes. Here are the functions that support >@@ -2309,7 +2311,7 @@ > You can disable any of these hooks by (re)setting them to NULL, the > default value. > >-Field Change Commands >+ Field Change Commands > > Normally, navigation through the form will be driven by the user's > input requests. But sometimes it is useful to be able to move the >@@ -2340,7 +2342,7 @@ > The initial page of a newly-created form is 0. The function > set_form_fields() resets this. > >-Form Options >+ Form Options > > Like fields, forms may have control option bits. They can be changed > or queried with these functions: >@@ -2371,7 +2373,7 @@ > The option values are bit-masks and can be composed with logical-or in > the obvious way. > >-Custom Validation Types >+ Custom Validation Types > > The form library gives you the capability to define custom validation > types of your own. Further, the optional additional arguments of >@@ -2380,7 +2382,7 @@ > with the handling of the additional arguments within custom validation > functions. > >- Union Types >+ Union Types > > The simplest way to create a custom data type is to compose it from > two preexisting ones: >@@ -2397,7 +2399,7 @@ > first type, then for the second, to figure what type the buffer > contents should be treated as. > >- New Field Types >+ New Field Types > > To create a field type from scratch, you need to specify one or both > of the following things: >@@ -2430,7 +2432,7 @@ > argument. It too should return TRUE if the character is valid, FALSE > otherwise. > >- Validation Function Arguments >+ Validation Function Arguments > > Your field- and character- validation functions will be passed a > second argument as well. This second argument is the address of a >@@ -2479,7 +2481,7 @@ > functions should never see a NULL file pointer and need not check > specially for it. > >- Order Functions For Custom Types >+ Order Functions For Custom Types > > Some custom field types are simply ordered in the same well-defined > way that TYPE_ENUM is. For such types, it is possible to define >@@ -2499,7 +2501,7 @@ > success (a legal next or previous value was set) or FALSE to indicate > failure. > >- Avoiding Problems >+ Avoiding Problems > > The interface for defining custom types is complicated and tricky. > Rather than attempting to create a custom type entirely from scratch, >Index: man/man_db.renames.in >Prereq: 1.58 >--- ncurses-6.3-20221224+/man/man_db.renames.in 2022-10-22 16:41:43.000000000 +0000 >+++ ncurses-6.4-20221231/man/man_db.renames.in 2022-10-22 16:41:43.000000000 +0000 >@@ -1,5 +1,5 @@ > ############################################################################## >-# Copyright 2019,2020 Thomas E. Dickey # >+# Copyright 2019-2020,2022 Thomas E. Dickey # > # Copyright 1998-2015,2017 Free Software Foundation, Inc. # > # # > # Permission is hereby granted, free of charge, to any person obtaining a # >@@ -26,7 +26,7 @@ > # use or other dealings in this Software without prior written # > # authorization. # > ############################################################################## >-# $Id: man_db.renames.in,v 1.58 2022/10/22 16:41:43 tom Exp $ >+# $Id: man_db.renames.in,v 1.59 2022/10/22 16:41:43 tom Exp $ > # Manual-page renamings for the man_db program > # > # Files: >Index: misc/terminfo.src >--- ncurses-6.3-20221224+/misc/terminfo.src 2022-12-24 18:18:58.000000000 +0000 >+++ ncurses-6.4-20221231/misc/terminfo.src 2022-12-29 20:11:56.000000000 +0000 >@@ -6,8 +6,8 @@ > # Report bugs and new terminal descriptions to > # bug-ncurses@gnu.org > # >-# $Revision: 1.1039 $ >-# $Date: 2022/12/24 18:18:58 $ >+# $Revision: 1.1041 $ >+# $Date: 2022/12/29 20:11:56 $ > # > # The original header is preserved below for reference. It is noted that there > # is a "newer" version which differs in some cosmetic details (but actually >@@ -5768,7 +5768,7 @@ > # detail. The names for the extended capabilities here were introduced by vim > # in January 2017. > bracketed+paste|xterm bracketed paste, >- BD=\E[?2004l, BE=\E[?2004h, PD=\E[201~, PE=\E[200~, >+ BD=\E[?2004l, BE=\E[?2004h, PE=\E[201~, PS=\E[200~, > > #### XTERM Mouse > # The xterm mouse protocol is used by other terminal emulators. >@@ -8210,7 +8210,7 @@ > use=screen4, > > no+brackets|cancel bracketed paste, >- BD@, BE@, PD@, PE@, >+ BD@, BE@, PE@, PS@, > > # The bce and status-line entries are from screen 3.9.13 (and require some > # changes to .screenrc). >@@ -25508,8 +25508,8 @@ > # > # BE enables bracketed paste > # BD disables bracketed paste >-# PE is sent before the pasted text >-# PD is sent after the pasted text >+# PS is sent before the pasted text >+# PE is sent after the pasted text > # > # Here are the other xterm-related extensions which are used in this file: > # >@@ -27713,4 +27713,8 @@ > # + add/use bracketed+paste to help identify terminals supporting this > # xterm feature (prompted by discussion with Bram Moolenaar) -TD > # >+# 2022-12-29 >+# + correct PS vs PE names in bracketed+paste (report by Bram Moolenaar) >+# -TD >+# > ######## SHANTIH! SHANTIH! SHANTIH! >Index: ncurses/llib-lncurses >--- ncurses-6.3-20221224+/ncurses/llib-lncurses 2021-10-19 08:24:03.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-lncurses 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2019,2020,2021 Thomas E. Dickey * >+ * Copyright 2019,2021,2022 Thomas E. Dickey * > * Copyright 1998-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -3025,6 +3025,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_user_definable > NCURSES_BOOL _nc_user_definable; > >@@ -3626,6 +3631,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-lncursest >--- ncurses-6.3-20221224+/ncurses/llib-lncursest 2021-10-19 08:26:09.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-lncursest 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2019,2020,2021 Thomas E. Dickey * >+ * Copyright 2019,2021,2022 Thomas E. Dickey * > * Copyright 2008-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -3039,6 +3039,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_user_definable > NCURSES_BOOL _nc_user_definable; > >@@ -3711,6 +3716,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-lncursestw >--- ncurses-6.3-20221224+/ncurses/llib-lncursestw 2021-10-19 08:25:29.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-lncursestw 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2018-2020,2021 Thomas E. Dickey * >+ * Copyright 2018-2021,2022 Thomas E. Dickey * > * Copyright 2009-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -3995,6 +3995,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_free_termtype2 > void _nc_free_termtype2( > TERMTYPE2 *ptr) >@@ -4672,6 +4677,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-lncursesw >--- ncurses-6.3-20221224+/ncurses/llib-lncursesw 2021-10-19 08:24:46.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-lncursesw 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2018-2020,2021 Thomas E. Dickey * >+ * Copyright 2018-2021,2022 Thomas E. Dickey * > * Copyright 2001-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -3981,6 +3981,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_free_termtype2 > void _nc_free_termtype2( > TERMTYPE2 *ptr) >@@ -4587,6 +4592,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-ltinfo >--- ncurses-6.3-20221224+/ncurses/llib-ltinfo 2021-10-16 15:19:08.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-ltinfo 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2019-2020,2021 Thomas E. Dickey * >+ * Copyright 2019-2021,2022 Thomas E. Dickey * > * Copyright 2012-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -296,6 +296,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_user_definable > NCURSES_BOOL _nc_user_definable; > >@@ -897,6 +902,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-ltinfot >--- ncurses-6.3-20221224+/ncurses/llib-ltinfot 2021-10-16 15:22:16.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-ltinfot 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2019-2020,2021 Thomas E. Dickey * >+ * Copyright 2019-2021,2022 Thomas E. Dickey * > * Copyright 2013-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -301,6 +301,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_user_definable > NCURSES_BOOL _nc_user_definable; > >@@ -973,6 +978,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-ltinfotw >--- ncurses-6.3-20221224+/ncurses/llib-ltinfotw 2021-08-21 15:04:16.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-ltinfotw 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2018-2020,2021 Thomas E. Dickey * >+ * Copyright 2018-2021,2022 Thomas E. Dickey * > * Copyright 2012-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -318,6 +318,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_free_termtype2 > void _nc_free_termtype2( > TERMTYPE2 *ptr) >@@ -995,6 +1000,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: ncurses/llib-ltinfow >--- ncurses-6.3-20221224+/ncurses/llib-ltinfow 2021-08-21 15:03:29.000000000 +0000 >+++ ncurses-6.4-20221231/ncurses/llib-ltinfow 2022-12-29 20:28:52.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2018-2020,2021 Thomas E. Dickey * >+ * Copyright 2018-2021,2022 Thomas E. Dickey * > * Copyright 2012-2016,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -313,6 +313,11 @@ > TERMTYPE *ptr) > { /* void */ } > >+#undef _nc_free_termtype1 >+void _nc_free_termtype1( >+ TERMTYPE *ptr) >+ { /* void */ } >+ > #undef _nc_free_termtype2 > void _nc_free_termtype2( > TERMTYPE2 *ptr) >@@ -919,6 +924,11 @@ > #undef _nc_tparm_err > int _nc_tparm_err; > >+#undef _nc_free_tparm >+void _nc_free_tparm( >+ TERMINAL *termp) >+ { /* void */ } >+ > #undef _nc_tparm_analyze > int _nc_tparm_analyze( > TERMINAL *term, >Index: package/debian-mingw/changelog >--- ncurses-6.3-20221224+/package/debian-mingw/changelog 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/debian-mingw/changelog 2022-12-29 20:15:31.000000000 +0000 >@@ -1,8 +1,8 @@ >-ncurses6 (6.3+20221224) unstable; urgency=low >+ncurses6 (6.4+20221231) unstable; urgency=low > > * latest weekly patch > >- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 >+ -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 > > ncurses6 (5.9+20131005) unstable; urgency=low > >Index: package/debian-mingw64/changelog >--- ncurses-6.3-20221224+/package/debian-mingw64/changelog 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/debian-mingw64/changelog 2022-12-29 20:15:31.000000000 +0000 >@@ -1,8 +1,8 @@ >-ncurses6 (6.3+20221224) unstable; urgency=low >+ncurses6 (6.4+20221231) unstable; urgency=low > > * latest weekly patch > >- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 >+ -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 > > ncurses6 (5.9+20131005) unstable; urgency=low > >Index: package/debian/changelog >--- ncurses-6.3-20221224+/package/debian/changelog 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/debian/changelog 2022-12-29 20:15:31.000000000 +0000 >@@ -1,8 +1,8 @@ >-ncurses6 (6.3+20221224) unstable; urgency=low >+ncurses6 (6.4+20221231) unstable; urgency=low > > * latest weekly patch > >- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 >+ -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 > > ncurses6 (5.9+20120608) unstable; urgency=low > >Index: package/mingw-ncurses.nsi >Prereq: 1.557 >--- ncurses-6.3-20221224+/package/mingw-ncurses.nsi 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/mingw-ncurses.nsi 2022-12-29 20:15:31.000000000 +0000 >@@ -1,4 +1,4 @@ >-; $Id: mingw-ncurses.nsi,v 1.557 2022/12/24 12:35:34 tom Exp $ >+; $Id: mingw-ncurses.nsi,v 1.559 2022/12/29 20:15:31 tom Exp $ > > ; TODO add examples > ; TODO bump ABI to 6 >@@ -8,9 +8,9 @@ > !define EXENAME "ncurses.exe" > > !define VERSION_MAJOR "6" >-!define VERSION_MINOR "3" >+!define VERSION_MINOR "4" > !define VERSION_YYYY "2022" >-!define VERSION_MMDD "1224" >+!define VERSION_MMDD "1231" > !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} > > !define MY_ABI "5" >Index: package/mingw-ncurses.spec >--- ncurses-6.3-20221224+/package/mingw-ncurses.spec 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/mingw-ncurses.spec 2022-12-29 20:15:31.000000000 +0000 >@@ -2,8 +2,8 @@ > > Summary: shared libraries for terminal handling > Name: mingw32-ncurses6 >-Version: 6.3 >-Release: 20221224 >+Version: 6.4 >+Release: 20221231 > License: X11 > Group: Development/Libraries > Source: ncurses-%{version}-%{release}.tgz >Index: package/ncurses.spec >--- ncurses-6.3-20221224+/package/ncurses.spec 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/ncurses.spec 2022-12-29 20:15:31.000000000 +0000 >@@ -1,7 +1,7 @@ > Summary: shared libraries for terminal handling > Name: ncurses6 >-Version: 6.3 >-Release: 20221224 >+Version: 6.4 >+Release: 20221231 > License: X11 > Group: Development/Libraries > Source: ncurses-%{version}-%{release}.tgz >Index: package/ncursest.spec >--- ncurses-6.3-20221224+/package/ncursest.spec 2022-12-24 12:35:34.000000000 +0000 >+++ ncurses-6.4-20221231/package/ncursest.spec 2022-12-29 20:15:31.000000000 +0000 >@@ -1,7 +1,7 @@ > Summary: Curses library with POSIX thread support. > Name: ncursest6 >-Version: 6.3 >-Release: 20221224 >+Version: 6.4 >+Release: 20221231 > License: X11 > Group: Development/Libraries > Source: ncurses-%{version}-%{release}.tgz >Index: progs/progs.priv.h >Prereq: 1.58 >--- ncurses-6.3-20221224+/progs/progs.priv.h 2022-09-17 18:58:05.000000000 +0000 >+++ ncurses-6.4-20221231/progs/progs.priv.h 2022-09-17 18:58:05.000000000 +0000 >@@ -1,5 +1,5 @@ > /**************************************************************************** >- * Copyright 2019-2020,2021 Thomas E. Dickey * >+ * Copyright 2019-2021,2022 Thomas E. Dickey * > * Copyright 1998-2015,2017 Free Software Foundation, Inc. * > * * > * Permission is hereby granted, free of charge, to any person obtaining a * >@@ -31,7 +31,7 @@ > * Author: Thomas E. Dickey 1997-on * > ****************************************************************************/ > /* >- * $Id: progs.priv.h,v 1.58 2022/09/17 18:58:05 tom Exp $ >+ * $Id: progs.priv.h,v 1.59 2022/09/17 18:58:05 tom Exp $ > * > * progs.priv.h > *
# ncurses 6.4 - patch 20221231 - Thomas E. Dickey # # ------------------------------------------------------------------------------ # # Ncurses 6.4 is at # https://invisible-island.net/archives/ncurses/ # https://invisible-mirror.net/archives/ncurses/ # https://ftp.gnu.org/gnu/ncurses/ # # Patches for ncurses 6.4 can be found at # https://invisible-island.net/archives/ncurses/6.4 # https://invisible-mirror.net/archives/ncurses/6.4 # # ------------------------------------------------------------------------------ # https://invisible-island.net/archives/ncurses/6.4/ncurses-6.4-20221231.patch.gz # patch by Thomas E. Dickey <dickey@invisible-island.net> # created Sat Dec 31 23:49:40 UTC 2022 # ------------------------------------------------------------------------------ # ANNOUNCE | 524 ++--- # INSTALL | 25 # NEWS | 8 # VERSION | 2 # announce.html.in | 1019 +++------- # dist.mk | 6 # doc/hackguide.doc | 48 # doc/html/ada/terminal_interface-curses_constants__ads.htm | 4 # doc/html/announce.html | 1207 ++++-------- # doc/html/man/adacurses6-config.1.html | 2 # doc/html/man/captoinfo.1m.html | 2 # doc/html/man/clear.1.html | 2 # doc/html/man/form.3x.html | 2 # doc/html/man/infocmp.1m.html | 2 # doc/html/man/infotocap.1m.html | 2 # doc/html/man/menu.3x.html | 2 # doc/html/man/ncurses.3x.html | 2 # doc/html/man/ncurses6-config.1.html | 2 # doc/html/man/panel.3x.html | 2 # doc/html/man/tabs.1.html | 2 # doc/html/man/terminfo.5.html | 2 # doc/html/man/tic.1m.html | 2 # doc/html/man/toe.1m.html | 2 # doc/html/man/tput.1.html | 2 # doc/html/man/tset.1.html | 2 # doc/ncurses-intro.doc | 182 - # man/man_db.renames.in | 4 # misc/terminfo.src | 16 # ncurses/llib-lncurses | 12 # ncurses/llib-lncursest | 12 # ncurses/llib-lncursestw | 12 # ncurses/llib-lncursesw | 12 # ncurses/llib-ltinfo | 12 # ncurses/llib-ltinfot | 12 # ncurses/llib-ltinfotw | 12 # ncurses/llib-ltinfow | 12 # package/debian-mingw/changelog | 4 # package/debian-mingw64/changelog | 4 # package/debian/changelog | 4 # package/mingw-ncurses.nsi | 6 # package/mingw-ncurses.spec | 4 # package/ncurses.spec | 4 # package/ncursest.spec | 4 # progs/progs.priv.h | 4 # 44 files changed, 1308 insertions(+), 1899 deletions(-) # ------------------------------------------------------------------------------ Index: ANNOUNCE --- ncurses-6.3-20221224+/ANNOUNCE 2021-10-20 22:54:22.000000000 +0000 +++ ncurses-6.4-20221231/ANNOUNCE 2022-12-31 20:38:47.000000000 +0000 @@ -1,4 +1,4 @@ - Announcing ncurses 6.3 + Announcing ncurses 6.4 Overview @@ -40,19 +40,19 @@ The ncurses distribution is available at ncurses' homepage: - ftp://ftp.invisible-island.net/ncurses/ or + https://invisible-island.net/archives/ncurses/ or https://invisible-mirror.net/archives/ncurses/ . - It is also available via anonymous FTP at the GNU distribution site + It is also available at the GNU distribution site - ftp://ftp.gnu.org/gnu/ncurses/ . + https://ftp.gnu.org/gnu/ncurses/ . Release Notes - These notes are for ncurses 6.3, released October 21, 2021. + These notes are for ncurses 6.4, released December 31, 2022. This release is designed to be source-compatible with ncurses 5.0 - through 6.2; providing extensions to the application binary interface + through 6.3; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the ncurses 5 ABI, the reason for the release is to reflect improvements to the ncurses 6 ABI and the supporting utility programs. @@ -60,240 +60,179 @@ There are, of course, numerous other improvements, listed in this announcement. - The most important bug-fixes/improvements dealt with portability + The most important bug-fixes/improvements dealt with robustness issues. The release notes also mention some other bug-fixes, but are focused on new features and improvements to existing features since - ncurses 6.2 release. + ncurses 6.3 release. Library improvements New features - There are a few new features: - * A new (experimental) driver, for the Windows Terminal - configuration is provided. - * A script is provided which enables OpenBSD users to upgrade their - system to use ncurses 6.3 (OpenBSD developers are also invited to - do this). - - Additionally, to improve performance other changes (and extensions) - are provided in this release: - * modify lib_mouse.c to check for out-of-range button numbers, - convert those to position reports. - * add sp-funcs for erasewchar, killwchar. + There are no new features in this release. Other improvements - These are revised features: - * modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 - curses in its treatment of interrupt and quit characters - - These were done to limit or ultimately deprecate features: - * mark wgetch-events feature as deprecated. - + prevent KEY_EVENT from appearing in curses.h unless the - configure option --enable-wgetch-events is used. - + modify MKkey_defs.sh to hide ncurses' definition of - KEY_EVENTS to reduce Visual Studio C++ redefinition warnings. - * reduce build-warnings by excluding ncurses-internals from - deprecation warnings. - These are improvements to existing features: - * drop symbols GCC_PRINTF and GCC_SCANF from <curses.h>, to simplify - use. - * apply gcc format attribute to prototypes which use a va_list - parameter rather than a "..." variable-length parameter list. - * modify <term.h> so that it is not necessary to include <curses.h> - before <term.h>. - * provide for wide-characters as background character in wbkgrnd - * improve parameter-checking for tparm, adding function _nc_tiparm() - to handle the most-used case, which accepts only numeric - parameters. - * use return-value from vsnprintf to reallocate as needed to allow - for buffers larger than the screen size. - * add another fflush(stdout) in _nc_flush to handle time-delays in - the middle of strings such as flash when the application uses - low-level calls rather than curses. + * modify delscreen to more effectively delete all windows on the + given screen. + * modify wnoutrefresh to call pnoutrefresh if its parameter is a + pad, rather than treating it as an error, and modify new_panel to + permit its window-parameter to be a pad + * modify curses_trace() to show the trace-mask as symbols, e.g., + TRACE_ORDINARY, DEBUG_LEVEL(3). + * improve checks for valid mouse events when an intermediate mouse + state is not part of the mousemask specified by the caller + * allow extended-color number in opts parameter of wattr_on. + * improve _tracecchar_t2 formatting of base+combining character. + * trim out some unwanted linker options from ncurses*config and .pc + files seen in Fedora 36+. + * improve shell-scripts with shellcheck + * improve use of "trap" in shell scripts, using a script. + * modify make-tar.sh scripts to make timestamps more predictable. These are corrections to existing features: - * add a check to guard against repeat_char emitting digits which - could be interpreted as BSD-style padding when --enable-bsdpad is - configured. - * check for screen size-change in scr_init and scr_restore, in case - a screen dump does not match the current screen dimensions + * modify misc/gen-pkgconfig.in to allow for the case where the + library directory does not yet exist, since this is processed + before doing an install + * set trailing null on string passed from winsnstr to wins_nwstr. + * modify waddch_literal to allow for double-width base character + when merging a combining character Program improvements Several improvements were made to the utility programs: - tabs + infocmp - + implement "+m" option + + rewrite canonical_name function of infocmp to ensure buffer + size + + improve readability of long parameterized expressions with + the infocmp "-f" option by allowing split before a "%p" + marker. + + modify verbose-option of infocmp, tic, toe to enable + debug-tracing if that is configured. - tic + tabs + limit tab-stop values to max-columns - + add check for duplicate "use=" clauses. - + add check to report instances where tparm would detect an - error in an expression. - + add user-defined capabilities from mintty to Caps-ncurses, - for checking consistency. - + improve warning when oc/op do not mention SGR 39/49 for xterm - compatible XT flag. - + improve checks for number of parameters of smglp, smgrp, - smgtp, and smgbp. - + improve "-c" option to validate the number and type of - parameters and compare against expected number/type before - deciding which set of parameter-lists to use in tparm calls. - + improve check for errors detected in tparm. - + improve format of output, to ensure that the messages contain - only printable text. - + modify to eliminate unnecessary "\" to escape ":" in terminfo - format. - + remove check that assumes that none or both parameterized and - non-parameterized margin-setting capabilities are present. - - toe - - + modify output of "toe -as" to show first description found - rather than the last. - + add a check to ensure that a "termcap file" is text rather - than binary. + tic + add consistency check in tic for u6/u7/u8/u9 and NQ + capabilities. tput - - + modify to allow multiple commands per line. - + improve parameter-checking by analyzing all extended string - capabilities, e.g., as used in the Cs and Ms capabilities of - the tmux description. - + make warning messages consistently using alias names when - those are used, rather than the underlying program's name. - + improve usage message for aliases such as clear, by - eliminating tput-specific portions. - + modify initialization to avoid opening /dev/tty for cases - other than reset/init, e.g., for clear. + corrected use of original tty-modes in init/reset subcommands Examples Along with the library and utilities, improvements were made to the ncurses-examples. Most of this activity aimed at improving the - test-packages. A few changes are more generally useful, e.g., for the - main ncurses test-program, and for analyzing traces using the - tracemunch script: - * add "-r" option to the dots test-programs, to help with scripting - a performance comparison. - * build-fix for test_opaque, for configurations without opaque - curses structs, e.g., ncurses 5.7. - * improve tracemunch logic for "RUN" compaction. - * improve tracemunch's coverage of form/menu/panel libraries. - * improve tracemunch's checking/reporting the type for the first - parameter, e.g., "WINDOW*" rather than "#1". - * modify tracemunch and the panel library to show readable traces - for panel- and user-pointers. + test-packages: + * add minimal -h (usage) and -V (version) getopt logic to all + ncurses-examples programs. + * fix an error in "@" command in test/ncurses.c F-menu + * add curses_trace to ifdef's for START_TRACE in test/test.priv.h + * improve pthread-configuration for test/worm.c + * add setlocale call to several test-programs. + * workaround in test/picsmap.c for use of floating point for rgb + values by ImageMagick 6.9.11, which appears to use the wrong upper + limit. + * use static libraries for AdaCurses test-package for Mageia, since + no gprbuild package is available. + * install Ada95 sample programs in libexecdir, adding a wrapper + script to invoke those. + * install ncurses-examples programs in libexecdir, adding a wrapper + script to invoke those. There are other new demo/test programs and reusable examples: - back_ground - to exercise the wide-character background functions. + test/combine + demonstrate combining characters - move_field - to demonstrate move_field, and a stub for a corresponding demo - of dup_field. + test/test_delwin + demonstrate deleting a window - test_tparm - for checking tparm changes. + test/test_mouse + observe mouse events in the raw terminal or parsed ncurses + modes + + test/test_unget_wch + demonstrate the unget_wch and unget functions Terminal database There are several new terminal descriptions: - - absolute, att610+cvis, foot, foot-direct, hp98550-color, - hpterm-color2, hterm, hterm-256color, linux-s, putty+keypad, - putty+screen, putty-screen, screen.linux-s, scrt/securecrt, - tmux-direct, vt220+cvis, vt220+cvis8, vt220+pcedit, vt220+vtedit, - vt220-base, vt52+keypad, xterm+256color2, xterm+88color2, - xterm-direct16, xterm-direct256, xterm+nofkeys, and - xterm+nopcfkeys. + * mosh + * mosh-256color + * teken-16color + * teken-sc + * teken-vt + * xgterm There are many changes to existing terminal descriptions. Some were updates to several descriptions: - * correct use-ordering in some xterm-direct flavors - * fix some sgr inconsistencies in d230c, ibm6153, ibm6154, - ncrvt100an - * improve vt50h and vt52 based on DECScope manual - * use hp+arrows in a few places - * use hp+pfk-cr in a few places - * use vt220+cvis in st, terminology, termite since they ignore - blinking-cursor detail in att610+cvis + * make description-fields distinct + * fix errata in description fields + * add/use several building-blocks: + + aixterm+sl + + ansi+cpr + + apollo+vt132 + + decid+cpr + + ncr260vp+sl + + wyse+sl + + x10term+sl + + xterm+acs + + xterm+alt47 while others affected specific descriptions. These were retested, to take into account changes by their developers: - - kitty+common, mlterm3, ms-terminal + * kitty + * teken while these are specific fixes based on reviewing documentation, user reports, or warnings from tic: - aaa+dec, aaa+rv - correct rmacs/smacs + att610+cvis0 + amended note as per documentation for att610, att620, att730 - aaa+rv - correct sgr + kon, kon2, jfbterm + revise to undo "linux2.6" change to smacs/rmacs/enacs - icl6404 - correct csr + st-0.6 + add dim, ecma+strikeout - kitty - use att610+cvis, xterm+tmux and ansi+enq + foot+base + add xterm+sl-alt - konsole-base - re-enable "bel" + dec+sl + correct dsl in dec+sl - linux2.6 - fix pound-sign mapping in acsc + mintty and tmux + correct setal in mintty/tmux entries, add to vte-2018 - linux3.0 - modify to reflect default mapping of shift-tab by kbd 1.14 - - pccons - fill in some missing pieces, to make it comparable to the vt220 - entry + nsterm + modify nsterm to use xterm+alt1049 putty - use vt100+fnkeys, add rep - - screen - use vt100+enq + modify putty to use xterm+alt1049 - terminator - corrected tsl capability - - ti916 - correct cup - - tmux - change kbs to ^? - - vt220 - use vt220+cvis - - vt420+lrmm - add smglp and smgrp - - vt420 - use vt420+lrmm - - xterm-new - add nel - - xterm-vt52 - use vt52+keypad + vte-2018 + add blink and setal A few entries use extensions (user-defined terminal capabilities): - * add shifted Linux console keys in linux+sfkeys entry for - screen.linux - * add Smulx to alacritty - * add kbeg to xterm+keypad to accommodate termcap applications - * add extensions in xterm+tmux and ecma+strikeout to ms-terminal, - but cancel the non-working Cr and Ms capabilities + * use ansi+enq and decid+cpr in cases where the terminal probably + supported the u6-u9 extension + * remove u6-u9 from teken-2018 + * use NQ to flag entries where the terminal does not support query + and response + * add/use bracketed+paste to help identify terminals supporting this + xterm feature + * modify samples for xterm mouse 1002/1003 modes to use 1006 mode, + and also provide for focus in/out responses + * xterm patch #371 supports DEC-compatible status-line. add dec+sl + to xterm-new, per xterm #371, add xterm-p371, add xterm-p370, for + use in older terminals, and set "xterm-new" to "xterm-p370" (to + ease adoption). Documentation @@ -308,164 +247,123 @@ features and show how they evolved, there are corrections, clarifications, etc.: * Corrections: - + make opts extension for getcchar work as documented for - ncurses 6.1, adding "-g" flag to demo_new_pair to illustrate. - + modify tset "-q" option to refrain from modifying terminal - modes, to match the documentation. + + remove a stray '/' from description of %g in terminfo(5). + + correct/improve font-formatting in curs_getch.3x, as well as + other manual pages. * New/improved history and portability sections: - + improve documentation for tparm and static/dynamic variables. - + add history note to curs_scanw.3x for <stdarg.h> and - <varargs.h> - + add history note to curs_printw.3x for <stdarg.h> and - <varargs.h> - + add portability note to ncurses.3x regarding <stdarg.h> - + add historical notes to tput, curses-terminfo and - curses-color manpages based on source-code for SVr2, SVr3 and - SVr4. - + improve history section for tset manpage based on the 1BSD - tarball, which preceded BSD's SCCS checkins by more than - three years. + + add portability notes for delscreen and delwin in manual. + + improve curs_slk.3x discussion of extensions and portability * Other improvements: - + explain in ncurses.3x that functions in the tinfo library do - not rely upon wide-characters. - + improve manual page for panel library, extending the - portability section as well as documenting error-returns. - + add section on margins to terminfo.5, adapted from X/Open - Curses. - + improve man/term.5 section on legacy storage format. - + add a note in terminfo.5 explaining that no-parameter strings - such as sgr0 or cnorm should not be used with tparm. - + improve description of BSD-style padding in curs_termcap.3x - + improve discussion of padding versus tparm and tputs in - man/curs_terminfo.3x - + add a note in manual page to explain ungetch vs unget_wch. - + improve description of error-returns in waddch and waddnstr - manual pages. + + improve curs_bkgd.3x, explaining that bkgdset can affect + results for bkgd + + add note on portable memory-leak checking in curs_memleaks.3x + + expanded description in resizeterm.3x + + add section on releasing memory to curs_termcap.3x and + curs_terminfo.3x manpages. + + add clarification of the scope of dynamic variables in + terminfo(5). + + improve formatting of ncurses-intro.html and hackguide.html + + improve curs_clear.3x links to other pages + + update ncurses-howto, making documentation fixes along with + corrections to example programs. + + use newer version 1.36 of gnathtml for generating Ada html + files. + + update external links in Ada95.html There are no new manual pages (all of the manual page updates are to existing pages). - Some of the improvements are more subtle, relating to the way the - information is presented. For instance, hyphenation is suppressed in - the HTML files generated from manual pages because an upgrade to groff - gave noticeably poorer results, interfering with the process of - creating links between the resulting webpages. - Interesting bug-fixes - While there were many bugs fixed during development of ncurses 6.3, + While there were many bugs fixed during development of ncurses 6.4, only a few (the reason for this release) were both important and interesting. Most of the bug-fixes were for local issues which did not affect compatibility across releases. Since those are detailed in the NEWS file no elaboration is needed here. - The interesting bugs were: - * modify wbkgd and wbkgrnd to avoid storing a null in the background - character, because it may be used in cases where the corresponding - 0x80 is not treated as a null. - This was a regression introduced in ncurses 6.2 (reported on the - mailing list), for which the workaround was to specify a blank for - the background character. - * remove output-related checks for nl/nonl (also reported on the - mailing list). - * improve tparm implementation of %P and %g, more closely matching - SVr4 terminfo. Those denote static and dynamic variables in - terminfo expressions. - Exactly what those terms meant was never documented before in any - implementation of curses, aside from source code. Unlike the other - two fixes, the problem was discovered while studying OpenBSD's - version of tset. + The interesting bugs were those dealing with memory leaks and buffer + overflows. Although the utilities are designed for text files (which + they do properly), some choose to test them with non-text files. + * Text files contain no embedded nulls. Also, they end with a + newline. Feeding tic non-text files exposed a few cases where the + program did not check for those issues. As a result, further + processing of the input found limit-checks whose assumptions were + invalid. + * Fixing the limit-checks (first) found a problem with tic managing + the list of strings in a terminal description. In merging two + terminal descriptions (i.e., the "use=" feature), tic was not + allocating a complete copy. A quick repair for that introduced a + memory leak. + * The checks for non-text files are improved (i.e., embedded nulls + in the input file will cause tic to reject it rather than + attempting to process it). + * The string allocations in tic are likewise improved. Configuration changes Major changes - There are no major changes. Several new options were added to ease - integration of packages with systems using different versions of GNAT - and ncurses. Also, improvements were made to configure checks. + There are no major changes. No new options were added. Several + improvements were made to configure checks. Configuration options There are a few new/modified configure options: - --enable-fvisibility - new configure option and check for gcc -fvisibility=hidden - feature - - --enable-leaks - corrected to allow turning leak-checking off later in a set of - options. - - --enable-stdnoreturn - new configure option makes the _Noreturn keyword optional to - ease transition. - - --disable-pkg-ldflags - revised option also controls whether $LDFLAGS from the build is - provided in "-config" and ".pc" files. - - --disable-root-access - add configure option which tells ncurses to disallow most - file-opens by setuid processes. - - --disable-wattr-macros - changed default to help packagers who reuse wide ncursesw - header file with non-wide ncurses library. - - --with-pkg-config-libdir - revised option uses the actual search path from pkg-config or - pkgconf using the output from --debug. - - --with-ada-libname - --with-form-libname - --with-menu-libname - --with-panel-libname - new several --with-xxx-libname options, to help with pkgsrc + --with-abi-version + add ABI 7 defaults to configure script. + + --with-caps + add warning in configure script if file specified for + "--with-caps" does not exist. + + --with-manpage-format + bzip2 and xz compression are now supported + + --with-xterm-kbs + add check/warning in configure script if option + "--with-xterm-kbs" is missing or inconsistent Portability Many of the portability changes are implemented via the configure script: - * add a special case in the configure script to work around one of - the build-time breakages reported for OpenBSD 6 here: - - https://www.mail-archive.com/bugs@openbsd.org/msg13200.html - * modify configure check for libtool to prevent accidental use of an - OpenBSD program which uses the same name. - * modify configuration checks for build-time tic/infocmp to use - AC_CHECK_TOOL. That can still be overridden by --with-tic-path and - --with-infocmp-path when fallbacks are used, but even if not using - fallbacks, the improved check may help with cross-compiling. - * relax modification-time comparison in CF_LINK_FUNCS to allow it to - accept link() function with NFS filesystems which change the mtime - on the link target, e.g., several BSD systems. - * modify configure check for c89/c99 aliases of clang to use its - -std option instead, because some platforms, in particular macOS, - do not provide workable c89/c99 aliases. - * modify CF_NCURSES_CONFIG to work around Xcode's c99 "-W" option, - which conflicts with conventional use for passing linker options. - * modify configure scripts to filter out redefinitions of - _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, but - 600 is needed for ncursesw. + * amend configure option's auto-search to account for systems where + none of the directories known to pkg-config exist + * corrected regex needed for older pkg-config used in Solaris 10 + * improve handling of --with-pkg-config-libdir option, allowing for + the case where either $PKG_CONFIG_LIBDIR or the option value has a + colon-separated list of directories + * if the --with-pkg-config-libdir option is not given, use + ${libdir}/pkgconfig as a default + * improve search-path check for pkg-config, e.g., for Debian testing + which installs pkg-config with architecture-prefixes. + * build-fix for cross-compiling to MingW, conditionally add -lssp + * improve configure check for getttynam + * fixes to build with dietlibc: + + add configure check for fpathconf + + add configure check for math sine/cosine, needed in + test/tclock, and eliminate pow() from test/hanoi + + use wcsnlen as an alternative to wmemchr if it is not found + * modify configure macro CF_BUILD_CC to check if the build-compiler + works, rather than that it is different from the cross-compiler, + e.g., to accommodate a compiler which can be used for either + purpose with different flags + * modify configure/scripts to work around interference by GNU grep + 3.8 Here are some of the other portability fixes: - * change configure-check and source-code for gcc's noreturn - attribute to assume it is a prefix rather than suffix, matching - c11's _Noreturn convention. - * modify mk-1st.awk to account for extra-suffix configure option. - * build-fix for termsort module when configured with termcap. - * modify configure script and makefiles to support ".PHONY" make - program feature. - * amend libtool configuration to add dependency for install.tic, - etc., in ncurses/Makefile on the lower-level libraries. - * modify Ada95 source-generation utility to write to a file given as - parameter rather than to the standard output, allowing builds with - MinGW. - * amend tic/infocmp check to allow for the respective tool's - absence. - * build-fixes for gnat 10.1.1, whose gnatmake drops integration with - gprbuild. - * correct configure version-check/warning for g++ to allow for 10.x + * change man_db.renames to template, to handle ncurses*-config + script with the --extra-suffix configure option. + * update CF_XOPEN_SOURCE macro, adding variants "gnueabi" and + "gnueabihf" to get _DEFAULT_SOURCE special case, as well as adding + GNU libc suffixes for "abi64", "abin32", "x32" to distinguish it + from other libc flavors. + * work around musl's nonstandard use of feature test macros by + adding a definition for NCURSES_WIDECHAR to the generated ".pc" + and *-config files. + * use "command -v" rather than "type" in Ada95/gen/Makefile.in to + fix a portability issue. _________________________________________________________________ Features of ncurses @@ -717,13 +615,13 @@ Beta versions of ncurses are made available at - ftp://ftp.invisible-island.net/ncurses/current/ and + https://invisible-island.net/archives/ncurses/current/ and https://invisible-mirror.net/archives/ncurses/current/ . Patches to the current release are made available at - ftp://ftp.invisible-island.net/ncurses/6.2/ and - https://invisible-mirror.net/archives/ncurses/6.2/ . + https://invisible-island.net/archives/ncurses/6.3/ and + https://invisible-mirror.net/archives/ncurses/6.3/ . There is an archive of the mailing list here: Index: INSTALL Prereq: 1.237 --- ncurses-6.3-20221224+/INSTALL 2021-11-20 17:54:20.000000000 +0000 +++ ncurses-6.4-20221231/INSTALL 2022-12-29 20:30:06.000000000 +0000 @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Copyright 2018-2020,2021 Thomas E. Dickey -- +-- Copyright 2018-2021,2022 Thomas E. Dickey -- -- Copyright 1998-2017,2018 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: INSTALL,v 1.237 2021/11/20 17:54:20 tom Exp $ +-- $Id: INSTALL,v 1.238 2022/12/29 20:30:06 tom Exp $ --------------------------------------------------------------------- How to install Ncurses/Terminfo on your system --------------------------------------------------------------------- @@ -1411,6 +1411,27 @@ you may encounter when building a system with different versions of ncurses: + 6.4 (Dec 31, 2022) + Interface changes: + + + none + + Added extensions: + + + none + + Added internal functions (other than "_sp" variants): + + + add _nc_free_termtype1 and _nc_free_tparm, for memory-leaks + + Removed internal functions: + + + none + + Modified internal functions: + + + none + 6.3 (Oct 21, 2021) Interface changes: Index: NEWS Prereq: 1.3891 --- ncurses-6.3-20221224+/NEWS 2022-12-25 00:20:45.000000000 +0000 +++ ncurses-6.4-20221231/NEWS 2022-12-31 20:43:21.000000000 +0000 @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3891 2022/12/25 00:20:45 tom Exp $ +-- $Id: NEWS,v 1.3895 2022/12/31 20:43:21 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -46,6 +46,12 @@ Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20221231 6.4 release for upload to ftp.gnu.org + + update release notes + + regenerate llib-* files. + + correct PS vs PE names in bracketed+paste (report by Bram Moolenaar) + -TD + 20221224 + add mutex lock/unlock in a few places reported by thread-sanitizer + add/use bracketed+paste to help identify terminals supporting this Index: VERSION --- ncurses-6.3-20221224+/VERSION 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/VERSION 2022-12-31 20:43:21.000000000 +0000 @@ -1 +1 @@ -5:0:10 6.3 20221224 +5:0:10 6.4 20221231 Index: announce.html.in Prereq: 1.102 --- ncurses-6.3-20221224+/announce.html.in 2021-10-20 22:41:55.000000000 +0000 +++ ncurses-6.4-20221231/announce.html.in 2022-12-31 20:35:34.000000000 +0000 @@ -1,7 +1,7 @@ <!-- - $Id: announce.html.in,v 1.102 2021/10/20 22:41:55 tom Exp $ + $Id: announce.html.in,v 1.104 2022/12/31 20:35:34 tom Exp $ **************************************************************************** - * Copyright 2018-2020,2021 Thomas E. Dickey * + * Copyright 2018-2021,2022 Thomas E. Dickey * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -137,28 +137,27 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/">ftp://ftp.invisible-island.net/ncurses/</a> + "https://invisible-island.net/archives/ncurses/">https://invisible-island.net/archives/ncurses/</a> or<br> <a href= "https://invisible-mirror.net/archives/ncurses/">https://invisible-mirror.net/archives/ncurses/</a> .</p> </blockquote> - <p>It is also available via anonymous FTP at the GNU distribution - site</p> + <p>It is also available at the GNU distribution site</p> <blockquote> <p><a href= - "ftp://ftp.gnu.org/gnu/ncurses/">ftp://ftp.gnu.org/gnu/ncurses/</a> .</p> + "https://ftp.gnu.org/gnu/ncurses/">https://ftp.gnu.org/gnu/ncurses/</a> .</p> </blockquote> <h2><a name="h2-release-notes" id="h2-release-notes">Release Notes</a></h2> <p>These notes are for <span class="main-name">ncurses</span> - @VERSION@, released <strong>October 21, 2021</strong>.</p> + @VERSION@, released <strong>December 31, 2022</strong>.</p> <p>This release is designed to be source-compatible with - <span class="main-name">ncurses</span> 5.0 through 6.2; providing + <span class="main-name">ncurses</span> 5.0 through 6.3; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the <span class= "main-name">ncurses</span> 5 ABI, the reason for the release is @@ -170,127 +169,73 @@ this announcement.</p> <p>The most <a href="#h3-bug-fixes">important - bug-fixes/improvements</a> dealt with portability issues. The + bug-fixes/improvements</a> dealt with robustness issues. The release notes also mention some other bug-fixes, but are focused on new features and improvements to existing features since - <span class="main-name">ncurses</span> 6.2 release.</p> + <span class="main-name">ncurses</span> 6.3 release.</p> <h3><a name="h3-library" id="h3-library">Library improvements</a></h3> <h4><a name="h4-new-library" id="h4-new-library">New features</a></h4> - <p>There are a few new features:</p> - - <ul> - <li> - <p>A new (experimental) driver, for the Windows Terminal - configuration is provided.</p> - </li> - - <li> - <p>A script is provided which enables <a href= - "@HOMEPAGE@/ncurses-openbsd.html">OpenBSD</a> users to - upgrade their system to use ncurses 6.3 (OpenBSD developers - are also invited to do this).</p> - </li> - </ul> - - <p>Additionally, to improve performance other changes (and - extensions) are provided in this release:</p> - - <ul> - <li> - <p>modify lib_mouse.c to check for out-of-range button - numbers, convert those to position reports.</p> - </li> - - <li> - <p>add sp-funcs for <a href= - "@HOMEPAGE@/man/curs_termattrs.3x.html#h3-erasechar_-erasewchar"> - erasewchar</a>, <a href= - "@HOMEPAGE@/man/curs_termattrs.3x.html#h3-killchar_-killwchar"> - killwchar</a>.</p> - </li> - </ul> + <p>There are no new features in this release.</p> <h4><a name="h4-fixes-library" id="h4-fixes-library">Other improvements</a></h4> - <p>These are revised features:</p> - - <ul> - <li>modify wgetnstr, wgetn_wstr to improve compatibility with - SVr4 curses in its treatment of interrupt and quit - characters</li> - </ul> - - <p>These were done to limit or ultimately deprecate features:</p> + <p>These are improvements to existing features:</p> <ul> <li> - <p>mark wgetch-events feature as deprecated.</p> - - <ul> - <li> - <p>prevent <tt>KEY_EVENT</tt> from appearing in - <tt>curses.h</tt> unless the configure option - <code>--enable-wgetch-events</code> is used.</p> - </li> - - <li> - <p>modify <tt>MKkey_defs.sh</tt> to hide ncurses' - definition of <tt>KEY_EVENTS</tt> to reduce <em>Visual - Studio C++</em> redefinition warnings.</p> - </li> - </ul> + <p>modify <tt>delscreen</tt> to more effectively delete all + windows on the given screen.</p> </li> <li> - <p>reduce build-warnings by excluding ncurses-internals from - deprecation warnings.</p> + <p>modify <tt>wnoutrefresh</tt> to call <tt>pnoutrefresh</tt> + if its parameter is a pad, rather than treating it as an + error, and modify new_panel to permit its window-parameter to + be a pad</p> </li> - </ul> - <p>These are improvements to existing features:</p> + <li> + <p>modify curses_trace() to show the trace-mask as symbols, + e.g., <tt>TRACE_ORDINARY</tt>, <tt>DEBUG_LEVEL(3)</tt>.</p> + </li> - <ul> <li> - <p>drop symbols <em>GCC_PRINTF</em> and <em>GCC_SCANF</em> - from <curses.h>, to simplify use.</p> + <p>improve checks for valid mouse events when an intermediate + mouse state is not part of the mousemask specified by the + caller</p> </li> <li> - <p>apply gcc format attribute to prototypes which use a - va_list parameter rather than a “<tt>...</tt>” - variable-length parameter list.</p> + <p>allow extended-color number in <em>opts</em> parameter of + <tt>wattr_on</tt>.</p> </li> <li> - <p>modify <term.h> so that it is not necessary to - include <curses.h> before <term.h>.</p> + <p>improve <tt>_tracecchar_t2</tt> formatting of + base+combining character.</p> </li> <li> - <p>provide for wide-characters as background character in - wbkgrnd</p> + <p>trim out some unwanted linker options from ncurses*config + and .pc files seen in Fedora 36+.</p> </li> <li> - <p>improve parameter-checking for tparm, adding function - _nc_tiparm() to handle the most-used case, which accepts only - numeric parameters.</p> + <p>improve shell-scripts with <em>shellcheck</em></p> </li> <li> - <p>use return-value from <em>vsnprintf</em> to reallocate as - needed to allow for buffers larger than the screen size.</p> + <p>improve use of "trap" in shell scripts, using a + script.</p> </li> <li> - <p>add another <em>fflush(stdout)</em> in <em>_nc_flush</em> - to handle time-delays in the middle of strings such as flash - when the application uses low-level calls rather than - curses.</p> + <p>modify <tt>make-tar.sh</tt> scripts to make timestamps + more predictable.</p> </li> </ul> @@ -298,18 +243,19 @@ <ul> <li> - <p>add a check to guard against <em>repeat_char</em> emitting - digits which could be interpreted as BSD-style padding when - <tt>--enable-bsdpad</tt> is configured.</p> + <p>modify <tt>misc/gen-pkgconfig.in</tt> to allow for the + case where the library directory does not yet exist, since + this is processed before doing an install</p> </li> <li> - <p>check for screen size-change in <a href= - "@HOMEPAGE@/man/curs_scr_dump.3x.html">scr_init</a> and - <a href= - "@HOMEPAGE@/man/curs_scr_dump.3x.html">scr_restore</a>, in - case a screen dump does not match the current screen - dimensions</p> + <p>set trailing null on string passed from <tt>winsnstr</tt> + to <tt>wins_nwstr</tt>.</p> + </li> + + <li> + <p>modify <tt>waddch_literal</tt> to allow for double-width + base character when merging a combining character</p> </li> </ul> @@ -321,134 +267,44 @@ <dl> <dt><span class="part-name"><a href= - "@HOMEPAGE@/man/tabs.1.html">tabs</a></span> + "@HOMEPAGE@/man/infocmp.1m.html">infocmp</a></span> </dt> <dd> <ul> - <li> - <p>implement “<tt>+m</tt>” option</p> - </li> + <li>rewrite <tt>canonical_name</tt> function of + <tt>infocmp</tt> to ensure buffer size</li> + + <li>improve readability of long parameterized expressions + with the infocmp “<tt>-f</tt>” option by + allowing split before a “<tt>%p</tt>” + marker.</li> + + <li>modify verbose-option of <tt>infocmp</tt>, + <tt>tic</tt>, <tt>toe</tt> to enable debug-tracing if that + is configured.</li> </ul> </dd> <dt><span class="part-name"><a href= - "@HOMEPAGE@/man/tic.1m.html">tic</a></span> + "@HOMEPAGE@/man/tabs.1.html">tabs</a></span> </dt> - <dd> - <ul> - <li> - <p>add check for duplicate “<tt>use=</tt>” - clauses.</p> - </li> - - <li> - <p>add check to report instances where <tt>tparm</tt> - would detect an error in an expression.</p> - </li> - - <li> - <p>add user-defined capabilities from <em>mintty</em> to - <tt>Caps-ncurses</tt>, for checking consistency.</p> - </li> - - <li> - <p>improve warning when oc/op do not mention SGR 39/49 - for <em>xterm</em> compatible <code>XT</code> flag.</p> - </li> - - <li> - <p>improve checks for number of parameters of - <code>smglp</code>, <code>smgrp</code>, - <code>smgtp</code>, and <code>smgbp</code>.</p> - </li> - - <li> - <p>improve “<tt>-c</tt>” option to validate - the number and type of parameters and compare against - expected number/type before deciding which set of - parameter-lists to use in tparm calls.</p> - </li> - - <li> - <p>improve check for errors detected in - <code>tparm</code>.</p> - </li> - - <li> - <p>improve format of output, to ensure that the messages - contain only printable text.</p> - </li> - - <li> - <p>modify to eliminate unnecessary - “<code>\</code>” to escape - “<code>:</code>” in terminfo format.</p> - </li> - - <li> - <p>remove check that assumes that none or both - parameterized and non-parameterized margin-setting - capabilities are present.</p> - </li> - </ul> - </dd> + <dd>limit tab-stop values to max-columns</dd> <dt><span class="part-name"><a href= - "@HOMEPAGE@/man/toe.1m.html">toe</a></span> + "@HOMEPAGE@/man/tic.1m.html">tic</a></span> </dt> - <dd> - <ul> - <li> - <p>modify output of “<tt>toe -as</tt>” to - show first description found rather than the last.</p> - </li> - - <li> - <p>add a check to ensure that a “termcap - file” is text rather than binary.</p> - </li> - </ul> - </dd> + <dd>add consistency check in tic for u6/u7/u8/u9 and NQ + capabilities.</dd> <dt><span class="part-name"><a href= "@HOMEPAGE@/man/tput.1.html">tput</a></span> </dt> - <dd> - <ul> - <li> - <p>modify to allow multiple commands per line.</p> - </li> - - <li> - <p>improve parameter-checking by analyzing all extended - string capabilities, e.g., as used in the <code>Cs</code> - and <code>Ms</code> capabilities of the <em>tmux</em> - description.</p> - </li> - - <li> - <p>make warning messages consistently using alias names - when those are used, rather than the underlying program's - name.</p> - </li> - - <li> - <p>improve usage message for aliases such as - <em>clear</em>, by eliminating <em>tput</em>-specific - portions.</p> - </li> - - <li> - <p>modify initialization to avoid opening - <tt>/dev/tty</tt> for cases other than - <em>reset/init</em>, e.g., for <em>clear</em>.</p> - </li> - </ul> - </dd> + <dd>corrected use of original tty-modes in <em>init/reset</em> + subcommands</dd> </dl> <h4><a name="h4-examples" id="h4-examples">Examples</a></h4> @@ -456,42 +312,51 @@ <p>Along with the library and utilities, improvements were made to the <a href= "@HOMEPAGE@/ncurses-examples.html">ncurses-examples</a>. Most of - this activity aimed at improving the test-packages. A few changes - are more generally useful, e.g., for the main ncurses - test-program, and for analyzing traces using the - <em>tracemunch</em> script:</p> + this activity aimed at improving the test-packages:</p> <ul> <li> - <p>add “<tt>-r</tt>” option to the <em>dots</em> - test-programs, to help with scripting a performance - comparison.</p> + <p>add minimal <tt>-h</tt> (usage) and <tt>-V</tt> (version) + getopt logic to all ncurses-examples programs.</p> + </li> + + <li> + <p>fix an error in "@" command in <tt>test/ncurses.c</tt> + F-menu</p> + </li> + + <li> + <p>add curses_trace to ifdef's for <tt>START_TRACE</tt> in + <tt>test/test.priv.h</tt></p> </li> <li> - <p>build-fix for <em>test_opaque</em>, for configurations - without opaque curses structs, e.g., ncurses 5.7.</p> + <p>improve pthread-configuration for test/worm.c</p> </li> <li> - <p>improve <em>tracemunch</em> logic for "RUN" - compaction.</p> + <p>add <tt>setlocale</tt> call to several test-programs.</p> </li> <li> - <p>improve <em>tracemunch</em>'s coverage of form/menu/panel - libraries.</p> + <p>workaround in <tt>test/picsmap.c</tt> for use of floating + point for rgb values by ImageMagick 6.9.11, which appears to + use the wrong upper limit.</p> </li> <li> - <p>improve <em>tracemunch</em>'s checking/reporting the type - for the first parameter, e.g., "WINDOW*" rather than - "#1".</p> + <p>use static libraries for AdaCurses test-package for + Mageia, since no gprbuild package is available.</p> </li> <li> - <p>modify <em>tracemunch</em> and the panel library to show - readable traces for panel- and user-pointers.</p> + <p>install Ada95 sample programs in libexecdir, adding a + wrapper script to invoke those.</p> + </li> + + <li> + <p>install ncurses-examples programs in libexecdir, adding a + wrapper script to invoke those.</p> </li> </ul> @@ -499,266 +364,218 @@ examples:</p> <dl> - <dt><span class="part-name"><em>back_ground</em></span> + <dt><span class="part-name"><em>test/combine</em></span> + </dt> + + <dd>demonstrate combining characters</dd> + + <dt><span class="part-name"><em>test/test_delwin</em></span> </dt> - <dd>to exercise the wide-character background functions.</dd> + <dd>demonstrate deleting a window</dd> - <dt><span class="part-name"><em>move_field</em></span> + <dt><span class="part-name"><em>test/test_mouse</em></span> </dt> - <dd>to demonstrate <a href= - "@HOMEPAGE@/man/form_field.3x.html">move_field</a>, and a stub - for a corresponding demo of <a href= - "@HOMEPAGE@/man/form_field_new.3x.html">dup_field</a>.</dd> + <dd>observe mouse events in the raw terminal or parsed ncurses + modes</dd> - <dt><span class="part-name"><em>test_tparm</em></span> + <dt><span class="part-name"><em>test/test_unget_wch</em></span> </dt> - <dd>for checking <em>tparm</em> changes.</dd> + <dd>demonstrate the unget_wch and unget functions</dd> </dl> <h3><a name="h3-database" id="h3-database">Terminal database</a></h3> <p>There are several new terminal descriptions:</p> - <blockquote style="word-break:keep-all"> - <p><tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-absolute">absolute</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis">att610+cvis</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-foot">foot</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-foot-direct">foot-direct</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-hp98550-color">hp98550-color</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-hpterm-color2">hpterm-color2</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-hterm">hterm</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-hterm-256color">hterm-256color</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-linux-s">linux-s</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-putty_keypad">putty+keypad</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-putty_screen">putty+screen</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-putty-screen">putty-screen</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-screen.linux-s">screen.linux-s</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-scrt/securecrt">scrt/securecrt</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-tmux-direct">tmux-direct</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis">vt220+cvis</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis8">vt220+cvis8</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220_pcedit">vt220+pcedit</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220_vtedit">vt220+vtedit</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220-base">vt220-base</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt52_keypad">vt52+keypad</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_256color2">xterm+256color2</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_88color2">xterm+88color2</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct16">xterm-direct16</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct256">xterm-direct256</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_nofkeys">xterm+nofkeys</a></tt>, - and <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_nopcfkeys">xterm+nopcfkeys</a></tt>.</p> - </blockquote> - - <p>There are many changes to existing terminal descriptions. Some - were updates to several descriptions:</p> - <ul> - <li>correct use-ordering in some <a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm-direct">xterm-direct</a> - flavors</li> - - <li>fix some sgr inconsistencies in <a href= - "@HOMEPAGE@/terminfo.src.html#tic-d230c">d230c</a>, <a href= - "@HOMEPAGE@/terminfo.src.html#tic-ibm6153">ibm6153</a>, - <a href="@HOMEPAGE@/terminfo.src.html#tic-ibm6154">ibm6154</a>, - <a href= - "@HOMEPAGE@/terminfo.src.html#tic-ncrvt100an">ncrvt100an</a></li> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-mosh">mosh</a></tt> + </li> - <li>improve <a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt50h">vt50h</a> and <a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt52">vt52</a> based on - DECScope manual</li> - - <li>use <a href= - "@HOMEPAGE@/terminfo.src.html#tic-hp_arrows">hp+arrows</a> in a - few places</li> - - <li>use <a href= - "@HOMEPAGE@/terminfo.src.html#tic-hp_pfk-cr">hp+pfk-cr</a> in a - few places</li> - - <li>use <a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt220_cvis">vt220+cvis</a> in - <tt>st</tt>, <tt>terminology</tt>, <tt>termite</tt> since they - ignore blinking-cursor detail in <a href= - "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis">att610+cvis</a></li> - </ul> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-mosh-256color">mosh-256color</a></tt> + </li> - <p>while others affected specific descriptions. These were - retested, to take into account changes by their developers:</p> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-teken-16color">teken-16color</a></tt> + </li> - <blockquote> - <p><tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-kitty_common">kitty+common</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-mlterm3">mlterm3</a></tt>, - <tt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-ms-terminal">ms-terminal</a></tt></p> - </blockquote> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-teken-sc">teken-sc</a></tt> + </li> - <p>while these are specific fixes based on reviewing - documentation, user reports, or warnings from <span class= - "part-name">tic</span>:</p> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-teken-vt">teken-vt</a></tt> + </li> - <dl> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-aaa_dec">aaa+dec</a>, - aaa+rv</dt> + <li><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-xgterm">xgterm</a></tt> + </li> + </ul> - <dd>correct rmacs/smacs</dd> + <p>There are many changes to existing terminal descriptions. Some + were updates to several descriptions:</p> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-aaa_rv">aaa+rv</a> - </dt> + <ul> + <li> + <p>make description-fields distinct</p> + </li> - <dd>correct sgr</dd> + <li> + <p>fix errata in description fields</p> + </li> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-icl6404">icl6404</a> - </dt> + <li> + <p>add/use several building-blocks:</p> - <dd>correct csr</dd> + <ul> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-aixterm_sl"><tt>aixterm+sl</tt></a></li> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-kitty">kitty</a> - </dt> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-ansi_cpr"><tt>ansi+cpr</tt></a></li> - <dd>use att610+cvis, xterm+tmux and ansi+enq</dd> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-apollo_vt132"><tt>apollo+vt132</tt></a></li> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-konsole-base">konsole-base</a> - </dt> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-decid_cpr"><tt>decid+cpr</tt></a></li> - <dd>re-enable "bel"</dd> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-ncr260vp_sl"><tt>ncr260vp+sl</tt></a></li> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-linux2.6">linux2.6</a> - </dt> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-wyse_sl"><tt>wyse+sl</tt></a></li> - <dd>fix pound-sign mapping in acsc</dd> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-x10term_sl"><tt>x10term+sl</tt></a></li> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-linux3.0">linux3.0</a> - </dt> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-xterm_acs"><tt>xterm+acs</tt></a></li> - <dd>modify to reflect default mapping of shift-tab by kbd - 1.14</dd> + <li><a href= + "@HOMEPAGE@/terminfo.src.html#tic-xterm_alt47"><tt>xterm+alt47</tt></a></li> + </ul> + </li> + </ul> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-pccons">pccons</a> - </dt> + <p>while others affected specific descriptions. These were + retested, to take into account changes by their developers:</p> - <dd>fill in some missing pieces, to make it comparable to the - vt220 entry</dd> + <ul> + <li> + <p><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-kitty">kitty</a></tt> + </p> + </li> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-putty">putty</a> - </dt> + <li> + <p><tt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-teken">teken</a></tt> + </p> + </li> + </ul> - <dd>use vt100+fnkeys, add rep</dd> + <p>while these are specific fixes based on reviewing + documentation, user reports, or warnings from <span class= + "part-name">tic</span>:</p> + <dl> <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-screen">screen</a> + "@HOMEPAGE@/terminfo.src.html#tic-att610_cvis0">att610+cvis0</a> </dt> - <dd>use vt100+enq</dd> + <dd>amended note as per documentation for att610, att620, + att730</dd> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-terminator">terminator</a> - </dt> + <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-kon">kon</a>, + kon2, jfbterm</dt> - <dd>corrected tsl capability</dd> + <dd>revise to undo "linux2.6" change to smacs/rmacs/enacs</dd> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-ti916">ti916</a> + <dt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-st-0_6">st-0.6</a> </dt> - <dd>correct cup</dd> + <dd>add dim, ecma+strikeout</dd> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-tmux">tmux</a> + <dt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-foot_base">foot+base</a> </dt> - <dd>change kbs to ^?</dd> + <dd>add xterm+sl-alt</dd> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-vt220">vt220</a> + <dt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-dec_sl">dec+sl</a> </dt> - <dd>use vt220+cvis</dd> + <dd>correct dsl in dec+sl</dd> <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-vt420_lrmm">vt420+lrmm</a> - </dt> + "@HOMEPAGE@/terminfo.src.html#tic-mintty">mintty</a> and + tmux</dt> - <dd>add smglp and smgrp</dd> + <dd>correct setal in mintty/tmux entries, add to vte-2018</dd> - <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-vt420">vt420</a> + <dt><a href= + "@HOMEPAGE@/terminfo.src.html#tic-nsterm">nsterm</a> </dt> - <dd>use vt420+lrmm</dd> + <dd>modify nsterm to use xterm+alt1049</dd> - <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm-new">xterm-new</a> + <dt><a href="@HOMEPAGE@/terminfo.src.html#tic-putty">putty</a> </dt> - <dd>add nel</dd> + <dd>modify putty to use xterm+alt1049</dd> <dt><a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm-vt52">xterm-vt52</a> + "@HOMEPAGE@/terminfo.src.html#tic-vte-2018">vte-2018</a> </dt> - <dd>use vt52+keypad</dd> + <dd>add blink and setal</dd> </dl> <p>A few entries use extensions (user-defined terminal capabilities):</p> <ul> - <li>add shifted Linux console keys in <a href= - "@HOMEPAGE@/terminfo.src.html#tic-linux_sfkeys">linux+sfkeys</a> - entry for <a href= - "@HOMEPAGE@/terminfo.src.html#tic-screen.linux">screen.linux</a></li> - - <li>add Smulx to <a href= - "@HOMEPAGE@/terminfo.src.html#tic-alacritty">alacritty</a></li> - - <li>add kbeg to <a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_keypad">xterm+keypad</a> - to accommodate termcap applications</li> - - <li>add extensions in <a href= - "@HOMEPAGE@/terminfo.src.html#tic-xterm_tmux">xterm+tmux</a> - and <a href= - "@HOMEPAGE@/terminfo.src.html#tic-ecma_strikeout">ecma+strikeout</a> - to <a href= - "@HOMEPAGE@/terminfo.src.html#tic-ms-terminal">ms-terminal</a>, - but cancel the non-working Cr and Ms capabilities</li> + <li> + <p>use <tt>ansi+enq</tt> and <tt>decid+cpr</tt> in cases + where the terminal probably supported the u6-u9 extension</p> + </li> + + <li> + <p>remove u6-u9 from teken-2018</p> + </li> + + <li> + <p>use <tt>NQ</tt> to flag entries where the terminal does + not support query and response</p> + </li> + + <li> + <p>add/use <a href= + "@HOMEPAGE@/terminfo.src.html#tic-bracketed_paste"><tt>bracketed+paste</tt></a> + to help identify terminals supporting this xterm feature</p> + </li> + + <li> + <p>modify samples for xterm mouse 1002/1003 modes to use 1006 + mode, and also provide for focus in/out responses</p> + </li> + + <li> + <p>xterm patch #371 supports DEC-compatible status-line. add + <tt>dec+sl</tt> to xterm-new, per xterm #371, add <a href= + "@HOMEPAGE@/terminfo.src.html#tic-xterm-p371"><tt>xterm-p371</tt></a>, + add <a href= + "@HOMEPAGE@/terminfo.src.html#tic-xterm-p370"><tt>xterm-p370</tt></a>, + for use in older terminals, and set “xterm-new” + to “xterm-p370” (to ease adoption).</p> + </li> </ul> <h3><a name="h3-documentation" id= @@ -793,18 +610,16 @@ <ul> <li> - <p>make <em>opts</em> extension for <a href= - "@HOMEPAGE@/man/curs_getcchar.3x.html#h3-getcchar"><tt>getcchar</tt></a> - work as documented for <a href= - "@HOMEPAGE@/announce-6.1.htmll#h4-new-library">ncurses - 6.1</a>, adding “<tt>-g</tt>” flag to - <em>demo_new_pair</em> to illustrate.</p> + <p>remove a stray '/' from description of <tt>%g</tt> in + <a href= + "@HOMEPAGE@/man/terminfo.5.html#h3-Parameterized-Strings"> + terminfo(5)</a>.</p> </li> <li> - <p>modify <a href="@HOMEPAGE@/man/tset.1.html">tset</a> - “-q” option to refrain from modifying - terminal modes, to match the documentation.</p> + <p>correct/improve font-formatting in <a href= + "@HOMEPAGE@/man/curs_getch.3x.html">curs_getch.3x</a>, as + well as other manual pages.</p> </li> </ul> </li> @@ -814,44 +629,17 @@ <ul> <li> - <p>improve documentation for <a href= - "@HOMEPAGE@/man/terminfo.5.html#h3-Parameterized-Strings"> - tparm</a> and static/dynamic variables.</p> - </li> - - <li> - <p>add history note to <a href= - "@HOMEPAGE@/man/curs_scanw.3x.html#h2-HISTORY">curs_scanw.3x</a> - for <stdarg.h> and <varargs.h></p> - </li> - - <li> - <p>add history note to <a href= - "@HOMEPAGE@/man/curs_printw.3x.html#h2-HISTORY">curs_printw.3x</a> - for <stdarg.h> and <varargs.h></p> - </li> - - <li> - <p>add portability note to <a href= - "@HOMEPAGE@/man/ncurses.3x.html#h3-Header-files">ncurses.3x</a> - regarding <stdarg.h></p> - </li> - - <li> - <p>add historical notes to <a href= - "@HOMEPAGE@/man/tput.1.html#h2-HISTORY">tput</a>, - <a href="@HOMEPAGE@/man/curs_terminfo.3x.html#h2-HISTORY"> - curses-terminfo</a> and <a href= - "@HOMEPAGE@/man/curs_color.3x.html#h2-HISTORY">curses-color</a> - manpages based on source-code for SVr2, SVr3 and - SVr4.</p> + <p>add portability notes for <a href= + "@HOMEPAGE@/man/curs_initscr.3x.html#h2-PORTABILITY">delscreen</a> + and <a href= + "@HOMEPAGE@/man/curs_window.3x.html#h2-PORTABILITY">delwin</a> + in manual.</p> </li> <li> - <p>improve history section for <a href= - "@HOMEPAGE@/man/tset.1.html#h2-HISTORY">tset</a> manpage - based on the 1BSD tarball, which preceded BSD's SCCS - checkins by more than three years.</p> + <p>improve <a href= + "@HOMEPAGE@/man/curs_slk.3x.html#h2-EXTENSIONS">curs_slk.3x</a> + discussion of extensions and portability</p> </li> </ul> </li> @@ -861,64 +649,64 @@ <ul> <li> - <p>explain in <a href= - "@HOMEPAGE@/man/ncurses.3x.html#h2-ALTERNATE-CONFIGURATIONS"> - ncurses.3x</a> that functions in the tinfo library do not - rely upon wide-characters.</p> + <p>improve <a href= + "@HOMEPAGE@/man/curs_bkgd.3x.html">curs_bkgd.3x</a>, + explaining that <tt>bkgdset</tt> can affect results for + <tt>bkgd</tt></p> </li> <li> - <p>improve manual page for <a href= - "@HOMEPAGE@/man/panel.3x.html#h2-PORTABILITY">panel</a> - library, extending the portability section as well as - documenting error-returns.</p> + <p>add note on portable memory-leak checking in <a href= + "@HOMEPAGE@/man/curs_memleaks.3x.html#h2-PORTABILITY">curs_memleaks.3x</a></p> </li> <li> - <p>add section on margins to <a href= - "@HOMEPAGE@/man/terminfo.5.html#h3-Margins">terminfo.5</a>, - adapted from X/Open Curses.</p> + <p>expanded description in <a href= + "@HOMEPAGE@/man/resizeterm.3x.html">resizeterm.3x</a></p> </li> <li> - <p>improve <a href= - "@HOMEPAGE@/man/term.5.html#h3-LEGACY-STORAGE-FORMAT">man/term.5</a> - section on legacy storage format.</p> + <p>add section on releasing memory to <a href= + "@HOMEPAGE@/man/curs_termcap.3x.html#h3-Releasing-Memory"> + curs_termcap.3x</a> and <a href= + "@HOMEPAGE@/man/curs_terminfo.3x.html#h3-Releasing-Memory"> + curs_terminfo.3x</a> manpages.</p> </li> <li> - <p>add a note in <a href= - "@HOMEPAGE@/man/terminfo.5.html#h3-Predefined-Capabilities"> - terminfo.5</a> explaining that no-parameter strings such - as <em><tt>sgr0</tt></em> or <em><tt>cnorm</tt></em> - should not be used with tparm.</p> + <p>add clarification of the scope of dynamic variables in + <a href= + "@HOMEPAGE@/man/terminfo.5.html">terminfo(5)</a>.</p> </li> <li> - <p>improve description of BSD-style padding in <a href= - "@HOMEPAGE@/man/curs_termcap.3x.html#h2-BUGS">curs_termcap.3x</a></p> + <p>improve formatting of <a href= + "@HOMEPAGE@/ncurses-intro.html">ncurses-intro.html</a> + and <a href= + "@HOMEPAGE@/hackguide.html">hackguide.html</a></p> </li> <li> - <p>improve discussion of padding versus <tt>tparm</tt> - and <tt>tputs</tt> in <a href= - "@HOMEPAGE@/man/curs_terminfo.3x.html#h3-Formatting-Output"> - man/curs_terminfo.3x</a></p> + <p>improve <a href= + "@HOMEPAGE@/man/curs_clear.3x.html">curs_clear.3x</a> + links to other pages</p> </li> <li> - <p>add a note in manual page to explain <a href= - "@HOMEPAGE@/man/curs_getch.3x.html#h3-Ungetting-characters"> - ungetch</a> vs <a href= - "@HOMEPAGE@/man/curs_get_wch.3x.html#h3-unget_wch">unget_wch</a>.</p> + <p>update <a href= + "@HOMEPAGE@/howto/NCURSES-Programming-HOWTO.html">ncurses-howto</a>, + making documentation fixes along with corrections to + example programs.</p> </li> <li> - <p>improve description of error-returns in <a href= - "@HOMEPAGE@/man/curs_addch.3x.html#h2-RETURN-VALUE">waddch</a> - and <a href= - "@HOMEPAGE@/man/curs_addstr.3x.html#h2-RETURN-VALUE">waddnstr</a> - manual pages.</p> + <p>use newer version 1.36 of gnathtml for generating Ada + html files.</p> + </li> + + <li> + <p>update external links in <a href= + "@HOMEPAGE@/Ada95.html">Ada95.html</a></p> </li> </ul> </li> @@ -927,61 +715,49 @@ <p>There are no new manual pages (all of the manual page updates are to existing pages).</p> - <p>Some of the improvements are more subtle, relating to the way - the information is presented. For instance, hyphenation is - suppressed in the HTML files generated from manual pages because - an upgrade to <em>groff</em> gave noticeably poorer results, - interfering with the process of creating links between the - resulting webpages.</p> - <h3><a name="h3-bug-fixes" id="h3-bug-fixes">Interesting bug-fixes</a></h3> <p>While there were many bugs fixed during development of ncurses - 6.3, only a few (the reason for this release) were both important + 6.4, only a few (the reason for this release) were both important and interesting. Most of the bug-fixes were for local issues which did not affect compatibility across releases. Since those are detailed in the <a href= - "@HOMEPAGE@/NEWS.html#t20211018">NEWS</a> file no elaboration is + "@HOMEPAGE@/NEWS.html#t20221231">NEWS</a> file no elaboration is needed here.</p> - <p>The interesting bugs were:</p> + <p>The interesting bugs were those dealing with memory leaks and + buffer overflows. Although the utilities are designed for + <em>text</em> files (which they do properly), some choose to test + them with <strong>non-</strong><em>text</em> files.</p> <ul> <li> - <p>modify <a href= - "@HOMEPAGE@/man/curs_bkgd.3x.html#h3-bkgd">wbkgd</a> and - <a href= - "@HOMEPAGE@/man/curs_bkgrnd.3x.html#h3-bkgrnd">wbkgrnd</a> to - avoid storing a null in the background character, because it - may be used in cases where the corresponding 0x80 is not - treated as a null.</p> - - <p>This was a regression introduced in ncurses 6.2 (<a href= - "https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00000.html">reported</a> - on the mailing list), for which the workaround was to specify - a blank for the background character.</p> + <p>Text files contain no embedded nulls. Also, they end with + a newline. Feeding <strong>tic</strong> non-text files + exposed a few cases where the program did not check for those + issues. As a result, further processing of the input found + limit-checks whose assumptions were invalid.</p> + </li> + + <li> + <p>Fixing the limit-checks (first) found a problem with + <strong>tic</strong> managing the list of strings in a + terminal description. In merging two terminal descriptions + (i.e., the “use=” feature), <strong>tic</strong> + was not allocating a complete copy. A quick repair for that + introduced a memory leak.</p> </li> <li> - <p>remove output-related checks for <a href= - "@HOMEPAGE@/man/curs_outopts.3x.html">nl/nonl</a> (also - <a href= - "https://lists.gnu.org/archive/html/bug-ncurses/2020-09/msg00018.html"> - reported</a> on the mailing list).</p> + <p>The checks for non-text files are improved (i.e., embedded + nulls in the input file will cause <strong>tic</strong> to + reject it rather than attempting to process it).</p> </li> <li> - <p>improve tparm implementation of <tt>%P</tt> and - <tt>%g</tt>, more closely matching SVr4 terminfo. Those - denote <em>static</em> and <em>dynamic</em> variables in - terminfo expressions.</p> - - <p>Exactly what those terms meant was never documented before - in any implementation of curses, aside from source code. - Unlike the other two fixes, the problem was discovered while - studying OpenBSD's version of <a href= - "@HOMEPAGE@/ncurses-openbsd.html#issue_tput">tset</a>.</p> + <p>The string allocations in <strong>tic</strong> are + likewise improved.</p> </li> </ul> @@ -991,9 +767,7 @@ <h4><a name="h4-config-major" id="h4-config-major">Major changes</a></h4> - <p>There are no major changes. Several new options were added to - ease integration of packages with systems using different - versions of <em>GNAT</em> and <em>ncurses</em>. Also, + <p>There are no major changes. No new options were added. Several improvements were made to configure checks.</p> <h4><a name="h4-config-options" id= @@ -1002,73 +776,35 @@ <p>There are a few new/modified configure options:</p> <dl> - <dt><tt>--enable-fvisibility</tt> + <dt><tt>--with-abi-version</tt> </dt> <dd> - <p>new configure option and check for <em>gcc</em> - <tt>-fvisibility=hidden</tt> feature</p> + <p>add ABI 7 defaults to configure script.</p> </dd> - <dt><tt>--enable-leaks</tt> + <dt><tt>--with-caps</tt> </dt> <dd> - <p>corrected to allow turning leak-checking off later in a - set of options.</p> + <p>add warning in configure script if file specified for + “<tt>--with-caps</tt>” does not exist.</p> </dd> - <dt><tt>--enable-stdnoreturn</tt> + <dt><tt>--with-manpage-format</tt> </dt> <dd> - <p>new configure option makes the <code>_Noreturn</code> - keyword optional to ease transition.</p> + <p>bzip2 and xz compression are now supported</p> </dd> - <dt><tt>--disable-pkg-ldflags</tt> + <dt><tt>--with-xterm-kbs</tt> </dt> <dd> - <p>revised option also controls whether <code>$LDFLAGS</code> - from the build is provided in “<tt>-config</tt>” - and “<tt>.pc</tt>” files.</p> - </dd> - - <dt><tt>--disable-root-access</tt> - </dt> - - <dd> - <p>add configure option which tells ncurses to disallow most - file-opens by setuid processes.</p> - </dd> - - <dt><tt>--disable-wattr-macros</tt> - </dt> - - <dd> - <p>changed default to help packagers who reuse wide ncursesw - header file with non-wide ncurses library.</p> - </dd> - - <dt><tt>--with-pkg-config-libdir</tt> - </dt> - - <dd> - <p>revised option uses the actual search path from - <em>pkg-config</em> or <em>pkgconf</em> using the output from - <tt>--debug</tt>.</p> - </dd> - - <dt><tt>--with-ada-libname</tt><br> - <tt>--with-form-libname</tt><br> - <tt>--with-menu-libname</tt><br> - <tt>--with-panel-libname</tt> - </dt> - - <dd> - <p>new several <tt>--with-<em>xxx</em>-libname</tt> options, - to help with pkgsrc</p> + <p>add check/warning in configure script if option + “<tt>--with-xterm-kbs</tt>” is missing or + inconsistent</p> </dd> </dl> @@ -1079,107 +815,100 @@ <ul> <li> - <p>add a special case in the configure script to work around - one of the build-time breakages reported for <a href= - "@HOMEPAGE@/ncurses-openbsd.html">OpenBSD 6</a> here:</p> - - <blockquote> - <p><a href= - "https://www.mail-archive.com/bugs@openbsd.org/msg13200.html"> - https://www.mail-archive.com/bugs@openbsd.org/msg13200.html</a></p> - </blockquote> + <p>amend configure option's auto-search to account for + systems where none of the directories known to + <em>pkg-config</em> exist</p> </li> <li> - <p>modify configure check for <em>libtool</em> to prevent - accidental use of an OpenBSD program which uses the same - name.</p> + <p>corrected regex needed for older <em>pkg-config</em> used + in Solaris 10</p> </li> <li> - <p>modify configuration checks for build-time tic/infocmp to - use <em>AC_CHECK_TOOL</em>. That can still be overridden by - <tt>--with-tic-path</tt> and <tt>--with-infocmp-path</tt> - when fallbacks are used, but even if not using fallbacks, the - improved check may help with cross-compiling.</p> + <p>improve handling of <tt>--with-pkg-config-libdir</tt> + option, allowing for the case where either + <tt>$PKG_CONFIG_LIBDIR</tt> or the option value has a + colon-separated list of directories</p> </li> <li> - <p>relax modification-time comparison in - <em>CF_LINK_FUNCS</em> to allow it to accept link() function - with NFS filesystems which change the mtime on the link - target, e.g., several BSD systems.</p> + <p>if the <tt>--with-pkg-config-libdir</tt> option is not + given, use <tt>${libdir}/pkgconfig</tt> as a default</p> </li> <li> - <p>modify configure check for c89/c99 aliases of - <em>clang</em> to use its <tt>-std</tt> option instead, - because some platforms, in particular macOS, do not provide - workable c89/c99 aliases.</p> + <p>improve search-path check for <em>pkg-config</em>, e.g., + for Debian testing which installs <em>pkg-config</em> with + architecture-prefixes.</p> </li> <li> - <p>modify <em>CF_NCURSES_CONFIG</em> to work around - <em>Xcode</em>'s c99 "-W" option, which conflicts with - conventional use for passing linker options.</p> + <p>build-fix for cross-compiling to MingW, conditionally add + <tt>-lssp</tt></p> </li> <li> - <p>modify configure scripts to filter out redefinitions of - _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, - but 600 is needed for ncursesw.</p> + <p>improve configure check for <tt>getttynam</tt></p> </li> - </ul> - - <p>Here are some of the other portability fixes:</p> - <ul> <li> - <p>change configure-check and source-code for gcc's noreturn - attribute to assume it is a prefix rather than suffix, - matching c11's _Noreturn convention.</p> - </li> + <p>fixes to build with <em>dietlibc</em>:</p> - <li> - <p>modify mk-1st.awk to account for extra-suffix configure - option.</p> - </li> + <ul> + <li>add configure check for <tt>fpathconf</tt></li> - <li> - <p>build-fix for termsort module when configured with - termcap.</p> + <li>add configure check for math sine/cosine, needed in + test/tclock, and eliminate <tt>pow()</tt> from + test/hanoi</li> + + <li>use <tt>wcsnlen</tt> as an alternative to + <tt>wmemchr</tt> if it is not found</li> + </ul> </li> <li> - <p>modify configure script and makefiles to support ".PHONY" - make program feature.</p> + <p>modify configure macro <tt>CF_BUILD_CC</tt> to check if + the build-compiler works, rather than that it is different + from the cross-compiler, e.g., to accommodate a compiler + which can be used for either purpose with different flags</p> </li> <li> - <p>amend <em>libtool</em> configuration to add dependency for - install.tic, etc., in ncurses/Makefile on the lower-level - libraries.</p> + <p>modify configure/scripts to work around interference by + GNU grep 3.8</p> </li> + </ul> + + <p>Here are some of the other portability fixes:</p> + <ul> <li> - <p>modify Ada95 source-generation utility to write to a file - given as parameter rather than to the standard output, - allowing builds with MinGW.</p> + <p>change <tt>man_db.renames</tt> to template, to handle + <em>ncurses*-config</em> script with the + <tt>--extra-suffix</tt> configure option.</p> </li> <li> - <p>amend tic/infocmp check to allow for the respective tool's - absence.</p> + <p>update <tt>CF_XOPEN_SOURCE</tt> macro, adding variants + “gnueabi" and “gnueabihf" to get + <tt>_DEFAULT_SOURCE</tt> special case, as well as adding GNU + libc suffixes for “abi64”, “abin32”, + “x32” to distinguish it from other libc + flavors.</p> </li> <li> - <p>build-fixes for gnat 10.1.1, whose gnatmake drops - integration with gprbuild.</p> + <p>work around <em>musl</em>'s nonstandard use of feature + test macros by adding a definition for + <tt>NCURSES_WIDECHAR</tt> to the generated “.pc” + and <em><tt>*-config</tt></em> files.</p> </li> <li> - <p>correct configure version-check/warning for g++ to allow - for 10.x</p> + <p>use “<tt>command -v</tt>” rather than + “<tt>type</tt>” in <tt>Ada95/gen/Makefile.in</tt> + to fix a portability issue.</p> </li> </ul> @@ -1693,7 +1422,7 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/current/">ftp://ftp.invisible-island.net/ncurses/current/</a> + "https://invisible-island.net/archives/ncurses/current/">https://invisible-island.net/archives/ncurses/current/</a> and<br> <a href= "https://invisible-mirror.net/archives/ncurses/current/">https://invisible-mirror.net/archives/ncurses/current/</a> .</p> @@ -1703,10 +1432,10 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/6.2/">ftp://ftp.invisible-island.net/ncurses/6.2/</a> + "https://invisible-island.net/archives/ncurses/6.3/">https://invisible-island.net/archives/ncurses/6.3/</a> and<br> <a href= - "https://invisible-mirror.net/archives/ncurses/6.2/">https://invisible-mirror.net/archives/ncurses/6.2/</a> .</p> + "https://invisible-mirror.net/archives/ncurses/6.3/">https://invisible-mirror.net/archives/ncurses/6.3/</a> .</p> </blockquote> <p>There is an archive of the mailing list here:</p> Index: dist.mk Prereq: 1.1518 --- ncurses-6.3-20221224+/dist.mk 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/dist.mk 2022-12-31 20:43:21.000000000 +0000 @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1518 2022/12/24 12:35:34 tom Exp $ +# $Id: dist.mk,v 1.1519 2022/12/31 20:43:21 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -37,8 +37,8 @@ # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 -NCURSES_MINOR = 3 -NCURSES_PATCH = 20221224 +NCURSES_MINOR = 4 +NCURSES_PATCH = 20221231 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) Index: doc/hackguide.doc --- ncurses-6.3-20221224+/doc/hackguide.doc 2019-07-28 18:09:46.000000000 +0000 +++ ncurses-6.4-20221231/doc/hackguide.doc 2022-12-31 20:38:47.000000000 +0000 @@ -1,6 +1,8 @@ A Hacker's Guide to NCURSES - Contents +A Hacker's Guide to NCURSES + +Contents * Abstract * Objective of the Package @@ -24,7 +26,7 @@ * Style Tips for Developers * Porting Hints - Abstract +Abstract This document is a hacker's tour of the ncurses library and utilities. It discusses design philosophy, implementation methods, and the @@ -32,7 +34,7 @@ reading for anyone who is interested in porting, extending or improving the package. - Objective of the Package +Objective of the Package The objective of the ncurses package is to provide a free software API for character-cell terminals and terminal emulators with the following @@ -52,7 +54,7 @@ cannot add features if it means breaking the portion of the API corresponding to historical curses versions. -Why System V Curses? + Why System V Curses? We used System V curses as a model, reverse-engineering their API, in order to fulfill the first two objectives. @@ -65,7 +67,7 @@ X/Open is explicitly and closely modeled on System V. So conformance with System V took us most of the way to base-level XSI conformance. -How to Design Extensions + How to Design Extensions The third objective (standards conformance) requires that it be easy to condition source code using ncurses so that the absence of @@ -80,7 +82,7 @@ does not define, but which is defined in the ncurses library header. You can use this to condition the calls to the mouse API calls. - Portability and Configuration +Portability and Configuration Code written for ncurses may assume an ANSI-standard C compiler and POSIX-compatible OS interface. It may also assume the presence of a @@ -101,7 +103,7 @@ specification files (configure.in and aclocal.m4) to set up a new feature macro, which you then use to condition your code. - Documentation Conventions +Documentation Conventions There are three kinds of documentation associated with this package. Each has a different preferred format: @@ -111,7 +113,7 @@ Our conventions are simple: 1. Maintain package-internal files in plain text. The expected viewer - for them more(1) or an editor window; there is no point in + for them is more(1) or an editor window; there is no point in elaborate mark-up. 2. Mark up manual pages in the man macros. These have to be viewable through traditional man(1) programs. @@ -127,7 +129,7 @@ nice-looking printed version from it. Also, of course, it make exporting things like the announcement document to WWW pretty trivial. - How to Report Bugs +How to Report Bugs The reporting address for bugs is bug-ncurses@gnu.org. This is a majordomo list; to join, write to bug-ncurses-request@gnu.org with a @@ -228,9 +230,9 @@ comments of hardscroll.c and hashmap.c; then try it out. You can also test the hardware-scrolling optimization separately with hardscroll. - A Tour of the Ncurses Library +A Tour of the Ncurses Library -Library Overview + Library Overview Most of the library is superstructure -- fairly trivial convenience interfaces to a small set of basic functions and data structures used @@ -303,9 +305,9 @@ We will discuss these in the compiler tour. -The Engine Room + The Engine Room - Keyboard Input + Keyboard Input All ncurses input funnels through the function wgetch(), defined in lib_getch.c. This function is tricky; it has to poll for keyboard and @@ -328,7 +330,7 @@ value. The function timed_wait() effectively simulates a System V select. - Mouse Events + Mouse Events If the mouse interface is active, wgetch() polls for mouse events each call, before it goes to the keyboard for input. It is up to @@ -368,7 +370,7 @@ accepted to parse the digested mouse reports (low-level events) into a gesture (a high-level or composite event). - Output and Screen Updating + Output and Screen Updating With the single exception of character echoes during a wgetnstr() call (which simulates cooked-mode line editing in an ncurses window), the @@ -412,7 +414,7 @@ variable _nc_optimize_enable. See the file include/curses.h.in for mask values, near the end. - The Forms and Menu Libraries +The Forms and Menu Libraries The forms and menu libraries should work reliably in any environment you can port ncurses to. The only portability issue anywhere in them @@ -428,7 +430,7 @@ panels support; u386mon 2.10 and beyond use it. This version has been slightly cleaned up for ncurses. - A Tour of the Terminfo Compiler +A Tour of the Terminfo Compiler The ncurses implementation of tic is rather complex internally; it has to do a trying combination of missions. This starts with the fact @@ -443,7 +445,7 @@ the grammar above it is trivial, just "parse entries till you run out of file". -Translation of Non-use Capabilities + Translation of Non-use Capabilities Translation of most things besides use capabilities is pretty straightforward. The lexical analyzer's tokenizer hands each @@ -464,7 +466,7 @@ of adding one line to the include/Caps file. We will have more to say about this in the section on Source-Form Translation. -Use Capability Resolution + Use Capability Resolution The background problem that makes tic tricky is not the capability translation itself, it is the resolution of use capabilities. Older @@ -512,7 +514,7 @@ complain about overwriting entries newly made during the tic run, but not about overwriting ones that predate it. -Source-Form Translation + Source-Form Translation Another use of tic is to do source translation between various termcap and terminfo formats. There are more variants out there than you might @@ -536,7 +538,7 @@ for example, is where the AIX box1 capability get translated to an acsc string. - Other Utilities +Other Utilities The infocmp utility is just a wrapper around the same entry-dumping code used by tic for source translation. Perhaps the one interesting @@ -548,7 +550,7 @@ The tput and clear utilities just do an entry load followed by a tputs() of a selected capability. - Style Tips for Developers +Style Tips for Developers See the TO-DO file in the top-level directory of the source distribution for additions that would be particularly useful. @@ -575,7 +577,7 @@ Have fun! - Porting Hints +Porting Hints The following notes are intended to be a first step towards DOS and Macintosh ports of the ncurses libraries. Index: doc/html/ada/terminal_interface-curses_constants__ads.htm --- ncurses-6.3-20221224+/doc/html/ada/terminal_interface-curses_constants__ads.htm 2022-01-15 18:03:55.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/ada/terminal_interface-curses_constants__ads.htm 2022-12-31 20:38:54.000000000 +0000 @@ -36,8 +36,8 @@ <span class="comment"><em>-- Version of the ncurses library from extensions(3NCURSES)</em></span> <span class="symbol"><a name="ref_21_4">NCURSES_VERSION_MAJOR</a></span> : <b>constant</b> := 6; - <span class="symbol"><a name="ref_22_4">NCURSES_VERSION_MINOR</a></span> : <b>constant</b> := 3; - <span class="symbol"><a name="ref_23_4">Version</a></span> : <b>constant</b> String := "6.3"; + <span class="symbol"><a name="ref_22_4">NCURSES_VERSION_MINOR</a></span> : <b>constant</b> := 4; + <span class="symbol"><a name="ref_23_4">Version</a></span> : <b>constant</b> String := "6.4"; <span class="comment"><em>-- Character non-color attributes from attr(3NCURSES)</em></span> Index: doc/html/announce.html Prereq: 1.67 --- ncurses-6.3-20221224+/doc/html/announce.html 2022-11-26 17:41:51.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/announce.html 2022-12-31 20:38:46.000000000 +0000 @@ -1,5 +1,5 @@ <!-- - $Id: announce.html,v 1.67 2022/11/26 17:41:51 tom Exp $ + $Id: announce.html,v 1.68 2022/12/31 20:38:46 tom Exp $ **************************************************************************** * Copyright 2018-2021,2022 Thomas E. Dickey * * * @@ -33,7 +33,7 @@ <head> <meta name="generator" content= "HTML Tidy for HTML5 for Linux version 5.6.0"> - <title>Announcing ncurses 6.3</title> + <title>Announcing ncurses 6.4</title> <link rel="author" href="mailto:bug-ncurses@gnu.org"> <meta http-equiv="Content-Type" content= "text/html; charset=us-ascii"> @@ -56,7 +56,7 @@ </style> </head> <body> - <h1 class="no-header">Announcing ncurses 6.3</h1> + <h1 class="no-header">Announcing ncurses 6.4</h1> <h2><a name="h2-overview" id="h2-overview">Overview</a></h2> @@ -100,38 +100,33 @@ including</p> <ul> - <li><a href= - "https://invisible-island.net/ncurses/man/captoinfo.1m.html"><span class="part-name"> - captoinfo</span></a>, a termcap conversion tool</li> + <li><a href="https://invisible-island.net/ncurses/man/captoinfo.1m.html"><span class= + "part-name">captoinfo</span></a>, a termcap conversion + tool</li> - <li><a href= - "https://invisible-island.net/ncurses/man/clear.1.html"><span class="part-name"> - clear</span></a>, utility for clearing the screen</li> + <li><a href="https://invisible-island.net/ncurses/man/clear.1.html"><span class= + "part-name">clear</span></a>, utility for clearing the + screen</li> - <li><a href= - "https://invisible-island.net/ncurses/man/infocmp.1m.html"><span class="part-name"> - infocmp</span></a>, the terminfo decompiler</li> + <li><a href="https://invisible-island.net/ncurses/man/infocmp.1m.html"><span class= + "part-name">infocmp</span></a>, the terminfo decompiler</li> - <li><a href= - "https://invisible-island.net/ncurses/man/tabs.1.html"><span class="part-name"> - tabs</span></a>, set tabs on a terminal</li> + <li><a href="https://invisible-island.net/ncurses/man/tabs.1.html"><span class= + "part-name">tabs</span></a>, set tabs on a terminal</li> - <li><a href= - "https://invisible-island.net/ncurses/man/tic.1m.html"><span class="part-name"> - tic</span></a>, the terminfo compiler</li> + <li><a href="https://invisible-island.net/ncurses/man/tic.1m.html"><span class= + "part-name">tic</span></a>, the terminfo compiler</li> - <li><a href= - "https://invisible-island.net/ncurses/man/toe.1m.html"><span class="part-name"> - toe</span></a>, list (table of) terminfo entries</li> + <li><a href="https://invisible-island.net/ncurses/man/toe.1m.html"><span class= + "part-name">toe</span></a>, list (table of) terminfo + entries</li> - <li><a href= - "https://invisible-island.net/ncurses/man/tput.1.html"><span class="part-name"> - tput</span></a>, utility for retrieving terminal capabilities - in shell scripts</li> + <li><a href="https://invisible-island.net/ncurses/man/tput.1.html"><span class= + "part-name">tput</span></a>, utility for retrieving terminal + capabilities in shell scripts</li> - <li><a href= - "https://invisible-island.net/ncurses/man/tset.1.html"><span class="part-name"> - tset</span></a>, to initialize the terminal</li> + <li><a href="https://invisible-island.net/ncurses/man/tset.1.html"><span class= + "part-name">tset</span></a>, to initialize the terminal</li> </ul> <p>Full manual pages are provided for the library and tools.</p> @@ -142,28 +137,27 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/">ftp://ftp.invisible-island.net/ncurses/</a> + "https://invisible-island.net/archives/ncurses/">https://invisible-island.net/archives/ncurses/</a> or<br> <a href= "https://invisible-mirror.net/archives/ncurses/">https://invisible-mirror.net/archives/ncurses/</a> .</p> </blockquote> - <p>It is also available via anonymous FTP at the GNU distribution - site</p> + <p>It is also available at the GNU distribution site</p> <blockquote> <p><a href= - "ftp://ftp.gnu.org/gnu/ncurses/">ftp://ftp.gnu.org/gnu/ncurses/</a> .</p> + "https://ftp.gnu.org/gnu/ncurses/">https://ftp.gnu.org/gnu/ncurses/</a> .</p> </blockquote> <h2><a name="h2-release-notes" id="h2-release-notes">Release Notes</a></h2> <p>These notes are for <span class="main-name">ncurses</span> - 6.3, released <strong>October 21, 2021</strong>.</p> + 6.4, released <strong>December 31, 2022</strong>.</p> <p>This release is designed to be source-compatible with - <span class="main-name">ncurses</span> 5.0 through 6.2; providing + <span class="main-name">ncurses</span> 5.0 through 6.3; providing extensions to the application binary interface (ABI). Although the source can still be configured to support the <span class= "main-name">ncurses</span> 5 ABI, the reason for the release is @@ -175,127 +169,73 @@ this announcement.</p> <p>The most <a href="#h3-bug-fixes">important - bug-fixes/improvements</a> dealt with portability issues. The + bug-fixes/improvements</a> dealt with robustness issues. The release notes also mention some other bug-fixes, but are focused on new features and improvements to existing features since - <span class="main-name">ncurses</span> 6.2 release.</p> + <span class="main-name">ncurses</span> 6.3 release.</p> <h3><a name="h3-library" id="h3-library">Library improvements</a></h3> <h4><a name="h4-new-library" id="h4-new-library">New features</a></h4> - <p>There are a few new features:</p> - - <ul> - <li> - <p>A new (experimental) driver, for the Windows Terminal - configuration is provided.</p> - </li> - - <li> - <p>A script is provided which enables <a href= - "https://invisible-island.net/ncurses/ncurses-openbsd.html">OpenBSD</a> - users to upgrade their system to use ncurses 6.3 (OpenBSD - developers are also invited to do this).</p> - </li> - </ul> - - <p>Additionally, to improve performance other changes (and - extensions) are provided in this release:</p> - - <ul> - <li> - <p>modify lib_mouse.c to check for out-of-range button - numbers, convert those to position reports.</p> - </li> - - <li> - <p>add sp-funcs for <a href= - "https://invisible-island.net/ncurses/man/curs_termattrs.3x.html#h3-erasechar_-erasewchar"> - erasewchar</a>, <a href= - "https://invisible-island.net/ncurses/man/curs_termattrs.3x.html#h3-killchar_-killwchar"> - killwchar</a>.</p> - </li> - </ul> + <p>There are no new features in this release.</p> <h4><a name="h4-fixes-library" id="h4-fixes-library">Other improvements</a></h4> - <p>These are revised features:</p> - - <ul> - <li>modify wgetnstr, wgetn_wstr to improve compatibility with - SVr4 curses in its treatment of interrupt and quit - characters</li> - </ul> - - <p>These were done to limit or ultimately deprecate features:</p> + <p>These are improvements to existing features:</p> <ul> <li> - <p>mark wgetch-events feature as deprecated.</p> - - <ul> - <li> - <p>prevent <tt>KEY_EVENT</tt> from appearing in - <tt>curses.h</tt> unless the configure option - <code>--enable-wgetch-events</code> is used.</p> - </li> - - <li> - <p>modify <tt>MKkey_defs.sh</tt> to hide ncurses' - definition of <tt>KEY_EVENTS</tt> to reduce <em>Visual - Studio C++</em> redefinition warnings.</p> - </li> - </ul> + <p>modify <tt>delscreen</tt> to more effectively delete all + windows on the given screen.</p> </li> <li> - <p>reduce build-warnings by excluding ncurses-internals from - deprecation warnings.</p> + <p>modify <tt>wnoutrefresh</tt> to call <tt>pnoutrefresh</tt> + if its parameter is a pad, rather than treating it as an + error, and modify new_panel to permit its window-parameter to + be a pad</p> </li> - </ul> - <p>These are improvements to existing features:</p> + <li> + <p>modify curses_trace() to show the trace-mask as symbols, + e.g., <tt>TRACE_ORDINARY</tt>, <tt>DEBUG_LEVEL(3)</tt>.</p> + </li> - <ul> <li> - <p>drop symbols <em>GCC_PRINTF</em> and <em>GCC_SCANF</em> - from <curses.h>, to simplify use.</p> + <p>improve checks for valid mouse events when an intermediate + mouse state is not part of the mousemask specified by the + caller</p> </li> <li> - <p>apply gcc format attribute to prototypes which use a - va_list parameter rather than a “<tt>...</tt>” - variable-length parameter list.</p> + <p>allow extended-color number in <em>opts</em> parameter of + <tt>wattr_on</tt>.</p> </li> <li> - <p>modify <term.h> so that it is not necessary to - include <curses.h> before <term.h>.</p> + <p>improve <tt>_tracecchar_t2</tt> formatting of + base+combining character.</p> </li> <li> - <p>provide for wide-characters as background character in - wbkgrnd</p> + <p>trim out some unwanted linker options from ncurses*config + and .pc files seen in Fedora 36+.</p> </li> <li> - <p>improve parameter-checking for tparm, adding function - _nc_tiparm() to handle the most-used case, which accepts only - numeric parameters.</p> + <p>improve shell-scripts with <em>shellcheck</em></p> </li> <li> - <p>use return-value from <em>vsnprintf</em> to reallocate as - needed to allow for buffers larger than the screen size.</p> + <p>improve use of "trap" in shell scripts, using a + script.</p> </li> <li> - <p>add another <em>fflush(stdout)</em> in <em>_nc_flush</em> - to handle time-delays in the middle of strings such as flash - when the application uses low-level calls rather than - curses.</p> + <p>modify <tt>make-tar.sh</tt> scripts to make timestamps + more predictable.</p> </li> </ul> @@ -303,18 +243,19 @@ <ul> <li> - <p>add a check to guard against <em>repeat_char</em> emitting - digits which could be interpreted as BSD-style padding when - <tt>--enable-bsdpad</tt> is configured.</p> + <p>modify <tt>misc/gen-pkgconfig.in</tt> to allow for the + case where the library directory does not yet exist, since + this is processed before doing an install</p> + </li> + + <li> + <p>set trailing null on string passed from <tt>winsnstr</tt> + to <tt>wins_nwstr</tt>.</p> </li> <li> - <p>check for screen size-change in <a href= - "https://invisible-island.net/ncurses/man/curs_scr_dump.3x.html"> - scr_init</a> and <a href= - "https://invisible-island.net/ncurses/man/curs_scr_dump.3x.html"> - scr_restore</a>, in case a screen dump does not match the - current screen dimensions</p> + <p>modify <tt>waddch_literal</tt> to allow for double-width + base character when merging a combining character</p> </li> </ul> @@ -326,177 +267,96 @@ <dl> <dt><span class="part-name"><a href= - "https://invisible-island.net/ncurses/man/tabs.1.html">tabs</a></span> + "https://invisible-island.net/ncurses/man/infocmp.1m.html">infocmp</a></span> </dt> <dd> <ul> - <li> - <p>implement “<tt>+m</tt>” option</p> - </li> + <li>rewrite <tt>canonical_name</tt> function of + <tt>infocmp</tt> to ensure buffer size</li> + + <li>improve readability of long parameterized expressions + with the infocmp “<tt>-f</tt>” option by + allowing split before a “<tt>%p</tt>” + marker.</li> + + <li>modify verbose-option of <tt>infocmp</tt>, + <tt>tic</tt>, <tt>toe</tt> to enable debug-tracing if that + is configured.</li> </ul> </dd> <dt><span class="part-name"><a href= - "https://invisible-island.net/ncurses/man/tic.1m.html">tic</a></span> + "https://invisible-island.net/ncurses/man/tabs.1.html">tabs</a></span> </dt> - <dd> - <ul> - <li> - <p>add check for duplicate “<tt>use=</tt>” - clauses.</p> - </li> - - <li> - <p>add check to report instances where <tt>tparm</tt> - would detect an error in an expression.</p> - </li> - - <li> - <p>add user-defined capabilities from <em>mintty</em> to - <tt>Caps-ncurses</tt>, for checking consistency.</p> - </li> - - <li> - <p>improve warning when oc/op do not mention SGR 39/49 - for <em>xterm</em> compatible <code>XT</code> flag.</p> - </li> - - <li> - <p>improve checks for number of parameters of - <code>smglp</code>, <code>smgrp</code>, - <code>smgtp</code>, and <code>smgbp</code>.</p> - </li> - - <li> - <p>improve “<tt>-c</tt>” option to validate - the number and type of parameters and compare against - expected number/type before deciding which set of - parameter-lists to use in tparm calls.</p> - </li> - - <li> - <p>improve check for errors detected in - <code>tparm</code>.</p> - </li> - - <li> - <p>improve format of output, to ensure that the messages - contain only printable text.</p> - </li> - - <li> - <p>modify to eliminate unnecessary - “<code>\</code>” to escape - “<code>:</code>” in terminfo format.</p> - </li> - - <li> - <p>remove check that assumes that none or both - parameterized and non-parameterized margin-setting - capabilities are present.</p> - </li> - </ul> - </dd> + <dd>limit tab-stop values to max-columns</dd> <dt><span class="part-name"><a href= - "https://invisible-island.net/ncurses/man/toe.1m.html">toe</a></span> + "https://invisible-island.net/ncurses/man/tic.1m.html">tic</a></span> </dt> - <dd> - <ul> - <li> - <p>modify output of “<tt>toe -as</tt>” to - show first description found rather than the last.</p> - </li> - - <li> - <p>add a check to ensure that a “termcap - file” is text rather than binary.</p> - </li> - </ul> - </dd> + <dd>add consistency check in tic for u6/u7/u8/u9 and NQ + capabilities.</dd> <dt><span class="part-name"><a href= "https://invisible-island.net/ncurses/man/tput.1.html">tput</a></span> </dt> - <dd> - <ul> - <li> - <p>modify to allow multiple commands per line.</p> - </li> - - <li> - <p>improve parameter-checking by analyzing all extended - string capabilities, e.g., as used in the <code>Cs</code> - and <code>Ms</code> capabilities of the <em>tmux</em> - description.</p> - </li> - - <li> - <p>make warning messages consistently using alias names - when those are used, rather than the underlying program's - name.</p> - </li> - - <li> - <p>improve usage message for aliases such as - <em>clear</em>, by eliminating <em>tput</em>-specific - portions.</p> - </li> - - <li> - <p>modify initialization to avoid opening - <tt>/dev/tty</tt> for cases other than - <em>reset/init</em>, e.g., for <em>clear</em>.</p> - </li> - </ul> - </dd> + <dd>corrected use of original tty-modes in <em>init/reset</em> + subcommands</dd> </dl> <h4><a name="h4-examples" id="h4-examples">Examples</a></h4> <p>Along with the library and utilities, improvements were made to the <a href= - "https://invisible-island.net/ncurses/ncurses-examples.html">ncurses-examples</a>. - Most of this activity aimed at improving the test-packages. A few - changes are more generally useful, e.g., for the main ncurses - test-program, and for analyzing traces using the - <em>tracemunch</em> script:</p> + "https://invisible-island.net/ncurses/ncurses-examples.html">ncurses-examples</a>. Most of + this activity aimed at improving the test-packages:</p> <ul> <li> - <p>add “<tt>-r</tt>” option to the <em>dots</em> - test-programs, to help with scripting a performance - comparison.</p> + <p>add minimal <tt>-h</tt> (usage) and <tt>-V</tt> (version) + getopt logic to all ncurses-examples programs.</p> + </li> + + <li> + <p>fix an error in "@" command in <tt>test/ncurses.c</tt> + F-menu</p> </li> <li> - <p>build-fix for <em>test_opaque</em>, for configurations - without opaque curses structs, e.g., ncurses 5.7.</p> + <p>add curses_trace to ifdef's for <tt>START_TRACE</tt> in + <tt>test/test.priv.h</tt></p> </li> <li> - <p>improve <em>tracemunch</em> logic for "RUN" - compaction.</p> + <p>improve pthread-configuration for test/worm.c</p> </li> <li> - <p>improve <em>tracemunch</em>'s coverage of form/menu/panel - libraries.</p> + <p>add <tt>setlocale</tt> call to several test-programs.</p> </li> <li> - <p>improve <em>tracemunch</em>'s checking/reporting the type - for the first parameter, e.g., "WINDOW*" rather than - "#1".</p> + <p>workaround in <tt>test/picsmap.c</tt> for use of floating + point for rgb values by ImageMagick 6.9.11, which appears to + use the wrong upper limit.</p> </li> <li> - <p>modify <em>tracemunch</em> and the panel library to show - readable traces for panel- and user-pointers.</p> + <p>use static libraries for AdaCurses test-package for + Mageia, since no gprbuild package is available.</p> + </li> + + <li> + <p>install Ada95 sample programs in libexecdir, adding a + wrapper script to invoke those.</p> + </li> + + <li> + <p>install ncurses-examples programs in libexecdir, adding a + wrapper script to invoke those.</p> </li> </ul> @@ -504,301 +364,218 @@ examples:</p> <dl> - <dt><span class="part-name"><em>back_ground</em></span> + <dt><span class="part-name"><em>test/combine</em></span> + </dt> + + <dd>demonstrate combining characters</dd> + + <dt><span class="part-name"><em>test/test_delwin</em></span> </dt> - <dd>to exercise the wide-character background functions.</dd> + <dd>demonstrate deleting a window</dd> - <dt><span class="part-name"><em>move_field</em></span> + <dt><span class="part-name"><em>test/test_mouse</em></span> </dt> - <dd>to demonstrate <a href= - "https://invisible-island.net/ncurses/man/form_field.3x.html">move_field</a>, - and a stub for a corresponding demo of <a href= - "https://invisible-island.net/ncurses/man/form_field_new.3x.html"> - dup_field</a>.</dd> + <dd>observe mouse events in the raw terminal or parsed ncurses + modes</dd> - <dt><span class="part-name"><em>test_tparm</em></span> + <dt><span class="part-name"><em>test/test_unget_wch</em></span> </dt> - <dd>for checking <em>tparm</em> changes.</dd> + <dd>demonstrate the unget_wch and unget functions</dd> </dl> <h3><a name="h3-database" id="h3-database">Terminal database</a></h3> <p>There are several new terminal descriptions:</p> - <blockquote style="word-break:keep-all"> - <p><tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-absolute"> - absolute</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis"> - att610+cvis</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot"> - foot</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot-direct"> - foot-direct</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp98550-color"> - hp98550-color</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hpterm-color2"> - hpterm-color2</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hterm"> - hterm</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hterm-256color"> - hterm-256color</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux-s"> - linux-s</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty_keypad"> - putty+keypad</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty_screen"> - putty+screen</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty-screen"> - putty-screen</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen.linux-s"> - screen.linux-s</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-scrt/securecrt"> - scrt/securecrt</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-tmux-direct"> - tmux-direct</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis"> - vt220+cvis</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis8"> - vt220+cvis8</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_pcedit"> - vt220+pcedit</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_vtedit"> - vt220+vtedit</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220-base"> - vt220-base</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt52_keypad"> - vt52+keypad</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_256color2"> - xterm+256color2</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_88color2"> - xterm+88color2</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct16"> - xterm-direct16</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct256"> - xterm-direct256</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_nofkeys"> - xterm+nofkeys</a></tt>, and <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_nopcfkeys"> - xterm+nopcfkeys</a></tt>.</p> - </blockquote> - - <p>There are many changes to existing terminal descriptions. Some - were updates to several descriptions:</p> - <ul> - <li>correct use-ordering in some <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-direct"> - xterm-direct</a> flavors</li> - - <li>fix some sgr inconsistencies in <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-d230c"> - d230c</a>, <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ibm6153"> - ibm6153</a>, <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ibm6154"> - ibm6154</a>, <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ncrvt100an"> - ncrvt100an</a></li> - - <li>improve <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt50h"> - vt50h</a> and <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt52"> - vt52</a> based on DECScope manual</li> - - <li>use <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp_arrows"> - hp+arrows</a> in a few places</li> - - <li>use <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-hp_pfk-cr"> - hp+pfk-cr</a> in a few places</li> - - <li>use <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220_cvis"> - vt220+cvis</a> in <tt>st</tt>, <tt>terminology</tt>, - <tt>termite</tt> since they ignore blinking-cursor detail in - <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis"> - att610+cvis</a></li> - </ul> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-mosh">mosh</a></tt> + </li> - <p>while others affected specific descriptions. These were - retested, to take into account changes by their developers:</p> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-mosh-256color">mosh-256color</a></tt> + </li> - <blockquote> - <p><tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty_common"> - kitty+common</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-mlterm3"> - mlterm3</a></tt>, <tt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ms-terminal"> - ms-terminal</a></tt></p> - </blockquote> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-16color">teken-16color</a></tt> + </li> - <p>while these are specific fixes based on reviewing - documentation, user reports, or warnings from <span class= - "part-name">tic</span>:</p> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-sc">teken-sc</a></tt> + </li> - <dl> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-aaa_dec"> - aaa+dec</a>, aaa+rv</dt> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken-vt">teken-vt</a></tt> + </li> - <dd>correct rmacs/smacs</dd> + <li><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-xgterm">xgterm</a></tt> + </li> + </ul> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-aaa_rv"> - aaa+rv</a> - </dt> + <p>There are many changes to existing terminal descriptions. Some + were updates to several descriptions:</p> - <dd>correct sgr</dd> + <ul> + <li> + <p>make description-fields distinct</p> + </li> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-icl6404"> - icl6404</a> - </dt> + <li> + <p>fix errata in description fields</p> + </li> - <dd>correct csr</dd> + <li> + <p>add/use several building-blocks:</p> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty"> - kitty</a> - </dt> + <ul> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-aixterm_sl"><tt>aixterm+sl</tt></a></li> - <dd>use att610+cvis, xterm+tmux and ansi+enq</dd> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-ansi_cpr"><tt>ansi+cpr</tt></a></li> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-konsole-base"> - konsole-base</a> - </dt> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-apollo_vt132"><tt>apollo+vt132</tt></a></li> - <dd>re-enable "bel"</dd> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-decid_cpr"><tt>decid+cpr</tt></a></li> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux2.6"> - linux2.6</a> - </dt> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-ncr260vp_sl"><tt>ncr260vp+sl</tt></a></li> - <dd>fix pound-sign mapping in acsc</dd> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-wyse_sl"><tt>wyse+sl</tt></a></li> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux3.0"> - linux3.0</a> - </dt> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-x10term_sl"><tt>x10term+sl</tt></a></li> - <dd>modify to reflect default mapping of shift-tab by kbd - 1.14</dd> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_acs"><tt>xterm+acs</tt></a></li> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-pccons"> - pccons</a> - </dt> + <li><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_alt47"><tt>xterm+alt47</tt></a></li> + </ul> + </li> + </ul> - <dd>fill in some missing pieces, to make it comparable to the - vt220 entry</dd> + <p>while others affected specific descriptions. These were + retested, to take into account changes by their developers:</p> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-putty"> - putty</a> - </dt> + <ul> + <li> + <p><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-kitty">kitty</a></tt> + </p> + </li> - <dd>use vt100+fnkeys, add rep</dd> + <li> + <p><tt><a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-teken">teken</a></tt> + </p> + </li> + </ul> + + <p>while these are specific fixes based on reviewing + documentation, user reports, or warnings from <span class= + "part-name">tic</span>:</p> + <dl> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen"> - screen</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-att610_cvis0">att610+cvis0</a> </dt> - <dd>use vt100+enq</dd> + <dd>amended note as per documentation for att610, att620, + att730</dd> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-terminator"> - terminator</a> - </dt> + <dt><a href="https://invisible-island.net/ncurses/terminfo.src.html#tic-kon">kon</a>, + kon2, jfbterm</dt> - <dd>corrected tsl capability</dd> + <dd>revise to undo "linux2.6" change to smacs/rmacs/enacs</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ti916"> - ti916</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-st-0_6">st-0.6</a> </dt> - <dd>correct cup</dd> + <dd>add dim, ecma+strikeout</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-tmux"> - tmux</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-foot_base">foot+base</a> </dt> - <dd>change kbs to ^?</dd> + <dd>add xterm+sl-alt</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt220"> - vt220</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-dec_sl">dec+sl</a> </dt> - <dd>use vt220+cvis</dd> + <dd>correct dsl in dec+sl</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt420_lrmm"> - vt420+lrmm</a> - </dt> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-mintty">mintty</a> and + tmux</dt> - <dd>add smglp and smgrp</dd> + <dd>correct setal in mintty/tmux entries, add to vte-2018</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-vt420"> - vt420</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-nsterm">nsterm</a> </dt> - <dd>use vt420+lrmm</dd> + <dd>modify nsterm to use xterm+alt1049</dd> - <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-new"> - xterm-new</a> + <dt><a href="https://invisible-island.net/ncurses/terminfo.src.html#tic-putty">putty</a> </dt> - <dd>add nel</dd> + <dd>modify putty to use xterm+alt1049</dd> <dt><a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-vt52"> - xterm-vt52</a> + "https://invisible-island.net/ncurses/terminfo.src.html#tic-vte-2018">vte-2018</a> </dt> - <dd>use vt52+keypad</dd> + <dd>add blink and setal</dd> </dl> <p>A few entries use extensions (user-defined terminal capabilities):</p> <ul> - <li>add shifted Linux console keys in <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-linux_sfkeys"> - linux+sfkeys</a> entry for <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-screen.linux"> - screen.linux</a></li> - - <li>add Smulx to <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-alacritty"> - alacritty</a></li> - - <li>add kbeg to <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_keypad"> - xterm+keypad</a> to accommodate termcap applications</li> - - <li>add extensions in <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm_tmux"> - xterm+tmux</a> and <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ecma_strikeout"> - ecma+strikeout</a> to <a href= - "https://invisible-island.net/ncurses/terminfo.src.html#tic-ms-terminal"> - ms-terminal</a>, but cancel the non-working Cr and Ms - capabilities</li> + <li> + <p>use <tt>ansi+enq</tt> and <tt>decid+cpr</tt> in cases + where the terminal probably supported the u6-u9 extension</p> + </li> + + <li> + <p>remove u6-u9 from teken-2018</p> + </li> + + <li> + <p>use <tt>NQ</tt> to flag entries where the terminal does + not support query and response</p> + </li> + + <li> + <p>add/use <a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-bracketed_paste"><tt>bracketed+paste</tt></a> + to help identify terminals supporting this xterm feature</p> + </li> + + <li> + <p>modify samples for xterm mouse 1002/1003 modes to use 1006 + mode, and also provide for focus in/out responses</p> + </li> + + <li> + <p>xterm patch #371 supports DEC-compatible status-line. add + <tt>dec+sl</tt> to xterm-new, per xterm #371, add <a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-p371"><tt>xterm-p371</tt></a>, + add <a href= + "https://invisible-island.net/ncurses/terminfo.src.html#tic-xterm-p370"><tt>xterm-p370</tt></a>, + for use in older terminals, and set “xterm-new” + to “xterm-p370” (to ease adoption).</p> + </li> </ul> <h3><a name="h3-documentation" id= @@ -818,9 +595,8 @@ <li> <p>fills in overlooked descriptions of features which were - described in the <a href= - "https://invisible-island.net/ncurses/NEWS.html">NEWS</a> - file but treated sketchily in manual pages.</p> + described in the <a href="https://invisible-island.net/ncurses/NEWS.html">NEWS</a> file + but treated sketchily in manual pages.</p> </li> </ul> @@ -834,19 +610,16 @@ <ul> <li> - <p>make <em>opts</em> extension for <a href= - "https://invisible-island.net/ncurses/man/curs_getcchar.3x.html#h3-getcchar"> - <tt>getcchar</tt></a> work as documented for <a href= - "https://invisible-island.net/ncurses/announce-6.1.html#h4-new-library"> - ncurses 6.1</a>, adding “<tt>-g</tt>” flag to - <em>demo_new_pair</em> to illustrate.</p> + <p>remove a stray '/' from description of <tt>%g</tt> in + <a href= + "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Parameterized-Strings"> + terminfo(5)</a>.</p> </li> <li> - <p>modify <a href= - "https://invisible-island.net/ncurses/man/tset.1.html">tset</a> - “-q” option to refrain from modifying - terminal modes, to match the documentation.</p> + <p>correct/improve font-formatting in <a href= + "https://invisible-island.net/ncurses/man/curs_getch.3x.html">curs_getch.3x</a>, as + well as other manual pages.</p> </li> </ul> </li> @@ -856,48 +629,17 @@ <ul> <li> - <p>improve documentation for <a href= - "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Parameterized-Strings"> - tparm</a> and static/dynamic variables.</p> - </li> - - <li> - <p>add history note to <a href= - "https://invisible-island.net/ncurses/man/curs_scanw.3x.html#h2-HISTORY"> - curs_scanw.3x</a> for <stdarg.h> and - <varargs.h></p> - </li> - - <li> - <p>add history note to <a href= - "https://invisible-island.net/ncurses/man/curs_printw.3x.html#h2-HISTORY"> - curs_printw.3x</a> for <stdarg.h> and - <varargs.h></p> - </li> - - <li> - <p>add portability note to <a href= - "https://invisible-island.net/ncurses/man/ncurses.3x.html#h3-Header-files"> - ncurses.3x</a> regarding <stdarg.h></p> - </li> - - <li> - <p>add historical notes to <a href= - "https://invisible-island.net/ncurses/man/tput.1.html#h2-HISTORY"> - tput</a>, <a href= - "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h2-HISTORY"> - curses-terminfo</a> and <a href= - "https://invisible-island.net/ncurses/man/curs_color.3x.html#h2-HISTORY"> - curses-color</a> manpages based on source-code for SVr2, - SVr3 and SVr4.</p> + <p>add portability notes for <a href= + "https://invisible-island.net/ncurses/man/curs_initscr.3x.html#h2-PORTABILITY">delscreen</a> + and <a href= + "https://invisible-island.net/ncurses/man/curs_window.3x.html#h2-PORTABILITY">delwin</a> + in manual.</p> </li> <li> - <p>improve history section for <a href= - "https://invisible-island.net/ncurses/man/tset.1.html#h2-HISTORY"> - tset</a> manpage based on the 1BSD tarball, which - preceded BSD's SCCS checkins by more than three - years.</p> + <p>improve <a href= + "https://invisible-island.net/ncurses/man/curs_slk.3x.html#h2-EXTENSIONS">curs_slk.3x</a> + discussion of extensions and portability</p> </li> </ul> </li> @@ -907,66 +649,64 @@ <ul> <li> - <p>explain in <a href= - "https://invisible-island.net/ncurses/man/ncurses.3x.html#h2-ALTERNATE-CONFIGURATIONS"> - ncurses.3x</a> that functions in the tinfo library do not - rely upon wide-characters.</p> + <p>improve <a href= + "https://invisible-island.net/ncurses/man/curs_bkgd.3x.html">curs_bkgd.3x</a>, + explaining that <tt>bkgdset</tt> can affect results for + <tt>bkgd</tt></p> </li> <li> - <p>improve manual page for <a href= - "https://invisible-island.net/ncurses/man/panel.3x.html#h2-PORTABILITY"> - panel</a> library, extending the portability section as - well as documenting error-returns.</p> + <p>add note on portable memory-leak checking in <a href= + "https://invisible-island.net/ncurses/man/curs_memleaks.3x.html#h2-PORTABILITY">curs_memleaks.3x</a></p> </li> <li> - <p>add section on margins to <a href= - "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Margins"> - terminfo.5</a>, adapted from X/Open Curses.</p> + <p>expanded description in <a href= + "https://invisible-island.net/ncurses/man/resizeterm.3x.html">resizeterm.3x</a></p> </li> <li> - <p>improve <a href= - "https://invisible-island.net/ncurses/man/term.5.html#h3-LEGACY-STORAGE-FORMAT"> - man/term.5</a> section on legacy storage format.</p> + <p>add section on releasing memory to <a href= + "https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h3-Releasing-Memory"> + curs_termcap.3x</a> and <a href= + "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h3-Releasing-Memory"> + curs_terminfo.3x</a> manpages.</p> </li> <li> - <p>add a note in <a href= - "https://invisible-island.net/ncurses/man/terminfo.5.html#h3-Predefined-Capabilities"> - terminfo.5</a> explaining that no-parameter strings such - as <em><tt>sgr0</tt></em> or <em><tt>cnorm</tt></em> - should not be used with tparm.</p> + <p>add clarification of the scope of dynamic variables in + <a href= + "https://invisible-island.net/ncurses/man/terminfo.5.html">terminfo(5)</a>.</p> </li> <li> - <p>improve description of BSD-style padding in <a href= - "https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h2-BUGS"> - curs_termcap.3x</a></p> + <p>improve formatting of <a href= + "https://invisible-island.net/ncurses/ncurses-intro.html">ncurses-intro.html</a> + and <a href= + "https://invisible-island.net/ncurses/hackguide.html">hackguide.html</a></p> + </li> + + <li> + <p>improve <a href= + "https://invisible-island.net/ncurses/man/curs_clear.3x.html">curs_clear.3x</a> + links to other pages</p> </li> <li> - <p>improve discussion of padding versus <tt>tparm</tt> - and <tt>tputs</tt> in <a href= - "https://invisible-island.net/ncurses/man/curs_terminfo.3x.html#h3-Formatting-Output"> - man/curs_terminfo.3x</a></p> + <p>update <a href= + "https://invisible-island.net/ncurses/howto/NCURSES-Programming-HOWTO.html">ncurses-howto</a>, + making documentation fixes along with corrections to + example programs.</p> </li> <li> - <p>add a note in manual page to explain <a href= - "https://invisible-island.net/ncurses/man/curs_getch.3x.html#h3-Ungetting-characters"> - ungetch</a> vs <a href= - "https://invisible-island.net/ncurses/man/curs_get_wch.3x.html#h3-unget_wch"> - unget_wch</a>.</p> + <p>use newer version 1.36 of gnathtml for generating Ada + html files.</p> </li> <li> - <p>improve description of error-returns in <a href= - "https://invisible-island.net/ncurses/man/curs_addch.3x.html#h2-RETURN-VALUE"> - waddch</a> and <a href= - "https://invisible-island.net/ncurses/man/curs_addstr.3x.html#h2-RETURN-VALUE"> - waddnstr</a> manual pages.</p> + <p>update external links in <a href= + "https://invisible-island.net/ncurses/Ada95.html">Ada95.html</a></p> </li> </ul> </li> @@ -975,62 +715,49 @@ <p>There are no new manual pages (all of the manual page updates are to existing pages).</p> - <p>Some of the improvements are more subtle, relating to the way - the information is presented. For instance, hyphenation is - suppressed in the HTML files generated from manual pages because - an upgrade to <em>groff</em> gave noticeably poorer results, - interfering with the process of creating links between the - resulting webpages.</p> - <h3><a name="h3-bug-fixes" id="h3-bug-fixes">Interesting bug-fixes</a></h3> <p>While there were many bugs fixed during development of ncurses - 6.3, only a few (the reason for this release) were both important + 6.4, only a few (the reason for this release) were both important and interesting. Most of the bug-fixes were for local issues which did not affect compatibility across releases. Since those are detailed in the <a href= - "https://invisible-island.net/ncurses/NEWS.html#t20211018">NEWS</a> - file no elaboration is needed here.</p> + "https://invisible-island.net/ncurses/NEWS.html#t20221231">NEWS</a> file no elaboration is + needed here.</p> - <p>The interesting bugs were:</p> + <p>The interesting bugs were those dealing with memory leaks and + buffer overflows. Although the utilities are designed for + <em>text</em> files (which they do properly), some choose to test + them with <strong>non-</strong><em>text</em> files.</p> <ul> <li> - <p>modify <a href= - "https://invisible-island.net/ncurses/man/curs_bkgd.3x.html#h3-bkgd"> - wbkgd</a> and <a href= - "https://invisible-island.net/ncurses/man/curs_bkgrnd.3x.html#h3-bkgrnd"> - wbkgrnd</a> to avoid storing a null in the background - character, because it may be used in cases where the - corresponding 0x80 is not treated as a null.</p> - - <p>This was a regression introduced in ncurses 6.2 (<a href= - "https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00000.html">reported</a> - on the mailing list), for which the workaround was to specify - a blank for the background character.</p> + <p>Text files contain no embedded nulls. Also, they end with + a newline. Feeding <strong>tic</strong> non-text files + exposed a few cases where the program did not check for those + issues. As a result, further processing of the input found + limit-checks whose assumptions were invalid.</p> </li> <li> - <p>remove output-related checks for <a href= - "https://invisible-island.net/ncurses/man/curs_outopts.3x.html"> - nl/nonl</a> (also <a href= - "https://lists.gnu.org/archive/html/bug-ncurses/2020-09/msg00018.html"> - reported</a> on the mailing list).</p> + <p>Fixing the limit-checks (first) found a problem with + <strong>tic</strong> managing the list of strings in a + terminal description. In merging two terminal descriptions + (i.e., the “use=” feature), <strong>tic</strong> + was not allocating a complete copy. A quick repair for that + introduced a memory leak.</p> </li> <li> - <p>improve tparm implementation of <tt>%P</tt> and - <tt>%g</tt>, more closely matching SVr4 terminfo. Those - denote <em>static</em> and <em>dynamic</em> variables in - terminfo expressions.</p> - - <p>Exactly what those terms meant was never documented before - in any implementation of curses, aside from source code. - Unlike the other two fixes, the problem was discovered while - studying OpenBSD's version of <a href= - "https://invisible-island.net/ncurses/ncurses-openbsd.html#issue_tput"> - tset</a>.</p> + <p>The checks for non-text files are improved (i.e., embedded + nulls in the input file will cause <strong>tic</strong> to + reject it rather than attempting to process it).</p> + </li> + + <li> + <p>The string allocations in <strong>tic</strong> are + likewise improved.</p> </li> </ul> @@ -1040,9 +767,7 @@ <h4><a name="h4-config-major" id="h4-config-major">Major changes</a></h4> - <p>There are no major changes. Several new options were added to - ease integration of packages with systems using different - versions of <em>GNAT</em> and <em>ncurses</em>. Also, + <p>There are no major changes. No new options were added. Several improvements were made to configure checks.</p> <h4><a name="h4-config-options" id= @@ -1051,73 +776,35 @@ <p>There are a few new/modified configure options:</p> <dl> - <dt><tt>--enable-fvisibility</tt> - </dt> - - <dd> - <p>new configure option and check for <em>gcc</em> - <tt>-fvisibility=hidden</tt> feature</p> - </dd> - - <dt><tt>--enable-leaks</tt> + <dt><tt>--with-abi-version</tt> </dt> <dd> - <p>corrected to allow turning leak-checking off later in a - set of options.</p> + <p>add ABI 7 defaults to configure script.</p> </dd> - <dt><tt>--enable-stdnoreturn</tt> + <dt><tt>--with-caps</tt> </dt> <dd> - <p>new configure option makes the <code>_Noreturn</code> - keyword optional to ease transition.</p> + <p>add warning in configure script if file specified for + “<tt>--with-caps</tt>” does not exist.</p> </dd> - <dt><tt>--disable-pkg-ldflags</tt> + <dt><tt>--with-manpage-format</tt> </dt> <dd> - <p>revised option also controls whether <code>$LDFLAGS</code> - from the build is provided in “<tt>-config</tt>” - and “<tt>.pc</tt>” files.</p> + <p>bzip2 and xz compression are now supported</p> </dd> - <dt><tt>--disable-root-access</tt> + <dt><tt>--with-xterm-kbs</tt> </dt> <dd> - <p>add configure option which tells ncurses to disallow most - file-opens by setuid processes.</p> - </dd> - - <dt><tt>--disable-wattr-macros</tt> - </dt> - - <dd> - <p>changed default to help packagers who reuse wide ncursesw - header file with non-wide ncurses library.</p> - </dd> - - <dt><tt>--with-pkg-config-libdir</tt> - </dt> - - <dd> - <p>revised option uses the actual search path from - <em>pkg-config</em> or <em>pkgconf</em> using the output from - <tt>--debug</tt>.</p> - </dd> - - <dt><tt>--with-ada-libname</tt><br> - <tt>--with-form-libname</tt><br> - <tt>--with-menu-libname</tt><br> - <tt>--with-panel-libname</tt> - </dt> - - <dd> - <p>new several <tt>--with-<em>xxx</em>-libname</tt> options, - to help with pkgsrc</p> + <p>add check/warning in configure script if option + “<tt>--with-xterm-kbs</tt>” is missing or + inconsistent</p> </dd> </dl> @@ -1128,108 +815,100 @@ <ul> <li> - <p>add a special case in the configure script to work around - one of the build-time breakages reported for <a href= - "https://invisible-island.net/ncurses/ncurses-openbsd.html">OpenBSD - 6</a> here:</p> - - <blockquote> - <p><a href= - "https://www.mail-archive.com/bugs@openbsd.org/msg13200.html"> - https://www.mail-archive.com/bugs@openbsd.org/msg13200.html</a></p> - </blockquote> + <p>amend configure option's auto-search to account for + systems where none of the directories known to + <em>pkg-config</em> exist</p> </li> <li> - <p>modify configure check for <em>libtool</em> to prevent - accidental use of an OpenBSD program which uses the same - name.</p> + <p>corrected regex needed for older <em>pkg-config</em> used + in Solaris 10</p> </li> <li> - <p>modify configuration checks for build-time tic/infocmp to - use <em>AC_CHECK_TOOL</em>. That can still be overridden by - <tt>--with-tic-path</tt> and <tt>--with-infocmp-path</tt> - when fallbacks are used, but even if not using fallbacks, the - improved check may help with cross-compiling.</p> + <p>improve handling of <tt>--with-pkg-config-libdir</tt> + option, allowing for the case where either + <tt>$PKG_CONFIG_LIBDIR</tt> or the option value has a + colon-separated list of directories</p> </li> <li> - <p>relax modification-time comparison in - <em>CF_LINK_FUNCS</em> to allow it to accept link() function - with NFS filesystems which change the mtime on the link - target, e.g., several BSD systems.</p> + <p>if the <tt>--with-pkg-config-libdir</tt> option is not + given, use <tt>${libdir}/pkgconfig</tt> as a default</p> </li> <li> - <p>modify configure check for c89/c99 aliases of - <em>clang</em> to use its <tt>-std</tt> option instead, - because some platforms, in particular macOS, do not provide - workable c89/c99 aliases.</p> + <p>improve search-path check for <em>pkg-config</em>, e.g., + for Debian testing which installs <em>pkg-config</em> with + architecture-prefixes.</p> </li> <li> - <p>modify <em>CF_NCURSES_CONFIG</em> to work around - <em>Xcode</em>'s c99 "-W" option, which conflicts with - conventional use for passing linker options.</p> + <p>build-fix for cross-compiling to MingW, conditionally add + <tt>-lssp</tt></p> </li> <li> - <p>modify configure scripts to filter out redefinitions of - _XOPEN_SOURCE, e.g., for NetBSD which generally supports 500, - but 600 is needed for ncursesw.</p> + <p>improve configure check for <tt>getttynam</tt></p> </li> - </ul> - <p>Here are some of the other portability fixes:</p> - - <ul> <li> - <p>change configure-check and source-code for gcc's noreturn - attribute to assume it is a prefix rather than suffix, - matching c11's _Noreturn convention.</p> - </li> + <p>fixes to build with <em>dietlibc</em>:</p> - <li> - <p>modify mk-1st.awk to account for extra-suffix configure - option.</p> - </li> + <ul> + <li>add configure check for <tt>fpathconf</tt></li> - <li> - <p>build-fix for termsort module when configured with - termcap.</p> + <li>add configure check for math sine/cosine, needed in + test/tclock, and eliminate <tt>pow()</tt> from + test/hanoi</li> + + <li>use <tt>wcsnlen</tt> as an alternative to + <tt>wmemchr</tt> if it is not found</li> + </ul> </li> <li> - <p>modify configure script and makefiles to support ".PHONY" - make program feature.</p> + <p>modify configure macro <tt>CF_BUILD_CC</tt> to check if + the build-compiler works, rather than that it is different + from the cross-compiler, e.g., to accommodate a compiler + which can be used for either purpose with different flags</p> </li> <li> - <p>amend <em>libtool</em> configuration to add dependency for - install.tic, etc., in ncurses/Makefile on the lower-level - libraries.</p> + <p>modify configure/scripts to work around interference by + GNU grep 3.8</p> </li> + </ul> + <p>Here are some of the other portability fixes:</p> + + <ul> <li> - <p>modify Ada95 source-generation utility to write to a file - given as parameter rather than to the standard output, - allowing builds with MinGW.</p> + <p>change <tt>man_db.renames</tt> to template, to handle + <em>ncurses*-config</em> script with the + <tt>--extra-suffix</tt> configure option.</p> </li> <li> - <p>amend tic/infocmp check to allow for the respective tool's - absence.</p> + <p>update <tt>CF_XOPEN_SOURCE</tt> macro, adding variants + “gnueabi" and “gnueabihf" to get + <tt>_DEFAULT_SOURCE</tt> special case, as well as adding GNU + libc suffixes for “abi64”, “abin32”, + “x32” to distinguish it from other libc + flavors.</p> </li> <li> - <p>build-fixes for gnat 10.1.1, whose gnatmake drops - integration with gprbuild.</p> + <p>work around <em>musl</em>'s nonstandard use of feature + test macros by adding a definition for + <tt>NCURSES_WIDECHAR</tt> to the generated “.pc” + and <em><tt>*-config</tt></em> files.</p> </li> <li> - <p>correct configure version-check/warning for g++ to allow - for 10.x</p> + <p>use “<tt>command -v</tt>” rather than + “<tt>type</tt>” in <tt>Ada95/gen/Makefile.in</tt> + to fix a portability issue.</p> </li> </ul> @@ -1410,19 +1089,18 @@ </li> <li> - <p>The <a href= - "https://invisible-island.net/ncurses/man/tic.1m.html"><span class="part-name"> - tic</span></a>/<a href= - "https://invisible-island.net/ncurses/man/captoinfo.1m.html">captoinfo</a> - utility provided with <span class="main-name">ncurses</span> - has the ability to translate many termcaps from the XENIX, - IBM and AT&T extension sets.</p> + <p>The <a href="https://invisible-island.net/ncurses/man/tic.1m.html"><span class= + "part-name">tic</span></a>/<a href= + "https://invisible-island.net/ncurses/man/captoinfo.1m.html">captoinfo</a> utility + provided with <span class="main-name">ncurses</span> has the + ability to translate many termcaps from the XENIX, IBM and + AT&T extension sets.</p> </li> <li> <p>A BSD-like <a href= - "https://invisible-island.net/ncurses/man/tset.1.html"><span class="part-name"> - tset</span></a> utility is provided.</p> + "https://invisible-island.net/ncurses/man/tset.1.html"><span class= + "part-name">tset</span></a> utility is provided.</p> </li> <li> @@ -1451,9 +1129,9 @@ <li> <p>The table-of-entries utility <a href= - "https://invisible-island.net/ncurses/man/toe.1m.html"><span class="part-name"> - toe</span></a> makes it easy for users to see exactly what - terminal types are available on the system.</p> + "https://invisible-island.net/ncurses/man/toe.1m.html"><span class= + "part-name">toe</span></a> makes it easy for users to see + exactly what terminal types are available on the system.</p> </li> <li> @@ -1465,10 +1143,11 @@ <li> <p>Extensive documentation is provided (see the <em><a href= - "https://invisible-island.net/ncurses/ncurses.faq.html#additional_reading"> - Additional Reading</a></em> section of the <em><a href= - "https://invisible-island.net/ncurses/ncurses.faq.html"><span class="main-name"> - ncurses</span> FAQ</a></em> for online documentation).</p> + "https://invisible-island.net/ncurses/ncurses.faq.html#additional_reading">Additional + Reading</a></em> section of the <em><a href= + "https://invisible-island.net/ncurses/ncurses.faq.html"><span class= + "main-name">ncurses</span> FAQ</a></em> for online + documentation).</p> </li> </ul> @@ -1501,9 +1180,7 @@ <dd> <p>Curses Development Kit</p> - <p><a href= - "https://invisible-island.net/cdk/">https://invisible-island.net/cdk/</a><br> - + <p><a href="https://invisible-island.net/cdk/">https://invisible-island.net/cdk/</a><br> </p> </dd> @@ -1513,8 +1190,7 @@ <dd> <p>directory-editor</p> - <p><a href= - "https://invisible-island.net/ded/">https://invisible-island.net/ded/</a></p> + <p><a href="https://invisible-island.net/ded/">https://invisible-island.net/ded/</a></p> </dd> <dt><span class="part-name">dialog</span> @@ -1525,8 +1201,7 @@ and the basis for similar install/configure applications on many systems.</p> - <p><a href= - "https://invisible-island.net/dialog/">https://invisible-island.net/dialog/</a></p> + <p><a href="https://invisible-island.net/dialog/">https://invisible-island.net/dialog/</a></p> </dd> <dt><span class="part-name">lynx</span> @@ -1631,8 +1306,7 @@ <dd> <p>terminfo action checker</p> - <p><a href= - "https://invisible-island.net/ncurses/tack.html">https://invisible-island.net/ncurses/tack.html</a></p> + <p><a href="https://invisible-island.net/ncurses/tack.html">https://invisible-island.net/ncurses/tack.html</a></p> </dd> <dt><span class="part-name">tmux</span> @@ -1652,8 +1326,7 @@ <p><em>vi-like-emacs</em> may be built to use the terminfo, termcap or curses interfaces.</p> - <p><a href= - "https://invisible-island.net/vile/">https://invisible-island.net/vile/</a></p> + <p><a href="https://invisible-island.net/vile/">https://invisible-island.net/vile/</a></p> </dd> </dl> </blockquote> @@ -1716,12 +1389,12 @@ "mailto:dickey@invisible-island.net">Thomas E. Dickey</a>. Thomas E. Dickey has acted as the maintainer for the Free Software Foundation, which held a <a href= - "https://invisible-island.net/ncurses/ncurses-license.html">copyright - on ncurses</a> for releases 4.2 through 6.1. Following the - release of ncurses 6.1, effective as of release 6.2, copyright - for ncurses reverted to Thomas E. Dickey (see the <a href= - "https://invisible-island.net/ncurses/ncurses.faq.html#relicensed"> - ncurses FAQ</a> for additional information).</p> + "https://invisible-island.net/ncurses/ncurses-license.html">copyright on ncurses</a> for + releases 4.2 through 6.1. Following the release of ncurses 6.1, + effective as of release 6.2, copyright for ncurses reverted to + Thomas E. Dickey (see the <a href= + "https://invisible-island.net/ncurses/ncurses.faq.html#relicensed">ncurses FAQ</a> for + additional information).</p> <p>Contact the current maintainers at</p> @@ -1749,7 +1422,7 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/current/">ftp://ftp.invisible-island.net/ncurses/current/</a> + "https://invisible-island.net/archives/ncurses/current/">https://invisible-island.net/archives/ncurses/current/</a> and<br> <a href= "https://invisible-mirror.net/archives/ncurses/current/">https://invisible-mirror.net/archives/ncurses/current/</a> .</p> @@ -1759,10 +1432,10 @@ <blockquote> <p><a href= - "ftp://ftp.invisible-island.net/ncurses/6.2/">ftp://ftp.invisible-island.net/ncurses/6.2/</a> + "https://invisible-island.net/archives/ncurses/6.3/">https://invisible-island.net/archives/ncurses/6.3/</a> and<br> <a href= - "https://invisible-mirror.net/archives/ncurses/6.2/">https://invisible-mirror.net/archives/ncurses/6.2/</a> .</p> + "https://invisible-mirror.net/archives/ncurses/6.3/">https://invisible-mirror.net/archives/ncurses/6.3/</a> .</p> </blockquote> <p>There is an archive of the mailing list here:</p> @@ -1781,34 +1454,28 @@ which may be interesting by themselves:</p> <ul> - <li><a href= - "https://invisible-island.net/ncurses/ncurses-license.html"><span class="main-name"> - ncurses</span> licensing</a></li> + <li><a href="https://invisible-island.net/ncurses/ncurses-license.html"><span class= + "main-name">ncurses</span> licensing</a></li> - <li><a href= - "https://invisible-island.net/ncurses/ncurses-mapsyms.html">Symbol - versioning in <span class="main-name">ncurses</span></a></li> + <li><a href="https://invisible-island.net/ncurses/ncurses-mapsyms.html">Symbol versioning + in <span class="main-name">ncurses</span></a></li> - <li><a href= - "https://invisible-island.net/ncurses/ncurses-slang.html">Comments - on <span class="main-name">ncurses</span> versus <span class= + <li><a href="https://invisible-island.net/ncurses/ncurses-slang.html">Comments on + <span class="main-name">ncurses</span> versus <span class= "main-name">slang</span> (S-Lang)</a></li> - <li><a href= - "https://invisible-island.net/ncurses/ncurses-openbsd.html">Comments - on <span class="main-name">OpenBSD</span></a></li> + <li><a href="https://invisible-island.net/ncurses/ncurses-openbsd.html">Comments on + <span class="main-name">OpenBSD</span></a></li> - <li><a href= - "https://invisible-island.net/ncurses/tack.html">tack – - terminfo action checker</a></li> + <li><a href="https://invisible-island.net/ncurses/tack.html">tack – terminfo action + checker</a></li> - <li><a href= - "https://invisible-island.net/ncurses/tctest.html">tctest - – termcap library checker</a></li> + <li><a href="https://invisible-island.net/ncurses/tctest.html">tctest – termcap + library checker</a></li> <li><a href= - "https://invisible-island.net/ncurses/ncurses.html#download_database"> - Terminal Database</a></li> + "https://invisible-island.net/ncurses/ncurses.html#download_database">Terminal + Database</a></li> </ul> <h2><a name="h2-other-stuff" id="h2-other-stuff">Other Index: doc/html/man/adacurses6-config.1.html --- ncurses-6.3-20221224+/doc/html/man/adacurses6-config.1.html 2022-12-11 00:25:05.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/adacurses6-config.1.html 2022-12-31 20:38:48.000000000 +0000 @@ -126,7 +126,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/captoinfo.1m.html --- ncurses-6.3-20221224+/doc/html/man/captoinfo.1m.html 2022-12-11 00:25:05.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/captoinfo.1m.html 2022-12-31 20:38:48.000000000 +0000 @@ -199,7 +199,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> Index: doc/html/man/clear.1.html --- ncurses-6.3-20221224+/doc/html/man/clear.1.html 2022-12-11 00:25:05.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/clear.1.html 2022-12-31 20:38:48.000000000 +0000 @@ -150,7 +150,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG>xterm(1)</STRONG>. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/form.3x.html --- ncurses-6.3-20221224+/doc/html/man/form.3x.html 2022-12-11 00:25:08.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/form.3x.html 2022-12-31 20:38:50.000000000 +0000 @@ -248,7 +248,7 @@ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "form_" for detailed descriptions of the entry points. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/infocmp.1m.html --- ncurses-6.3-20221224+/doc/html/man/infocmp.1m.html 2022-12-11 00:25:09.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/infocmp.1m.html 2022-12-31 20:38:51.000000000 +0000 @@ -514,7 +514,7 @@ https://invisible-island.net/ncurses/tctest.html - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> Index: doc/html/man/infotocap.1m.html --- ncurses-6.3-20221224+/doc/html/man/infotocap.1m.html 2022-12-11 00:25:09.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/infotocap.1m.html 2022-12-31 20:38:51.000000000 +0000 @@ -91,7 +91,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> Index: doc/html/man/menu.3x.html --- ncurses-6.3-20221224+/doc/html/man/menu.3x.html 2022-12-11 00:25:10.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/menu.3x.html 2022-12-31 20:38:51.000000000 +0000 @@ -223,7 +223,7 @@ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "menu_" for detailed descriptions of the entry points. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/ncurses.3x.html --- ncurses-6.3-20221224+/doc/html/man/ncurses.3x.html 2022-12-11 00:25:10.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/ncurses.3x.html 2022-12-31 20:38:52.000000000 +0000 @@ -60,7 +60,7 @@ method of updating character screens with reasonable optimization. This implementation is "new curses" (ncurses) and is the approved replacement for 4.4BSD classic curses, which has been discontinued. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). The <STRONG>ncurses</STRONG> library emulates the curses library of System V Release 4 UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI Index: doc/html/man/ncurses6-config.1.html --- ncurses-6.3-20221224+/doc/html/man/ncurses6-config.1.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/ncurses6-config.1.html 2022-12-31 20:38:52.000000000 +0000 @@ -113,7 +113,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/panel.3x.html --- ncurses-6.3-20221224+/doc/html/man/panel.3x.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/panel.3x.html 2022-12-31 20:38:52.000000000 +0000 @@ -281,7 +281,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>, - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> Index: doc/html/man/tabs.1.html --- ncurses-6.3-20221224+/doc/html/man/tabs.1.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/tabs.1.html 2022-12-31 20:38:52.000000000 +0000 @@ -252,7 +252,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/terminfo.5.html --- ncurses-6.3-20221224+/doc/html/man/terminfo.5.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/terminfo.5.html 2022-12-31 20:38:52.000000000 +0000 @@ -106,7 +106,7 @@ have, by specifying how to perform screen operations, and by specifying padding requirements and initialization sequences. - This manual describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This manual describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE> Index: doc/html/man/tic.1m.html --- ncurses-6.3-20221224+/doc/html/man/tic.1m.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/tic.1m.html 2022-12-31 20:38:53.000000000 +0000 @@ -469,7 +469,7 @@ <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="term.5.html">term(5)</A></STRONG>. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE> Index: doc/html/man/toe.1m.html --- ncurses-6.3-20221224+/doc/html/man/toe.1m.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/toe.1m.html 2022-12-31 20:38:53.000000000 +0000 @@ -171,7 +171,7 @@ <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/tput.1.html --- ncurses-6.3-20221224+/doc/html/man/tput.1.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/tput.1.html 2022-12-31 20:38:53.000000000 +0000 @@ -545,7 +545,7 @@ </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/html/man/tset.1.html --- ncurses-6.3-20221224+/doc/html/man/tset.1.html 2022-12-11 00:25:11.000000000 +0000 +++ ncurses-6.4-20221231/doc/html/man/tset.1.html 2022-12-31 20:38:53.000000000 +0000 @@ -391,7 +391,7 @@ <STRONG>csh(1)</STRONG>, <STRONG>sh(1)</STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG>tty(4)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG> - This describes <STRONG>ncurses</STRONG> version 6.3 (patch 20221210). + This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231). Index: doc/ncurses-intro.doc --- ncurses-6.3-20221224+/doc/ncurses-intro.doc 2019-07-28 18:09:40.000000000 +0000 +++ ncurses-6.4-20221231/doc/ncurses-intro.doc 2022-12-31 20:38:47.000000000 +0000 @@ -1,9 +1,11 @@ Writing Programs with NCURSES +Writing Programs with NCURSES + by Eric S. Raymond and Zeyd M. Ben-Halim updates since release 1.9.9e by Thomas Dickey - Contents +Contents * Introduction + A Brief History of Curses @@ -96,7 +98,7 @@ o Avoiding Problems _________________________________________________________________ - Introduction +Introduction This document is an introduction to programming with curses. It is not an exhaustive reference for the curses Application Programming @@ -129,7 +131,7 @@ will typically be a great deal simpler and less expensive than one using an X toolkit. -A Brief History of Curses + A Brief History of Curses Historically, the first ancestor of curses was the routines written to provide screen-handling for the vi editor; these used the termcap @@ -163,7 +165,7 @@ releases, curses evolved to use more facilities and offer more capabilities, going far beyond BSD curses in power and flexibility. -Scope of This Document + Scope of This Document This document describes ncurses, a free implementation of the System V curses API with some clearly marked extensions. It includes the @@ -206,7 +208,7 @@ extension libraries, also cloned from System V, which support easy construction and sequences of menus and fill-in forms. -Terminology + Terminology In this document, the following terminology is used with reasonable consistency: @@ -227,11 +229,11 @@ The package's idea of what the terminal display currently looks like, i.e., what the user sees now. This is a special screen. - The Curses Library +The Curses Library -An Overview of Curses + An Overview of Curses - Compiling Programs using Curses + Compiling Programs using Curses In order to use the library, it is necessary to have certain types and variables defined. Therefore, the programmer must have a line: @@ -245,7 +247,7 @@ your LDFLAGS or on the command line. There is no need for any other libraries. - Updating the Screen + Updating the Screen In order to update the screen optimally, it is necessary for the routines to know what the screen currently looks like and what the @@ -273,7 +275,7 @@ package implementation determine the most efficient way to repaint the screen. - Standard Windows and Function Naming Conventions + Standard Windows and Function Naming Conventions As hinted above, the routines can use several windows, but two are automatically given: curscr, which knows what the terminal looks like, @@ -313,7 +315,7 @@ (y, x) coordinates. If a function requires a window pointer, it is always the first parameter passed. - Variables + Variables The curses library sets some variables describing the terminal capabilities. @@ -340,7 +342,7 @@ OK error flag returned by routines when things go right. -Using the Library + Using the Library Now we describe how to actually use the screen package. In it, we assume all updating, reading, etc. is applied to stdscr. These @@ -409,7 +411,7 @@ exit(0); } - Starting up + Starting up In order to use the screen package, the routines must know about terminal characteristics, and the space for curscr and stdscr must be @@ -435,7 +437,7 @@ of old windows. All the options described above can be applied to any window. - Output + Output Now that we have set things up, we will want to actually update the terminal. The basic functions used to change what will go on a window @@ -464,7 +466,7 @@ implementing a command which would redraw the screen in case it get messed up. - Input + Input The complementary function to addch() is getch() which, if echo is set, will call addch() to echo the character. Since the screen package @@ -488,7 +490,7 @@ curses.h The mapping from sequences to #define values is determined by key_ capabilities in the terminal's terminfo entry. - Using Forms Characters + Using Forms Characters The addch() function (and some others, including box() and border()) can accept some pseudo-character arguments which are specially defined @@ -500,7 +502,7 @@ the terminal does not have such characters, curses.h will map them to a recognizable (though ugly) set of ASCII defaults. - Character Attributes and Color + Character Attributes and Color The ncurses package supports screen highlights including standout, reverse-video, underline, and blink. It also supports color, which is @@ -531,7 +533,7 @@ combination. Note that COLOR_PAIR(N), for constant N, is itself a compile-time constant and can be used in initializers. - Mouse Interfacing + Mouse Interfacing The ncurses library also provides a mouse interface. @@ -603,7 +605,7 @@ See the manual page curs_mouse(3X) for full details of the mouse-interface functions. - Finishing Up + Finishing Up In order to clean up after the ncurses routines, the routine endwin() is provided. It restores tty modes to what they were when initscr() @@ -611,12 +613,12 @@ Thus, anytime after the call to initscr, endwin() should be called before exiting. -Function Descriptions + Function Descriptions We describe the detailed behavior of some important curses functions here, as a supplement to the manual page descriptions. - Initialization and Wrapup + Initialization and Wrapup initscr() The first function called should almost always be initscr(). @@ -660,7 +662,7 @@ The inverse of newterm(); deallocates the data structures associated with a given SCREEN reference. - Causing Output to the Terminal + Causing Output to the Terminal refresh() and wrefresh(win) These functions must be called to actually get any output on @@ -689,7 +691,7 @@ with fewer total characters transmitted (this also avoids a visually annoying flicker at each update). - Low-Level Capability Access + Low-Level Capability Access setupterm(term, filenum, errret) This routine is called to initialize a terminal's description, @@ -719,7 +721,7 @@ array ttytype[]. Subsequent calls to setupterm() will overwrite this array, so you will have to save it yourself if need be. - Debugging + Debugging NOTE: These functions are not part of the standard curses API! @@ -747,13 +749,13 @@ single-line pseudo-operations. These pseudo-ops can be distinguished by the fact that they are named in capital letters. -Hints, Tips, and Tricks + Hints, Tips, and Tricks The ncurses manual pages are a complete reference for this library. In the remainder of this document, we discuss various useful methods that may not be obvious from the manual page descriptions. - Some Notes of Caution + Some Notes of Caution If you find yourself thinking you need to use noraw() or nocbreak(), think again and move carefully. It is probably better design to use @@ -787,7 +789,7 @@ in an environment with window resizes, in which case several screens could be open with different sizes. - Temporarily Leaving NCURSES Mode + Temporarily Leaving NCURSES Mode Sometimes you will want to write a program that spends most of its time in screen mode, but occasionally returns to ordinary "cooked" @@ -812,7 +814,7 @@ addstr("returned.\n"); /* prepare return message */ refresh(); /* restore save modes, repaint screen */ - Using NCURSES under XTERM + Using NCURSES under XTERM A resize operation in X sends SIGWINCH to the application running under xterm. The easiest way to handle SIGWINCH is to do an endwin, @@ -835,7 +837,7 @@ it cannot know how you want the screen re-painted. You will usually have to write special-purpose code to handle KEY_RESIZE yourself. - Handling Multiple Terminal Screens + Handling Multiple Terminal Screens The initscr() function actually calls a function named newterm() to do most of its work. If you are writing a program that opens multiple @@ -847,7 +849,7 @@ with the set_term call. Note that you will also have to call def_shell_mode and def_prog_mode on each tty yourself. - Testing for Terminal Capabilities + Testing for Terminal Capabilities Sometimes you may want to write programs that test for the presence of various capabilities before deciding whether to go into ncurses mode. @@ -861,14 +863,14 @@ can include the term.h file and test the value of the macro cursor_address. - Tuning for Speed + Tuning for Speed Use the addchstr() family of functions for fast screen-painting of text when you know the text does not contain any control characters. Try to make attribute changes infrequent on your screens. Do not use the immedok() option! - Special Features of NCURSES + Special Features of NCURSES The wresize() function allows you to resize a window in place. The associated resizeterm() function simplifies the construction of @@ -888,14 +890,14 @@ 8. While most terminals which provide color allow only 8 colors, about a quarter (including XFree86 xterm) support 16 colors. -Compatibility with Older Versions + Compatibility with Older Versions Despite our best efforts, there are some differences between ncurses and the (undocumented!) behavior of older curses implementations. These arise from ambiguities or omissions in the documentation of the API. - Refresh of Overlapping Windows + Refresh of Overlapping Windows If you define two windows A and B that overlap, and then alternately scribble on and refresh them, the changes made to the overlapping @@ -947,7 +949,7 @@ you have defined. Then you can do one doupdate() and there will be a single burst of physical I/O that will do all your updates. - Background Erase + Background Erase If you have been using a very old versions of ncurses (1.8.7 or older) you may be surprised by the behavior of the erase functions. In older @@ -962,7 +964,7 @@ This change in behavior conforms ncurses to System V Release 4 and the XSI Curses standard. -XSI Curses Conformance + XSI Curses Conformance The ncurses library is intended to be base-level conformant with the XSI Curses standard from X/Open. Many extended-level features (in @@ -976,7 +978,7 @@ have a corresponding function which may be linked (and will be prototype-checked) if the macro definition is disabled with #undef. - The Panels Library +The Panels Library The ncurses library by itself provides good support for screen displays in which the windows are tiled (non-overlapping). In the more @@ -993,7 +995,7 @@ The panel library first appeared in AT&T System V. The version documented here is the panel code distributed with ncurses. -Compiling With the Panels Library + Compiling With the Panels Library Your panels-using modules must import the panels library declarations with @@ -1004,7 +1006,7 @@ -lncurses. Many linkers are two-pass and will accept either order, but it is still good practice to put -lpanel first and -lncurses second. -Overview of Panels + Overview of Panels A panel object is a window that is implicitly treated as part of a deck including all other panel objects. The deck has an implicit @@ -1047,7 +1049,7 @@ write, you will generate a lot of unnecessary refresh activity and screen flicker. -Panels, Input, and the Standard Screen + Panels, Input, and the Standard Screen You should not mix wnoutrefresh() or wrefresh() operations with panels code; this will work only if the argument window is either in the top @@ -1065,7 +1067,7 @@ There is presently no way to display changes to one obscured panel without repainting all panels. -Hiding Panels + Hiding Panels It is possible to remove a panel from the deck temporarily; use hide_panel for this. Use show_panel() to render it visible again. The @@ -1076,7 +1078,7 @@ or bottom_panel on a hidden panel(). Other panels operations are applicable. -Miscellaneous Other Facilities + Miscellaneous Other Facilities It is possible to navigate the deck using the functions panel_above() and panel_below. Handed a panel pointer, they return the panel above @@ -1087,7 +1089,7 @@ code, to which you can attach application data. See the man page documentation of set_panel_userptr() and panel_userptr for details. - The Menu Library +The Menu Library A menu is a screen display that assists the user to choose some subset of a given set of items. The menu library is a curses extension that @@ -1097,7 +1099,7 @@ The menu library first appeared in AT&T System V. The version documented here is the menu code distributed with ncurses. -Compiling With the menu Library + Compiling With the menu Library Your menu-using modules must import the menu library declarations with #include <menu.h> @@ -1107,7 +1109,7 @@ -lncurses. Many linkers are two-pass and will accept either order, but it is still good practice to put -lmenu first and -lncurses second. -Overview of Menus + Overview of Menus The menus created by this library consist of collections of items including a name string part and a description string part. To make @@ -1137,7 +1139,7 @@ 9. Free the items using free_item(). 10. Terminate curses. -Selecting items + Selecting items Menus may be multi-valued or (the default) single-valued (see the manual page menu_opts(3x) to see how to change the default). Both @@ -1154,7 +1156,7 @@ option so far defined for menus, but it is good practice to code as though other option bits might be on. -Menu Display + Menu Display The menu library calculates a minimum display size for your window, based on the following variables: @@ -1197,7 +1199,7 @@ have reasonable defaults which the library allows you to change (see the menu_attribs(3x) manual page. -Menu Windows + Menu Windows Each menu has, as mentioned previously, a pair of associated windows. Both these windows are painted when the menu is posted and erased when @@ -1217,7 +1219,7 @@ these actually modifies the screen. To do that, call wrefresh() or some equivalent. -Processing Menu Input + Processing Menu Input The main loop of your menu-processing code should call menu_driver() repeatedly. The first argument of this routine is a menu pointer; the @@ -1261,7 +1263,7 @@ considered application-specific commands. The menu_driver() code ignores them and returns E_UNKNOWN_COMMAND. -Miscellaneous Other Features + Miscellaneous Other Features Various menu options can affect the processing and visual appearance and input processing of menus. See menu_opts(3x) for details. @@ -1280,7 +1282,7 @@ Each item, and each menu, has an associated user pointer on which you can hang application data. See mitem_userptr(3x) and menu_userptr(3x). - The Forms Library +The Forms Library The form library is a curses extension that supports easy programming of on-screen forms for data entry and program control. @@ -1288,7 +1290,7 @@ The form library first appeared in AT&T System V. The version documented here is the form code distributed with ncurses. -Compiling With the form Library + Compiling With the form Library Your form-using modules must import the form library declarations with #include <form.h> @@ -1298,7 +1300,7 @@ -lncurses. Many linkers are two-pass and will accept either order, but it is still good practice to put -lform first and -lncurses second. -Overview of Forms + Overview of Forms A form is a collection of fields; each field may be either a label (explanatory text) or a data-entry location. Long forms may be @@ -1347,7 +1349,7 @@ operations, the menu driver loop has to support field editing and data validation. -Creating and Freeing Fields and Forms + Creating and Freeing Fields and Forms The basic function for creating fields is new_field(): FIELD *new_field(int height, int width, /* new field size */ @@ -1423,7 +1425,7 @@ to a form, but not vice-versa; thus, you will generally free your form objects first. -Fetching and Changing Field Attributes + Fetching and Changing Field Attributes Each form field has a number of location and size attributes associated with it. There are other field attributes used to control @@ -1438,7 +1440,7 @@ to mean this field. Changes to it persist as defaults until your forms application terminates. - Fetching Size and Location Data + Fetching Size and Location Data You can retrieve field sizes and locations through: int field_info(FIELD *field, /* field from which to fetch */ @@ -1451,7 +1453,7 @@ size and location attributes of a new field, it fetches them from an existing one. - Changing the Field Location + Changing the Field Location It is possible to move a field's location on the screen: int move_field(FIELD *field, /* field to alter */ @@ -1459,7 +1461,7 @@ You can, of course. query the current location through field_info(). - The Justification Attribute + The Justification Attribute One-line fields may be unjustified, justified right, justified left, or centered. Here is how you manipulate this attribute: @@ -1472,7 +1474,7 @@ preprocessor macros NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER. - Field Display Attributes + Field Display Attributes For each field, you can set a foreground attribute for entered characters, a background attribute for the entire field, and a pad @@ -1507,7 +1509,7 @@ etc). The page bit of a field controls whether it is displayed at the start of a new form screen. - Field Option Bits + Field Option Bits There is also a large collection of field option bits you can set to control various aspects of forms processing. You can manipulate them @@ -1593,7 +1595,7 @@ The option values are bit-masks and can be composed with logical-or in the obvious way. -Field Status + Field Status Every field has a status flag, which is set to FALSE when the field is created and TRUE when the value in field buffer 0 changes. This flag @@ -1616,7 +1618,7 @@ initialization or termination hooks, or (3) just after a REQ_VALIDATION request has been processed by the forms driver. -Field User Pointer + Field User Pointer Each field structure contains one character pointer slot that is not used by the forms library. It is intended to be used by applications @@ -1634,7 +1636,7 @@ field is created, the default-field user pointer is copied to initialize the new field's user pointer. -Variable-Sized Fields + Variable-Sized Fields Normally, a field is fixed at the size specified for it at creation time. If, however, you turn off its O_STATIC bit, it becomes dynamic @@ -1673,7 +1675,7 @@ the field; use dynamic_field_info() to get the actual dynamic size. -Field Validation + Field Validation By default, a field will accept any data that will fit in its input buffer. However, it is possible to attach a validation type to a @@ -1703,7 +1705,7 @@ Here are the pre-defined validation types: - TYPE_ALPHA + TYPE_ALPHA This field type accepts alphabetic data; no blanks, no digits, no special characters (this is checked at character-entry time). It is @@ -1717,7 +1719,7 @@ width, the validation check will always fail. A minimum width of zero makes field completion optional. - TYPE_ALNUM + TYPE_ALNUM This field type accepts alphabetic data and digits; no blanks, no special characters (this is checked at character-entry time). It is @@ -1731,7 +1733,7 @@ greater than the field width, the validation check will always fail. A minimum width of zero makes field completion optional. - TYPE_ENUM + TYPE_ENUM This type allows you to restrict a field's values to be among a specified set of string values (for example, the two-letter postal @@ -1760,7 +1762,7 @@ The REQ_NEXT_CHOICE and REQ_PREV_CHOICE input requests can be particularly useful with these fields. - TYPE_INTEGER + TYPE_INTEGER This field type accepts an integer. It is set up as follows: int set_field_type(FIELD *field, /* field to alter */ @@ -1778,7 +1780,7 @@ A TYPE_INTEGER value buffer can conveniently be interpreted with the C library function atoi(3). - TYPE_NUMERIC + TYPE_NUMERIC This field type accepts a decimal number. It is set up as follows: int set_field_type(FIELD *field, /* field to alter */ @@ -1798,7 +1800,7 @@ A TYPE_NUMERIC value buffer can conveniently be interpreted with the C library function atof(3). - TYPE_REGEXP + TYPE_REGEXP This field type accepts data matching a regular expression. It is set up as follows: @@ -1809,7 +1811,7 @@ The syntax for regular expressions is that of regcomp(3). The check for regular-expression match is performed on exit. -Direct Field Buffer Manipulation + Direct Field Buffer Manipulation The chief attribute of a field is its buffer contents. When a form has been completed, your application usually needs to know the state of @@ -1840,7 +1842,7 @@ or form's initialization or termination hooks, or (3) just after a REQ_VALIDATION request has been processed by the forms driver. -Attributes of Forms + Attributes of Forms As with field attributes, form attributes inherit a default from a system default form structure. These defaults can be queried or set by @@ -1868,7 +1870,7 @@ connected to a given from. It returns -1 if the form-pointer argument is NULL. -Control of Form Display + Control of Form Display In the overview section, you saw that to display a form you normally start by defining its size (and fields), posting it, and refreshing @@ -1938,7 +1940,7 @@ before handing control back to the forms driver in order to re-synchronize it. -Input Processing in the Forms Driver + Input Processing in the Forms Driver The function form_driver() handles virtualized input requests for form navigation, editing, and validation requests, just as menu_driver does @@ -1955,7 +1957,7 @@ field-termination functions) with which your application code can check that the input taken by the driver matched what was expected. - Page Navigation Requests + Page Navigation Requests These requests cause page-level moves through the form, triggering display of a new form screen. @@ -1976,7 +1978,7 @@ the last page goes to the first, and REQ_PREV_PAGE from the first page goes to the last. - Inter-Field Navigation Requests + Inter-Field Navigation Requests These requests handle navigation between fields on the same page. @@ -2039,7 +2041,7 @@ only if A, B, and C all share the same first line; otherwise it will skip over B to C. - Intra-Field Navigation Requests + Intra-Field Navigation Requests These requests drive movement of the edit cursor within the currently selected field. @@ -2090,7 +2092,7 @@ whitespace. The commands to move to beginning and end of line or field look for the first or last non-pad character in their ranges. - Scrolling Requests + Scrolling Requests Fields that are dynamic and have grown and fields explicitly created with offscreen rows are scrollable. One-line fields scroll @@ -2138,7 +2140,7 @@ For scrolling purposes, a page of a field is the height of its visible part. - Editing Requests + Editing Requests When you pass the forms driver an ASCII character, it is treated as a request to add the character to the field's data buffer. Whether this @@ -2223,7 +2225,7 @@ See Form Options for discussion of how to set and clear the overload options. - Order Requests + Order Requests If the type of your field is ordered, and has associated functions for getting the next and previous values of the type from a given value, @@ -2240,14 +2242,14 @@ Custom Validation Types), you can associate our own ordering functions. - Application Commands + Application Commands Form requests are represented as integers above the curses value greater than KEY_MAX and less than or equal to the constant MAX_COMMAND. If your input-virtualization routine returns a value above MAX_COMMAND, the forms driver will ignore it. -Field Change Hooks + Field Change Hooks It is possible to set function hooks to be executed whenever the current field or form changes. Here are the functions that support @@ -2309,7 +2311,7 @@ You can disable any of these hooks by (re)setting them to NULL, the default value. -Field Change Commands + Field Change Commands Normally, navigation through the form will be driven by the user's input requests. But sometimes it is useful to be able to move the @@ -2340,7 +2342,7 @@ The initial page of a newly-created form is 0. The function set_form_fields() resets this. -Form Options + Form Options Like fields, forms may have control option bits. They can be changed or queried with these functions: @@ -2371,7 +2373,7 @@ The option values are bit-masks and can be composed with logical-or in the obvious way. -Custom Validation Types + Custom Validation Types The form library gives you the capability to define custom validation types of your own. Further, the optional additional arguments of @@ -2380,7 +2382,7 @@ with the handling of the additional arguments within custom validation functions. - Union Types + Union Types The simplest way to create a custom data type is to compose it from two preexisting ones: @@ -2397,7 +2399,7 @@ first type, then for the second, to figure what type the buffer contents should be treated as. - New Field Types + New Field Types To create a field type from scratch, you need to specify one or both of the following things: @@ -2430,7 +2432,7 @@ argument. It too should return TRUE if the character is valid, FALSE otherwise. - Validation Function Arguments + Validation Function Arguments Your field- and character- validation functions will be passed a second argument as well. This second argument is the address of a @@ -2479,7 +2481,7 @@ functions should never see a NULL file pointer and need not check specially for it. - Order Functions For Custom Types + Order Functions For Custom Types Some custom field types are simply ordered in the same well-defined way that TYPE_ENUM is. For such types, it is possible to define @@ -2499,7 +2501,7 @@ success (a legal next or previous value was set) or FALSE to indicate failure. - Avoiding Problems + Avoiding Problems The interface for defining custom types is complicated and tricky. Rather than attempting to create a custom type entirely from scratch, Index: man/man_db.renames.in Prereq: 1.58 --- ncurses-6.3-20221224+/man/man_db.renames.in 2022-10-22 16:41:43.000000000 +0000 +++ ncurses-6.4-20221231/man/man_db.renames.in 2022-10-22 16:41:43.000000000 +0000 @@ -1,5 +1,5 @@ ############################################################################## -# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2019-2020,2022 Thomas E. Dickey # # Copyright 1998-2015,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: man_db.renames.in,v 1.58 2022/10/22 16:41:43 tom Exp $ +# $Id: man_db.renames.in,v 1.59 2022/10/22 16:41:43 tom Exp $ # Manual-page renamings for the man_db program # # Files: Index: misc/terminfo.src --- ncurses-6.3-20221224+/misc/terminfo.src 2022-12-24 18:18:58.000000000 +0000 +++ ncurses-6.4-20221231/misc/terminfo.src 2022-12-29 20:11:56.000000000 +0000 @@ -6,8 +6,8 @@ # Report bugs and new terminal descriptions to # bug-ncurses@gnu.org # -# $Revision: 1.1039 $ -# $Date: 2022/12/24 18:18:58 $ +# $Revision: 1.1041 $ +# $Date: 2022/12/29 20:11:56 $ # # The original header is preserved below for reference. It is noted that there # is a "newer" version which differs in some cosmetic details (but actually @@ -5768,7 +5768,7 @@ # detail. The names for the extended capabilities here were introduced by vim # in January 2017. bracketed+paste|xterm bracketed paste, - BD=\E[?2004l, BE=\E[?2004h, PD=\E[201~, PE=\E[200~, + BD=\E[?2004l, BE=\E[?2004h, PE=\E[201~, PS=\E[200~, #### XTERM Mouse # The xterm mouse protocol is used by other terminal emulators. @@ -8210,7 +8210,7 @@ use=screen4, no+brackets|cancel bracketed paste, - BD@, BE@, PD@, PE@, + BD@, BE@, PE@, PS@, # The bce and status-line entries are from screen 3.9.13 (and require some # changes to .screenrc). @@ -25508,8 +25508,8 @@ # # BE enables bracketed paste # BD disables bracketed paste -# PE is sent before the pasted text -# PD is sent after the pasted text +# PS is sent before the pasted text +# PE is sent after the pasted text # # Here are the other xterm-related extensions which are used in this file: # @@ -27713,4 +27713,8 @@ # + add/use bracketed+paste to help identify terminals supporting this # xterm feature (prompted by discussion with Bram Moolenaar) -TD # +# 2022-12-29 +# + correct PS vs PE names in bracketed+paste (report by Bram Moolenaar) +# -TD +# ######## SHANTIH! SHANTIH! SHANTIH! Index: ncurses/llib-lncurses --- ncurses-6.3-20221224+/ncurses/llib-lncurses 2021-10-19 08:24:03.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-lncurses 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019,2020,2021 Thomas E. Dickey * + * Copyright 2019,2021,2022 Thomas E. Dickey * * Copyright 1998-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -3025,6 +3025,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_user_definable NCURSES_BOOL _nc_user_definable; @@ -3626,6 +3631,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-lncursest --- ncurses-6.3-20221224+/ncurses/llib-lncursest 2021-10-19 08:26:09.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-lncursest 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019,2020,2021 Thomas E. Dickey * + * Copyright 2019,2021,2022 Thomas E. Dickey * * Copyright 2008-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -3039,6 +3039,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_user_definable NCURSES_BOOL _nc_user_definable; @@ -3711,6 +3716,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-lncursestw --- ncurses-6.3-20221224+/ncurses/llib-lncursestw 2021-10-19 08:25:29.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-lncursestw 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2021 Thomas E. Dickey * + * Copyright 2018-2021,2022 Thomas E. Dickey * * Copyright 2009-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -3995,6 +3995,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_free_termtype2 void _nc_free_termtype2( TERMTYPE2 *ptr) @@ -4672,6 +4677,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-lncursesw --- ncurses-6.3-20221224+/ncurses/llib-lncursesw 2021-10-19 08:24:46.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-lncursesw 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2021 Thomas E. Dickey * + * Copyright 2018-2021,2022 Thomas E. Dickey * * Copyright 2001-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -3981,6 +3981,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_free_termtype2 void _nc_free_termtype2( TERMTYPE2 *ptr) @@ -4587,6 +4592,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-ltinfo --- ncurses-6.3-20221224+/ncurses/llib-ltinfo 2021-10-16 15:19:08.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-ltinfo 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019-2020,2021 Thomas E. Dickey * + * Copyright 2019-2021,2022 Thomas E. Dickey * * Copyright 2012-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -296,6 +296,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_user_definable NCURSES_BOOL _nc_user_definable; @@ -897,6 +902,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-ltinfot --- ncurses-6.3-20221224+/ncurses/llib-ltinfot 2021-10-16 15:22:16.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-ltinfot 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019-2020,2021 Thomas E. Dickey * + * Copyright 2019-2021,2022 Thomas E. Dickey * * Copyright 2013-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -301,6 +301,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_user_definable NCURSES_BOOL _nc_user_definable; @@ -973,6 +978,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-ltinfotw --- ncurses-6.3-20221224+/ncurses/llib-ltinfotw 2021-08-21 15:04:16.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-ltinfotw 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2021 Thomas E. Dickey * + * Copyright 2018-2021,2022 Thomas E. Dickey * * Copyright 2012-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -318,6 +318,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_free_termtype2 void _nc_free_termtype2( TERMTYPE2 *ptr) @@ -995,6 +1000,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: ncurses/llib-ltinfow --- ncurses-6.3-20221224+/ncurses/llib-ltinfow 2021-08-21 15:03:29.000000000 +0000 +++ ncurses-6.4-20221231/ncurses/llib-ltinfow 2022-12-29 20:28:52.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2021 Thomas E. Dickey * + * Copyright 2018-2021,2022 Thomas E. Dickey * * Copyright 2012-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -313,6 +313,11 @@ TERMTYPE *ptr) { /* void */ } +#undef _nc_free_termtype1 +void _nc_free_termtype1( + TERMTYPE *ptr) + { /* void */ } + #undef _nc_free_termtype2 void _nc_free_termtype2( TERMTYPE2 *ptr) @@ -919,6 +924,11 @@ #undef _nc_tparm_err int _nc_tparm_err; +#undef _nc_free_tparm +void _nc_free_tparm( + TERMINAL *termp) + { /* void */ } + #undef _nc_tparm_analyze int _nc_tparm_analyze( TERMINAL *term, Index: package/debian-mingw/changelog --- ncurses-6.3-20221224+/package/debian-mingw/changelog 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/debian-mingw/changelog 2022-12-29 20:15:31.000000000 +0000 @@ -1,8 +1,8 @@ -ncurses6 (6.3+20221224) unstable; urgency=low +ncurses6 (6.4+20221231) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 + -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 ncurses6 (5.9+20131005) unstable; urgency=low Index: package/debian-mingw64/changelog --- ncurses-6.3-20221224+/package/debian-mingw64/changelog 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/debian-mingw64/changelog 2022-12-29 20:15:31.000000000 +0000 @@ -1,8 +1,8 @@ -ncurses6 (6.3+20221224) unstable; urgency=low +ncurses6 (6.4+20221231) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 + -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 ncurses6 (5.9+20131005) unstable; urgency=low Index: package/debian/changelog --- ncurses-6.3-20221224+/package/debian/changelog 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/debian/changelog 2022-12-29 20:15:31.000000000 +0000 @@ -1,8 +1,8 @@ -ncurses6 (6.3+20221224) unstable; urgency=low +ncurses6 (6.4+20221231) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 24 Dec 2022 07:35:34 -0500 + -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 29 Dec 2022 15:15:31 -0500 ncurses6 (5.9+20120608) unstable; urgency=low Index: package/mingw-ncurses.nsi Prereq: 1.557 --- ncurses-6.3-20221224+/package/mingw-ncurses.nsi 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/mingw-ncurses.nsi 2022-12-29 20:15:31.000000000 +0000 @@ -1,4 +1,4 @@ -; $Id: mingw-ncurses.nsi,v 1.557 2022/12/24 12:35:34 tom Exp $ +; $Id: mingw-ncurses.nsi,v 1.559 2022/12/29 20:15:31 tom Exp $ ; TODO add examples ; TODO bump ABI to 6 @@ -8,9 +8,9 @@ !define EXENAME "ncurses.exe" !define VERSION_MAJOR "6" -!define VERSION_MINOR "3" +!define VERSION_MINOR "4" !define VERSION_YYYY "2022" -!define VERSION_MMDD "1224" +!define VERSION_MMDD "1231" !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} !define MY_ABI "5" Index: package/mingw-ncurses.spec --- ncurses-6.3-20221224+/package/mingw-ncurses.spec 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/mingw-ncurses.spec 2022-12-29 20:15:31.000000000 +0000 @@ -2,8 +2,8 @@ Summary: shared libraries for terminal handling Name: mingw32-ncurses6 -Version: 6.3 -Release: 20221224 +Version: 6.4 +Release: 20221231 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz Index: package/ncurses.spec --- ncurses-6.3-20221224+/package/ncurses.spec 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/ncurses.spec 2022-12-29 20:15:31.000000000 +0000 @@ -1,7 +1,7 @@ Summary: shared libraries for terminal handling Name: ncurses6 -Version: 6.3 -Release: 20221224 +Version: 6.4 +Release: 20221231 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz Index: package/ncursest.spec --- ncurses-6.3-20221224+/package/ncursest.spec 2022-12-24 12:35:34.000000000 +0000 +++ ncurses-6.4-20221231/package/ncursest.spec 2022-12-29 20:15:31.000000000 +0000 @@ -1,7 +1,7 @@ Summary: Curses library with POSIX thread support. Name: ncursest6 -Version: 6.3 -Release: 20221224 +Version: 6.4 +Release: 20221231 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz Index: progs/progs.priv.h Prereq: 1.58 --- ncurses-6.3-20221224+/progs/progs.priv.h 2022-09-17 18:58:05.000000000 +0000 +++ ncurses-6.4-20221231/progs/progs.priv.h 2022-09-17 18:58:05.000000000 +0000 @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019-2020,2021 Thomas E. Dickey * + * Copyright 2019-2021,2022 Thomas E. Dickey * * Copyright 1998-2015,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -31,7 +31,7 @@ * Author: Thomas E. Dickey 1997-on * ****************************************************************************/ /* - * $Id: progs.priv.h,v 1.58 2022/09/17 18:58:05 tom Exp $ + * $Id: progs.priv.h,v 1.59 2022/09/17 18:58:05 tom Exp $ * * progs.priv.h *
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31378
:
13627
| 13628