]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
22 months agoncurses 6.3 - patch 20220604
Thomas E. Dickey [Sun, 5 Jun 2022 00:13:01 +0000 (00:13 +0000)]
ncurses 6.3 - patch 20220604

+ add note on portable memory-leak checking in man/curs_memleaks.3x
+ remove u6-u9 from teken-2018 -TD
+ set "xterm-new" to "xterm-p370", add "xterm-p371" -TD

22 months agoncurses 6.3 - patch 20220529
Thomas E. Dickey [Mon, 30 May 2022 00:05:21 +0000 (00:05 +0000)]
ncurses 6.3 - patch 20220529

+ expanded notes for teken/syscons -TD
+ fix overlooked copying of extended string-heap in copy_termtype
  (cf: 20220430).
+ update config.guess

22 months agoncurses 6.3 - patch 20220521
Thomas E. Dickey [Sun, 22 May 2022 00:12:22 +0000 (00:12 +0000)]
ncurses 6.3 - patch 20220521

+ improve memory-leak checking in several test-programs.
+ set trailing null on string passed from winsnstr() to wins_nwstr().
+ modify del_curterm() to fix memory-leak introduced by change to
  copy_termtype().

23 months agoncurses 6.3 - patch 20220514
Thomas E. Dickey [Sun, 15 May 2022 00:51:18 +0000 (00:51 +0000)]
ncurses 6.3 - patch 20220514

+ further improvements to test/test_mouse.c; compare with ncurses test
  program menu A/a.

23 months agoncurses 6.3 - patch 20220507
Thomas E. Dickey [Sun, 8 May 2022 00:52:05 +0000 (00:52 +0000)]
ncurses 6.3 - patch 20220507

+ add test/test_mouse.c (patch by Leonid S Usov).
+ add a few debug-traces for tic, fix a couple of memory-leaks.

23 months agoncurses 6.3 - patch 20220501
Thomas E. Dickey [Sun, 1 May 2022 18:51:43 +0000 (18:51 +0000)]
ncurses 6.3 - patch 20220501

+ build-fix for debug-traces (report/patch by Chris Clayton).

23 months agoncurses 6.3 - patch 20220430
Thomas E. Dickey [Sun, 1 May 2022 00:03:53 +0000 (00:03 +0000)]
ncurses 6.3 - patch 20220430

+ modify samples for xterm mouse 1002/1003 modes to use 1006 mode, and
  also provide for focus in/out responses -TD
+ modify default case in handle_wheel() to always report button-release
  events, e.g., for xterm mouse mode 1003 (patch by Leonid S Usov).
+ improve valid_entryname() to disallow characters used in terminfo
  syntax: '#', '=', '|', '\'.
+ alter copy_termtype() to allocate new str_table and ext_str_table
  data rather than relying upon its callers.
+ use calloc in _nc_init_entry() when allocating stringbuf, to ensure
  it is initialized.
+ add library-level TYPE_CALLOC for consistency with TYPE_MALLOC.
+ add some debug-traces for tic/infocmp.

23 months agoncurses 6.3 - patch 20220423
Thomas E. Dickey [Sun, 24 Apr 2022 00:17:21 +0000 (00:17 +0000)]
ncurses 6.3 - patch 20220423

+ in-progress work on invalid_merge(), disable it (cf: 20220402).
+ fix memory leak in _nc_tic_dir() when called from _nc_set_writedir().
+ fix memory leak in tic when "-c" option is used.

2 years agoncurses 6.3 - patch 20220416
Thomas E. Dickey [Sun, 17 Apr 2022 00:27:48 +0000 (00:27 +0000)]
ncurses 6.3 - patch 20220416

+ add a limit-check to guard against corrupt terminfo data
  (report/testcase by NCNIPC of China).
