# ncurses 6.3 - patch 20220101 - Thomas E. Dickey # # ------------------------------------------------------------------------------ # # Ncurses 6.3 is at # ftp://ftp.invisible-island.net/ncurses/ # https://invisible-mirror.net/archives/ncurses/ # https://ftp.gnu.org/gnu/ncurses/ # # Patches for ncurses 6.3 can be found at # ftp://ftp.invisible-island.net/ncurses/6.3 # https://invisible-mirror.net/archives/ncurses/6.3 # # ------------------------------------------------------------------------------ # ftp://ftp.invisible-island.net/ncurses/6.3/ncurses-6.3-20220101.patch.gz # patch by Thomas E. Dickey # created Sun Jan 2 01:07:07 UTC 2022 # ------------------------------------------------------------------------------ # Ada95/package/debian/copyright | 2 # COPYING | 4 # NEWS | 8 + # VERSION | 2 # dist.mk | 6 - # doc/html/man/adacurses6-config.1.html | 2 # doc/html/man/captoinfo.1m.html | 2 # doc/html/man/clear.1.html | 2 # doc/html/man/curs_termcap.3x.html | 44 +++++++-- # doc/html/man/curs_terminfo.3x.html | 146 +++++++++++++++++++------------- # doc/html/man/form.3x.html | 2 # doc/html/man/infocmp.1m.html | 2 # doc/html/man/infotocap.1m.html | 2 # doc/html/man/menu.3x.html | 2 # doc/html/man/ncurses.3x.html | 2 # doc/html/man/ncurses6-config.1.html | 2 # doc/html/man/panel.3x.html | 2 # doc/html/man/tabs.1.html | 2 # doc/html/man/terminfo.5.html | 2 # doc/html/man/tic.1m.html | 2 # doc/html/man/toe.1m.html | 2 # doc/html/man/tput.1.html | 2 # doc/html/man/tset.1.html | 2 # man/curs_termcap.3x | 36 ++++++- # man/curs_terminfo.3x | 31 ++++++ # package/debian-mingw/changelog | 4 # package/debian-mingw/copyright | 2 # package/debian-mingw64/changelog | 4 # package/debian-mingw64/copyright | 2 # package/debian/changelog | 4 # package/debian/copyright | 2 # package/mingw-ncurses.nsi | 6 - # package/mingw-ncurses.spec | 2 # package/ncurses.spec | 2 # package/ncursest.spec | 2 # test/package/debian-mingw/copyright | 2 # test/package/debian-mingw64/copyright | 2 # test/package/debian/copyright | 2 # 38 files changed, 228 insertions(+), 119 deletions(-) # ------------------------------------------------------------------------------ Index: Ada95/package/debian/copyright --- ncurses-6.3-20211225+/Ada95/package/debian/copyright 2021-01-01 09:54:30.000000000 +0000 +++ ncurses-6.3-20220101/Ada95/package/debian/copyright 2022-01-02 00:28:07.000000000 +0000 @@ -4,7 +4,7 @@ ------------------------------------------------------------------------------- Files: * -Copyright: 2017-2020,2021 by Thomas E. Dickey +Copyright: 2017-2021,2022 by Thomas E. Dickey Copyright: 1998-2016,2017 Free Software Foundation, Inc. Licence: X11 Index: COPYING Prereq: 1.10 --- ncurses-6.3-20211225+/COPYING 2021-01-01 09:54:30.000000000 +0000 +++ ncurses-6.3-20220101/COPYING 2022-01-01 11:47:50.000000000 +0000 @@ -1,4 +1,4 @@ -Copyright 2018-2020,2021 Thomas E. Dickey +Copyright 2018-2021,2022 Thomas E. Dickey Copyright 1998-2017,2018 Free Software Foundation, Inc. Permission is hereby granted, free of charge, to any person obtaining a @@ -26,4 +26,4 @@ authorization. -- vile:txtmode fc=72 --- $Id: COPYING,v 1.10 2021/01/01 09:54:30 tom Exp $ +-- $Id: COPYING,v 1.11 2022/01/01 11:47:50 tom Exp $ Index: NEWS Prereq: 1.3761 --- ncurses-6.3-20211225+/NEWS 2021-12-26 00:29:27.000000000 +0000 +++ ncurses-6.3-20220101/NEWS 2022-01-01 23:59:36.000000000 +0000 @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Copyright 2018-2020,2021 Thomas E. Dickey -- +-- Copyright 2018-2021,2022 Thomas E. Dickey -- -- Copyright 1998-2017,2018 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3761 2021/12/26 00:29:27 tom Exp $ +-- $Id: NEWS,v 1.3764 2022/01/01 23:59:36 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -46,6 +46,10 @@ Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20220101 + + add section on releasing memory to curs_termcap.3x and + curs_terminfo.3x manpages. + 20211225 + improve markup, e.g., for external manpage links in the manpages (prompted by report by Helge Kreutzmann). Index: VERSION --- ncurses-6.3-20211225+/VERSION 2021-12-24 20:26:19.000000000 +0000 +++ ncurses-6.3-20220101/VERSION 2022-01-01 11:46:49.000000000 +0000 @@ -1 +1 @@ -5:0:10 6.3 20211225 +5:0:10 6.3 20220101 Index: dist.mk Prereq: 1.1458 --- ncurses-6.3-20211225+/dist.mk 2021-12-25 22:11:07.000000000 +0000 +++ ncurses-6.3-20220101/dist.mk 2022-01-01 11:48:38.000000000 +0000 @@ -1,5 +1,5 @@ ############################################################################## -# Copyright 2018-2020,2021 Thomas E. Dickey # +# Copyright 2018-2021,2022 Thomas E. Dickey # # Copyright 1998-2017,2018 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1458 2021/12/25 22:11:07 tom Exp $ +# $Id: dist.mk,v 1.1460 2022/01/01 11:48:38 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -38,7 +38,7 @@ # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 3 -NCURSES_PATCH = 20211225 +NCURSES_PATCH = 20220101 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) Index: doc/html/man/adacurses6-config.1.html --- ncurses-6.3-20211225+/doc/html/man/adacurses6-config.1.html 2021-12-25 22:12:43.000000000 +0000 +++ ncurses-6.3-20220101/doc/html/man/adacurses6-config.1.html 2022-01-02 00:19:47.000000000 +0000 @@ -126,7 +126,7 @@

