]> ncurses.scripts.mit.edu Git - ncurses.git/log
ncurses.git
4 days agoncurses 6.4 - patch 20240414 master
Thomas E. Dickey [Sun, 14 Apr 2024 22:22:15 +0000 (22:22 +0000)]
ncurses 6.4 - patch 20240414

+ build/bug-fix for check-size feature (reports by Sam James, Gabriele
  Balducci).

5 days agoncurses 6.4 - patch 20240413
Thomas E. Dickey [Sun, 14 Apr 2024 01:07:57 +0000 (01:07 +0000)]
ncurses 6.4 - patch 20240413

+ improve formatting/style of manpages (patches by Branden Robinson).
+ provide for padding in check-size feature, using new_prescr() to
  pass interim SCREEN pointer.
+ complete change for opaque options (Gentoo #928973, cf: 20231021).
+ update package /debian/rules and related lintian overrides
+ revise progs.priv.h to provide for NC_ISATTY reuse

2 weeks agoncurses 6.4 - patch 20240330
Thomas E. Dickey [Sat, 30 Mar 2024 23:47:54 +0000 (23:47 +0000)]
ncurses 6.4 - patch 20240330

+ remove masking of ISIG in cbreak() (report by Benno Schulenberg).
+ modify test/test_mouse.c to use curses api for raw/noraw.
> improved configure macros from other program development:
  + build-fix for clang on Solaris
  + suppress filename/timestamp in gzip'd manpages (suggested for
    byacc by Andrin Geiger)

3 weeks agoncurses 6.4 - patch 20240323
Thomas E. Dickey [Sat, 23 Mar 2024 23:41:05 +0000 (23:41 +0000)]
ncurses 6.4 - patch 20240323

+ modify tput/tset reset feature to avoid 1-second sleep if running in
  a pseudo-terminal.
+ modify check-size feature to avoid using it in a pseudoterminal
  (cf: 20231016)
+ improve formatting/style of manpages (patches by Branden Robinson).
+ trim a space after some "-R" options, fixing builds for applications
  built using clang and ncurses on Solaris.

5 weeks agoncurses 6.4 - patch 20240309
Thomas E. Dickey [Sun, 10 Mar 2024 00:28:08 +0000 (00:28 +0000)]
ncurses 6.4 - patch 20240309

+ modify xgterm to work around line-drawing bug -TD
+ use CSI 3J in vte-2017 (report by Sven Joachim)

6 weeks agoncurses 6.4 - patch 20240302
Thomas E. Dickey [Sun, 3 Mar 2024 00:21:22 +0000 (00:21 +0000)]
ncurses 6.4 - patch 20240302

+ add configure check for MB_LEN_MAX, to provide warning as needed.
+ improve formatting/style of manpages (patches by Branden Robinson).
+ fix regression in tput which disallowed hex/octal parameters (report
  by Werner Fink, cf:  20230408)
+ update config.guess, config.sub

7 weeks agoncurses 6.4 - patch 20240224
Thomas E. Dickey [Sun, 25 Feb 2024 00:28:48 +0000 (00:28 +0000)]
ncurses 6.4 - patch 20240224

+ improve man/curs_mouse.3x style (Brandon Robinson, Sven Joachim).
+ provide for CCHARW_MAX greater than 1
+ eliminate use of PATH_MAX in lib_trace.c
+ work around misconfiguration of MacPorts gcc13, which exposes invalid
  definition of MB_LEN_MAX in gcc's fallback copy of limits.h (MacPorts
  #69374).

2 months agoncurses 6.4 - patch 20240217
Thomas E. Dickey [Sun, 18 Feb 2024 01:08:55 +0000 (01:08 +0000)]
ncurses 6.4 - patch 20240217

+ add vt100+noapp, vt100+noapp+pc, xterm+app+pc, xterm+decedit from
  xterm #389 -TD