+ add check/warning in configure script if option --with-xterm-kbs is
  missing or inconsistent (Arch #74379).
+ add setlocale call to several test-programs.
+ allow extended-color number in opts parameter of wattr_on.

2 years agoncurses 6.3 - patch 20220409
Thomas E. Dickey [Sun, 10 Apr 2022 00:16:54 +0000 (00:16 +0000)]
ncurses 6.3 - patch 20220409

+ add test/test_unget_wch.c

2 years agoncurses 6.3 - patch 20220402
Thomas E. Dickey [Sun, 3 Apr 2022 00:00:27 +0000 (00:00 +0000)]
ncurses 6.3 - patch 20220402

+ amend extended_captype(), returning CANCEL if a string is explicitly
  cancelled.
+ make description-fields distinct -TD

2 years agoncurses 6.3 - patch 20220326
Thomas E. Dickey [Sun, 27 Mar 2022 00:22:57 +0000 (00:22 +0000)]
ncurses 6.3 - patch 20220326

+ update teken -TD
+ add teken-16color, teken-vt and teken-sc -TD
+ add a few missing details for vte-2018 (report by Robert Lange) -TD

2 years agoncurses 6.3 - patch 20220319
Thomas E. Dickey [Sun, 20 Mar 2022 00:45:48 +0000 (00:45 +0000)]
ncurses 6.3 - patch 20220319

+ add xgterm -TD
+ correct setal in mintty/tmux entries, add to vte-2018 (report by
  Robert Lange)
+ add blink to vte-2018 (report by Robert Lange)
+ improve tic warning about XT versus redundant tsl, etc.

2 years agoncurses 6.3 - patch 20220312
Thomas E. Dickey [Sun, 13 Mar 2022 00:52:29 +0000 (00:52 +0000)]
ncurses 6.3 - patch 20220312

+ add xterm+acs building-block -TD
+ add xterm-p370, for use in older terminals -TD
+ add dec+sl to xterm-new, per patch #371 -TD
+ add mosh and mosh-256color -TD

2 years agoncurses 6.3 - patch 20220305
Thomas E. Dickey [Sun, 6 Mar 2022 02:01:23 +0000 (02:01 +0000)]
ncurses 6.3 - patch 20220305

+ replace obsolescent "-gnatg" option with "-gnatwa" and "-gnatyg", to
  work around build problems with gnat 12.
+ update external links in Ada95.html
+ trim unused return-value from canonical_name().

2 years agoncurses 6.3 - patch 20220226
Thomas E. Dickey [Sun, 27 Feb 2022 01:00:55 +0000 (01:00 +0000)]
ncurses 6.3 - patch 20220226

+ fix issues found with coverity:
  + rewrite canonical_name() function of infocmp to ensure buffer size
  + corrected use of original tty-modes in tput init/reset subcommands
  + modify tabs program to limit tab-stop values to max-columns
  + add limit-checks for palette rgb values in test/ncurses.c
+ add a few null-pointer checks to help with static-analysis.
+ enforce limit on number of soft-keys used in c++ binding.
+ adjust a buffer-limit in write_entry.c to quiet a bogus warning from
  gcc 12.0.1

2 years agoncurses 6.3 - patch 20220219
Thomas E. Dickey [Sun, 20 Feb 2022 02:01:54 +0000 (02:01 +0000)]
ncurses 6.3 - patch 20220219

+ expanded description in man/resizeterm.3x
+ additional workaround for ImageMagick in test/picsmap.c

2 years agoncurses 6.3 - patch 20220212
Thomas E. Dickey [Sun, 13 Feb 2022 02:28:27 +0000 (02:28 +0000)]
ncurses 6.3 - patch 20220212

+ improve font-formatting in other manpages, for consistency.
+ correct/improve font-formatting in curs_wgetch.3x (patch by Benno
  Schulenberg).

2 years agoncurses 6.3 - patch 20220205
Thomas E. Dickey [Sun, 6 Feb 2022 01:46:24 +0000 (01:46 +0000)]
ncurses 6.3 - patch 20220205

+ 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.
+ improve use of "trap" in shell scripts, using "fixup-trap".

2 years agoncurses 6.3 - patch 20220129
Thomas E. Dickey [Sun, 30 Jan 2022 01:46:17 +0000 (01:46 +0000)]
ncurses 6.3 - patch 20220129

+ minor updates for test-packages
+ 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 (report by Rudi Heitbaum,
  cf: 20211113).
+ update kitty -TD

2 years agoncurses 6.3 - patch 20220122
Thomas E. Dickey [Sun, 23 Jan 2022 01:58:35 +0000 (01:58 +0000)]
ncurses 6.3 - patch 20220122

+ add ABI 7 defaults to configure script.
+ add warning in configure script if file specified for "--with-caps"
  does not exist.
+ use fix for CF_FIX_WARNINGS from cdk-perl, ignoring error-exit on
  format-warnings.
+ improve readability of long parameterized expressions with the
  infocmp "-f" option by allowing split before a "%p" marker.

2 years agoncurses 6.3 - patch 20220115
Thomas E. Dickey [Sun, 16 Jan 2022 02:14:52 +0000 (02:14 +0000)]
ncurses 6.3 - patch 20220115

+ improve checks for valid mouse events when an intermediate mouse
  state is not part of the mousemask specified by the caller (report by
  Anton Vidovic, cf: 20111022).
+ use newer version 1.36 of gnathtml for generating Ada html files.

2 years agoncurses 6.3 - patch 20220101
Thomas E. Dickey [Sun, 2 Jan 2022 01:07:07 +0000 (01:07 +0000)]
ncurses 6.3 - patch 20220101

+ add section on releasing memory to curs_termcap.3x and
  curs_terminfo.3x manpages.

2 years agoncurses 6.3 - patch 20211225
Thomas E. Dickey [Sun, 26 Dec 2021 02:01:14 +0000 (02:01 +0000)]
ncurses 6.3 - patch 20211225

+ improve markup, e.g., for external manpage links in the manpages
  (prompted by report by Helge Kreutzmann).

2 years agoncurses 6.3 - patch 20211219
Thomas E. Dickey [Mon, 20 Dec 2021 00:46:47 +0000 (00:46 +0000)]
ncurses 6.3 - patch 20211219

+ install ncurses-examples programs in libexecdir, adding a wrapper
  script to invoke those.
+ add help-screen and screen-dump to test/combine.c

2 years agoncurses 6.3 - patch 20211211
Thomas E. Dickey [Sun, 12 Dec 2021 01:11:22 +0000 (01:11 +0000)]
ncurses 6.3 - patch 20211211

+ add test/combine.c, to demo/test combining characters.

2 years agoncurses 6.3 - patch 20211204
Thomas E. Dickey [Mon, 6 Dec 2021 21:34:05 +0000 (21:34 +0000)]
ncurses 6.3 - patch 20211204

+ improve configure check for getttynam (report by Werner Fink).

2 years agoncurses 6.3 - patch 20211127
Thomas E. Dickey [Sun, 28 Nov 2021 02:17:37 +0000 (02:17 +0000)]
ncurses 6.3 - patch 20211127

+ fix errata in description fields (report by Eric Lindblad) -TD
+ add x10term+sl, aixterm+sl, ncr260vp+sl, ncr260vp+vt, wyse+sl -TD

2 years agoncurses 6.3 - patch 20211120
Thomas E. Dickey [Sun, 21 Nov 2021 01:19:08 +0000 (01:19 +0000)]
ncurses 6.3 - patch 20211120

+ add dim, ecma+strikeout to st-0.6 -TD
+ deallocate the tparm cache when del_curterm is called for the last
  allocated TERMINAL structure (report/testcase by Bram Moolenaar,
  cf: 20200531).
+ modify test-package to more closely conform to Debian multi-arch.
+ if the --with-pkg-config-libdir option is not given, use
  ${libdir}/pkgconfig as a default (prompted by discussion with Ross
  Burton).

2 years agoncurses 6.3 - patch 20211115
Thomas E. Dickey [Tue, 16 Nov 2021 00:54:00 +0000 (00:54 +0000)]
ncurses 6.3 - patch 20211115

+ fix memory-leak in delwin for pads (report by Werner Fink, OpenSUSE
  #1192668, cf:  20211106),

2 years agoncurses 6.3 - patch 20211113
Thomas E. Dickey [Sun, 14 Nov 2021 01:21:10 +0000 (01:21 +0000)]
ncurses 6.3 - patch 20211113

+ minor clarification to clear.1 (Debian #999437).
+ add xterm+sl-alt, use that in foot+base (report by Jonas Grosse
  Sundrup) -TD
+ improve search-path check for pkg-config, for Debian testing which
  installs pkg-config with architecture-prefixes.

2 years agoncurses 6.3 - patch 20211106
Thomas E. Dickey [Sun, 7 Nov 2021 00:20:43 +0000 (00:20 +0000)]
ncurses 6.3 - patch 20211106

+ improve check in misc/Makefile.in for empty $PKG_CONFIG_LIBDIR
+ 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 (report by Giorgos Xou).
+ fix a memory-leak in del_curterm (prompted by discussion with Bram
  Moolenaar, cf: 20210821).

2 years agoncurses 6.3 - patch 20211030
Thomas E. Dickey [Sun, 31 Oct 2021 00:48:33 +0000 (00:48 +0000)]
ncurses 6.3 - patch 20211030

+ simplify some references to WINDOWS._flags using macros.
+ add a "check" rule in Ada95 makefile, to help with test-packages.
+ build-fix for cross-compiling to MingW, conditionally add -lssp

2 years agoncurses 6.3 - patch 20211026
Thomas E. Dickey [Tue, 26 Oct 2021 23:55:34 +0000 (23:55 +0000)]
ncurses 6.3 - patch 20211026

+ corrected regex needed for older pkg-config used in Solaris 10.
+ amend configure option's auto-search to account for systems where
  none of the directories known to pkg-config exist, adapted from
  mailing-list comment (report by Milan P. Stanic).

2 years agoncurses 6.3 v6.3
Thomas E. Dickey [Fri, 22 Oct 2021 00:24:10 +0000 (00:24 +0000)]
ncurses 6.3

2 years agoncurses 6.3 - patch 20211021
Thomas E. Dickey [Fri, 22 Oct 2021 00:24:10 +0000 (00:24 +0000)]
ncurses 6.3 - patch 20211021

+ update release notes
+ add "ncu2openbsd" script, to illustrate how to update an OpenBSD
  system to use a current ncurses release.

2 years agoncurses 6.2 - patch 20211018
Thomas E. Dickey [Tue, 19 Oct 2021 00:28:18 +0000 (00:28 +0000)]
ncurses 6.2 - patch 20211018

+ check for screen size-change in scr_init() and scr_restore(), in case
  a screen dump does not match the current screen dimensions (report by
  Frank Tkalcevic).

2 years agoncurses 6.2 - patch 20211017
Thomas E. Dickey [Sun, 17 Oct 2021 21:17:19 +0000 (21:17 +0000)]
ncurses 6.2 - patch 20211017

+ amend change for pkg-config to account for "none" being returned in
  the libdir-path result rather than "no" (report by Gabriele Balducci).

2 years agoncurses 6.2 - patch 20211016
Thomas E. Dickey [Sun, 17 Oct 2021 00:15:56 +0000 (00:15 +0000)]
ncurses 6.2 - patch 20211016

+ build-fix for pmake with libtool.
+ improve make-tar.sh scripts, adding COPYING to tar file, and clean up
  shellcheck warnings.
+ add link for "reset6" manpage in test-package ncurses6-doc
+ revise configure option --with-pkg-config-libdir, using the actual
  search path from pkg-config or pkgconf using the output from --debug
  (report by Pascal Pignard).
+ freeze ABI in ".map" files.

2 years agoncurses 6.2 - patch 20211009
Thomas E. Dickey [Sun, 10 Oct 2021 01:24:57 +0000 (01:24 +0000)]
ncurses 6.2 - patch 20211009

+ implement "+m" option in tabs program.
+ fill in some details for infoton -TD
+ fix spelling/consistency in several descriptions -TD
+ use vt420+lrmm in vt420 -TD
+ modify save_tty_settings() to avoid opening /dev/tty for cases other
  than reset/init, e.g., for clear.
+ modify output of "toe -as" to show first description found rather
  than the last.
+ improve tic checks for number of parameters of smglp, smgrp, smgtp,
  and smgbp (cf: 20020525).
+ correct off-by-one comparison in last_char(), which did not allow
  special case of ":" in a terminfo description field (cf: 20120407).
+ remove check in tic that assumes that none or both parameterized and
  non-parameterized margin-setting capabilities are present
  (cf: 20101002).

2 years agoncurses 6.2 - patch 20211002
Thomas E. Dickey [Sun, 3 Oct 2021 00:30:14 +0000 (00:30 +0000)]
ncurses 6.2 - patch 20211002

+ use return-value from vsnprintf to reallocate as needed to allow for
  buffers larger than the screen size (report by "_RuRo_").
+ modify tset "-q" option to refrain from modifying terminal modes, to
  match the documentation.
+ add section on margins to terminfo.5, adapted from X/Open Curses.
+ make tput/tset warning messages consistently using alias names when
  those are used, rather than the underlying program's name.
+ improve tput usage message for aliases such as clear, by eliminating
  tput-specific portions.
+ add a check in toe to ensure that a "termcap file" is text rather
  than binary.
+ further build-fixes for OpenBSD 6.9, whose header files differ from
  the other BSDs.

2 years agoncurses 6.2 - patch 20210925
Thomas E. Dickey [Sat, 25 Sep 2021 22:18:46 +0000 (22:18 +0000)]
ncurses 6.2 - patch 20210925

+ add kbeg to xterm+keypad to accommodate termcap applications -TD
+ add smglp and smgrp to vt420+lrmm, to provide useful data for the
  "tabs" +m option -TD
+ build-fix for gcc 3.4.3 with Solaris10, which does not allow forward
  reference of anonymous struct typedef.
+ modify tput to allow multiple commands per line.
+ minor fixes for tset manpage.

2 years agoncurses 6.2 - patch 20210911
Thomas E. Dickey [Sun, 12 Sep 2021 00:31:04 +0000 (00:31 +0000)]
ncurses 6.2 - patch 20210911

+ adjust ifdef in test_opaque.c to fix build with ncurses 5.7
+ add testing note for xterm-{hp|sco|sun} -TD
+ corrected description for ansi.sys-old -TD
+ add xterm+nopcfkeys, to fill in keys for xterm-hp, xterm-sun -TD
+ use hp+arrows in a few places -TD
+ use hp+pfk-cr in a few places -TD

2 years agoncurses 6.2 - patch 20210905
Thomas E. Dickey [Mon, 6 Sep 2021 00:21:01 +0000 (00:21 +0000)]
ncurses 6.2 - patch 20210905

+ correct logic in filtering of redefinitions (report by Sven Joachim,
  cf: 20210828).

2 years agoncurses 6.2 - patch 20210904
Thomas E. Dickey [Sun, 5 Sep 2021 00:58:54 +0000 (00:58 +0000)]
ncurses 6.2 - patch 20210904

+ modify linux3.0 entry to reflect default mapping of shift-tab by
  kbd 1.14 (report by Jan Engelhardt) -TD
+ add historical note to tput, curses-terminfo and curses-color
  manpages based on source-code for SVr2, SVr3 and SVr4.
+ minor grammatical fixes for "it's" vs "its" (report by Nick Black).
+ amend fix for --disable-root-environ (report by Arnav Singh).
+ build-fix for compiling link_test
+ drop symbols GCC_PRINTF and GCC_SCANF from curses.h.in, to simplify
  use (Debian #993179).

2 years agoncurses 6.2 - patch 20210828
Thomas E. Dickey [Sat, 28 Aug 2021 22:42:26 +0000 (22:42 +0000)]
ncurses 6.2 - patch 20210828

+ correct reversed check for --disable-root-environ (report/analysis
  by Arnav Singh, cf: 20210626).
+ apply gcc format attribute to prototypes which use a va_list
  parameter rather than a "..." variable-length parameter list
  (prompted by discussion in a tmux pull-request).
+ modify configure scripts to filter out redefinitions of _XOPEN_SOURCE,
  e.g., for NetBSD which generally supports 500, but 600 is needed for
  ncursesw.
+ improve documentation for tparm and static/dynamic variables.
+ improve typography in terminfo.5 (patch by Branden Robinson).

2 years agoncurses 6.2 - patch 20210821
Thomas E. Dickey [Sun, 22 Aug 2021 00:41:36 +0000 (00:41 +0000)]
ncurses 6.2 - patch 20210821

+ improve tparm implementation of %P and %g, more closely matching
  SVr4 terminfo.
+ move internals of TERMINAL structure to new header term.priv.h
+ add "check" rule for ncurses/Makefile
+ corrected tsl capability for terminator -TD
+ add check in tic to report instances where tparm would detect an
  error in an expression (cf: 20201010).
+ correct a few places where SP->_pair_limit was used rather than
  SP->_pair_alloc (cf: 20170812).
+ fix missing "%d" for setaf/setab code 8-15 in xterm+direct16 (report
  by Florian Weimer) -TD
+ fix some documentation errata from OpenBSD changes.
+ update config.sub

2 years agoncurses 6.2 - patch 20210814
Thomas E. Dickey [Sat, 14 Aug 2021 16:58:02 +0000 (16:58 +0000)]
ncurses 6.2 - patch 20210814

+ add workaround for broken pcre2 package in Debian 10, from xterm #369.

2 years agoncurses 6.2 - patch 20210807
Thomas E. Dickey [Sun, 8 Aug 2021 01:30:10 +0000 (01:30 +0000)]
ncurses 6.2 - patch 20210807

+ ignore "--dynamic-linker" option in generated pkg/config files,
  adapted from "distr1" patch.
+ add CF_SHARED_OPTS case for Haiku, from patch in haikuports.

2 years agoncurses 6.2 - patch 20210731
Thomas E. Dickey [Sun, 1 Aug 2021 00:47:35 +0000 (00:47 +0000)]
ncurses 6.2 - patch 20210731

+ add extensions in xterm+tmux and ecma+strikeout to ms-terminal,
  but cancel the non-working Cr and Ms capabilities -TD
+ add foot and foot-direct -TD

2 years agoncurses 6.2 - patch 20210724
Thomas E. Dickey [Sun, 25 Jul 2021 00:54:29 +0000 (00:54 +0000)]
ncurses 6.2 - patch 20210724

+ add workaround for Windows Terminal's problems with CR/LF mapping to
  ms-terminal (patch by Juergen Pfeifer).
+ review/update current Windows Terminal vs ms-terminal -TD

2 years agoncurses 6.2 - patch 20210718
Thomas E. Dickey [Sun, 18 Jul 2021 23:45:17 +0000 (23:45 +0000)]
ncurses 6.2 - patch 20210718

+ correct typo in "vip" comments (report by Nick Black), reviewed this
  against Glink manual -TD
+ fill in some missing pieces for pccons, to make it comparable to the
  vt220 entry -TD
+ modify mk-1st.awk to account for extra-suffix configure option
  (report by Juergen Pfeifer).
+ change default for --disable-wattr-macros option to help packagers
  who reuse wide ncursesw header file with non-wide ncurses library.
+ build-fix for test/test_opaque.c, for configurations without opaque
  curses structs.

2 years agoncurses 6.2 - patch 20210710
Thomas E. Dickey [Sun, 11 Jul 2021 00:15:38 +0000 (00:15 +0000)]
ncurses 6.2 - patch 20210710

+ improve history section for tset manpage based on the 1BSD tarball,
  which preceded BSD's SCCS checkins by more than three years.
+ improve CF_XOPEN_CURSES macro used in test/configure (report by Urs
  Jansen).
+ further improvement of libtool configuration, adding a dependency of
  the install.tic rule, etc., on the library in the build-tree.
+ update config.sub

2 years agoncurses 6.2 - patch 20210703
Thomas E. Dickey [Sun, 4 Jul 2021 00:00:32 +0000 (00:00 +0000)]
ncurses 6.2 - patch 20210703

+ amend libtool configuration to add dependency for install.tic, etc.,
  in ncurses/Makefile on the lower-level libraries.
+ modify configure script to support ".PHONY" make program feature.

2 years agoncurses 6.2 - patch 20210626
Thomas E. Dickey [Sun, 27 Jun 2021 01:21:47 +0000 (01:21 +0000)]
ncurses 6.2 - patch 20210626

+ add configure option --disable-root-access, which tells ncurses to
  disallow most file-opens by setuid processes.
+ use default colors in pccon "op" -TD
+ correct rmacs/smacs in aaa+dec, aaa+rv -TD
+ add hpterm-color2 and hp98550-color (Martin Trusler)
+ regenerate man-html documentation.

2 years agoncurses 6.2 - patch 20210619
Thomas E. Dickey [Sun, 20 Jun 2021 00:21:42 +0000 (00:21 +0000)]
ncurses 6.2 - patch 20210619

+ improve configure-macro used for dependencies of --disable-leaks such
  as --with-valgrind
+ trim trailing blanks from files

2 years agoncurses 6.2 - patch 20210612
Thomas E. Dickey [Sun, 13 Jun 2021 01:18:49 +0000 (01:18 +0000)]
ncurses 6.2 - patch 20210612

+ fixes for scan-build, valgrind build/testing.
+ update config.guess

2 years agoncurses 6.2 - patch 20210605
Thomas E. Dickey [Sun, 6 Jun 2021 01:58:14 +0000 (01:58 +0000)]
ncurses 6.2 - patch 20210605

+ add a summary of ncurses-specific preprocessor symbols to curses.h
  (prompted by discussion with Peter Farley, Bill Gray).

2 years agoncurses 6.2 - patch 20210522
Thomas E. Dickey [Mon, 24 May 2021 20:07:50 +0000 (20:07 +0000)]
ncurses 6.2 - patch 20210522

+ regenerate configure scripts with autoconf 2.52.20210509 to eliminate
  an unnecessary warning in config.log (report by Miroslav Lichvar).
+ add a note in manual page to explain ungetch vs unget_wch (prompted
  by discussion with Peter Farley).
+ add sp-funcs for erasewchar, killwchar.
+ modify wgetnstr, wgetn_wstr to improve compatibility with SVr4 curses
  in its treatment of interrupt and quit characters (prompted by
  report/testcase by Bill Gray)
+ update config.guess, config.sub

2 years agoncurses 6.2 - patch 20210515
Thomas E. Dickey [Sun, 16 May 2021 00:32:33 +0000 (00:32 +0000)]
ncurses 6.2 - patch 20210515

+ improve manual pages for wgetnstr, newwin (prompted by
  report/testcase by Bill Gray).
  is required for supporting the terminfo delay feature (report by

2 years agoncurses 6.2 - patch 20210508
Thomas E. Dickey [Sun, 9 May 2021 00:34:51 +0000 (00:34 +0000)]
ncurses 6.2 - patch 20210508

+ modify tputs' error check to allow it to be used without first
  calling tgetent or setupterm, noting that terminfo initialization
  is requires for supporting the terminfo delay feature (report by
  Sebastiano Vigna).
+ fix several warnings from clang --analyze
+ add null-pointer check in comp_parse.c, when a "use=" clause refers
  to a nonexisting terminal description (report/patch by Miroslav
  Lichvar, cf: 20210227).

2 years agoncurses 6.2 - patch 20210501
Thomas E. Dickey [Sun, 2 May 2021 01:10:38 +0000 (01:10 +0000)]
ncurses 6.2 - patch 20210501

+ 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
  There is no workaround for the other issue, a broken linker spec.
+ modify configure check for libtool to prevent accidental use of an
  OpenBSD program which uses the same name.
+ update config.guess, config.sub

2 years agoncurses 6.2 - patch 20210424
Thomas E. Dickey [Sun, 25 Apr 2021 01:07:00 +0000 (01:07 +0000)]
ncurses 6.2 - patch 20210424

+ avoid using broken system macros for snprintf which interfere with
  _nc_SLIMIT's conditionally adding a parameter when the string-hacks
  configure option is enabled.
+ add a "all::" rule before the new "check" rule in test/Makefile.in

2 years agoncurses 6.2 - patch 20210418
Thomas E. Dickey [Mon, 19 Apr 2021 00:00:48 +0000 (00:00 +0000)]
ncurses 6.2 - patch 20210418

+ improve CF_LINK_FUNCS by ensuring that the source-file is closed
  before linking to the target.
+ add "check" rules for headers in c++, progs and test-directories.
+ build-fix for termsort module when configured with termcap (reports
  by Rajeev V Pillai, Rudi Heitbaum).

2 years agoncurses 6.2 - patch 20210417
Thomas E. Dickey [Sun, 18 Apr 2021 01:15:31 +0000 (01:15 +0000)]
ncurses 6.2 - patch 20210417

+ extend --disable-pkg-ldflags option to also control whether $LDFLAGS
  from the build is provided in -config and .pc files (Debian #986764).
+ fix some cppcheck warnings, mostly style, in ncurses and c++
  libraries and progs directory.
+ fix off-by-one limit for tput's processing command-line arguments
  (patch by Hadrien Lacour).

3 years agoncurses 6.2 - patch 20210403
Thomas E. Dickey [Sun, 4 Apr 2021 01:13:05 +0000 (01:13 +0000)]
ncurses 6.2 - patch 20210403

+ fix some cppcheck warnings, mostly style, in ncurses library and
  progs directory.
+ improve description of BSD-style padding in curs_termcap.3x
+ improved CF_C11_NORETURN macro, from byacc changes.
+ fix "--enable-leak" in CF_DISABLE_LEAKS to allow turning
  leak-checking off later in a set of options.
+ 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.
+ call delay_output_sp to handle BSD-style padding when tputs_sp is
  called, whether directly or internally, to ensure that the SCREEN
  pointer is passed correctly (reports by Henric Jungheim, Juraj
  Lutter).

3 years agoncurses 6.2 - patch 20210327
Thomas E. Dickey [Sun, 28 Mar 2021 00:52:50 +0000 (00:52 +0000)]
ncurses 6.2 - patch 20210327

+ build-fixes for Solaris10 /bin/sh
+ fix some cppcheck warnings, mostly style, in ncurses test-programs,
  form and menu libraries.

3 years agoncurses 6.2 - patch 20210323
Thomas E. Dickey [Tue, 23 Mar 2021 19:20:04 +0000 (19:20 +0000)]
ncurses 6.2 - patch 20210323

+ add configure option --enable-stdnoreturn, making the _Noreturn
  keyword optional to ease transition (prompted by report by
  Rajeev V Pillai).

3 years agoncurses 6.2 - patch 20210320
Thomas E. Dickey [Sun, 21 Mar 2021 01:09:34 +0000 (01:09 +0000)]
ncurses 6.2 - patch 20210320

+ improve parameter-checking in tput by forcing it to analyze any
  extended string capability, e.g., as used in the Cs and Ms
  capabilities of the tmux description (report by Brad Town,
  cf: 20200531).
+ remove an incorrect free in the fallback (non-checking) version of
  _nc_free_and_exit (report by Miroslav Lichvar).
+ correct use-ordering in some xterm-direct flavors -TD
+ add hterm, hterm-256color (Mike Frysinger)
+ if the build-time compiler accepts c11's _Noreturn keyword, use that
  rather than gcc's attribute.
+ change configure-check for gcc's noreturn attribute to assume it is
  a prefix rather than suffix, matching c11's _Noreturn convention.
+ add "lint" rule to c++/Makefile, e.g., with cppcheck.

3 years agoncurses 6.2 - patch 20210313
Thomas E. Dickey [Sun, 14 Mar 2021 00:59:53 +0000 (00:59 +0000)]
ncurses 6.2 - patch 20210313

+ improve configure CF_LD_SEARCHPATH macro used for ncurses*-config and
  ".pc" files, from dialog changes.
+ reduce dependency of math-library in test programs.
+ minor fixes for test_tparm.c (cf: 20210306)
+ mention "ncurses" prefix in curses_version() manpage (report by
  Michal Bielinski).
+ improved test/test_tparm.c, by limiting the tests to capabilities

3 years agoncurses 6.2 - patch 20210306
Thomas E. Dickey [Sun, 7 Mar 2021 01:58:37 +0000 (01:58 +0000)]
ncurses 6.2 - patch 20210306

+ improved test/test_parm.c, by limiting the tests to capabilities
  that might have parameters or padding, and combined with tputs test.
+ improve discussion of padding versus tparm and tputs in
  man/curs_terminfo.3x
+ update portability note for FreeBSD in man/tput.1

3 years agoncurses 6.2 - patch 20210227
Thomas E. Dickey [Sun, 28 Feb 2021 01:43:45 +0000 (01:43 +0000)]
ncurses 6.2 - patch 20210227

+ modify tic/infocmp to eliminate unnecessary "\" to escape ":" in
  terminfo format.
+ add check in tic for duplicate "use=" clauses.

3 years agoncurses 6.2 - patch 20210220
Thomas E. Dickey [Sun, 21 Feb 2021 01:27:41 +0000 (01:27 +0000)]
ncurses 6.2 - patch 20210220

+ improve tic warning when oc/op do not mention SGR 39/49 for xterm
  compatible XT flag.
+ revert change to lib_addch.c in waddch_literal() from 20210130, since
  the followup fix in PutCharLR() actually corrects the problem while
  this change causes too-early filling/wrapping (report by Johannes
  Altmanninger).
+ add/use vt220+pcedit and vt220+vtedit  -TD
+ add scrt/securecrt and absolute -TD
+ add nel to xterm-new, though supported since X11R5 -TD
+ add/use xterm+nofkeys -TD
+ move use of ecma+italics from xterm-basic to xterm+nofkeys -TD

3 years agoncurses 6.2 - patch 20210213
Thomas E. Dickey [Sun, 14 Feb 2021 02:07:27 +0000 (02:07 +0000)]
ncurses 6.2 - patch 20210213

+ add test/back_ground.c, to exercise the wide-character background
  functions.
+ add a check in _nc_build_wch() in case the background character is a
  wide-character, rather than a new part of a multibyte character.
+ 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".

3 years agoncurses 6.2 - patch 20210206
Thomas E. Dickey [Sun, 7 Feb 2021 01:41:32 +0000 (01:41 +0000)]
ncurses 6.2 - patch 20210206

+ provide for wide-characters as background character in wbkgrnd
  (report/testcase by Anton Vidovic)
+ add name for Fedora's pcre2 to configure check for "--with-pcre2"
  option, from xterm #363 -TD
+ modify adjustment in PutCharLR to restore the cursor position before
  writing to the lower-right corner, rather than decrementing the
  cursor column, in case it was a double-width character (cf: 20210130).

3 years agoncurses 6.2 - patch 20210130
Thomas E. Dickey [Sun, 31 Jan 2021 01:43:20 +0000 (01:43 +0000)]
ncurses 6.2 - patch 20210130

+ correct an off-by-one in comparison in waddch_literal() which caused
  scrolling when a double-cell character would not fit at the lower
  right corner of the screen (report by Benno Schulenberg).
+ split-out att610+cvis, vt220+cvis, vt220+cvis8 -TD
+ add vt220-base, for terminal emulators which generally have not
  supported att610's blinking cursor control -TD
+ use vt220+cvis in vt220, etc -TD
+ use att610+cvis, xterm+tmux and ansi+enq in kitty -TD
+ use vt220+cvis in st, terminology, termite since they ignore
  blinking-cursor detail in att610+cvis -TD

3 years agoncurses 6.2 - patch 20210123
Thomas E. Dickey [Sun, 24 Jan 2021 00:36:13 +0000 (00:36 +0000)]
ncurses 6.2 - patch 20210123

+ modify package/config scripts to provide an explicit -L option for
  cases when the loader search path has other directories preceding
  the one in which ncurses is installed (report by Yuri Victorovich).
+ minor build-fixes in configure script and makefiles to work around
  quirks of pmake.

3 years agoncurses 6.2 - patch 20210116
Thomas E. Dickey [Sun, 17 Jan 2021 01:35:02 +0000 (01:35 +0000)]
ncurses 6.2 - patch 20210116

+ add comment for linux2.6 regarding CONFIG_CONSOLE_TRANSLATIONS
  (report by Patrick McDermott) -TD
+ make opts extension for getcchar work as documented for ncurses 6.1,
  adding "-g" flag to test/demo_new_pair to illustrate.

3 years agoncurses 6.2 - patch 20210109
Thomas E. Dickey [Sun, 10 Jan 2021 01:43:07 +0000 (01:43 +0000)]
ncurses 6.2 - patch 20210109

+ fix errata in man/ncurses.3x from recent updates.
+ improve quoting/escaping in configure script, uses some features of
  autoconf 2.52.20210105

3 years agoncurses 6.2 - patch 20210102
Thomas E. Dickey [Sun, 3 Jan 2021 02:22:25 +0000 (02:22 +0000)]
ncurses 6.2 - patch 20210102

+ update man/curs_memleaks.3x, to include <term.h> which declares
  exit_terminfo.
+ clarify man/curs_terminfo.3x, to mention why the macro setterm is
  defined in <curses.h>, and remove it from the list of prototypes
  (prompted by patch by Graeme McCutcheon).
+ amend man/curs_terminfo.3x, to note that <curses.h> is required
  for certain functions, e.g., those using chtype or attr_t for
  types, as well as mvcur (cf: 20201031).
+ use parameter-names in prototypes in curs_sp_funcs.3x, for
  consistency with other manpages.

3 years agoncurses 6.2 - patch 20201227
Thomas E. Dickey [Mon, 28 Dec 2020 01:11:44 +0000 (01:11 +0000)]
ncurses 6.2 - patch 20201227

+ update terminology entry to 1.8.1 -TD
+ fix some compiler-warnings which gcc8 reports incorrectly.

3 years agoncurses 6.2 - patch 20201219
Thomas E. Dickey [Sun, 20 Dec 2020 01:12:40 +0000 (01:12 +0000)]
ncurses 6.2 - patch 20201219

+ suppress hyphenation in generated html for manpages, to address
  regression in upgrade of groff 1.22.2 to 1.22.3.
+ fix inconsistent sort-order in see-also sections of manpages (report
  by Chris Bennett).

3 years agoncurses 6.2 - patch 20201212
Thomas E. Dickey [Sun, 13 Dec 2020 01:01:12 +0000 (01:01 +0000)]
ncurses 6.2 - patch 20201212

+ improve manual pages for form field-types.

3 years agoncurses 6.2 - patch 20201205
Thomas E. Dickey [Sun, 6 Dec 2020 01:15:52 +0000 (01:15 +0000)]
ncurses 6.2 - patch 20201205

+ amend build-fixes for gnat 10 to work with certain systems lacking
  gprbuild (cf: 20200627).
+ eliminate an additional strlen and wsclen.
+ eliminate an unnecessary strlen in waddnstr() (suggested by Benjamin
  Abendroth).
+ modify inopts manpage, separating the items for nodelay and notimeout
  (patch by Benno Schulenberg).
+ correct mlterm3 kf1-kf4 (Debian #975322) -TD
+ add flash to mlterm3 -TD

3 years agoncurses 6.2 - patch 20201128
Thomas E. Dickey [Sun, 29 Nov 2020 01:11:38 +0000 (01:11 +0000)]
ncurses 6.2 - patch 20201128

+ add Smulx to alacritty (Christian Duerr).
+ add rep to PuTTY -TD
+ add putty+keypad -TD
+ 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 (cf: 20161217).
+ 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.

3 years agoncurses 6.2 - patch 20201121
Thomas E. Dickey [Sun, 22 Nov 2020 00:48:48 +0000 (00:48 +0000)]
ncurses 6.2 - patch 20201121

+ fix some compiler-warnings in experimental Windows-10 driver.
+ add the definitions needed in recent configure-check for clang
  (report by Steven Pitman).

3 years agoncurses 6.2 - patch 20201114
Thomas E. Dickey [Sun, 15 Nov 2020 01:01:04 +0000 (01:01 +0000)]
ncurses 6.2 - patch 20201114

+ fix some compiler-warnings in experimental Windows-10 driver.
+ modify a check for parameters in terminfo capabilities to handle the
  special case where short extended capability strings were not
  converted from terminfo to termcap format.
+ modify CF_MIXEDCASE_FILENAMES macro, adding darwin as special case
  when cross-compiling (report by Eli Rykoff).

3 years agoncurses 6.2 - patch 20201107
Thomas E. Dickey [Sun, 8 Nov 2020 00:48:44 +0000 (00:48 +0000)]
ncurses 6.2 - patch 20201107

+ update kitty+common -TD
+ add putty+screen and putty-screen (suggested by Alexandre Montaron).
+ explain in ncurses.3x that functions in the tinfo library do not rely
  upon wide-characters (prompted by discussion with Reuben Thomas).

3 years agoncurses 6.2 - patch 20201031
Thomas E. Dickey [Sun, 1 Nov 2020 01:33:01 +0000 (01:33 +0000)]
ncurses 6.2 - patch 20201031

+ modify MKterm.h.in so that it is not necessary to include <curses.h>
  before <term.h> (prompted by discussion with Reuben Thomas).
+ review/improve synopsis for curs_sp_funcs.3x (prompted by discussion
  with Reuben Thomas).
+ improve format of output in tic's check_infotocap() function, to
  ensure that the messages contain only printable text.
+ modify configure-check for clang to verify that -Qunused-arguments
  is supported.  IBM's xlclang does not support it (report by Steven
  Pitman).
  needed in to tic's use-resolution when pad_char is cancelled

3 years agoncurses 6.2 - patch 20201024
Thomas E. Dickey [Sun, 25 Oct 2020 01:07:10 +0000 (01:07 +0000)]
ncurses 6.2 - patch 20201024

+ provide workaround configure-check for bool when cross-compiling.
+ fix a potential indexing error in _nc_parse_entry(), seen with
  Herlim's test data using address-sanitizer.
+ change a null-pointer check in set_curterm to a valid-string check,
  needed in to tic's use-resolution work pad_char is cancelled
  (report/testcase by Robert Sebastian Herlim)
+ improve tic's -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 (report/testcase by Robert
  Sebastian Herlim).
+ fix a link for tabs.1 manpage in announce.html.in (report by Nick
  Black), as well as some fixes via linklint.

3 years agoncurses 6.2 - patch 20201017
Thomas E. Dickey [Sun, 18 Oct 2020 01:25:54 +0000 (01:25 +0000)]
ncurses 6.2 - patch 20201017

+ improve manpage typography.
+ improve discussion in curs_addch.3x of the use of unctrl to display
  nonprintable characters.
+ add a note in terminfo.5 explaining that no-parameter strings such
  as sgr0 or cnorm should not be used with tparm.

3 years agoncurses 6.2 - patch 20201010
Thomas E. Dickey [Sun, 11 Oct 2020 00:40:41 +0000 (00:40 +0000)]
ncurses 6.2 - patch 20201010

+ correct sgr in aaa+rv (report by Florian Weimer) -TD
+ fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
  ncrvt100an -TD
+ improve tic's check for errors detected in tparm (prompted by
  discussion with Florian Weimer).
+ set output-mode to binary in experimental Windows-10 driver (Juergen
  Pfeifer).
+ add tmux-direct (tmux #2370, Debian #895754)

3 years agoncurses 6.2 - patch 20201003
Thomas E. Dickey [Sun, 4 Oct 2020 01:30:03 +0000 (01:30 +0000)]
ncurses 6.2 - patch 20201003

+ remove output-related checks for nl/nonl (report by Leon Winter).
+ change tmux's kbs to ^? (report by Premysl Eric Janouch)
+ simplify mlterm initialization with DECSTR -TD
+ fix a typo in man/curs_terminfo.3 (Reuben Thomas).
+ add tmux-direct (tmux #2370)
+ add user-defined capabilities from mintty to Caps-ncurses, for
  checking consistency with tic.

3 years agoncurses 6.2 - patch 20200926
Thomas E. Dickey [Sun, 27 Sep 2020 01:45:57 +0000 (01:45 +0000)]
ncurses 6.2 - patch 20200926

+ correct configure-check for gnurx library.
+ regenerate llib-* files.
+ modify tracemunch and the panel library to show readable traces for
  panel- and user-pointers.

3 years agoncurses 6.2 - patch 20200919
Thomas E. Dickey [Sun, 20 Sep 2020 01:13:28 +0000 (01:13 +0000)]
ncurses 6.2 - patch 20200919

+ update mlterm3 for 3.9.0 (report by Premysl Eric Janouch) -TD

3 years agoncurses 6.2 - patch 20200918
Thomas E. Dickey [Sat, 19 Sep 2020 00:28:02 +0000 (00:28 +0000)]
ncurses 6.2 - patch 20200918

+ corrected condition for appending curses.events to the generated
  curses.h (report by Sven Joachim, Debian #970545).

3 years agoncurses 6.2 - patch 20200912
Thomas E. Dickey [Sun, 13 Sep 2020 01:31:37 +0000 (01:31 +0000)]
ncurses 6.2 - patch 20200912

+ add configure-check for systre/tre with mingw configuration, to get
  the library-dependencies as seen in msys2 configuration for mingw64.
+ build-fixes for the win32-driver configuration.
+ use more defensive binary mode setting for Win32 (Juergen Pfeifer).

3 years agoncurses 6.2 - patch 20200907
Thomas E. Dickey [Mon, 7 Sep 2020 23:37:37 +0000 (23:37 +0000)]
ncurses 6.2 - patch 20200907

+ fix regression in setupterm validating non-empty $TERM (report by
  Soren Tempel).

3 years agoncurses 6.2 - patch 20200906
Thomas E. Dickey [Sun, 6 Sep 2020 23:50:45 +0000 (23:50 +0000)]
ncurses 6.2 - patch 20200906

+ merge/adapt in-progress work by Juergen Pfeifer for new version of
  win32-driver.
+ correct description of vt330/vt340 (Ross Combs).

3 years agoncurses 6.2 - patch 20200831
Thomas E. Dickey [Tue, 1 Sep 2020 00:23:25 +0000 (00:23 +0000)]
ncurses 6.2 - patch 20200831

+ build-fix for awk-scripts modified for win32-driver (report by Werner
  Fink).