SEE ALSO

        curses(3x)
 
-       This describes ncurses version 6.3 (patch 20211225).
+       This describes ncurses version 6.3 (patch 20220101).
 
 
 
Index: doc/html/man/captoinfo.1m.html
--- ncurses-6.3-20211225+/doc/html/man/captoinfo.1m.html	2021-12-25 22:12:43.000000000 +0000
+++ ncurses-6.3-20220101/doc/html/man/captoinfo.1m.html	2022-01-02 00:19:47.000000000 +0000
@@ -199,7 +199,7 @@
 

SEE ALSO

        infocmp(1m), curses(3x), terminfo(5)
 
-       This describes ncurses version 6.3 (patch 20211225).
+       This describes ncurses version 6.3 (patch 20220101).
 
 
 

AUTHOR

Index: doc/html/man/clear.1.html
--- ncurses-6.3-20211225+/doc/html/man/clear.1.html	2021-12-26 00:19:27.000000000 +0000
+++ ncurses-6.3-20220101/doc/html/man/clear.1.html	2022-01-02 00:19:47.000000000 +0000
@@ -150,7 +150,7 @@
 

SEE ALSO

        tput(1), terminfo(5), xterm(1).
 
-       This describes ncurses version 6.3 (patch 20211225).
+       This describes ncurses version 6.3 (patch 20220101).
 
 
 
Index: doc/html/man/curs_termcap.3x.html
--- ncurses-6.3-20211225+/doc/html/man/curs_termcap.3x.html	2021-12-26 00:04:53.000000000 +0000
+++ ncurses-6.3-20220101/doc/html/man/curs_termcap.3x.html	2022-01-02 00:19:51.000000000 +0000
@@ -1,6 +1,6 @@
 
 
 
@@ -76,7 +76,7 @@
        been compiled.
 
 
-

INITIALIZATION

+

Initialization

        The tgetent routine loads the entry for name.  It returns:
 
           1  on success,
@@ -100,7 +100,7 @@
               ing.
 
 
-

CAPABILITY VALUES

+

Capability Values

        The tgetflag routine gets the boolean entry for id, or zero  if  it  is
        not available.
 
@@ -129,7 +129,7 @@
        and tgetstr are compared in lookups.
 
 
-

FORMATTING CAPABILITIES

+

Formatting Capabilities

        The tgoto routine expands the given capability using the parameters.
 
        o   Because  the  capability may have padding characters, the output of
@@ -157,7 +157,7 @@
        It can retrieve capabilities by either termcap or terminfo name.
 
 
-

GLOBAL VARIABLES

+

Global Variables

        The  variables PC, UP and BC are set by tgetent to the terminfo entry's
        data for pad_char, cursor_up and backspace_if_not_bs, respectively.  UP
        is  not used by ncurses.  PC is used in the tdelay_output function.  BC
@@ -165,6 +165,29 @@
        in a system-specific coding to reflect the terminal speed.
 
 
+

Releasing Memory

+       The  termcap  functions  provide  no  means for freeing memory, because
+       legacy termcap implementations used only the buffer areas  provided  by
+       the  caller  via tgetent and tgetstr.  Those buffers are unused in ter-
+       minfo.
+
+       On the other hand, terminfo allocates memory.  It uses setupterm to re-
+       trieve the data used by tgetent and the functions which return capabil-
+       ity values such as tgetstr.  One could use
+
+            del_curterm(cur_term);
+
+
+       to free this memory, but  there  is  an  additional  complication  with
+       ncurses.   It uses a fixed-size pool of storage locations, one per set-
+       ting of the TERM variable when tgetent is called.  The  screen(1)  pro-
+       gram relies upon this arrangement, to improve its performance.
+
+       An  application  which  uses only the low-level termcap functions could
+       free the memory using del_curterm, because the pool is freed using oth-
+       er functions (see curs_memleaks(3x)).
+
+
 

RETURN VALUE

        Except  where  explicitly noted, routines that return an integer return
        ERR upon failure and OK (SVr4 only specifies "an  integer  value  other
@@ -322,10 +345,11 @@
 
  • SYNOPSIS
  • DESCRIPTION
  • RETURN VALUE
  • Index: doc/html/man/curs_terminfo.3x.html --- ncurses-6.3-20211225+/doc/html/man/curs_terminfo.3x.html 2021-12-26 00:04:53.000000000 +0000 +++ ncurses-6.3-20220101/doc/html/man/curs_terminfo.3x.html 2022-01-02 00:19:51.000000000 +0000 @@ -1,6 +1,6 @@