+ fix inconsistent description of wmouse_trafo() (Debian #1059778).
+ modify wenclose() to handle pads (Debian #1059783).
+ improve manpage discussion of mouseinterval() (Debian #1058560).

2 months agoncurses 6.4 - patch 20240210
Thomas E. Dickey [Sun, 11 Feb 2024 01:30:51 +0000 (01:30 +0000)]
ncurses 6.4 - patch 20240210

+ compiler-warning fixes, while investigating an optimizer bug in
  "gcc (MacPorts gcc13 13.2.0_4+stdlib_flag) 13.2.0"
  which results in only the first byte of a multibyte character being
  printed to the screen.

2 months agoncurses 6.4 - patch 20240203
Thomas E. Dickey [Sun, 4 Feb 2024 00:57:23 +0000 (00:57 +0000)]
ncurses 6.4 - patch 20240203

+ minor changes to tracing and locale-checks.

2 months agoncurses 6.4 - patch 20240127
Thomas E. Dickey [Sun, 28 Jan 2024 00:32:56 +0000 (00:32 +0000)]
ncurses 6.4 - patch 20240127

+ amend change to z39-a (report by Sven Joachim).
+ use xterm+nopcfkeys, vt52-basic, dec+pp, dec+sl, vt52+arrows,
  hp+pfk+cr, klone+acs, klone+color, klone+sgr, ncr160wy50+pp
  to trim -TD
+ NetBSD-related fixes for x68k and wsvt52 (patch by Thomas Klausner)

2 months agoncurses 6.4 - patch 20240120
Thomas E. Dickey [Sat, 20 Jan 2024 22:06:16 +0000 (22:06 +0000)]
ncurses 6.4 - patch 20240120

+ improve formatting/style of manpages (patches by Branden Robinson).
+ amend discussion of aliases in tput.1
+ use ansi+sgrbold, ansi+sgrdim, ansi+sgrso, ansi+sgrul, ansi+tabs
  ecma+color, ecma+sgr, vt100+4bsd, vt100+pfkeys, vt220+pcedit
  xterm+256color, xterm+acs, xterm+nopcfkeys, xterm+pcf2 to trim -TD
+ modify configure scripts/makefiles to omit KEY_RESIZE if the
  corresponding SIGWINCH feature is disabled.

3 months agoncurses 6.4 - patch 20240113
Thomas E. Dickey [Sun, 14 Jan 2024 01:19:03 +0000 (01:19 +0000)]
ncurses 6.4 - patch 20240113

+ improve formatting/style of manpages (patches by Branden Robinson).
+ modify dist.mk to avoid passing developer's comments in manpages into
  the generated html documentation.
+ use ansi+local, ansi+local1, ansi+pp, ansi+rca, ansi+rca2, ansi+sgr
  to trim -TD
+ restore padding for wy520* and vt320-k311 (report by Sven Joachim).

3 months agoncurses 6.4 - patch 20240106
Thomas E. Dickey [Sun, 7 Jan 2024 00:49:18 +0000 (00:49 +0000)]
ncurses 6.4 - patch 20240106

+ use ansi+arrows, ansi+apparrows, ansi+csr, ansi+erase, ansi+idc,
  ansi+idc1, ansi+idl, ansi+idl1, ansi+inittabs to trim -TD
+ minor manpage formatting changes for consistency.
+ modify doc-html test package's install-directory, per lintian.
+ add attr_get.3x to man_db.renames.in (patch by Sven Joachim).

3 months agoncurses 6.4 - patch 20231230
Thomas E. Dickey [Sun, 31 Dec 2023 01:40:02 +0000 (01:40 +0000)]
ncurses 6.4 - patch 20231230

+ improve formatting/style of manpages (patches by Branden Robinson).
+ add ms-vt100-16color, winconsole -TD
+ add rio, rio-direct -TD
+ add mostlike -TD
+ add wezterm, contour -TD

3 months agoncurses 6.4 - patch 20231223
Thomas E. Dickey [Sun, 24 Dec 2023 01:20:29 +0000 (01:20 +0000)]
ncurses 6.4 - patch 20231223

+ improve formatting/style of manpages (patches by Branden Robinson).

4 months agoncurses 6.4 - patch 20231217
Thomas E. Dickey [Mon, 18 Dec 2023 08:58:33 +0000 (08:58 +0000)]
ncurses 6.4 - patch 20231217

+ improve formatting/style of manpages (patches by Branden Robinson).
+ correct an assignment in infocmp "-u" for detecting if a boolean
  is unset in a base entry and set in a use'd chunk, i.e., if it was
  cancelled.
+ modify infocmp "-u" option to not report cancels for strings which
  were already cancelled in a use'd chunk.
+ join two lines in infotocap.3x to eliminate a spurious "description"
  link in installed manpages (report by Sven Joachim).
+ fix typo in NEWS (report by Sven Joachim).
  bold font escapes in manpage cross-references (Debian #1057651).

4 months agoncurses 6.4 - patch 20231209
Thomas E. Dickey [Sat, 9 Dec 2023 23:35:22 +0000 (23:35 +0000)]
ncurses 6.4 - patch 20231209

+ modify infocmp "-u" option to not report cancels in use'd chunks
  which are not mentioned in the top-level terminal description.
+ remove xterm+sm+1006 from tmux (Debian #1057688).
+ used "infocmp -u" to help trim redundant capabilities -TD
+ updated man/edit_man.sh to allow for "\%" markers embedded after
  bold font escapes in manpage cross-references (Debian #1057541).
+ reduce compiler-warnings in configure checks

4 months agoncurses 6.4 - patch 20231202
Thomas E. Dickey [Sun, 3 Dec 2023 01:15:17 +0000 (01:15 +0000)]
ncurses 6.4 - patch 20231202

+ correct initial alignment of extended capabilities in infocmp, so
  that the "-u" option can be used for more than two terminal types.
+ improve formatting/style of manpages, changing environment variables
  to italics (patches by Branden Robinson).

4 months agoncurses 6.4 - patch 20231125
Thomas E. Dickey [Sat, 25 Nov 2023 23:48:01 +0000 (23:48 +0000)]
ncurses 6.4 - patch 20231125

+ add information about "ttycap", termcap's forerunner, to tset.1
  (patch by Branden Robinson).
+ improve formatting/style of manpages, including section reordering
  (patches by Branden Robinson).
+ modify usage messages in configure script, bracketing optional values
  (report by Branden Robinson).

4 months agoncurses 6.4 - patch 20231121
Thomas E. Dickey [Wed, 22 Nov 2023 00:23:27 +0000 (00:23 +0000)]
ncurses 6.4 - patch 20231121

+ amend fix for Debian #1055882, correcting nul terminator check in
  waddnstr (Debian #1056340).

5 months agoncurses 6.4 - patch 20231118
Thomas E. Dickey [Sun, 19 Nov 2023 01:11:57 +0000 (01:11 +0000)]
ncurses 6.4 - patch 20231118

+ improve description of length-parameter and error-returns in several
  manpages:  curs_addchstr.3x, curs_addstr.3x, curs_addwstr.3x,
  curs_in_wch.3x, curs_in_wchstr.3x, curs_inchstr.3x, curs_ins_wstr.3x,
  curs_insstr.3x, curs_instr.3x, curs_inwstr.3x
+ amend parameter check for entire string versus specific length in
  winsnstr() and wins_nwstr() to match Solaris.
+ make similar correction to wins_nwstr().
+ correct loop termination condition in waddnstr() and waddnwstr()
  (Debian #1055882, cf: 20201205).

5 months agoncurses 6.4 - patch 20231111
Thomas E. Dickey [Sat, 11 Nov 2023 23:53:16 +0000 (23:53 +0000)]
ncurses 6.4 - patch 20231111

+ used "infocmp -u" to help trim redundant capabilities -TD
+ add limit checks in infocmp needed when processing extended
  capabilities with the "-u" option.
+ fix inconsistent sort-order in see-also sections of manpages.
+ fix a few compiler warnings for Solaris 10.
+ modify endwin() to return an error if it is called again without an
  intervening screen update (report by Rajeev Pillai, NetBSD #57592).

5 months agoncurses 6.4 - patch 20231104
Thomas E. Dickey [Sun, 5 Nov 2023 00:24:54 +0000 (00:24 +0000)]
ncurses 6.4 - patch 20231104

+ modify reset command to avoid altering clocal if the terminal uses a
  modem (prompted by discussion with Werner Fink, Michal Suchanek,
  OpenSUSE #1201384, Debian #60377).
+ build-fixes for --with-caps variations.
+ correct a couple of section-references in INSTALL.

5 months agoncurses 6.4 - patch 20231028
Thomas E. Dickey [Sat, 28 Oct 2023 22:35:47 +0000 (22:35 +0000)]
ncurses 6.4 - patch 20231028

+ move xterm focus mode 1004 from xterm+sm+1006 into xterm+focus as
  fe/fd capabilities, like vim (vim-pr #13440).
+ modify --with-pkg-config-libdir option to make "libdir" the default,
  as documented, rather than "auto" (report by Branden Robinson).
+ improve messages from configure script (patches by Branden Robinson).

5 months agoncurses 6.4 - patch 20231021
Thomas E. Dickey [Sat, 21 Oct 2023 23:49:50 +0000 (23:49 +0000)]
ncurses 6.4 - patch 20231021

+ use oldxterm+sm+1006 in vte-2014 (report by Benno Schulenberg) -TD
+ add ansi+apparrows -TD
+ change defaults for configure opaque and widec options (prompted by
  discussion with Branden Robinson).
+ minor cleanup of compiler- and manpage-warnings.

6 months agoncurses 6.4 - patch 20231016
Thomas E. Dickey [Mon, 16 Oct 2023 23:56:15 +0000 (23:56 +0000)]
ncurses 6.4 - patch 20231016

+ make the recent change to setupterm optional "--enable-check-size"
  (Debian #1054022).

6 months agoncurses 6.4 - patch 20231014
Thomas E. Dickey [Sat, 14 Oct 2023 23:56:09 +0000 (23:56 +0000)]
ncurses 6.4 - patch 20231014

+ improve formatting/style of manpages (patches by Branden Robinson).
+ updated configure script macro CF_XOPEN_SOURCE, for uClibc-ng
+ update config.guess, config.sub

6 months agoncurses 6.4 - patch 20231007
Thomas E. Dickey [Sat, 7 Oct 2023 23:33:09 +0000 (23:33 +0000)]
ncurses 6.4 - patch 20231007

+ improve loop-limit for get_position().
+ improve manual description of immedok (Debian #1053603).
+ fix a few formatting issues with manpages (Debian #1053123).
+ improve formatting/style of manpages (patches by Branden Robinson).

6 months agoncurses 6.4 - patch 20231001
Thomas E. Dickey [Mon, 2 Oct 2023 00:24:04 +0000 (00:24 +0000)]
ncurses 6.4 - patch 20231001

+ modify setupterm to provide for using ANSI cursor-position report (in
  user6/user7 terminfo capabilities) to obtain screensize if neither
  environment variables or ioctl is used.  The ncurses test-program
  with options "-E -T" demonstrates this feature.
+ improve error messages in tic (patch by Branden Robinson).
+ improve formatting/style of manpages (patches by Branden Robinson).
+ modify test/clip_printw.c to optionally test non-wrapped updates.
+ fix reallocation loop for vsnprintf() in _nc_sprintf_string() by
  copying the va_list variable (patch by Ian Abbott).

6 months agoncurses 6.4 - patch 20230923
Thomas E. Dickey [Sun, 24 Sep 2023 00:19:47 +0000 (00:19 +0000)]
ncurses 6.4 - patch 20230923

+ improve formatting of manpages (patches by Branden Robinson).
+ amend change to delscreen() to limit the windows which it creates to
  just those associated with the screen (report by Frederic Boiteux,
  cf: 20220813).

7 months agoncurses 6.4 - patch 20230918
Thomas E. Dickey [Mon, 18 Sep 2023 07:47:34 +0000 (07:47 +0000)]
ncurses 6.4 - patch 20230918

+ new tarball/errata (report by Sven Joachim).

7 months agoncurses 6.4 - patch 20230917
Thomas E. Dickey [Sun, 17 Sep 2023 16:21:09 +0000 (16:21 +0000)]
ncurses 6.4 - patch 20230917

+ improve formatting of manpages (integrated patches by Branden
  Robinson).
+ correct limit for name-length in write_entry.c (report/testcase by
  Luna Saphie Mittelbach).
+ limit delays to 30 seconds, i.e., padding delays in terminfo, as well
  as napms() and delay_output() functions.
+ improve a few pointer-checks.
+ improve parsing in _nc_msec_cost, allowing a single decimal point.
+ improve formatting of manpages (patches by Branden Robinson), for
  captoinfo.1m and terminfo.5

7 months agoncurses 6.4 - patch 20230909
Thomas E. Dickey [Sun, 10 Sep 2023 00:04:21 +0000 (00:04 +0000)]
ncurses 6.4 - patch 20230909

+ improve formatting of manpages (patches by Branden Robinson).
> patches by Nicholas Marriott:
  + use string-hacks in alloc_entry.c, alloc_type.c and hardscroll.c,
    overlooked due to compiler changes in recent OpenBSD releases.
  + add "-6" option to ncu2openbsd script.

7 months agoncurses 6.4 - patch 20230902
Thomas E. Dickey [Sat, 2 Sep 2023 23:12:13 +0000 (23:12 +0000)]
ncurses 6.4 - patch 20230902

+ improve description of search rules for terminal descriptions in
  terminfo manpage (report by Sven Joachim).

7 months agoncurses 6.4 - patch 20230826
Thomas E. Dickey [Sun, 27 Aug 2023 00:06:59 +0000 (00:06 +0000)]
ncurses 6.4 - patch 20230826

+ fixes for compiler-warnings.
+ update config.guess, config.sub

8 months agoncurses 6.4 - patch 20230819
Thomas E. Dickey [Sat, 19 Aug 2023 23:57:51 +0000 (23:57 +0000)]
ncurses 6.4 - patch 20230819

+ various manpage-formatting fixes.
+ correct formatting of table header in curs_inopts.3x (Branden
  Robinson).
+ correct manpage description of panel_hidden (report by Benjamin
  Mordaunt).

8 months agoncurses 6.4 - patch 20230812
Thomas E. Dickey [Sat, 12 Aug 2023 22:32:09 +0000 (22:32 +0000)]
ncurses 6.4 - patch 20230812

+ add/use putty+cursor to reflect amending of modified cursor-keys in
  2021 -TD
+ add ecma+strikeout to putty -TD
+ add functions to query tty-flags in SCREEN (request by Bill Gray).

8 months agoncurses 6.4 - patch 20230805
Thomas E. Dickey [Sun, 6 Aug 2023 00:30:20 +0000 (00:30 +0000)]
ncurses 6.4 - patch 20230805

+ fix a few manpages needing tbl marker, seen by lintian warning.
+ fixes for compiler-warnings.
+ minor grammatical fix for manpages (Branden Robinson).

8 months agoncurses 6.4 - patch 20230729
Thomas E. Dickey [Sat, 29 Jul 2023 17:21:06 +0000 (17:21 +0000)]
ncurses 6.4 - patch 20230729

+ improve manpages for wgetnstr() and wget_wnstr().
+ modify MinGW configuration to provide for running in MSYS/MSYS2
  shells, assuming ConPTY support (patch by Pavel Fedin).
+ add assignment in CF_MAN_PAGES to fill in value for TERMINFO_DIRS in
  ncurses, terminfo and tic manpages (patch by Sven Joachim).

8 months agoncurses 6.4 - patch 20230722
Thomas E. Dickey [Sat, 22 Jul 2023 22:45:46 +0000 (22:45 +0000)]
ncurses 6.4 - patch 20230722

+ add "auto" default for --with-xterm-kbs configure option.

9 months agoncurses 6.4 - patch 20230715
Thomas E. Dickey [Sat, 15 Jul 2023 21:01:12 +0000 (21:01 +0000)]
ncurses 6.4 - patch 20230715

+ correct wadd_wch_literal() when adding a non-spacing character to a
  double-width character.
+ improve manual page for curs_util.
+ improve manual page for wadd_wch().

9 months agoncurses 6.4 - patch 20230708
Thomas E. Dickey [Sun, 9 Jul 2023 00:33:36 +0000 (00:33 +0000)]
ncurses 6.4 - patch 20230708

+ add linux+kbs for terminals which imitate xterm's behavior with
  Linux -TD
+ modify MinGW driver to return KEY_BACKSPACE when an unmodified
  VK_BACK virtual key is entered (prompted by patch by Pavel Fedin,
  Savannah #64292).
+ disallow using $TERMINFO or $HOME/.terminfo when tic "-o" option is
  used (report by Sven Joachim, Debian #1040048).

9 months agoncurses 6.4 - patch 20230701
Thomas E. Dickey [Sun, 2 Jul 2023 00:04:32 +0000 (00:04 +0000)]
ncurses 6.4 - patch 20230701

+ fix mandoc warnings about unnecessary markup.
+ improve parameter check in tparm_setup()

9 months agoncurses 6.4 - patch 20230625
Thomas E. Dickey [Sun, 25 Jun 2023 23:46:35 +0000 (23:46 +0000)]
ncurses 6.4 - patch 20230625

+ adjust man/make_sed.sh to work with dates as the third field of TH.
+ fixes for out-of-memory condition (report by "eaglegai").

9 months agoncurses 6.4 - patch 20230624
Thomas E. Dickey [Sun, 25 Jun 2023 00:38:02 +0000 (00:38 +0000)]
ncurses 6.4 - patch 20230624

+ fixes for out-of-memory condition (report by "eaglegai").

10 months agoncurses 6.4 - patch 20230617
Thomas E. Dickey [Sat, 17 Jun 2023 21:19:52 +0000 (21:19 +0000)]
ncurses 6.4 - patch 20230617

+ markup manpages with revision information (prompted by discussion
  with Bjarni Ingi Gislason).

10 months agoncurses 6.4 - patch 20230615
Thomas E. Dickey [Thu, 15 Jun 2023 21:24:29 +0000 (21:24 +0000)]
ncurses 6.4 - patch 20230615

+ modify _nc_read_file_entry() to show relevant filename in warnings.
+ improve checks in convert_string() for corrupt terminfo entry (report
  and test-case by Gregory James Duck).

10 months agoncurses 6.4 - patch 20230610
Thomas E. Dickey [Sat, 10 Jun 2023 18:08:15 +0000 (18:08 +0000)]
ncurses 6.4 - patch 20230610

+ improve manpages discussing file descriptors in low-level functions.
+ modify flushinp to use file descriptors in SCREEN, rather than from
  TERMINAL, and check if they are for a terminal, like SVr4.
+ modify mcprint to use file descriptor in SCREEN, for consistency.
+ add xterm+focus to foot+base (patch by Daniel Ekloef).
+ correct definition of Charable() for non-wide ncurses library (report
  and test-case by Zbigniew Baniewski).

10 months agoncurses 6.4 - patch 20230603
Thomas E. Dickey [Sat, 3 Jun 2023 22:04:17 +0000 (22:04 +0000)]
ncurses 6.4 - patch 20230603

+ add configure option --with-strip-program, to override program
  chosen by the install program for stripping executables (prompted
  by discussion with Aapo Rantalainen).
+ fix typo in INSTALL (report/patch by Aapo Rantalainen).
+ improve error-checks for isEILSEQ()
+ increase MB_CUR_MAX to 16, matching glibc's MB_LEN_MAX.
+ corrected mouse mask in test/testcurs.c
+ improve thread lock in lib_trace.c

10 months agoncurses 6.4 - patch 20230527
Thomas E. Dickey [Sat, 27 May 2023 22:35:09 +0000 (22:35 +0000)]
ncurses 6.4 - patch 20230527

+ fixes for compiler warnings/cppcheck.

11 months agoncurses 6.4 - patch 20230520
Thomas E. Dickey [Sat, 20 May 2023 20:02:19 +0000 (20:02 +0000)]
ncurses 6.4 - patch 20230520

+ fixes for compiler warnings in MinGW environments.

11 months agoncurses 6.4 - patch 20230514
Thomas E. Dickey [Sun, 14 May 2023 23:39:07 +0000 (23:39 +0000)]
ncurses 6.4 - patch 20230514

+ modify test-package "ncurses6-doc" to use manpage-aliases, which in
  turn required a change to the configure script to factor in the
  extra-suffix option when deriving alias names.
+ add mode 1004 to xterm+sm+1006 from xterm #380 -TD

11 months agoncurses 6.4 - patch 20230506
Thomas E. Dickey [Sun, 7 May 2023 00:30:47 +0000 (00:30 +0000)]
ncurses 6.4 - patch 20230506

> build-fixes related to configure-options and/or platform:
  + fix for --enable-fvisibility
  + fix for unusual values of --with-rel-version
  + fix for unusual values of --with-abi-version
  + fix for --disable-tcap-names
  + fix for termcap in nc_access.h (report by Werner Fink).

11 months agoncurses 6.4 - patch 20230429
Thomas E. Dickey [Sat, 29 Apr 2023 23:31:50 +0000 (23:31 +0000)]
ncurses 6.4 - patch 20230429

+ revise recent change to _nc_write_entry to isolate it to a Cygwin bug
  (cf: 20230311)
+ amend fix for wgetnstr, wgetn_wstr to use cbreak mode unless raw
  mode was set (cf: 20210522).
+ fix a few warnings from cppcheck, etc.
+ correct copy/paste error in nc_access.h (report by Werner Fink).

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

11 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

12 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

13 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).

14 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

14 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).

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

15 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

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

16 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

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

17 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).

17 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).

18 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)

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

19 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

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

20 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+.

20 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).

21 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

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