snapshot of project "ncurses", label v6_4_20230311

This commit is contained in:
Thomas E. Dickey 2023-03-12 00:14:16 +00:00
parent e38c6570bb
commit c75ee9cb5b
No known key found for this signature in database
GPG Key ID: CC2AF4472167BE03
49 changed files with 252 additions and 196 deletions

16
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.3914 2023/02/25 22:58:50 tom Exp $
-- $Id: NEWS,v 1.3919 2023/03/12 00:14:16 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@ -46,9 +46,21 @@ 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.
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).
20230225
+ build-fixes for rpm test-packages.
+ add/user configure check for clock_gettime(), to supersede
+ add/use configure check for clock_gettime(), to supersede
gettimeofday().
20230218

View File

@ -1 +1 @@
5:0:10 6.4 20230225
5:0:10 6.4 20230311

14
aclocal.m4 vendored
View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
dnl $Id: aclocal.m4,v 1.1032 2023/02/25 13:45:56 tom Exp $
dnl $Id: aclocal.m4,v 1.1037 2023/03/05 19:30:13 tom Exp $
dnl Macros used in NCURSES auto-configuration script.
dnl
dnl These macros are maintained separately from NCURSES. The copyright on
@ -3049,7 +3049,7 @@ rm -rf ./conftest*
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_GCC_VERSION version: 8 updated: 2019/09/07 13:38:36
dnl CF_GCC_VERSION version: 9 updated: 2023/03/05 14:30:13
dnl --------------
dnl Find version of gcc, and (because icc/clang pretend to be gcc without being
dnl compatible), attempt to determine if icc/clang is actually used.
@ -3058,7 +3058,7 @@ AC_REQUIRE([AC_PROG_CC])
GCC_VERSION=none
if test "$GCC" = yes ; then
AC_MSG_CHECKING(version of $CC)
GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[[^)]]*) //' -e 's/^.*(Debian[[^)]]*) //' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^[[^(]]*([[^)]][[^)]]*) //' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
test -z "$GCC_VERSION" && GCC_VERSION=unknown
AC_MSG_RESULT($GCC_VERSION)
fi
@ -3641,7 +3641,7 @@ if test "$GXX" = yes; then
fi
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_GXX_VERSION version: 8 updated: 2017/02/11 14:48:57
dnl CF_GXX_VERSION version: 9 updated: 2023/03/05 14:30:13
dnl --------------
dnl Check for version of g++
AC_DEFUN([CF_GXX_VERSION],[
@ -3649,7 +3649,7 @@ AC_REQUIRE([AC_PROG_CPP])
GXX_VERSION=none
if test "$GXX" = yes; then
AC_MSG_CHECKING(version of ${CXX:-g++})
GXX_VERSION="`${CXX:-g++} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
GXX_VERSION="`${CXX:-g++} --version 2>/dev/null | sed -e '2,$d' -e 's/^[[^(]]*([[^)]][[^)]]*) //' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
if test -z "$GXX_VERSION"
then
GXX_VERSION=unknown
@ -9940,7 +9940,7 @@ fi
AC_SUBST(no_x11_rgb)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_XOPEN_SOURCE version: 64 updated: 2023/02/18 17:41:25
dnl CF_XOPEN_SOURCE version: 65 updated: 2023/03/05 13:14:56
dnl ---------------
dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
dnl or adapt to the vendor's definitions to get equivalent functionality,
@ -9988,7 +9988,7 @@ case "$host_os" in
cf_xopen_source="-D_SGI_SOURCE"
cf_XOPEN_SOURCE=
;;
(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys)
(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*)
CF_GNU_SOURCE($cf_XOPEN_SOURCE)
;;
(minix*)

8
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 1.756 .
# From configure.in Revision: 1.757 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20230114.
#
@ -2317,7 +2317,7 @@ GCC_VERSION=none
if test "$GCC" = yes ; then
echo "$as_me:2318: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^[^(]*([^)][^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
test -z "$GCC_VERSION" && GCC_VERSION=unknown
echo "$as_me:2322: result: $GCC_VERSION" >&5
echo "${ECHO_T}$GCC_VERSION" >&6
@ -3623,7 +3623,7 @@ GXX_VERSION=none
if test "$GXX" = yes; then
echo "$as_me:3624: checking version of ${CXX:-g++}" >&5
echo $ECHO_N "checking version of ${CXX:-g++}... $ECHO_C" >&6
GXX_VERSION="`${CXX:-g++} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
GXX_VERSION="`${CXX:-g++} --version 2>/dev/null | sed -e '2,$d' -e 's/^[^(]*([^)][^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
if test -z "$GXX_VERSION"
then
GXX_VERSION=unknown
@ -10418,7 +10418,7 @@ case "$host_os" in
cf_xopen_source="-D_SGI_SOURCE"
cf_XOPEN_SOURCE=
;;
(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys)
(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*)
cf_gnu_xopen_source=$cf_XOPEN_SOURCE

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1528 2023/02/25 12:58:46 tom Exp $
# $Id: dist.mk,v 1.1530 2023/03/11 12:02:16 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@ -38,7 +38,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 4
NCURSES_PATCH = 20230225
NCURSES_PATCH = 20230311
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -126,7 +126,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -199,7 +199,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -150,7 +150,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG>xterm(1)</STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2019-2020,2021 Thomas E. Dickey *
* Copyright 2019-2021,2023 Thomas E. Dickey *
* Copyright 2001-2015,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_add_wch.3x,v 1.31 2021/12/25 21:37:49 tom Exp @
* @Id: curs_add_wch.3x,v 1.32 2023/03/11 20:40:45 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -198,9 +198,9 @@
The latter may be due to different causes:
<STRONG>o</STRONG> If <STRONG>scrollok</STRONG> is not enabled, writing a character at the lower right
margin succeeds. However, an error is returned because it is not
possible to wrap to a new line
<STRONG>o</STRONG> If <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is not enabled, writing a character at the lower
right margin succeeds. However, an error is returned because it is
not possible to wrap to a new line
<STRONG>o</STRONG> If an error is detected when converting a multibyte character to a
sequence of bytes, or if it is not possible to add all of the

View File

@ -1,7 +1,7 @@
<!--
* t
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2015,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_addch.3x,v 1.59 2022/02/12 20:07:29 tom Exp @
* @Id: curs_addch.3x,v 1.60 2023/03/11 20:39:26 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -74,12 +74,12 @@
<STRONG>o</STRONG> The cursor automatically wraps to the beginning of the next line.
<STRONG>o</STRONG> At the bottom of the current scrolling region, and if <STRONG>scrollok</STRONG> is
enabled, the scrolling region is scrolled up one line.
<STRONG>o</STRONG> At the bottom of the current scrolling region, and if <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG>
is enabled, the scrolling region is scrolled up one line.
<STRONG>o</STRONG> If <STRONG>scrollok</STRONG> is not enabled, writing a character at the lower right
margin succeeds. However, an error is returned because it is not
possible to wrap to a new line
<STRONG>o</STRONG> If <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is not enabled, writing a character at the lower
right margin succeeds. However, an error is returned because it is
not possible to wrap to a new line
If <EM>ch</EM> is a tab, newline, carriage return or backspace, the cursor is
moved appropriately within the window:
@ -97,9 +97,19 @@
may be altered by setting the <STRONG>TABSIZE</STRONG> variable.
If <EM>ch</EM> is any other nonprintable character, it is drawn in printable
form, i.e., the <STRONG>^</STRONG><EM>X</EM> notation used by <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>. Calling <STRONG>winch</STRONG> after
adding a nonprintable character does not return the character itself,
but instead returns the printable representation of the character.
form, using the same convention as <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>:
<STRONG>o</STRONG> Control characters are displayed in the <STRONG>^</STRONG><EM>X</EM> notation.
<STRONG>o</STRONG> Values above 128 are either meta characters (if the screen has not
been initialized, or if <STRONG><A HREF="curs_inopts.3x.html">meta(3x)</A></STRONG> has been called with a <STRONG>TRUE</STRONG> E
parameter), shown in the <STRONG>M-</STRONG><EM>X</EM> notation, or are displayed as
themselves. In the latter case, the values may not be printable;
this follows the X/Open specification.
Calling <STRONG>winch</STRONG> after adding a nonprintable character does not return the
character itself, but instead returns the printable representation of
the character.
Video attributes can be combined with a character argument passed to
<STRONG>addch</STRONG> or related functions by logical-ORing them into the character.
@ -178,9 +188,9 @@
If it is not possible to add a complete character, an error is
returned:
<STRONG>o</STRONG> If <STRONG>scrollok</STRONG> is not enabled, writing a character at the lower right
margin succeeds. However, an error is returned because it is not
possible to wrap to a new line
<STRONG>o</STRONG> If <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is not enabled, writing a character at the lower
right margin succeeds. However, an error is returned because it is
not possible to wrap to a new line
<STRONG>o</STRONG> If an error is detected when converting a multibyte character to a
sequence of bytes, or if it is not possible to add all of the

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2019-2021,2022 Thomas E. Dickey *
* Copyright 2019-2022,2023 Thomas E. Dickey *
* Copyright 1998-2012,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_addstr.3x,v 1.26 2022/02/12 20:07:29 tom Exp @
* @Id: curs_addstr.3x,v 1.27 2023/03/11 20:40:52 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -101,8 +101,8 @@
large enough, or an illegal byte sequence was detected) only part of
the string may be added. Aside from that, there is a special case in
<STRONG>waddch</STRONG> where an error may be returned after successfully writing a
character to the lower-right corner of a window when <STRONG>scrollok</STRONG> is dis-
abled.
character to the lower-right corner of a window when <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is
disabled.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2020-2021,2022 Thomas E. Dickey *
* Copyright 2020-2022,2023 Thomas E. Dickey *
* Copyright 2007-2014,2015 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_opaque.3x,v 1.18 2022/02/12 20:05:11 tom Exp @
* @Id: curs_opaque.3x,v 1.19 2023/03/11 20:40:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -78,44 +78,44 @@
<STRONG>ES_OPAQUE</STRONG> is defined:
<STRONG>is_cleared</STRONG>
returns the value set in <STRONG>clearok</STRONG>
returns the value set in <STRONG><A HREF="curs_outopts.3x.html">clearok(3x)</A></STRONG>
<STRONG>is_idcok</STRONG>
returns the value set in <STRONG>idcok</STRONG>
returns the value set in <STRONG><A HREF="idcok.3x.html">idcok(3x)</A></STRONG>
<STRONG>is_idlok</STRONG>
returns the value set in <STRONG>idlok</STRONG>
returns the value set in <STRONG><A HREF="idlok.3x.html">idlok(3x)</A></STRONG>
<STRONG>is_immedok</STRONG>
returns the value set in <STRONG>immedok</STRONG>
returns the value set in <STRONG><A HREF="curs_outopts.3x.html">immedok(3x)</A></STRONG>
<STRONG>is_keypad</STRONG>
returns the value set in <STRONG>keypad</STRONG>
returns the value set in <STRONG><A HREF="curs_inopts.3x.html">keypad(3x)</A></STRONG>
<STRONG>is_leaveok</STRONG>
returns the value set in <STRONG>leaveok</STRONG>
returns the value set in <STRONG><A HREF="leaveok.3x.html">leaveok(3x)</A></STRONG>
<STRONG>is_nodelay</STRONG>
returns the value set in <STRONG>nodelay</STRONG>
returns the value set in <STRONG><A HREF="nodelay.3x.html">nodelay(3x)</A></STRONG>
<STRONG>is_notimeout</STRONG>
returns the value set in <STRONG>notimeout</STRONG>
returns the value set in <STRONG><A HREF="notimeout.3x.html">notimeout(3x)</A></STRONG>
<STRONG>is_pad</STRONG>
returns <STRONG>TRUE</STRONG> if the window is a pad i.e., created by <STRONG>newpad</STRONG>
returns <STRONG>TRUE</STRONG> if the window is a pad i.e., created by <STRONG><A HREF="newpad.3x.html">newpad(3x)</A></STRONG>
<STRONG>is_scrollok</STRONG>
returns the value set in <STRONG>scrollok</STRONG>
returns the value set in <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG>
<STRONG>is_subwin</STRONG>
returns <STRONG>TRUE</STRONG> if the window is a subwindow, i.e., created by <STRONG>subwin</STRONG>
or <STRONG>derwin</STRONG>
returns <STRONG>TRUE</STRONG> if the window is a subwindow, i.e., created by <STRONG>sub-</STRONG>
<STRONG><A HREF="subwin.3x.html">win(3x)</A></STRONG> or <STRONG><A HREF="derwin.3x.html">derwin(3x)</A></STRONG>
<STRONG>is_syncok</STRONG>
returns the value set in <STRONG>syncok</STRONG>
returns the value set in <STRONG><A HREF="syncok.3x.html">syncok(3x)</A></STRONG>
<STRONG>wgetdelay</STRONG>
returns the delay timeout as set in <STRONG>wtimeout</STRONG>.
returns the delay timeout as set in <STRONG><A HREF="wtimeout.3x.html">wtimeout(3x)</A></STRONG>.
<STRONG>wgetparent</STRONG>
returns the parent WINDOW pointer for subwindows, or NULL for win-

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2010,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_refresh.3x,v 1.25 2022/02/12 20:05:11 tom Exp @
* @Id: curs_refresh.3x,v 1.26 2023/03/11 20:41:02 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -71,9 +71,9 @@
ly manipulate data structures. The routine <STRONG>wrefresh</STRONG> copies the named
window to the <EM>physical</EM> <EM>screen</EM>, taking into account what is already
there to do optimizations. The <STRONG>refresh</STRONG> routine is the same, using <STRONG>std-</STRONG>
<STRONG>scr</STRONG> as the default window. Unless <STRONG>leaveok</STRONG> has been enabled, the physi-
cal cursor of the terminal is left at the location of the cursor for
that window.
<STRONG>scr</STRONG> as the default window. Unless <STRONG><A HREF="leaveok.3x.html">leaveok(3x)</A></STRONG> has been enabled, the
physical cursor of the terminal is left at the location of the cursor
for that window.
</PRE><H3><a name="h3-wnoutrefresh_doupdate">wnoutrefresh/doupdate</a></H3><PRE>

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2006,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_scroll.3x,v 1.22 2022/02/12 20:05:11 tom Exp @
* @Id: curs_scroll.3x,v 1.23 2023/03/11 20:41:05 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -70,7 +70,8 @@
This involves moving the lines in the window character image structure.
The current cursor position is not changed.
For these functions to work, scrolling must be enabled via <STRONG>scrollok</STRONG>.
For these functions to work, scrolling must be enabled via <STRONG>scrol-</STRONG>
<STRONG><A HREF="scrollok.3x.html">lok(3x)</A></STRONG>.
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
@ -79,20 +80,20 @@
X/Open defines no error conditions.
This implementation returns an error if the window pointer is null, or
if scrolling is not enabled in the window, e.g., with <STRONG>scrollok</STRONG>.
This implementation returns an error if the window pointer is null, or
if scrolling is not enabled in the window, e.g., with <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG>.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
Note that <STRONG>scrl</STRONG> and <STRONG>scroll</STRONG> may be macros.
The SVr4 documentation says that the optimization of physically
scrolling immediately if the scroll region is the entire screen "is"
performed, not "may be" performed. This implementation deliberately
does not guarantee that this will occur, to leave open the possibility
scrolling immediately if the scroll region is the entire screen "is"
performed, not "may be" performed. This implementation deliberately
does not guarantee that this will occur, to leave open the possibility
of smarter optimization of multiple scroll actions on the next update.
Neither the SVr4 nor the XSI documentation specify whether the current
Neither the SVr4 nor the XSI documentation specify whether the current
attribute or current color-pair of blanks generated by the scroll func-
tion is zeroed. Under this implementation it is.

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2010,2015 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_termattrs.3x,v 1.19 2022/02/12 20:05:11 tom Exp @
* @Id: curs_termattrs.3x,v 1.20 2023/03/11 20:41:12 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -91,7 +91,7 @@
The <STRONG>has_il</STRONG> routine is true if the terminal has insert- and delete-line
capabilities, or can simulate them using scrolling regions. This might
be used to determine if it would be appropriate to turn on physical
scrolling using <STRONG>scrollok</STRONG>.
scrolling using <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG>.
</PRE><H3><a name="h3-killchar_-killwchar">killchar, killwchar</a></H3><PRE>

View File

@ -1,7 +1,7 @@
<!--
* t
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2015,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_util.3x,v 1.65 2022/02/12 20:06:41 tom Exp @
* @Id: curs_util.3x,v 1.66 2023/03/11 20:28:02 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -81,8 +81,10 @@
The <STRONG>unctrl</STRONG> routine returns a character string which is a printable rep-
resentation of the character <EM>c</EM>, ignoring attributes. Control charac-
ters are displayed in the <STRONG>^</STRONG><EM>X</EM> notation. Printing characters are dis-
played as is. The corresponding <STRONG>wunctrl</STRONG> returns a printable represen-
tation of a wide character.
played as is.
The corresponding <STRONG>wunctrl</STRONG> returns a printable representation of a wide
character.
</PRE><H3><a name="h3-keyname_key_name">keyname/key_name</a></H3><PRE>
@ -177,11 +179,13 @@
<STRONG>use_env</STRONG> <STRONG>use_tioctl</STRONG> <STRONG>Summary</STRONG>
----------------------------------------------------------------
TRUE FALSE This is the default behavior. <STRONG>ncurses</STRONG>
uses operating system calls unless over-
ridden by $LINES or $COLUMNS environment
variables.
TRUE TRUE <STRONG>ncurses</STRONG> updates $LINES and $COLUMNS
based on operating system calls.
FALSE TRUE <STRONG>ncurses</STRONG> ignores $LINES and $COLUMNS, us-

View File

@ -248,7 +248,7 @@
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "form_" for detailed
descriptions of the entry points.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -1,7 +1,7 @@
<!--
* t
****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2017,2018 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: infocmp.1m,v 1.81 2022/02/12 20:02:20 tom Exp @
* @Id: infocmp.1m,v 1.82 2023/03/05 00:05:39 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -392,18 +392,25 @@
"AIX"; see <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> for details.
<STRONG>o</STRONG> You can also choose the subset "BSD" which selects only
capabilities with termcap equivalents recognized by 4.4BSD.
The <STRONG>-C</STRONG> option sets the "BSD" subset as a side-effect.
capabilities with termcap equivalents recognized by 4.4BSD.
<STRONG>o</STRONG> If you select any other value for <STRONG>-R</STRONG>, it is the same as no
subset, i.e., all capabilities are used. The <STRONG>-I</STRONG> option
likewise selects no subset as a side-effect.
<STRONG>o</STRONG> If you select any other value for <STRONG>-R</STRONG>, it is the same as no
subset, i.e., all capabilities are used.
A few options override the subset selected with <STRONG>-R</STRONG>, if they are
processed later in the command parameters:
<STRONG>-C</STRONG> sets the "BSD" subset as a side-effect.
<STRONG>-I</STRONG> sets the subset to all capabilities.
<STRONG>-r</STRONG> sets the subset to all capabilities.
<STRONG>-s</STRONG> <EM>[d|i|l|c]</EM>
The <STRONG>-s</STRONG> option sorts the fields within each type according to the
The <STRONG>-s</STRONG> option sorts the fields within each type according to the
argument below:
<STRONG>d</STRONG> leave fields in the order that they are stored in the
<STRONG>d</STRONG> leave fields in the order that they are stored in the
<EM>terminfo</EM> database.
<STRONG>i</STRONG> sort by <EM>terminfo</EM> name.
@ -412,45 +419,45 @@
<STRONG>c</STRONG> sort by the <EM>termcap</EM> name.
If the <STRONG>-s</STRONG> option is not given, the fields printed out will be
sorted alphabetically by the <STRONG>terminfo</STRONG> name within each type,
except in the case of the <STRONG>-C</STRONG> or the <STRONG>-L</STRONG> options, which cause the
sorting to be done by the <STRONG>termcap</STRONG> name or the long C variable
If the <STRONG>-s</STRONG> option is not given, the fields printed out will be
sorted alphabetically by the <STRONG>terminfo</STRONG> name within each type,
except in the case of the <STRONG>-C</STRONG> or the <STRONG>-L</STRONG> options, which cause the
sorting to be done by the <STRONG>termcap</STRONG> name or the long C variable
name, respectively.
<STRONG>-T</STRONG> eliminates size-restrictions on the generated text. This is
<STRONG>-T</STRONG> eliminates size-restrictions on the generated text. This is
mainly useful for testing and analysis, since the compiled
descriptions are limited (e.g., 1023 for termcap, 4096 for
terminfo).
<STRONG>-t</STRONG> tells <STRONG>tic</STRONG> to discard commented-out capabilities. Normally when
translating from terminfo to termcap, untranslatable capabilities
<STRONG>-t</STRONG> tells <STRONG>tic</STRONG> to discard commented-out capabilities. Normally when
translating from terminfo to termcap, untranslatable capabilities
are commented-out.
<STRONG>-U</STRONG> tells <STRONG>infocmp</STRONG> to not post-process the data after parsing the
<STRONG>-U</STRONG> tells <STRONG>infocmp</STRONG> to not post-process the data after parsing the
source file. This feature helps when comparing the actual
contents of two source files, since it excludes the inferences
contents of two source files, since it excludes the inferences
that <STRONG>infocmp</STRONG> makes to fill in missing data.
<STRONG>-V</STRONG> reports the version of ncurses which was used in this program, and
exits.
<STRONG>-v</STRONG> <EM>n</EM> prints out tracing information on standard error as the program
<STRONG>-v</STRONG> <EM>n</EM> prints out tracing information on standard error as the program
runs.
The optional parameter <EM>n</EM> is a number from 1 to 10, inclusive,
The optional parameter <EM>n</EM> is a number from 1 to 10, inclusive,
indicating the desired level of detail of information. If ncurses
is built without tracing support, the optional parameter is
is built without tracing support, the optional parameter is
ignored.
<STRONG>-W</STRONG> By itself, the <STRONG>-w</STRONG> option will not force long strings to be
<STRONG>-W</STRONG> By itself, the <STRONG>-w</STRONG> option will not force long strings to be
wrapped. Use the <STRONG>-W</STRONG> option to do this.
<STRONG>-w</STRONG> <EM>width</EM>
changes the output to <EM>width</EM> characters.
<STRONG>-x</STRONG> print information for user-defined capabilities (see <STRONG>user_caps(5)</STRONG>.
These are extensions to the terminfo repertoire which can be
These are extensions to the terminfo repertoire which can be
loaded using the <STRONG>-x</STRONG> option of <STRONG>tic</STRONG>.
@ -459,48 +466,48 @@
</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
Although System V Release 2 provided a terminfo library, it had no
Although System V Release 2 provided a terminfo library, it had no
documented tool for decompiling the terminal descriptions. Tony Hansen
(AT&amp;T) wrote the first <STRONG>infocmp</STRONG> in early 1984, for System V Release 3.
Eric Raymond used the AT&amp;T documentation in 1995 to provide an
equivalent <STRONG>infocmp</STRONG> for ncurses. In addition, he added a few new
Eric Raymond used the AT&amp;T documentation in 1995 to provide an
equivalent <STRONG>infocmp</STRONG> for ncurses. In addition, he added a few new
features such as:
<STRONG>o</STRONG> the <STRONG>-e</STRONG> option, to support <EM>fallback</EM> (compiled-in) terminal
<STRONG>o</STRONG> the <STRONG>-e</STRONG> option, to support <EM>fallback</EM> (compiled-in) terminal
descriptions
<STRONG>o</STRONG> the <STRONG>-i</STRONG> option, to help with analysis
Later, Thomas Dickey added the <STRONG>-x</STRONG> (user-defined capabilities) option,
and the <STRONG>-E</STRONG> option to support fallback entries with user-defined
Later, Thomas Dickey added the <STRONG>-x</STRONG> (user-defined capabilities) option,
and the <STRONG>-E</STRONG> option to support fallback entries with user-defined
capabilities.
For a complete list, see the <EM>EXTENSIONS</EM> section.
In 2010, Roy Marples provided an <STRONG>infocmp</STRONG> program for NetBSD. It is
less capable than the SVr4 or ncurses versions (e.g., it lacks the
sorting options documented in X/Open), but does include the <STRONG>-x</STRONG> option
In 2010, Roy Marples provided an <STRONG>infocmp</STRONG> program for NetBSD. It is
less capable than the SVr4 or ncurses versions (e.g., it lacks the
sorting options documented in X/Open), but does include the <STRONG>-x</STRONG> option
adapted from ncurses.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses, Issue 7 (2009) provides a description of <STRONG>infocmp</STRONG>. It
X/Open Curses, Issue 7 (2009) provides a description of <STRONG>infocmp</STRONG>. It
does not mention the options used for converting to termcap format.
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
The <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-E</STRONG>, <STRONG>-F</STRONG>, <STRONG>-G</STRONG>, <STRONG>-Q</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-i</STRONG>, <STRONG>-l</STRONG>, <STRONG>-p</STRONG>, <STRONG>-q</STRONG>
The <STRONG>-0</STRONG>, <STRONG>-1</STRONG>, <STRONG>-E</STRONG>, <STRONG>-F</STRONG>, <STRONG>-G</STRONG>, <STRONG>-Q</STRONG>, <STRONG>-R</STRONG>, <STRONG>-T</STRONG>, <STRONG>-V</STRONG>, <STRONG>-a</STRONG>, <STRONG>-e</STRONG>, <STRONG>-f</STRONG>, <STRONG>-g</STRONG>, <STRONG>-i</STRONG>, <STRONG>-l</STRONG>, <STRONG>-p</STRONG>, <STRONG>-q</STRONG>
and <STRONG>-t</STRONG> options are not supported in SVr4 curses.
SVr4 infocmp does not distinguish between absent and cancelled
capabilities. Also, it shows missing integer capabilities as <STRONG>-1</STRONG> (the
SVr4 infocmp does not distinguish between absent and cancelled
capabilities. Also, it shows missing integer capabilities as <STRONG>-1</STRONG> (the
internal value used to represent missing integers). This
implementation shows those as "NULL", for consistency with missing
implementation shows those as "NULL", for consistency with missing
strings.
The <STRONG>-r</STRONG> option's notion of "termcap" capabilities is System V Release
4's. Actual BSD curses versions will have a more restricted set. To
The <STRONG>-r</STRONG> option's notion of "termcap" capabilities is System V Release
4's. Actual BSD curses versions will have a more restricted set. To
see only the 4.4BSD set, use <STRONG>-r</STRONG> <STRONG>-RBSD</STRONG>.
@ -514,7 +521,7 @@
https://invisible-island.net/ncurses/tctest.html
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -91,7 +91,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -223,7 +223,7 @@
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "menu_" for detailed
descriptions of the entry points.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -60,7 +60,7 @@
method of updating character screens with reasonable optimization.
This implementation is "new curses" (ncurses) and is the approved
replacement for 4.4BSD classic curses, which has been discontinued.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
The <STRONG>ncurses</STRONG> library emulates the curses library of System V Release 4
UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI

View File

@ -113,7 +113,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -281,7 +281,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -252,7 +252,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -1,6 +1,6 @@
<!--
****************************************************************************
* Copyright 2019-2020,2021 Thomas E. Dickey *
* Copyright 2019-2022,2023 Thomas E. Dickey *
* Copyright 2010-2015,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: term_variables.3x,v 1.15 2021/12/25 22:03:30 tom Exp @
* @Id: term_variables.3x,v 1.17 2023/01/02 12:17:34 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -119,7 +119,7 @@
tions, although the hash-tables used by the terminfo and termcap func-
tions are not available.
The long terminfo capability names use a "l" (ell) in their names:
The long terminfo capability names use a "f" (eff) in their names:
<STRONG>boolfnames</STRONG>, <STRONG>numfnames</STRONG>, and <STRONG>strfnames</STRONG>.
These are the short names for terminfo capabilities: <STRONG>boolnames</STRONG>, <STRONG>num-</STRONG>

View File

@ -106,7 +106,7 @@
have, by specifying how to perform screen operations, and by specifying
padding requirements and initialization sequences.
This manual describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This manual describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>

View File

@ -469,7 +469,7 @@
<STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,
<STRONG><A HREF="term.5.html">term(5)</A></STRONG>. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -171,7 +171,7 @@
<STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -545,7 +545,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -391,7 +391,7 @@
<STRONG>csh(1)</STRONG>, <STRONG>sh(1)</STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG>tty(4)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>,
<STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG>
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20221231).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20230311).

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2019-2020,2021 Thomas E. Dickey *
.\" Copyright 2019-2021,2023 Thomas E. Dickey *
.\" Copyright 2001-2015,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_add_wch.3x,v 1.31 2021/12/25 21:37:49 tom Exp $
.\" $Id: curs_add_wch.3x,v 1.32 2023/03/11 20:40:45 tom Exp $
.TH curs_add_wch 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -221,7 +221,7 @@ if it is not possible to add a complete character in the window.
.PP
The latter may be due to different causes:
.bP
If \fBscrollok\fP is not enabled,
If \fBscrollok\fP(3X) is not enabled,
writing a character at the lower right margin succeeds.
However, an error is returned because
it is not possible to wrap to a new line

View File

@ -1,6 +1,6 @@
'\" t
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2015,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_addch.3x,v 1.59 2022/02/12 20:07:29 tom Exp $
.\" $Id: curs_addch.3x,v 1.60 2023/03/11 20:39:26 tom Exp $
.TH curs_addch 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -71,10 +71,10 @@ If the advance is at the right margin:
The cursor automatically wraps to the beginning of the next line.
.bP
At the bottom of the current scrolling region,
and if \fBscrollok\fP is enabled,
and if \fBscrollok\fP(3X) is enabled,
the scrolling region is scrolled up one line.
.bP
If \fBscrollok\fP is not enabled,
If \fBscrollok\fP(3X) is not enabled,
writing a character at the lower right margin succeeds.
However, an error is returned because
it is not possible to wrap to a new line
@ -96,7 +96,16 @@ The tab interval may be altered by setting the \fBTABSIZE\fP variable.
.PP
If \fIch\fP is any other nonprintable character,
it is drawn in printable form,
i.e., the \fB^\fIX\fR notation used by \fBunctrl\fR(3X).
using the same convention as \fBunctrl\fR(3X):
.bP
Control characters are displayed in the \fB^\fIX\fR notation.
.bP
Values above 128 are either meta characters (if the screen has not
been initialized, or if \fBmeta\fP(3X) has been called with a \fBTRUE\fP E parameter),
shown in the \fBM\-\fIX\fR notation, or are displayed as themselves.
In the latter case, the values may not be printable;
this follows the X/Open specification.
.PP
Calling \fBwinch\fP after adding a
nonprintable character does not return the character itself,
but instead returns the printable representation of the character.
@ -180,7 +189,7 @@ or if the window pointer is null.
If it is not possible to add a complete character,
an error is returned:
.bP
If \fBscrollok\fP is not enabled,
If \fBscrollok\fP(3X) is not enabled,
writing a character at the lower right margin succeeds.
However, an error is returned because
it is not possible to wrap to a new line

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2019-2021,2022 Thomas E. Dickey *
.\" Copyright 2019-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2012,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_addstr.3x,v 1.26 2022/02/12 20:07:29 tom Exp $
.\" $Id: curs_addstr.3x,v 1.27 2023/03/11 20:40:52 tom Exp $
.TH curs_addstr 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -109,7 +109,7 @@ only part of the string may be added.
Aside from that,
there is a special case in \fBwaddch\fP where an error may be
returned after successfully writing a character to the lower-right corner
of a window when \fBscrollok\fP is disabled.
of a window when \fBscrollok\fP(3X) is disabled.
.SH NOTES
All of these functions except \fBwaddnstr\fP may be macros.
.SH PORTABILITY

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2020-2021,2022 Thomas E. Dickey *
.\" Copyright 2020-2022,2023 Thomas E. Dickey *
.\" Copyright 2007-2014,2015 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_opaque.3x,v 1.18 2022/02/12 20:05:11 tom Exp $
.\" $Id: curs_opaque.3x,v 1.19 2023/03/11 20:40:58 tom Exp $
.TH curs_opaque 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -92,45 +92,45 @@ set in the WINDOW structure, allowing it to be \*(``opaque\*('' if
the symbol \fBNCURSES_OPAQUE\fP is defined:
.TP 5
\fBis_cleared\fP
returns the value set in \fBclearok\fP
returns the value set in \fBclearok\fP(3X)
.TP 5
\fBis_idcok\fP
returns the value set in \fBidcok\fP
returns the value set in \fBidcok\fP(3X)
.TP 5
\fBis_idlok\fP
returns the value set in \fBidlok\fP
returns the value set in \fBidlok\fP(3X)
.TP 5
\fBis_immedok\fP
returns the value set in \fBimmedok\fP
returns the value set in \fBimmedok\fP(3X)
.TP 5
\fBis_keypad\fP
returns the value set in \fBkeypad\fP
returns the value set in \fBkeypad\fP(3X)
.TP 5
\fBis_leaveok\fP
returns the value set in \fBleaveok\fP
returns the value set in \fBleaveok\fP(3X)
.TP 5
\fBis_nodelay\fP
returns the value set in \fBnodelay\fP
returns the value set in \fBnodelay\fP(3X)
.TP 5
\fBis_notimeout\fP
returns the value set in \fBnotimeout\fP
returns the value set in \fBnotimeout\fP(3X)
.TP 5
\fBis_pad\fP
returns \fBTRUE\fP if the window is a pad
i.e., created by \fBnewpad\fP
i.e., created by \fBnewpad\fP(3X)
.TP 5
\fBis_scrollok\fP
returns the value set in \fBscrollok\fP
returns the value set in \fBscrollok\fP(3X)
.TP 5
\fBis_subwin\fP
returns \fBTRUE\fP if the window is a subwindow,
i.e., created by \fBsubwin\fP or \fBderwin\fP
i.e., created by \fBsubwin\fP(3X) or \fBderwin\fP(3X)
.TP 5
\fBis_syncok\fP
returns the value set in \fBsyncok\fP
returns the value set in \fBsyncok\fP(3X)
.TP 5
\fBwgetdelay\fP
returns the delay timeout as set in \fBwtimeout\fP.
returns the delay timeout as set in \fBwtimeout\fP(3X).
.TP 5
\fBwgetparent\fP
returns the parent WINDOW pointer for subwindows,

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2010,2016 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_refresh.3x,v 1.25 2022/02/12 20:05:11 tom Exp $
.\" $Id: curs_refresh.3x,v 1.26 2023/03/11 20:41:02 tom Exp $
.TH curs_refresh 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -73,7 +73,7 @@ the named window to the \fIphysical screen\fP,
taking into account what is already there to do optimizations.
The \fBrefresh\fP routine is the
same, using \fBstdscr\fP as the default window.
Unless \fBleaveok\fP has been
Unless \fBleaveok\fP(3X) has been
enabled, the physical cursor of the terminal is left at the location of the
cursor for that window.
.SS wnoutrefresh/doupdate

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2006,2010 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_scroll.3x,v 1.22 2022/02/12 20:05:11 tom Exp $
.\" $Id: curs_scroll.3x,v 1.23 2023/03/11 20:41:05 tom Exp $
.TH curs_scroll 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -65,7 +65,7 @@ This involves moving the lines in the
window character image structure.
The current cursor position is not changed.
.PP
For these functions to work, scrolling must be enabled via \fBscrollok\fP.
For these functions to work, scrolling must be enabled via \fBscrollok\fP(3X).
.SH RETURN VALUE
These routines return \fBERR\fP upon failure, and \fBOK\fP (SVr4 only specifies
"an integer value other than \fBERR\fP") upon successful completion.
@ -74,7 +74,7 @@ X/Open defines no error conditions.
.PP
This implementation returns an error
if the window pointer is null, or
if scrolling is not enabled in the window, e.g., with \fBscrollok\fP.
if scrolling is not enabled in the window, e.g., with \fBscrollok\fP(3X).
.SH NOTES
Note that \fBscrl\fP and \fBscroll\fP may be macros.
.PP

View File

@ -1,5 +1,5 @@
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2010,2015 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_termattrs.3x,v 1.19 2022/02/12 20:05:11 tom Exp $
.\" $Id: curs_termattrs.3x,v 1.20 2023/03/11 20:41:12 tom Exp $
.TH curs_termattrs 3X ""
.SH NAME
\fBbaudrate\fP,
@ -89,7 +89,7 @@ The \fBhas_il\fP routine is true if the terminal has insert- and delete-line
capabilities, or can simulate them using scrolling regions.
This might
be used to determine if it would be appropriate to turn on physical
scrolling using \fBscrollok\fP.
scrolling using \fBscrollok\fP(3X).
.SS killchar, killwchar
.PP
The \fBkillchar\fP routine returns the user's current line kill character.

View File

@ -1,6 +1,6 @@
'\" t
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2015,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_util.3x,v 1.65 2022/02/12 20:06:41 tom Exp $
.\" $Id: curs_util.3x,v 1.66 2023/03/11 20:28:02 tom Exp $
.TH curs_util 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -89,6 +89,7 @@ The \fBunctrl\fP routine returns a character string which is a printable
representation of the character \fIc\fP, ignoring attributes.
Control characters are displayed in the \fB^\fIX\fR notation.
Printing characters are displayed as is.
.PP
The corresponding \fBwunctrl\fP returns a printable representation of
a wide character.
.SS keyname/key_name

View File

@ -1,6 +1,6 @@
'\" t
.\"***************************************************************************
.\" Copyright 2018-2021,2022 Thomas E. Dickey *
.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2017,2018 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@ -28,7 +28,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: infocmp.1m,v 1.81 2022/02/12 20:02:20 tom Exp $
.\" $Id: infocmp.1m,v 1.82 2023/03/05 00:05:39 tom Exp $
.TH @INFOCMP@ 1M ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -487,11 +487,23 @@ see \fBterminfo\fP(\*n) for details.
.bP
You can also choose the subset \*(``BSD\*('' which selects only capabilities
with termcap equivalents recognized by 4.4BSD.
The \fB\-C\fP option sets the \*(``BSD\*('' subset as a side-effect.
.bP
If you select any other value for \fB\-R\fP,
it is the same as no subset, i.e., all capabilities are used.
The \fB\-I\fP option likewise selects no subset as a side-effect.
.RE
.IP
A few options override the subset selected with \fB\-R\fP,
if they are processed later in the command parameters:
.RS
.TP 5
\fB\-C\fP
sets the \*(``BSD\*('' subset as a side-effect.
.TP 5
\fB\-I\fP
sets the subset to all capabilities.
.TP 5
\fB\-r\fP
sets the subset to all capabilities.
.RE
.TP
\fB\-s \fI[d|i|l|c]\fR

View File

@ -38,7 +38,7 @@
#include <curses.priv.h>
MODULE_ID("$Id: lib_win32con.c,v 1.11 2023/02/12 00:31:33 tom Exp $")
MODULE_ID("$Id: lib_win32con.c,v 1.12 2023/02/26 19:55:10 tom Exp $")
#ifdef _NC_WINDOWS
@ -1193,7 +1193,7 @@ _nc_console_checkinit(bool initFlag, bool assumeTermInfo)
for (i = 0; i < CON_NUMPAIRS; i++)
WINCONSOLE.pairs[i] = a;
#define SaveConsoleMode(handle, data) \
#define SaveConsoleMode(handle, value) \
GetConsoleMode(WINCONSOLE.handle, &WINCONSOLE.originalMode.value)
if (WINCONSOLE.isTermInfoConsole) {

View File

@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2018-2021,2022 Thomas E. Dickey *
* Copyright 2018-2022,2023 Thomas E. Dickey *
* Copyright 1998-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -51,7 +51,7 @@
#define TRACE_NUM(n) /* nothing */
#endif
MODULE_ID("$Id: write_entry.c,v 1.120 2022/04/23 19:59:10 tom Exp $")
MODULE_ID("$Id: write_entry.c,v 1.121 2023/03/05 18:45:59 tom Exp $")
static int total_written;
static int total_parts;
@ -473,7 +473,7 @@ _nc_write_entry(TERMTYPE2 *const tp)
if (strcmp(filename, linkname) == 0) {
_nc_warning("self-synonym ignored");
} else if (stat(linkname, &statbuf) >= 0 &&
statbuf.st_mtime < start_time) {
statbuf.st_mtime > start_time) {
_nc_warning("alias %s multiply defined.", ptr);
} else if (_nc_access(linkname, W_OK) == 0)
#if HAVE_LINK

View File

@ -76,7 +76,7 @@
#endif
#undef CUR
MODULE_ID("$Id: lib_twait.c,v 1.79 2023/02/25 21:59:30 tom Exp $")
MODULE_ID("$Id: lib_twait.c,v 1.80 2023/03/04 23:47:00 tom Exp $")
/*
* Returns an elapsed time, in milliseconds (if possible).
@ -100,8 +100,8 @@ _nc_gettime(TimeType * t0, int first)
t1.sub_secs += TimeScale;
t1.tv_sec--;
}
res = (t1.tv_sec - t0->tv_sec) * 1000L
+ (t1.sub_secs - t0->sub_secs) / (TimeScale / 1000L);
res = (long) ((t1.tv_sec - t0->tv_sec) * 1000L
+ (t1.sub_secs - t0->sub_secs) / (TimeScale / 1000L));
}
#else
time_t t1 = time((time_t *) 0);

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20230225) unstable; urgency=low
ncurses6 (6.4+20230311) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 Feb 2023 07:58:46 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sun, 05 Mar 2023 13:16:04 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20230225) unstable; urgency=low
ncurses6 (6.4+20230311) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 Feb 2023 07:58:46 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sun, 05 Mar 2023 13:16:04 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20230225) unstable; urgency=low
ncurses6 (6.4+20230311) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 Feb 2023 07:58:46 -0500
-- Thomas E. Dickey <dickey@invisible-island.net> Sun, 05 Mar 2023 13:16:04 -0500
ncurses6 (5.9+20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.567 2023/02/25 12:58:46 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.569 2023/03/05 18:16:04 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "4"
!define VERSION_YYYY "2023"
!define VERSION_MMDD "0225"
!define VERSION_MMDD "0311"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
!define MY_ABI "5"

View File

@ -3,7 +3,7 @@
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.4
Release: 20230225
Release: 20230311
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.4
Release: 20230225
Release: 20230311
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/

View File

@ -1,7 +1,7 @@
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.4
Release: 20230225
Release: 20230311
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz