From 09ed0227b324243f636e31d876e3dc30dfc7a778 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 3 Dec 2023 01:15:17 +0000 Subject: [PATCH] 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). --- NEWS | 8 +- VERSION | 2 +- announce.html.in | 29 ++-- dist.mk | 4 +- doc/html/man/captoinfo.1m.html | 8 +- doc/html/man/clear.1.html | 18 +-- doc/html/man/curs_attr.3x.html | 224 +++++++++++++-------------- doc/html/man/curs_bkgd.3x.html | 49 +++--- doc/html/man/curs_bkgrnd.3x.html | 23 ++- doc/html/man/curs_initscr.3x.html | 12 +- doc/html/man/curs_opaque.3x.html | 10 +- doc/html/man/curs_termcap.3x.html | 10 +- doc/html/man/curs_terminfo.3x.html | 16 +- doc/html/man/curs_util.3x.html | 20 +-- doc/html/man/infocmp.1m.html | 18 +-- doc/html/man/ncurses.3x.html | 133 ++++++++-------- doc/html/man/ncursesw6-config.1.html | 66 ++++---- doc/html/man/resizeterm.3x.html | 10 +- doc/html/man/term.5.html | 12 +- doc/html/man/term.7.html | 32 ++-- doc/html/man/terminfo.5.html | 20 +-- doc/html/man/tic.1m.html | 89 ++++++----- doc/html/man/toe.1m.html | 10 +- doc/html/man/tput.1.html | 24 +-- doc/html/man/tset.1.html | 60 +++---- man/MKncu_config.in | 12 +- man/captoinfo.1m | 6 +- man/clear.1 | 17 +- man/curs_attr.3x | 9 +- man/curs_bkgd.3x | 58 ++++--- man/curs_bkgrnd.3x | 15 +- man/curs_initscr.3x | 8 +- man/curs_opaque.3x | 6 +- man/curs_termcap.3x | 6 +- man/curs_terminfo.3x | 16 +- man/curs_util.3x | 18 ++- man/infocmp.1m | 14 +- man/ncurses.3x | 145 ++++++++--------- man/resizeterm.3x | 6 +- man/term.5 | 10 +- man/term.7 | 43 ++--- man/terminfo.tail | 19 ++- man/tic.1m | 30 ++-- man/toe.1m | 8 +- man/tput.1 | 30 ++-- man/tset.1 | 60 +++---- package/debian-mingw/changelog | 4 +- package/debian-mingw64/changelog | 4 +- package/debian/changelog | 4 +- package/mingw-ncurses.nsi | 4 +- package/mingw-ncurses.spec | 2 +- package/ncurses.spec | 2 +- package/ncursest.spec | 2 +- progs/infocmp.c | 14 +- test/programs | 4 +- 55 files changed, 764 insertions(+), 719 deletions(-) diff --git a/NEWS b/NEWS index 2f9c9e3a..68401bbc 100644 --- a/NEWS +++ b/NEWS @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.4039 2023/11/25 19:45:00 tom Exp $ +-- $Id: NEWS,v 1.4042 2023/12/02 21:47:07 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -46,6 +46,12 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +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). + 20231125 + add information about "ttycap", termcap's forerunner, to tset.1 (patch by Branden Robinson). diff --git a/VERSION b/VERSION index d60620cd..17d58d79 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.4 20231125 +5:0:10 6.4 20231202 diff --git a/announce.html.in b/announce.html.in index ebeee524..da2b2fc5 100644 --- a/announce.html.in +++ b/announce.html.in @@ -1,7 +1,7 @@ -curs_bkgd 3x 2023-11-25 ncurses 6.4 Library calls +curs_bkgd 3x 2023-12-02 ncurses 6.4 Library calls -

curs_bkgd 3x 2023-11-25 ncurses 6.4 Library calls

+

curs_bkgd 3x 2023-12-02 ncurses 6.4 Library calls

 curs_bkgd(3x)                    Library calls                   curs_bkgd(3x)
 
@@ -101,11 +101,11 @@
        way the rendition of characters on the screen is updated when  bkgd  or
        wbkgd is used to change the background character.
 
-       This  implementation,  like  SVr4 curses, does not store the background
-       and window attribute contributions to each cell separately.  It updates
-       the  rendition  by  comparing  the  character, non-color attributes and
-       colors contained in the background.   For  each  cell  in  the  window,
-       whether or not it is blank:
+       ncurses,  like  SVr4  curses,  does not store the background and window
+       attribute contributions  to  each  cell  separately.   It  updates  the
+       rendition  by  comparing the character, non-color attributes and colors
+       contained in the background.  For each cell in the window,  whether  or
+       not it is blank:
 
        o   The  library  first  compares  the character, and if it matches the
            current character part of the background, it replaces that with the
@@ -146,31 +146,32 @@
 
 
 

RETURN VALUE

-       These functions are described in the XSI Curses standard, Issue 4.   It
-       specifies  that  bkgd  and  wbkgd  return  ERR on failure, but gives no
-       failure conditions.
-
-       The routines bkgd and wbkgd return the integer OK, unless  the  library
-       has not been initialized.
+       Functions returning an int return OK on success.  bkgd returns  ERR  if
+       the  library has not been initialized.  wbkgd and getbkgd return ERR if
+       the WINDOW pointer argument is null.
 
-       In  contrast, the SVr4.0 manual says bkgd and wbkgd may return OK "or a
-       non-negative integer if immedok is set", which  refers  to  the  return
-       value  from wrefresh (used to implement the immediate repainting).  The
-       SVr4 curses wrefresh returns the number of characters  written  to  the
-       screen during the refresh.  This implementation does not do that.
+       In contrast, the SVr4.0 manual says bkgd and wbkgd may return OK "or  a
+       non-negative  integer  if  immedok  is set", which refers to the return
+       value from wrefresh (used to implement the immediate repainting).  SVr4
+       curses  wrefresh returns the number of characters written to the screen
+       during the refresh.  ncurses does not do that.
 
 
 

NOTES

+       Unusually, there is no wgetbkgd function; getbkgd behaves as one  would
+       expect wgetbkgd to, accepting a WINDOW pointer argument.
+
        Note that bkgdset and bkgd may be macros.
 
        X/Open  Curses  mentions that the character part of the background must
-       be a single-byte value.  This  implementation,  like  SVr4,  checks  to
-       ensure  that,  and will reuse the old background character if the check
-       fails.
+       be a single-byte value.  ncurses, like SVr4 curses,  checks  to  ensure
+       that, and will reuse the old background character if the check fails.
 
 
 

PORTABILITY

-       These functions are described in the XSI Curses standard, Issue 4.
+       These  functions are described in the XSI Curses standard, Issue 4.  It
+       specifies that bkgd and wbkgd return  ERR  on  failure,  but  gives  no
+       failure conditions.
 
 
 

SEE ALSO

@@ -178,7 +179,7 @@
 
 
 
-ncurses 6.4                       2023-11-25                     curs_bkgd(3x)
+ncurses 6.4                       2023-12-02                     curs_bkgd(3x)