Thomas E. Dickey [Sun, 27 Oct 2019 01:34:14 +0000 (01:34 +0000)]
ncurses 6.1 - patch
20191026
+ add a note in man/curs_add_wch.3x about Unicode terminology for the
line-drawing characters (report by Nick Black).
+ improve comment in lib_tgoto.c regarding the use of \200 where a
\0 would be intended by the caller (report by "64 bit", cf:
20000923).
+ modify linux-16color to accommodate Linux console driver change in
early 2018 (report by Dino Petrucci).
Thomas E. Dickey [Sun, 20 Oct 2019 01:10:33 +0000 (01:10 +0000)]
ncurses 6.1 - patch
20191019
+ modify make_hash to not require --disable-leaks, to simplify building
with address-sanitizer.
+ modify tic to exit if it cannot remove a conflicting name, because
treating that as a partial success can cause an infinite loop in
use-resolution (report/testcase by Hongxu Chen, cf:
20111001).
Thomas E. Dickey [Wed, 16 Oct 2019 00:42:21 +0000 (00:42 +0000)]
ncurses 6.1 - patch
20191015
+ improve buffer-checks in captoinfo.c, for some cases when the
input string is shorter than expected.
> fix two errata in tic (report/testcases by Hongxu Chen):
+ check for missing character after backslash in write_it
+ check for missing characters after "%>" when converting from termcap
syntax (cf: 980530).
Thomas E. Dickey [Sun, 13 Oct 2019 01:25:51 +0000 (01:25 +0000)]
ncurses 6.1 - patch
20191012
+ amend recent changes to ncurses*-config and pc-files to filter out
Debian linker-flags (report by Sven Joachim, cf:
20150516).
+ clarify relationship between tic, infocmp and captoinfo in manpage.
+ check for invalid hashcode in _nc_find_type_entry and
_nc_find_name_entry.
> fix several errata in tic (reports/testcases by "zjuchenyuan"):
+ check for invalid hashcode in _nc_find_entry.
+ check for missing character after backslash in fmt_entry
+ check for acsc with odd length in dump_entry in check for one-one
mapping (cf:
20060415);
+ check length when converting from old AIX box_chars_1 capability,
overlooked in changes to eliminate strcpy (cf:
20001007).
+ amend the ncurses*-config and pc-files to take into account the rpath
Thomas E. Dickey [Sun, 6 Oct 2019 00:58:27 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20191005
+ modify the ncurse*-config and pc-files to more closely match for the
-I and -l options.
Thomas E. Dickey [Sat, 28 Sep 2019 15:09:31 +0000 (15:09 +0000)]
ncurses 6.1 - patch
20190928
+ amend the ncurse*-config and pc-files to take into account the rpath
hack which differed between those files.
+ improve -L option filtering in ncurses*-config
+ improve recovery from error when reading command-character in
test/ncurses.c, showing the relevant error message and not exiting on
EINTR (cf:
20180922)
Thomas E. Dickey [Sun, 22 Sep 2019 01:25:51 +0000 (01:25 +0000)]
ncurses 6.1 - patch
20190921
+ add a note in resizeterm manpage about top-level windows which touch
the screen's borders.
+ modify configure-checks for gnat to identify each of the tools path
and version.
Thomas E. Dickey [Sun, 15 Sep 2019 01:08:42 +0000 (01:08 +0000)]
ncurses 6.1 - patch
20190914
+ build-fixes for Ada95 configure-script and corresponding test package
Thomas E. Dickey [Sun, 8 Sep 2019 01:44:15 +0000 (01:44 +0000)]
ncurses 6.1 - patch
20190907
+ add --with-ada-libname option and modify Ada95 configuration to
allow renaming the "AdaCurses" library (prompted by proposed changes
by Pascal Pignard).
+ modify configure script to distinguish gcc from icc and clang when
the --enable-warnings option is not used, to avoid unnecessary
warnings about unrecognized inline options (report by Sven Joachim).
Thomas E. Dickey [Sun, 1 Sep 2019 00:58:56 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20190831
+ build-fixes for configuration using --program-suffix with Ada95,
noticed with MacOS but applicable to other platforms without
libpanelw, etc.
Thomas E. Dickey [Sun, 25 Aug 2019 01:15:21 +0000 (01:15 +0000)]
ncurses 6.1 - patch
20190824
+ fix some cppcheck warnings, mostly style, in ncurses test-programs.
Thomas E. Dickey [Sun, 18 Aug 2019 00:33:55 +0000 (00:33 +0000)]
ncurses 6.1 - patch
20190817
+ amend
20181208 changes for wbkgd() and wbkgrnd(), fixing a few
details where it still differed from SVr4.
+ fix some cppcheck warnings, mostly style, in ncurses test-programs.
Thomas E. Dickey [Sat, 10 Aug 2019 23:58:30 +0000 (23:58 +0000)]
ncurses 6.1 - patch
20190810
+ fix a few more coverity warnings.
Thomas E. Dickey [Sun, 4 Aug 2019 00:24:33 +0000 (00:24 +0000)]
ncurses 6.1 - patch
20190803
+ improve loop limits in _nc_scroll_window() to handle a case where
the scrolled data is a pad which is taller than the window (patch
by Rob King).
+ amend the change to screen, because tmux relies upon that entry
and does not support that feature (Debian #933572) -TD
+ updated ms-terminal entry & notes -TD
+ updated kitty entry & notes -TD
+ updated alacritty+common entry & notes -TD
+ use xterm+sl-twm for consistency -TD
Thomas E. Dickey [Mon, 29 Jul 2019 00:58:02 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20190728
+ fix a few more coverity warnings.
+ more documentation updates based on tctest.
Thomas E. Dickey [Sun, 28 Jul 2019 00:01:44 +0000 (00:01 +0000)]
ncurses 6.1 - patch
20190727
+ fix a few coverity warnings.
+ documentation updates based on tctest.
Thomas E. Dickey [Sun, 21 Jul 2019 01:22:45 +0000 (01:22 +0000)]
ncurses 6.1 - patch
20190720
+ fix a few warnings for gcc 4.x
+ add some portability/historical details to the tic, toe and infocmp
manual pages.
+ correct fix for broken link from terminfo(5) to tabs(1) manpage
(report by Sven Joachim).
Thomas E. Dickey [Sun, 14 Jul 2019 00:50:41 +0000 (00:50 +0000)]
ncurses 6.1 - patch
20190713
+ change reset's behavior for margins to simply clear soft-margins if
possible, rather than clearing and then setting them according to the
terminal's width (suggested by Thomas Wolff).
+ correct order of one wbkgd versus start_color call in test/padview.c
Thomas E. Dickey [Sun, 7 Jul 2019 00:14:47 +0000 (00:14 +0000)]
ncurses 6.1 - patch
20190706
+ add domterm -TD
+ improve comments for recent changes, add alias xterm.js -TD
Thomas E. Dickey [Sun, 30 Jun 2019 23:48:04 +0000 (23:48 +0000)]
ncurses 6.1 - patch
20190630
+ add --with-tic-path and --with-infocmp-path to work around problems
building fallback source using pre-6.0 tic/infocmp.
+ add a check in tic for paired indn/rin
+ correct a buffer-limit in write_entry.c for systems that use caseless
filenames.
+ add ms-terminal -TD
+ add vscode, vscode-direct -TD
Thomas E. Dickey [Sun, 23 Jun 2019 23:43:23 +0000 (23:43 +0000)]
ncurses 6.1 - patch
20190623
+ improve the tabs.1 manual page to distinguish the PWB/Unix and 7th
Edition versions of the tabs utility.
+ add configure check for getenv() to work around implementation shown
in Emscripten #6766, use that to optionally suppress START_TRACE
macro, whose call to getenv() may not work properly (report by Ilya
Ig Petrov).
+ modify initialization functions to avoid relying upon persistent
data for the result from getenv().
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 16 Jun 2019 00:13:35 +0000 (00:13 +0000)]
ncurses 6.1 - patch
20190615
+ expand the portability section of the man/tabs.1 manual page.
+ regenerate HTML manpages.
Thomas E. Dickey [Sun, 9 Jun 2019 21:36:47 +0000 (21:36 +0000)]
ncurses 6.1 - patch
20190609
+ add mintty, mintty-direct (adapted from patch by Thomas Wolff).
Some of the suggested user-defined capabilities are commented-out,
to allow builds with ncurses 5.9 and 6.0
+ add Smol/Rmol for tmux, vte-2018 (patch by Nicholas Marriott).
+ add rs1 to konsole, mlterm -TD
+ modify _nc_merge_entry() to make a copy of the data which it merges,
to avoid modifying the source-data when aligning extended names.
Thomas E. Dickey [Sun, 2 Jun 2019 00:39:24 +0000 (00:39 +0000)]
ncurses 6.1 - patch
20190601
+ modify an internal call to vid_puts to pass extended color pairs
e.g., from tty_update.c and lib_mvcur.c (report by Niegodziwy Beru).
+ improve manual page description of init_tabs capability and TABSIZE
variable.
Thomas E. Dickey [Sat, 25 May 2019 23:00:21 +0000 (23:00 +0000)]
ncurses 6.1 - patch
20190525
+ modify reset_cmd.c to allow for tabstops at intervals other than 8
(report by Vincent Huisman).
Thomas E. Dickey [Sun, 19 May 2019 00:40:25 +0000 (00:40 +0000)]
ncurses 6.1 - patch
20190518
+ update xterm-new to xterm patch #345 -TD
+ add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
+ update terminator entry -TD
+ remove hard-tabs from ti703 (report by Robert Clausecker)
+ mention meml/memu/box1 in user_caps manual page.
+ mention user_caps.5 in tic and infocmp manual pages.
Thomas E. Dickey [Sat, 11 May 2019 22:31:51 +0000 (22:31 +0000)]
ncurses 6.1 - patch
20190511
+ fix a spurious blank line seen with "infocmp -1fx xterm+x11mouse"
+ add checks in repair_subwindows() to keep the current position and
scroll-margins inside the resized subwindow.
+ add a limit check in newline_forces_scroll() for the case where the
row is inside scroll-margins, but not at the end (report by Toshio
Kuratomi, cf:
20170729).
+ corrected a warning message in tic for extended capabilities versus
number of parameters.
Thomas E. Dickey [Sun, 5 May 2019 00:42:44 +0000 (00:42 +0000)]
ncurses 6.1 - patch
20190504
+ improve workaround for Solaris wcwidth versus line-drawing characters
(report by Pavel Stehule).
+ add special case in tic to validate RGB string-capability extension.
+ corrected string/parameter-field for RGB in Caps-ncurses.
Thomas E. Dickey [Sun, 28 Apr 2019 01:27:21 +0000 (01:27 +0000)]
ncurses 6.1 - patch
20190427
+ corrected problem in terminfo load/realignment which prevented
infocmp from comparing extended capabilities with the same name
but different types.
Thomas E. Dickey [Sun, 21 Apr 2019 01:53:37 +0000 (01:53 +0000)]
ncurses 6.1 - patch
20190420
+ improve ifdef's for TABSIZE variable, to help with AIX/HPUX ports.
Thomas E. Dickey [Sun, 14 Apr 2019 01:30:08 +0000 (01:30 +0000)]
ncurses 6.1 - patch
20190413
+ check for TABSIZE variable in test/configure script.
+ used test/test_arrays.c to improve Caps.aix1 and Caps.hpux11
+ corrected filtering of comments in MKparametrized.sh
+ reduce duplication across Caps* files by moving some parts which do
not depend on order into Caps-ncurses.
Thomas E. Dickey [Sun, 7 Apr 2019 01:23:31 +0000 (01:23 +0000)]
ncurses 6.1 - patch
20190406
+ modify MKcaptab.sh, MKkey_defs.sh, and MKhashsize.sh to handle
split-up Caps-files.
+ build-fixes if extended-functions are disabled.
Thomas E. Dickey [Sun, 31 Mar 2019 01:31:05 +0000 (01:31 +0000)]
ncurses 6.1 - patch
20190330
+ add "screen5", to mention italics (report by Stefan Assmann)
+ modify description of xterm+x11hilite to eliminate unused p5 -TD
+ add configure script checks to help with a port to Ultrix 3.1
(report by Dennis Grevenstein).
+ check if "b" binary feature of fopen works
+ check for missing feature of locale.h
+ add fallback for strstr() in test-programs
+ add fallback for STDOUT_FILENO in test-programs
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 24 Mar 2019 01:47:18 +0000 (01:47 +0000)]
ncurses 6.1 - patch
20190323
+ move macro for is_linetouched() inside NCURSES_NOMACROS ifndef.
+ corrected prototypes in several manpages using script to extract
those in compilable form.
+ use _nc_copy_termtype2() rather than direct assignment in setupterm,
in case it is called repeatedly using fallback terminfo descriptions
(report/patch by Werner Fink).
Thomas E. Dickey [Mon, 18 Mar 2019 00:04:50 +0000 (00:04 +0000)]
ncurses 6.1 - patch
20190317
+ regenerate llib-* files.
+ modify tic to also use new function for user-defined capability info.
+ modify _nc_parse_entry() to check if a user-defined capability has
an unexpected type; ignore it in that case.
+ fix a special case of link-anchors in generated Ada html files.
+ use newer rel=author tag in generated html rather than rev=made,
which did not become accepted.
Thomas E. Dickey [Sun, 10 Mar 2019 02:12:50 +0000 (02:12 +0000)]
ncurses 6.1 - patch
20190309
+ in-progress changes to add parameter-checking for common user-defined
capabilities in tic.
+ update MKcodes.awk and MKnames.awk to ignore the new "userdef"
data in Caps-ncurses (cf:
20190302).
Thomas E. Dickey [Sun, 3 Mar 2019 02:12:54 +0000 (02:12 +0000)]
ncurses 6.1 - patch
20190302
+ corrected some of the undocumented terminfo names in Caps.hpux11
+ add "Caps-ncurses" file to help with checking inconsistencies in some
user-defined capabilities.
+ amend check for repeat_char to handle a case where setlocale() was
called after initscr() (report by "Ampera").
Thomas E. Dickey [Sun, 24 Feb 2019 01:51:57 +0000 (01:51 +0000)]
ncurses 6.1 - patch
20190223
+ fix typo in adds200 -TD
+ add tic check for consistent alternate character set capabilities.
+ improve check in mvcur() to decide whether to use hard-tabs, using
xt, tbc and hts as clues.
+ replace check in reset command for obsolete "pt" capability using
tbc and hts capabilities as clues (report by Nicolas Marriott).
Thomas E. Dickey [Sun, 17 Feb 2019 02:40:14 +0000 (02:40 +0000)]
ncurses 6.1 - patch
20190216
+ improve manual page description of TABSIZE.
+ add test/demo_tabs program.
Thomas E. Dickey [Sun, 10 Feb 2019 02:53:50 +0000 (02:53 +0000)]
ncurses 6.1 - patch
20190209
+ add check in tic to provide warnings for mismatched number of
parameters in the documented user-capability extensions.
Thomas E. Dickey [Sun, 3 Feb 2019 01:24:46 +0000 (01:24 +0000)]
ncurses 6.1 - patch
20190202
+ modify rpm test-package ".spec" file to work around naming conflict
with Redhat's package for ncurses6.
+ modify no-leaks code in test/picsmap to avoid non-standard tdestroy.
+ amend change to configure script which altered the top-level makefile
to avoid attempting to install the terminfo database when it was not
configured, to allow for installing the ".pc" files which are also
in the misc directory (report by Steve Wills).
Thomas E. Dickey [Sun, 27 Jan 2019 02:01:01 +0000 (02:01 +0000)]
ncurses 6.1 - patch
20190126
+ change some "%define" statements in test-packages for RPMs to
"%global" to work around changes in rpm 4.14 from recent Redhat.
+ fixes for O_INPUT_FIELD extension (patch by Leon Winter).
+ eliminate fixed buffer-size when reading $TERMCAP variable.
+ correct logic in read_entry.c which prevented $TERMCAP variable from
being interpreted as a fallback to terminfo entry (prompted by
Savannah #54556, cf:
20110924).
Thomas E. Dickey [Tue, 22 Jan 2019 00:49:19 +0000 (00:49 +0000)]
ncurses 6.1 - patch
20190121
+ add a check in test/configure to work around non-ncurses termcap.h
file in Slackware.
+ corrected flag for "seq" method of db 1.8.5 interface, needed by toe
on some of the BSDs.
+ updated "string-hacks" feature.
+ minor improvements to manpage typography.
+ corrected conditionally-compiled limit on color pairs (report by
"Hudd").
+ add -x option to test/pair_content, test/color_content for testing
init_extended_pair, extended_pair_content, init_extended_color,
extended_color_content
+ add -p option to test/pair_content, test/color_content to show the
return values from the tested functions.
+ improve manual page curs_color.3x discussion of error returns and
extensions.
+ add O_INPUT_FIELD extension to form library (patch by Leon Winter).
+ override/suppress --enable-db-install if --disable-database configure
option was given.
+ change a too-large terminal entry in tic from a fatal error to a
warning (prompted by discussion with Gabriele Balducci).
Thomas E. Dickey [Sun, 13 Jan 2019 01:08:21 +0000 (01:08 +0000)]
ncurses 6.1 - patch
20190112
+ fix typo in term(5), improve explanation of format (report by Otto
Modinos).
+ add nsterm-direct -TD
+ use SGR 1006 mouse for konsole-base -TD
+ use SGR 1006 mouse for putty -TD
+ add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
Thomas E. Dickey [Sun, 6 Jan 2019 02:32:59 +0000 (02:32 +0000)]
ncurses 6.1 - patch
20190105
+ add dummy "check" rule in top-level and test-Makefile to simply
building test-packages for Arch.
+ modify configure script to avoid conflict with a non-POSIX feature
that enables all parts of the system headers by default. Some
packagers have come to rely upon this behavior (FreeBSD #234049).
+ update config.guess, config.sub
Thomas E. Dickey [Sun, 30 Dec 2018 01:55:38 +0000 (01:55 +0000)]
ncurses 6.1 - patch
20181229
+ improve man/curs_mouse.3x with regard to xterm
+ modify tracemunch to accept filename parameters in addition to use
as a pipe/filter.
+ minor optimization to reduce calls to _nc_reserve_pairs (prompted by
discussion with Bryan Christ).
+ add test/pair_content.c and test/color_content.c
+ modify infocmp to omit filtering of "OTxx" names which are used for
obsolete capabilities, when the output is sorted by long-names.
Doing this helps when making a table of the short/long capability
names.
Thomas E. Dickey [Sun, 16 Dec 2018 02:17:42 +0000 (02:17 +0000)]
ncurses 6.1 - patch
20181215
+ several fixes for gcc8 strict compiler warnings.
+ fix a typo in comments (Aaron Gyes).
+ add nsterm-build309 to replace nsterm-256color, assigning the latter
as an alias of nsterm, to make mouse work with nsterm-256color -TD
+ base gnome-256color entry on "gnome", not "vte", for consistency -TD
+ updates for configure macros from work on tin and xterm:
+ CF_GNU_SOURCE, allow for Cygwin's newlib when checking for the
_DEFAULT_SOURCE symbol.
+ CF_VA_COPY, add fallback check if neither va_copy/__va_copy is
supported, to try copying the pointers for va_list, or as an array.
Also add another fallback check, for __builtin_va_copy(), which
could be used with AIX xlc in c89 mode.
Thomas E. Dickey [Sun, 9 Dec 2018 02:29:47 +0000 (02:29 +0000)]
ncurses 6.1 - patch
20181208
+ modify wbkgd() and wbkgrnd() to improve compatibility with SVr4
curses, changing the way the window rendition is updated when the
background character is modified (report by Valery Ushakov).
Thomas E. Dickey [Sun, 2 Dec 2018 01:14:13 +0000 (01:14 +0000)]
ncurses 6.1 - patch
20181201
+ add midnightbsd to CF_XOPEN_SOURCE macro (patch by Urs Jansen).
+ add "@" command to test/ncurses F-test, to allow rapid jump to
different character pages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
Thomas E. Dickey [Sun, 25 Nov 2018 11:38:20 +0000 (11:38 +0000)]
ncurses 6.1 - patch
20181125
+ build-fix (reports by Chih-Hsuan Yen, Sven Joachim).
Thomas E. Dickey [Sun, 25 Nov 2018 01:20:22 +0000 (01:20 +0000)]
ncurses 6.1 - patch
20181124
+ check --with-fallbacks option to ensure there is a value, and add
the fallback information to top-level Makefile summary.
+ add some traces in initialization to show whether a fallback entry is
used.
+ build-fix for test/movewindow with ncurses-examples on Solaris.
+ add "-l" option to test/background, to dump screen contents in a form
that lets different curses implementations be compared.
+ modify the initialization checks for mouse so that the xterm+sm+1006
block will work with terminal descriptions not mentioning xterm
(report by Tomas Janousek).
Thomas E. Dickey [Sun, 18 Nov 2018 00:22:59 +0000 (00:22 +0000)]
ncurses 6.1 - patch
20181117
+ ignore the hex/b64 $TERMINFO in toe's listing.
+ correct a status-check in _nc_read_tic_entry() so that if reading
a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
the compiled-in search list.
Thomas E. Dickey [Sun, 11 Nov 2018 02:45:34 +0000 (02:45 +0000)]
ncurses 6.1 - patch
20181110
+ several workarounds to ensure proper C compiler used in parts of
Ada95 tree.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
Thomas E. Dickey [Sun, 28 Oct 2018 00:58:09 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20181027
+ add OpenGL clients alacritty and kitty -TD
+ add Smulx for tmux, vte-2018 -Nicholas Marriott
Thomas E. Dickey [Sun, 21 Oct 2018 01:13:21 +0000 (01:13 +0000)]
ncurses 6.1 - patch
20181020
+ ignore $TERMINFO as a default value in configure script if it came
from the infocmp -Q option.
+ allow value for --with-versioned-syms to be a relative pathname
+ add a couple of broken-linker symbols to the list of versioned
symbols to help with link-time optimization versus weak symbols.
+ apply shift/control/alt logic when decoding xterm's 1006 mode to
wheel-mouse events (Redhat #
1610681).
Thomas E. Dickey [Sun, 14 Oct 2018 01:50:11 +0000 (01:50 +0000)]
ncurses 6.1 - patch
20181013
+ amend change from
20180818, which undid a fix for the $INSTALL value
to make it an absolute path.
Thomas E. Dickey [Sun, 7 Oct 2018 01:00:25 +0000 (01:00 +0000)]
ncurses 6.1 - patch
20181006
+ improve a configure check to work with newer optimizers (report by
Denis Pronin, Gentoo #606142).
+ fix typo in tput.c (Sven Joachim, cf:
20180825).
Thomas E. Dickey [Sun, 30 Sep 2018 01:01:20 +0000 (01:01 +0000)]
ncurses 6.1 - patch
20180929
+ fix typo in tvi955 -TD
+ corrected acsc for regent60 -TD
+ add alias n7900 -TD
+ corrected acsc for tvi950 -TD
+ remove bogus kf0 from tvi950 -TD
+ added function-key definitions to agree with Televideo 950 manual -TD
+ add bel to tvi950 -TD
+ add shifted function-keys to regent60 -TD
+ renumber regent40 function-keys to match manual -TD
+ add cd (clr_eos) to adds200 -TD
Thomas E. Dickey [Sun, 23 Sep 2018 09:07:52 +0000 (09:07 +0000)]
ncurses 6.1 - patch
20180923
+ build-fix: remove a _tracef call which was used for debugging (report
by Chris Clayton).
Thomas E. Dickey [Sat, 22 Sep 2018 23:44:43 +0000 (23:44 +0000)]
ncurses 6.1 - patch
20180922
+ ignore interrupted system-call in test/ncurses's command-line, e.g.,
if the terminal were resized.
+ add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
#
1610681, cf:
20141011).
+ modify rpm test-packages to not use --disable-relink with Redhat,
since Fedora 28's tools do not work with that feature.
Thomas E. Dickey [Sun, 9 Sep 2018 01:14:35 +0000 (01:14 +0000)]
ncurses 6.1 - patch
20180908
+ document --with-pcre2 configure option in INSTALL.
+ improve workaround for special case in PutAttrChar() where a cell is
marked as alternate-character set, to handle a case where the
character in the cell does not correspond to any of the ASCII
fallbacks (report by Leon Winter, cf:
20180505).
+ amend change to form library which attempted to avoid unnecessary
update of cursor position in non-public fields, to simply disable
output in this case (patch by Leon Winter, cf:
20180414).
+ improve check for LINE_MAX runtime limit, to accommodate broken
implementations of sysconf().
Thomas E. Dickey [Sun, 2 Sep 2018 00:30:36 +0000 (00:30 +0000)]
ncurses 6.1 - patch
20180901
+ improve manual page for wgetnstr, giving background for the length
parameter.
+ define a limit for wgetnstr, wgetn_wstr when length is negative or
"too large".
+ update configure script to autoconf 2.52.
20180819 (Debian #887390).
Thomas E. Dickey [Sun, 26 Aug 2018 00:49:33 +0000 (00:49 +0000)]
ncurses 6.1 - patch
20180825
+ add a section to tput manual page clarifying how it determines the
terminal size (prompted by discussion with Grant Jenks).
+ add "--disable-relink" to rpm test-packages, for consistency with the
deb test-packages.
+ split spec-file into ncurses6.spec and ncursest6.spec to work around
toolset breakage in Fedora 28.
+ drop mention of "--disable-touching", which was not in the final
20180818 updates.
Thomas E. Dickey [Sun, 19 Aug 2018 01:04:13 +0000 (01:04 +0000)]
ncurses 6.1 - patch
20180818
+ build-fix for PDCurses with ncurses-examples.
+ improved CF_CC_ENV_FLAGS.
+ modify configure scripts to reduce relinking/ranlib during library
install (Debian #903790):
+ use "install -p" when available, to avoid need for ranlib of
static libraries.
+ modify scripts which use "--disable-relink" to add a 1-second
sleep to work around tools which use whole-second timestamps, e.g.,
in utime() rather than the actual file system resolution.
+ add "--disable-touching" option for using "install -p" option during
the install, e.g., so that header-files have a predictable timestamp.
Thomas E. Dickey [Sun, 5 Aug 2018 01:06:31 +0000 (01:06 +0000)]
ncurses 6.1 - patch
20180804
+ improve logic for clear with E3 extension, in case the terminal
scrolls content onto its saved-lines before actually clearing
the display, by clearing the saved-lines after clearing the
display (report/patch by Nicholas Marriott).
Thomas E. Dickey [Sun, 29 Jul 2018 01:43:55 +0000 (01:43 +0000)]
ncurses 6.1 - patch
20180728
+ improve documentation regarding feature-test macros in curses.h
+ improve documentation regarding the virtual and physical screens.
+ formatting fixes for manpages, regenerate man-html documentation.
Thomas E. Dickey [Sun, 22 Jul 2018 01:11:25 +0000 (01:11 +0000)]
ncurses 6.1 - patch
20180721
+ build-fixes for gcc8.
+ corrected acsc for wy50 -TD
+ add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
+ remove ansi+rep mis-added to interix in 2018-02-23 -TD
Thomas E. Dickey [Sun, 15 Jul 2018 00:59:40 +0000 (00:59 +0000)]
ncurses 6.1 - patch
20180714
+ add enum, regex examples to test/demo_forms
+ add configure check for pcre-posix library to help with MinGW port.
Thomas E. Dickey [Sun, 8 Jul 2018 01:27:14 +0000 (01:27 +0000)]
ncurses 6.1 - patch
20180707
+ build-fixes for gcc8.
+ correct order of WINDOW._ttytype versus WINDOW._windowlist in
report_offsets.
+ fix a case where tiparm could return null if the format-string was
empty (Debian #902630).
Thomas E. Dickey [Sun, 1 Jul 2018 00:24:49 +0000 (00:24 +0000)]
ncurses 6.1 - patch
20180630
+ add acsc string to vi200 (Nibby Nebbulous)
add right/down-arrow to vi200's acsc -TD
+ add "x" to tput's getopt string so that "tput -x clear" works
(Nicholas Marriott).
+ minor fixes prompted by anonymous report on stack overflow:
+ correct order of checks in _nc_get_locale(), for systems lacking
locale support.
+ add "#error" in a few places to flag unsupported configurations
Thomas E. Dickey [Sun, 24 Jun 2018 00:40:50 +0000 (00:40 +0000)]
ncurses 6.1 - patch
20180623
+ use _WIN32/_WIN64 in preference to __MINGW32__/__MINGW64__ symbols
to simplify building with MSVC, since the former are defined in both
compiler configurations (report by Ali Abdulkadir).
+ further improvements to configure-checks from work on dialog, i.e.,
updated CF_ADD_INCDIR, CF_FIND_LINKAGE, CF_GCC_WARNINGS,
CF_GNU_SOURCE, CF_LARGEFILE, CF_POSIX_C_SOURCE, CF_SIZECHANGE, and
CF_TRY_XOPEN_SOURCE.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
Thomas E. Dickey [Sun, 17 Jun 2018 02:07:06 +0000 (02:07 +0000)]
ncurses 6.1 - patch
20180616
+ build-fix for ncurses-examples related to gcc8-fixes (cf:
20180526).
+ reduce use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
combines with _XOPEN_SOURCE (Debian #900987).
+ change target configure level for _XOPEN_SOURCE to 600 to address
use of vsscanf and setenv.
+ improved configure-checks CF_SIZECHANGE and CF_STRUCT_TERMIOS from
work on dialog.
Thomas E. Dickey [Sat, 9 Jun 2018 23:57:16 +0000 (23:57 +0000)]
ncurses 6.1 - patch
20180609
+ modify generatesd ncurses*config and ncurses.pc, ncursesw.pc, etc.,
to list helper libraries such as gpm for static linking (Debian
#900839).
+ marked vwprintw and vwscanw as deprecated; recommend using vw_printw
and vw_scanw, respectively.
Thomas E. Dickey [Sun, 3 Jun 2018 01:08:44 +0000 (01:08 +0000)]
ncurses 6.1 - patch
20180602
+ add RPM test-package "ncursest-examples".
+ modified RPM test-package to work with Mageia6.
Thomas E. Dickey [Sun, 27 May 2018 01:00:14 +0000 (01:00 +0000)]
ncurses 6.1 - patch
20180526
+ add note in curs_util.3x about unctrl.h
+ review/improve header files to ensure that those include necessary
files except for the previously-documented cases (report by Isaac
Pascual Monells).
+ improved test-package scripts, adapted from byacc 1.9
20180525.
+ fix some gcc8 warnings seen in Redhat package build, but
work around bug in gcc8 compiler warnings in comp_parse.c
Thomas E. Dickey [Sat, 19 May 2018 22:19:12 +0000 (22:19 +0000)]
ncurses 6.1 - patch
20180519
+ formatting fixes for manpages, regenerate man-html documentation.
+ trim spurious whitespace from tmux in 2018-02-24 changes;
fix some inconsistencies in/between tmux- and iterm2-entries for SGR
(report by C Anthony Risinger)
+ improve iterm2 using some xterm features which it has adapted -TD
+ add check in pair_content() to handle the case where caller asks
for an uninitialized pair (Debian #898658).
Thomas E. Dickey [Sat, 12 May 2018 23:58:52 +0000 (23:58 +0000)]
ncurses 6.1 - patch
20180512
+ remove trailing ';' from GCC_DEPRECATED definition.
+ repair a change from
20110730 which left an error-check/warning dead.
+ fix several minor Coverity warnings.
Thomas E. Dickey [Sun, 6 May 2018 00:58:46 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20180505
+ add deprecation warnings for internal functions called by older
versions of tack.
+ fix a special case in PutAttrChar() where a cell is marked as
alternate-character set, but the terminal does not actually support
the given graphic character. This would happen in an older terminal
such as vt52, which lacks most line-drawing capability.
+ use configure --with-config-suffix option to work around filename
conflict with Debian packages versus test-packages.
+ update tracemunch to work with perl 5.26.2, which changed the rules
for escaping regular expressions.
Thomas E. Dickey [Sat, 28 Apr 2018 22:44:02 +0000 (22:44 +0000)]
ncurses 6.1 - patch
20180428
+ document new form-extension O_EDGE_INSERT_STAY (report by Leon
Winter).
+ correct error-returns listed in manual pages for a few form functions
(report by Leon Winter).
+ add a check in form-library for null-pointer dereference:
unfocus_current_field (form);
form_driver (form, REQ_VALIDATION);
(patch by Leon Winter).
Thomas E. Dickey [Sat, 14 Apr 2018 22:50:05 +0000 (22:50 +0000)]
ncurses 6.1 - patch
20180414
+ modify form library to optionally delay cursor movement on a field
edge/boundary (patch by Leon Winter).
+ modify form library to avoid unnecessary update of cursor position in
non-public fields (patch by Leon Winter).
+ remove unused _nc_import_termtype2() function.
+ also add/improve null-pointer checks in other places
+ add a null-pointer check in _nc_parse_entry to handle an error when
a use-name is invalid syntax (report by Chung-Yi Lin).
Thomas E. Dickey [Sun, 8 Apr 2018 00:58:31 +0000 (00:58 +0000)]
ncurses 6.1 - patch
20180407
+ clarify in manual pages that vwprintw and vwscanw are obsolete,
not part of X/Open Curses since 2007.
+ use "const" in some prototypes rather than NCURSES_CONST where X/Open
Curses was updated to do this, e.g., wscanw, newterm, the terminfo
interface. Also use "const" for consistency in the termcap
interface, which was withdrawn by X/Open Curses in Issue 5 (2007).
As of Issue 7, X/Open Curses still lacks "const" for certain return
values, e.g., keyname().
Thomas E. Dickey [Sun, 1 Apr 2018 02:19:08 +0000 (02:19 +0000)]
ncurses 6.1 - patch
20180331
+ improve terminfo write/read by modifying the fourth item of the
extended header to denote the number of valid strings in the extended
string table (prompted by a comment in unibilium's sources).
Thomas E. Dickey [Sun, 25 Mar 2018 00:33:35 +0000 (00:33 +0000)]
ncurses 6.1 - patch
20180324
+ amend Scaled256() macro in test/picsmap.c to cover the full range
0..1000 (report by Roger Pau Monne).
+ add some checks in tracemunch for undefined variables.
Thomas E. Dickey [Sun, 18 Mar 2018 01:26:15 +0000 (01:26 +0000)]
ncurses 6.1 - patch
20180317
+ fix a check in infotocap which may not have detected a problem when
it should have.
+ add a check in tic for the case where setf/setb are given using
different strings, but provide identical results to setaf/setab.
+ further improve fix for terminfo.5 (patch by Kir Kolyshkin).
+ reorder loop-limit checks in winsnstr() in case the string has no
terminating null and only the number of characters is used (patch
by Gyorgy Jeney).
Thomas E. Dickey [Sun, 4 Mar 2018 02:17:44 +0000 (02:17 +0000)]
ncurses 6.1 - patch
20180303
+ modify TurnOn/TurnOff macros in lib_vidattr.c and lib_vid_attr.c to
avoid expansion of "CUR" in trace.
+ improve a few lintian warnings in test-packages.
+ modify lib_setup to avoid calling pthread_self() without first
verifying that the address is valid, i.e., for weak symbols
(report/patch by Werner Fink).
+ modify generated terminfo.5 to not use "expand" and related width
on the last column of tables, making layout on wide terminals look
better (adapted from patch by Kir Kolyshkin).
+ add a category to report_offsets, e.g., "w" for wide-character, "t"
for threads to make the report more readable. Reorganized the
structures reported to make the categories more apparent.
+ simplify some ifdef's for extended-colors.
+ add NCURSES_GLOBALS and NCURSES_PRESCREEN to report_offsets, to show
how similar the different tinfo configurations are.
Thomas E. Dickey [Sat, 24 Feb 2018 23:23:52 +0000 (23:23 +0000)]
ncurses 6.1 - patch
20180224
+ modify _nc_resolve_uses2() to detect incompatible types when merging
a "use=" clause of extended capabilities. The problem was seen in a
defective terminfo integrated from simpleterm sources in
20171111,
compounded by repair in
20180121.
+ correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
+ fix remaining flash capabilities with trailing mandatory delays -TD
+ correct cut/paste in NEWS (report by Sven Joachim).
+ improve fix for Debian #882620 by reusing limit2 variable (report by
Julien Cristau, Sven Joachim).
Thomas E. Dickey [Sun, 18 Feb 2018 01:45:21 +0000 (01:45 +0000)]
ncurses 6.1 - patch
20180217
+ remove incorrect free() from
20170617 changes (report by David Macek).
+ correct type for "U8" in user_caps.5; it is a number not boolean.
+ add a null-pointer check in safe_sprintf.c (report by Steven Noonan).
+ improve fix for Debian #882620 by reusing limit2 variable (report
Julien Cristau, Sven Cristau).
Thomas E. Dickey [Sun, 11 Feb 2018 00:39:07 +0000 (00:39 +0000)]
ncurses 6.1 - patch
20180210
+ modify misc/Makefile.in to install/uninstall explicit list in case
the build-directory happens to have no ".pc" files when an uninstall
is performed (report by Jeffrey Walton).
+ deprecate safe-sprintf, since the vsnprintf function, which does what
was needed, was standardized long ago.
+ add several development/experimental options to development packages.
+ minor reordering of options in configure script to make the threaded
and reentrant options distinct from the other extensions which are
normally enabled.
Thomas E. Dickey [Sun, 4 Feb 2018 02:13:47 +0000 (02:13 +0000)]
ncurses 6.1 - patch
20180203
+ minor fixes to test/*.h to make them idempotent.
+ add/use test/parse_rgb.h to show how the "RGB" capability works.
+ add a clarification in user_caps.5 regarding "RGB" capability.
+ add extended_slk_color{,_sp} symbols to the appropriate
package/*.{map,sym} files (report by Sven Joachim, cf:
20170401).
Thomas E. Dickey [Tue, 30 Jan 2018 01:18:41 +0000 (01:18 +0000)]
ncurses 6.1 - patch
20180129
+ update "VERSION" file, used in shared-library naming.
Thomas E. Dickey [Sun, 28 Jan 2018 01:02:35 +0000 (01:02 +0000)]
ncurses 6.1
Thomas E. Dickey [Sun, 28 Jan 2018 01:02:35 +0000 (01:02 +0000)]
ncurses 6.1 - patch
20180127
+ updated release notes
+ amend a warning message from tic which should have flagged misuse
of "XT" capability in "screen" terminal description.
> terminfo changes:
+ trim "XT" from screen entry, add comments to explain why it was
not suitable -TD
+ modify iterm to use xterm+sl-twm building block -TD
+ mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
konsole's removal in 2008 -TD
+ expanded the history section of konsole to explain its flawed
imitation of xterm's keyboard -TD
+ use xterm+x11mouse in screen.* entries because screen does not yet
support xterm's 1006 mode -TD
+ add nsterm-build400 for macOS 10.13 -TD
+ add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
+ update vte to vte-2017 -TD
+ add ecma+strikeout to vte-2017 -TD
+ add iterm2-direct -TD
+ updated teraterm, added teraterm-256color -TD
+ add mlterm-direct -TD
+ add descriptions for ANSI building-blocks -TD
Thomas E. Dickey [Mon, 22 Jan 2018 01:39:40 +0000 (01:39 +0000)]
ncurses 6.0 - patch
20180121
> terminfo changes:
+ add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
blocks from xterm #331 -TD
+ add xterm+direct, xterm+indirect, xterm-direct entries from xterm
#331 -TD
+ modify xterm+256color and xterm+256setaf to use correct number of
color pairs, for ncurses 6.1 -TD
+ add rs1 capability to xterm-256color -TD
+ modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
match xterm #272, reflecting packager's changes -TD
+ remove "boolean" Se, Ss from st-0.7 -TD
+ add konsole-direct and st-direct -TD
+ remove unsupported "Tc" capability from st-0.7; use st-direct if
direct-colors are wanted -TD
+ add vte-direct -TD
+ add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
Pierre Carru)
+ use xterm+sm+1006 in xterm-new, vte-2014 -TD
+ use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
mode does not work with those programs. konsole is debatable -TD
+ add "termite" entry (report by Markus Pfeiffer) -TD
> merge branch begun April 2, 2017 which provides these features:
+ support read/write new binary-format for terminfo which stores
numeric capabilities as a signed 32-bit integer. The test programs
such as picsmap, ncurses were created or updated during 2017 to use
this feature.
+ the new format is written by the wide-character configuration of
tic when it finds a numeric capability larger than 32767.
+ other applications such as infocmp built with the wide-character
ncurses library work as expected.
+ applications built with the "narrow" (8-bit) configuration will
read the new format, but will limit those extended values to 32767.
+ in either wide/narrow configuration, the structure defined in
term.h still uses signed 16-bit values.
+ because it is incompatible with the legacy (mid-1980s) binary format,
a new magic value is provided for the "file" program.
+ the term.5 manual page is updated to describe this new format.
+ the limit on file-size for compiled terminfo is increased in the
wide-character configuration to 32768.
Thomas E. Dickey [Sun, 21 Jan 2018 00:35:48 +0000 (00:35 +0000)]
ncurses 6.0 - patch
20180120
+ build-fix in picsmap.c for stdint.h existence.
+ add --disable-stripping option to configure scripts.
+ modify ncurses-examples to install test-scripts in the data directory.
+ work around tool-breakage in Debian 9 and later by invoking
gprconfig to specify the C compiler to be used by gnatmake,
and conditionally suppressing Library_Options line for static
libraries.
+ bump the compat level for test-packages to 7, i.e., Debian 5.
Thomas E. Dickey [Sun, 7 Jan 2018 02:47:04 +0000 (02:47 +0000)]
ncurses 6.0 - patch
20180106
+ fixes for writing extended color pairs in putwin.
+ modify test/savescreen.c to add test patterns that exercise 88-,
256-, etc., colors.
+ modify configure option --with-build-cc, adding clang, c89 and c99
as possible default values.
+ modify ncurses-examples configure script to use pkg-config for the
extra form/menu/panel libraries, to be more consistent with the
handling of the curses/ncurses library.
+ modify test-packages for mingw to supply "pc" files.
+ modify gen-pkgconfig.in to list -lpthread as a private library when
configured to access it via weak symbols.
+ simplify gen-pkgconfig.in, adding -ltinfo without the special linker
checks because some versions of the linker simply hard-code the
behavior.
+ update URLs for ncurses website to use https.
+ modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
ncurses-examples are built with a system ncurses that lacks the
standard "curses" symbolic link, as done by SuSE. The symbol is
needed to make a followup check for the pthread library work, and
would be set properly using the options "--with-screen", etc.
+ generate misc/*.pc with "all" rule, as done for "sources" rule
(report by Jeffrey Walton).
Thomas E. Dickey [Sun, 31 Dec 2017 01:08:31 +0000 (01:08 +0000)]
ncurses 6.0 - patch
20171230
+ build-fix for ncurses-examples with Fedora27, adding check for
reset_color_pairs() -- not yet in Fedora's package.
+ consistently add $CFLAGS to $MK_SHARED_LIB symbol in configure
script when the latter happens to use the C compiler rather than
directly using the loader (report by Jeffrey Walton).
+ set ABI for upcoming 6.1 release in "*.map" files. While there are
some remaining internals to apply, no ABI-related changes are
anticipated.
+ add configure --with-config-suffix option to work around filename
conflict with Redhat packages versus test-packages.
Thomas E. Dickey [Sat, 23 Dec 2017 23:06:29 +0000 (23:06 +0000)]
ncurses 6.0 - patch
20171223
+ modify ncurses-examples to quiet const-warnings when building with
PDCurses.
+ modify toe to not exit if unable to read a terminal description,
e.g., if there is a permission problem.
+ minor fix for progs/toe.c, using _nc_free_termtype2.
+ assign 0 to pointer in _nc_tgetent_leak() after freeing it. Also
avoid reusing pointer from previous successful call to tgetent
if the latest call is unsuccessful (patch by Michael Schroeder,
OpenSuSE #
1070450).
+ minor fix for test/tracemunch, initialize $awaiting variable.
Thomas E. Dickey [Sun, 17 Dec 2017 01:22:35 +0000 (01:22 +0000)]
ncurses 6.0 - patch
20171216
+ repair template in test/package/ncurses-examples.spec (cf:
20171111).
+ improve tic's warning about the number of parameters tparm might use
for u1-u9 by making a special case for u6.
+ improve curs_attr.3x discussion of color pairs.
Thomas E. Dickey [Sun, 10 Dec 2017 00:31:04 +0000 (00:31 +0000)]
ncurses 6.0 - patch
20171209
+ modify misc/ncurses-config.in to make output with --includedir
consistent with --cflags, i.e., when --disable-overwrite option was
configured the output should show the subdirectory where headers
are.
+ modify MKlib_gen.sh to suppress macros when calling an "implemented"
function in link_test.c
+ updated ftp-url used in test-packages, etc.
+ modify order of -pie/-shared options in configure script in case
LDFLAGS uses "-pie", working around a defect or limitation in the GNU
linker (prompted by patch by Yogesh Prasad, forwarded by Jay Shah).
+ add entry in man_db.renames for user_caps.5
Thomas E. Dickey [Sun, 26 Nov 2017 00:35:16 +0000 (00:35 +0000)]
ncurses 6.0 - patch
20171125
+ modify MKlib_gen.sh to avoid tracing result from getstr/getnstr
before initialized.
+ add "-a" aspect-ratio option to picsmap.
+ add configure check for default path of rgb.txt, used in picsmap.
+ modify _nc_write_entry() to truncate too-long filename (report by
Hosein Askari, Debian #882620).
+ build-fix for ncurses-examples with NetBSD curses:
+ it lacks the use_env() function.
+ it lacks libpanel; a recent change used the wrong ifdef symbol.
+ add a macro for is_linetouched() and adjust the function's return
value to make it possible for most applications to check for an
error-return (report by Midolikawa H).
+ additional manpage cleanup.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git