]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
12 months agoncurses 6.4 - patch 20230424
Thomas E. Dickey [Tue, 25 Apr 2023 00:03:30 +0000 (00:03 +0000)]
ncurses 6.4 - patch 20230424

+ check return value of _nc_save_str(), in special case for tic where
  extended capabilities are processed but the terminal description was
  not initialized (report by Ziqiao Kong).
+ regenerate llib-* files.

12 months agoncurses 6.4 - patch 20230423
Thomas E. Dickey [Mon, 24 Apr 2023 00:13:27 +0000 (00:13 +0000)]
ncurses 6.4 - patch 20230423

+ add tiscan_s() to help applications check formatting capabilities
  that would be passed to tiparm_s, etc.
+ add tiparm_s() to provide applications a way to tell ncurses what
  the expected parameters are for a capability (tmux #3531).
+ improve check in lib_tparm.c, ensuring that a char* fits into a
  TPARM_ARG.
+ add --disable-setuid-environ configure option (request by Sven
  Joachim).
+ drop compatibility with obsolete versions of tack, e.g., pre-1.08
  (Debian #1034549, cf: 20170722).

12 months agoncurses 6.4 - patch 20230418
Thomas E. Dickey [Wed, 19 Apr 2023 00:17:23 +0000 (00:17 +0000)]
ncurses 6.4 - patch 20230418

+ improve checks for limits on privileged execution:
  + modify _nc_syserr_abort() to use _nc_env_access(), rather than
    only checking root uid.
  + use getauxval() when available, to improve setuid/setgid checks.
  + modify test packages to disable root access/environ options.
+ modify tgoto() to accept no-parameter capabilities, for joe editor
  (OpenSUSE #1210485, Gentoo #904263).

12 months agoncurses 6.4 - patch 20230415
Thomas E. Dickey [Sat, 15 Apr 2023 23:45:32 +0000 (23:45 +0000)]
ncurses 6.4 - patch 20230415

+ configure script fixes:
  + fix copy/paste error in configure option --disable-root-access
    (report/patch by Sven Joachim).
  + modify CF_XOPEN_SOURCE macro's amend default case to avoid
    undefining _XOPEN_SOURCE if _POSIX_C_SOURCE is defined.
+ modify test_tparm to account for extended capabilities.
+ add checks in tparm() and tiparm() for misuse of numeric parameters,
  overlooked in 20230408.
+ fix errata in clear.1 and curs_terminfo.3x

12 months agoncurses 6.4 - patch 20230408
Thomas E. Dickey [Sun, 9 Apr 2023 00:08:25 +0000 (00:08 +0000)]
ncurses 6.4 - patch 20230408

+ document limitations of tparm, and error-returns in curs_terminfo.3x
+ document limitations of tgoto, and error-returns in curs_termcap.3x
+ add xterm+focus to alacritty+common (patch by Christian Duerr).
+ add "-v" option to tput, to show warnings.
> improve checks for malformed terminfo data (report/analysis by
  Jonathan Bar Or, Michael Pearse, Emanuele Cozzi).
  + make the parameter type/count checks in _nc_tiparm() more stringent
  + update tgoto() to account for _nc_tiparm() changes
  + add checks in tparm() and tiparm() for misuse of string parameters
  + add special cases in tput to handle extensions Cs/Ms parameters
  + ignore compiled-terminfo where the array sizes exceed the standard

13 months agoncurses 6.4 - patch 20230401
Thomas E. Dickey [Sun, 2 Apr 2023 00:15:26 +0000 (00:15 +0000)]
ncurses 6.4 - patch 20230401

+ modify experimental Windows driver to work with xterm mouse protocol.
+ remove DECCOLM+DECSCLM from foot (patch by Daniel Ekloef).

13 months agoncurses 6.4 - patch 20230311
Thomas E. Dickey [Sun, 12 Mar 2023 00:49:59 +0000 (00:49 +0000)]
ncurses 6.4 - patch 20230311

+ improve manpage description for addch versus unctrl format used for
  non-printable characters.
+ modify version-check for gcc/g++, now works for msys2.
+ modify check in _nc_write_entry() for multiply defined aliases to
  report problems within the current runtime of tic rather than for
  conflicts with pre-existing terminal descriptions.
+ allow for MinGW32-/64-bit configurations to use _DEFAULT_SOURCE
+ clarify interaction of -R option versus -C, -I and -r in infocmp
  manpage.
+ build-fix in lib_win32con.c (cf: 20230211).
+ add/use configure check for clock_gettime(), to supersede

14 months agoncurses 6.4 - patch 20230225
Thomas E. Dickey [Sun, 26 Feb 2023 00:59:11 +0000 (00:59 +0000)]
ncurses 6.4 - patch 20230225

+ build-fixes for rpm test-packages.
+ add/user configure check for clock_gettime(), to supersede
  gettimeofday().

14 months agoncurses 6.4 - patch 20230218
Thomas E. Dickey [Sun, 19 Feb 2023 00:39:59 +0000 (00:39 +0000)]
ncurses 6.4 - patch 20230218

+ configure-script improvements:
  + recent msys2 headers work with _DEFAULT_SOURCE; amend check
  + use $ac_includes_default in most cases where stdlib.h should work
  + use #error consistently vs "make an error"
  + add configure macro for gettimeofday vs inline check

14 months agoncurses 6.4 - patch 20230211
Thomas E. Dickey [Sun, 12 Feb 2023 01:42:50 +0000 (01:42 +0000)]
ncurses 6.4 - patch 20230211

+ set dwShareMode in calls to CreateConsoleScreenBuffer() (patch by
  Hannes Domani).
+ use CreateFile with "CONIN$", "CONOUT$" rather than GetStdHandle to
  obtain a handle on the actual console, avoiding redirection in the
  MinGW/Win32 configurations (adapted from patch by LIU Hao).

15 months agoncurses 6.4 - patch 20230128
Thomas E. Dickey [Sun, 29 Jan 2023 01:35:38 +0000 (01:35 +0000)]
ncurses 6.4 - patch 20230128

+ document XF, kxIN and kxOUT -TD
+ add note on sun/wscons/cmdtool/shelltool -TD
+ modify configure script check for pkg-config library directory to
  take into account an older version 0.15.0 which used PKG_CONFIG_PATH
  but not PKG_CONFIG_LIBDIR

15 months agoncurses 6.4 - patch 20230121
Thomas E. Dickey [Sun, 22 Jan 2023 01:39:05 +0000 (01:39 +0000)]
ncurses 6.4 - patch 20230121

+ correct limit-check when dumping tc/use clause via tic -I (report by
  Gabriel Ravier).
+ correct a check for manpage-alias in edit_man.sh, to work with out of
  tree builds (report by Sven Joachim).

15 months agoncurses 6.4 - patch 20230114
Thomas E. Dickey [Sun, 15 Jan 2023 01:35:38 +0000 (01:35 +0000)]
ncurses 6.4 - patch 20230114

+ change RV to XR/xr, to avoid conflict with pre-existing usage in vim,
  to use RV/rv to denote DA2 and its response (discussion with Bram
  Moolenaar) -TD
+ add XF flag to xterm+focus so that termcap applications can be aware
  of terminals which may support focus in/out -TD
+ use xterm+focus in xterm-p370 and tmux -TD
+ improve configure-script macros vs compiler warnings.

15 months agoncurses 6.4 - patch 20230107
Thomas E. Dickey [Sun, 8 Jan 2023 02:19:52 +0000 (02:19 +0000)]
ncurses 6.4 - patch 20230107

+ add --with-abi-altered configure option (prompted by discussion with
  Brian Inglis).
+ add BSD erase2 to characters handled by tset/reset.
+ improve configure-script macros vs compiler warnings.
+ regenerate configure scripts with autoconf 2.52.20221202
+ add RV report+version (suggested by Bram Moolenaar).
+ add comment to bracketed+paste explaining that vim patch 9.0.1117 is
  needed for use with the updated xterm descriptions (suggested by Bram
  Moolenaar).

16 months agoncurses 6.4 v6.4
Thomas E. Dickey [Sat, 31 Dec 2022 23:49:40 +0000 (23:49 +0000)]
ncurses 6.4

16 months agoncurses 6.4 - patch 20221231
Thomas E. Dickey [Sat, 31 Dec 2022 23:49:40 +0000 (23:49 +0000)]
ncurses 6.4 - patch 20221231

+ update release notes
+ regenerate llib-* files.
+ correct PS vs PE names in bracketed+paste (report by Bram Moolenaar)
  -TD

16 months agoncurses 6.3 - patch 20221224
Thomas E. Dickey [Sun, 25 Dec 2022 01:37:04 +0000 (01:37 +0000)]
ncurses 6.3 - patch 20221224

+ add mutex lock/unlock in a few places reported by thread-sanitizer
+ add/use bracketed+paste to help identify terminals supporting this
  xterm feature (prompted by discussion with Bram Moolenaar) -TD

16 months agoncurses 6.3 - patch 20221217
Thomas E. Dickey [Sun, 18 Dec 2022 01:13:48 +0000 (01:13 +0000)]
ncurses 6.3 - patch 20221217

+ install Ada95 sample programs in libexecdir, adding a wrapper
  script to invoke those.

16 months agoncurses 6.3 - patch 20221210
Thomas E. Dickey [Sun, 11 Dec 2022 01:15:13 +0000 (01:15 +0000)]
ncurses 6.3 - patch 20221210

+ add minimal -h/-V getopt logic to the remaining test-programs.
+ free new_pair() data in delscreen (report by "magiblot").
+ add clarification of the scope of dynamic variables in terminfo(5).
+ remove a stray '/' from description of %g in terminfo(5).

16 months agoncurses 6.3 - patch 20221203
Thomas E. Dickey [Sun, 4 Dec 2022 01:13:58 +0000 (01:13 +0000)]
ncurses 6.3 - patch 20221203

+ add -h usage and -V version options to the test-programs which use
  getopt.
+ use "command -v" rather than "type" in Ada95/gen/Makefile.in to fix
  a portability issue (patch by Nicolas Boulenguez).
+ update ncurses-howto, more documentation fixes along with corrections
  to example programs.

17 months agoncurses 6.3 - patch 20221126
Thomas E. Dickey [Sun, 27 Nov 2022 01:53:44 +0000 (01:53 +0000)]
ncurses 6.3 - patch 20221126

+ fix an error in pathname of explain.txt (cf: 20200201).
+ fix an error in "@" command in test/ncurses.c F-menu (cf: 20190121).
+ improve formatting of ncurses-intro.html and hackguide.html
+ improve man/curs_clear.3x links to other pages

17 months agoncurses 6.3 - patch 20221119
Thomas E. Dickey [Sun, 20 Nov 2022 01:11:26 +0000 (01:11 +0000)]
ncurses 6.3 - patch 20221119

+ use static libraries for AdaCurses test-package for Mageia, since no
  gprbuild package is available.
+ updated test packages for Debian.

17 months agoncurses 6.3 - patch 20221112
Thomas E. Dickey [Sun, 13 Nov 2022 01:28:14 +0000 (01:28 +0000)]
ncurses 6.3 - patch 20221112

+ build-fixes for AdaCurses RPM test-package.

17 months agoncurses 6.3 - patch 20221105
Thomas E. Dickey [Sun, 6 Nov 2022 01:12:11 +0000 (01:12 +0000)]
ncurses 6.3 - patch 20221105

+ regenerate configure scripts with autoconf 2.52.20221009
+ modify "--with-manpage-format" to support bzip2 and xz compression
  (prompted by discussion with Sam James).
+ modify make-tar.sh scripts to make timestamps more predictable.

18 months agoncurses 6.3 - patch 20221029
Thomas E. Dickey [Sun, 30 Oct 2022 00:13:25 +0000 (00:13 +0000)]
ncurses 6.3 - patch 20221029

+ improve curs_slk.3x discussion of extensions and portability (report
  by Bill Gray).

18 months agoncurses 6.3 - patch 20221023
Thomas E. Dickey [Sun, 23 Oct 2022 23:44:23 +0000 (23:44 +0000)]
ncurses 6.3 - patch 20221023

+ change man_db.renames to template, to handle ncurses*-config script
  with the extra-suffix configure option.

18 months agoncurses 6.3 - patch 20221015
Thomas E. Dickey [Sat, 15 Oct 2022 23:52:49 +0000 (23:52 +0000)]
ncurses 6.3 - patch 20221015

+ fix another memory-leak in tic.
+ update install-sh script from autoconf, to fix install problem for
  Ada95 with Arch; as noted in
  https://lists.gnu.org/archive/html/automake/2018-09/msg00005.html
  there are unaddressed issues.
+ update CF_XOPEN_SOURCE, adding GNU libc suffixes for abi64, abin32,
  x32 (report by Sven Joachim):
+ correct ifdef's for _nc_set_read_thread() (patch by Mikhail Korolev,
  cf: 20220813).

18 months agoncurses 6.3 - patch 20221008
Thomas E. Dickey [Sat, 8 Oct 2022 23:49:01 +0000 (23:49 +0000)]
ncurses 6.3 - patch 20221008

+ correct a switch-statement case in configure script to allow for test
  builds with ABI=7.
+ 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 (report by Michal Liszcz).

19 months agoncurses 6.3 - patch 20221001
Thomas E. Dickey [Sun, 2 Oct 2022 00:55:05 +0000 (00:55 +0000)]
ncurses 6.3 - patch 20221001

+ modify configure/scripts to work around interference by GNU grep 3.8
  (report by Sam James).
+ update CF_XOPEN_SOURCE, adding variants "gnueabi" and "gnueabihf" to
  get _DEFAULT_SOURCE special case (report by Adam Sampson)

19 months agoncurses 6.3 - patch 20220924
Thomas E. Dickey [Sun, 25 Sep 2022 00:12:05 +0000 (00:12 +0000)]
ncurses 6.3 - patch 20220924

+ 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 (report by Mikhail Korolev).
+ fix another memory-leak in tic.
+ correct change for cppcheck in menu library (report/analysis by
  "tuxway", cf: 20220903).
+ update config.guess, config.sub

19 months agoncurses 6.3 - patch 20220917
Thomas E. Dickey [Sat, 17 Sep 2022 23:40:53 +0000 (23:40 +0000)]
ncurses 6.3 - patch 20220917

+ reduce memory-leak in tic by separating allocations for struct entry
  from TERMTYPE2 (cf: 20220430).
+ improve interaction between tic -v option and NCURSES_TRACE, by
  processing the latter only when -v option does not set _nc_tracing.
+ modify curses_trace() to show the trace-mask as symbols, e.g.,
  TRACE_ORDINARY, DEBUG_LEVEL(3).

19 months agoncurses 6.3 - patch 20220910
Thomas E. Dickey [Sat, 10 Sep 2022 22:47:56 +0000 (22:47 +0000)]
ncurses 6.3 - patch 20220910

+ amend verbose-option change to make this affect level 3, e.g., using
  "tic -cv3 terminfo".
+ work around musl's nonstandard use of feature test macros by adding
  a definition for NCURSES_WIDECHAR to the generated ".pc" and *-config
  files (report by Sam James).

19 months agoncurses 6.3 - patch 20220903
Thomas E. Dickey [Sat, 3 Sep 2022 23:59:18 +0000 (23:59 +0000)]
ncurses 6.3 - patch 20220903

+ modify verbose-option of infocmp, tic, toe to enable debug-tracing
  if that is configured.

20 months agoncurses 6.3 - patch 20220827
Thomas E. Dickey [Sat, 27 Aug 2022 23:30:06 +0000 (23:30 +0000)]
ncurses 6.3 - patch 20220827

+ modify configure scripts to use overlooked cases for LD and
  PKG_CONFIG variables (report by Alan Webb, Gentoo #866398).
+ modify nsterm to use xterm+alt1049 (report by Paul Handly) -TD
+ modify putty to use xterm+alt1049 -TD

20 months agoncurses 6.3 - patch 20220820
Thomas E. Dickey [Sun, 21 Aug 2022 00:16:12 +0000 (00:16 +0000)]
ncurses 6.3 - patch 20220820

+ fix some cppcheck warnings, mostly style, in ncurses and c++
  libraries and progs directory.
+ add curses_trace to ifdef's for START_TRACE in test/test.priv.h
+ update config.guess

20 months agoncurses 6.3 - patch 20220813
Thomas E. Dickey [Sun, 14 Aug 2022 00:26:10 +0000 (00:26 +0000)]
ncurses 6.3 - patch 20220813

+ modify delscreen to more effectively delete all windows on the given
  screen.
+ amend portability note for delwin in manual page.
+ adapt test/test_delwin.c from example by Bill Gray.
+ account for prescreen data if freeing leaks in pthread-configuration
+ split-out _nc_set_read_thread(), to reduce compiler warnings about
  pthread_self(), which may/may not be a weak symbol.
+ improve pthread-configuration for test/worm.c

20 months agoncurses 6.3 - patch 20220806
Thomas E. Dickey [Sun, 7 Aug 2022 09:47:59 +0000 (09:47 +0000)]
ncurses 6.3 - patch 20220806

+ amend end_of_stream() to allow for input files without a final
  newline.
+ check for non-textfiles to tic.

21 months agoncurses 6.3 - patch 20220729
Thomas E. Dickey [Fri, 29 Jul 2022 21:04:24 +0000 (21:04 +0000)]
ncurses 6.3 - patch 20220729

+ fixes to build with dietlibc:
  + add configure check for fpathconf (report by Georg Lehner).
  + add configure check for math sine/cosine, needed in test/tclock,
    and eliminate pow() from test/hanoi (report by Georg Lehner).
  + use wcsnlen as an alternative to wmemchr if it is not found
    (adapted from patch by Georg Lehner).
+ trim out some unwanted linker options from ncurses*config and .pc
  files seen in Fedora 36+.

21 months agoncurses 6.3 - patch 20220724
Thomas E. Dickey [Sun, 24 Jul 2022 22:50:11 +0000 (22:50 +0000)]
ncurses 6.3 - patch 20220724

+ add portability notes for delscreen and delwin in manual.
+ improve pthread-configuration for test/worm.c, test/rain.c
+ improve pointer/limit checks associated with deleting a screen
  (Debian #1015756).

21 months agoncurses 6.3 - patch 20220716
Thomas E. Dickey [Sat, 16 Jul 2022 22:47:30 +0000 (22:47 +0000)]
ncurses 6.3 - patch 20220716

+ build-fix for test_mouse.c, for non-standard cfmakeraw.
+ improve shell-scripts with shellcheck
+ fix typo in run_tic.in (report/patch by Jan Starke).

21 months agoncurses 6.3 - patch 20220709
Thomas E. Dickey [Sat, 9 Jul 2022 22:51:27 +0000 (22:51 +0000)]
ncurses 6.3 - patch 20220709

+ lock the prescreen data consistently in newterm, etc., for the
  pthreads configuration (report by Tom de Vries).

22 months agoncurses 6.3 - patch 20220703
Thomas E. Dickey [Sun, 3 Jul 2022 22:52:51 +0000 (22:52 +0000)]
ncurses 6.3 - patch 20220703

+ add consistency check in tic for u6/u7/u8/u9 and NQ capabilities.
+ use NQ to flag entries where the terminal does not support query and
  response -TD
+ use ansi+enq and decid+cpr in cases where the terminal probably
  supported the u6-u9 extension -TD
+ add/use apollo+vt132, xterm+alt47 -TD

22 months agoncurses 6.3 - patch 20220625
Thomas E. Dickey [Sat, 25 Jun 2022 23:51:36 +0000 (23:51 +0000)]
ncurses 6.3 - patch 20220625

+ improve man/curs_bkgd.3x, explaining that bkgdset can affect results
  for bkgd (report by Anton Vidovic).
+ correct dsl in dec+sl (report by Rajeev Pillai) -TD
+ add/use ansi+cpr, decid+cpr -TD

22 months agoncurses 6.3 - patch 20220618
Thomas E. Dickey [Sat, 18 Jun 2022 23:58:35 +0000 (23:58 +0000)]
ncurses 6.3 - patch 20220618

+ add a null-pointer check for term_names field in copy_termtype(),
  needed for MinGW port (report by Peiyuan Song, cf: 20220521).
+ revise kon/kon2/jfbterm to undo "linux2.6" change to
  smacs/rmacs/enacs (Debian #1012800) -TD
+ amended note for att610+cvis0, as per documentation for att610,
  att620, att730 -TD

22 months agoncurses 6.3 - patch 20220612
Thomas E. Dickey [Sun, 12 Jun 2022 18:14:27 +0000 (18:14 +0000)]
ncurses 6.3 - patch 20220612

+ modify waddch_literal() to allow for double-width base character when
  merging a combining character (report by Gavin Troy).
+ improve _tracecchar_t2() formatting of base+combining character.

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

23 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

23 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.

2 years 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).

2 years 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.

2 years 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.