From: Thomas E. Dickey Date: Sun, 3 Dec 2023 01:15:17 +0000 (+0000) Subject: ncurses 6.4 - patch 20231202 X-Git-Tag: v6.5~21 X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff_plain;h=09ed0227b324243f636e31d876e3dc30dfc7a778 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). --- 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)