ncurses 6.2 - patch 20201107

+ update kitty+common -TD
+ add putty+screen and putty-screen (suggested by Alexandre Montaron).
+ explain in ncurses.3x that functions in the tinfo library do not rely
  upon wide-characters (prompted by discussion with Reuben Thomas).
This commit is contained in:
Thomas E. Dickey 2020-11-08 00:48:44 +00:00
parent d1cc319afc
commit 14d46fadc4
32 changed files with 230 additions and 130 deletions

8
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.3587 2020/10/31 23:19:16 tom Exp $
-- $Id: NEWS,v 1.3589 2020/11/07 23:52:28 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.
20201107
+ update kitty+common -TD
+ add putty+screen and putty-screen (suggested by Alexandre Montaron).
+ explain in ncurses.3x that functions in the tinfo library do not rely
upon wide-characters (prompted by discussion with Reuben Thomas).
20201031
+ modify MKterm.h.in so that it is not necessary to include <curses.h>
before <term.h> (prompted by discussion with Reuben Thomas).

View File

@ -1 +1 @@
5:0:10 6.2 20201031
5:0:10 6.2 20201107

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1383 2020/10/31 12:02:02 tom Exp $
# $Id: dist.mk,v 1.1384 2020/11/07 12:57:22 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 = 2
NCURSES_PATCH = 20201031
NCURSES_PATCH = 20201107
# 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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -149,7 +149,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>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_termcap.3x,v 1.45 2020/10/24 09:24:31 tom Exp @
* @Id: curs_termcap.3x,v 1.46 2020/11/07 23:39:47 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -48,7 +48,7 @@
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
<STRONG>PC</STRONG>, <STRONG>UP</STRONG>, <STRONG>BC</STRONG>, <STRONG>ospeed</STRONG>, <STRONG>tgetent</STRONG>, <STRONG>tgetflag</STRONG>, <STRONG>tgetnum</STRONG>, <STRONG>tgetstr</STRONG>, <STRONG>tgoto</STRONG>, <STRONG>tputs</STRONG> -
direct <STRONG>curses</STRONG> interface to the terminfo capability database
<STRONG>curses</STRONG> emulation of termcap
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>

View File

@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_terminfo.3x,v 1.66 2020/10/31 23:15:44 tom Exp @
* @Id: curs_terminfo.3x,v 1.67 2020/11/07 23:49:07 tom Exp @
* ***************************************************************************
* ***************************************************************************
* ***************************************************************************
@ -102,6 +102,14 @@
ities, such as programming function keys. For all other functionality,
<STRONG>curses</STRONG> routines are more suitable and their use is recommended.
None of these functions use (or are aware of) multibyte character
strings such as UTF-8:
<STRONG>o</STRONG> capability names use the POSIX portable character set
<STRONG>o</STRONG> capability string values have no associated encoding; they are
strings of 8-bit characters.
</PRE><H3><a name="h3-Initialization">Initialization</a></H3><PRE>
Initially, <STRONG>setupterm</STRONG> should be called. The high-level curses functions
@ -380,6 +388,7 @@
saveterm save current modes as "in curses" state
savetty store current tty flags
setterm establish terminal with given type
setupterm establish terminal with given type
tparm instantiate a string expression with parameters
tputs apply padding information to a string

View File

@ -247,7 +247,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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -512,7 +512,7 @@
https://invisible-island.net/ncurses/tctest.html
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</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="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -222,7 +222,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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: ncurses.3x,v 1.149 2020/10/03 20:15:52 tom Exp @
* @Id: ncurses.3x,v 1.150 2020/11/07 23:48:27 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
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
@ -1226,101 +1226,125 @@
filing libraries add a "_g" and a "_p" to the root names respec-
tively, e.g., <STRONG>libncurses_g.a</STRONG> and <STRONG>libncurses_p.a</STRONG>.
--with-termlib
Low-level functions which do not depend upon whether the library
supports wide-characters, are provided in the tinfo library.
By doing this, it is possible to share the tinfo library between
wide/normal configurations as well as reduce the size of the
library when only low-level functions are needed.
Those functions are described in these pages:
<STRONG>o</STRONG> <STRONG><A HREF="curs_extend.3x.html">curs_extend(3x)</A></STRONG> - miscellaneous curses extensions
<STRONG>o</STRONG> <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> - <STRONG>curses</STRONG> input options
<STRONG>o</STRONG> <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> - low-level <STRONG>curses</STRONG> routines
<STRONG>o</STRONG> <STRONG><A HREF="curs_termattrs.3x.html">curs_termattrs(3x)</A></STRONG> - <STRONG>curses</STRONG> environment query routines
<STRONG>o</STRONG> <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG> - <STRONG>curses</STRONG> emulation of termcap
<STRONG>o</STRONG> <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> - <STRONG>curses</STRONG> interfaces to terminfo database
<STRONG>o</STRONG> <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> - miscellaneous <STRONG>curses</STRONG> utility routines
--with-trace
The <STRONG>trace</STRONG> function normally resides in the debug library, but it
The <STRONG>trace</STRONG> function normally resides in the debug library, but it
is sometimes useful to configure this in the shared library. Con-
figure scripts should check for the function's existence rather
figure scripts should check for the function's existence rather
than assuming it is always in the debug library.
</PRE><H2><a name="h2-FILES">FILES</a></H2><PRE>
/usr/share/tabset
directory containing initialization files for the terminal capa-
directory containing initialization files for the terminal capa-
bility database /usr/share/terminfo terminal capability database
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> and related pages whose names begin "curs_" for detailed
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> and related pages whose names begin "curs_" for detailed
routine descriptions.
<STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>
<STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG> for user-defined capabilities
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
The <STRONG>ncurses</STRONG> library can be compiled with an option (<STRONG>-DUSE_GETCAP</STRONG>) that
falls back to the old-style /etc/termcap file if the terminal setup
code cannot find a terminfo entry corresponding to <STRONG>TERM</STRONG>. Use of this
feature is not recommended, as it essentially includes an entire term-
cap compiler in the <STRONG>ncurses</STRONG> startup code, at significant cost in core
The <STRONG>ncurses</STRONG> library can be compiled with an option (<STRONG>-DUSE_GETCAP</STRONG>) that
falls back to the old-style /etc/termcap file if the terminal setup
code cannot find a terminfo entry corresponding to <STRONG>TERM</STRONG>. Use of this
feature is not recommended, as it essentially includes an entire term-
cap compiler in the <STRONG>ncurses</STRONG> startup code, at significant cost in core
and startup cycles.
The <STRONG>ncurses</STRONG> library includes facilities for capturing mouse events on
certain terminals (including xterm). See the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual
The <STRONG>ncurses</STRONG> library includes facilities for capturing mouse events on
certain terminals (including xterm). See the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual
page for details.
The <STRONG>ncurses</STRONG> library includes facilities for responding to window resiz-
ing events, e.g., when running in an xterm. See the <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG> and
<STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG> manual pages for details. In addition, the library may be
<STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG> manual pages for details. In addition, the library may be
configured with a <STRONG>SIGWINCH</STRONG> handler.
The <STRONG>ncurses</STRONG> library extends the fixed set of function key capabilities
of terminals by allowing the application designer to define additional
key sequences at runtime. See the <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>, and
The <STRONG>ncurses</STRONG> library extends the fixed set of function key capabilities
of terminals by allowing the application designer to define additional
key sequences at runtime. See the <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>, and
<STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG> manual pages for details.
The <STRONG>ncurses</STRONG> library can exploit the capabilities of terminals which
implement the ISO-6429 SGR 39 and SGR 49 controls, which allow an
application to reset the terminal to its original foreground and back-
The <STRONG>ncurses</STRONG> library can exploit the capabilities of terminals which
implement the ISO-6429 SGR 39 and SGR 49 controls, which allow an
application to reset the terminal to its original foreground and back-
ground colors. From the users' perspective, the application is able to
draw colored text on a background whose color is set independently,
providing better control over color contrasts. See the <STRONG>default_col-</STRONG>
draw colored text on a background whose color is set independently,
providing better control over color contrasts. See the <STRONG>default_col-</STRONG>
<STRONG><A HREF="default_colors.3x.html">ors(3x)</A></STRONG> manual page for details.
The <STRONG>ncurses</STRONG> library includes a function for directing application out-
put to a printer attached to the terminal device. See the
The <STRONG>ncurses</STRONG> library includes a function for directing application out-
put to a printer attached to the terminal device. See the
<STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG> manual page for details.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
The <STRONG>ncurses</STRONG> library is intended to be BASE-level conformant with XSI
Curses. The EXTENDED XSI Curses functionality (including color sup-
The <STRONG>ncurses</STRONG> library is intended to be BASE-level conformant with XSI
Curses. The EXTENDED XSI Curses functionality (including color sup-
port) is supported.
A small number of local differences (that is, individual differences
between the XSI Curses and <STRONG>ncurses</STRONG> calls) are described in <STRONG>PORTABILITY</STRONG>
A small number of local differences (that is, individual differences
between the XSI Curses and <STRONG>ncurses</STRONG> calls) are described in <STRONG>PORTABILITY</STRONG>
sections of the library man pages.
</PRE><H3><a name="h3-Error-checking">Error checking</a></H3><PRE>
In many cases, X/Open Curses is vague about error conditions, omitting
In many cases, X/Open Curses is vague about error conditions, omitting
some of the SVr4 documentation.
Unlike other implementations, this one checks parameters such as point-
ers to WINDOW structures to ensure they are not null. The main reason
for providing this behavior is to guard against programmer error. The
standard interface does not provide a way for the library to tell an
ers to WINDOW structures to ensure they are not null. The main reason
for providing this behavior is to guard against programmer error. The
standard interface does not provide a way for the library to tell an
application which of several possible errors were detected. Relying on
this (or some other) extension will adversely affect the portability of
curses applications.
</PRE><H3><a name="h3-Extensions-versus-portability">Extensions versus portability</a></H3><PRE>
Most of the extensions provided by ncurses have not been standardized.
Most of the extensions provided by ncurses have not been standardized.
Some have been incorporated into other implementations, such as
PDCurses or NetBSD curses. Here are a few to consider:
<STRONG>o</STRONG> The routine <STRONG>has_key</STRONG> is not part of XPG4, nor is it present in SVr4.
See the <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> manual page for details.
<STRONG>o</STRONG> The routine <STRONG>slk_attr</STRONG> is not part of XPG4, nor is it present in
<STRONG>o</STRONG> The routine <STRONG>slk_attr</STRONG> is not part of XPG4, nor is it present in
SVr4. See the <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> manual page for details.
<STRONG>o</STRONG> The routines <STRONG>getmouse</STRONG>, <STRONG>mousemask</STRONG>, <STRONG>ungetmouse</STRONG>, <STRONG>mouseinterval</STRONG>, and
<STRONG>wenclose</STRONG> relating to mouse interfacing are not part of XPG4, nor
are they present in SVr4. See the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual page for
<STRONG>o</STRONG> The routines <STRONG>getmouse</STRONG>, <STRONG>mousemask</STRONG>, <STRONG>ungetmouse</STRONG>, <STRONG>mouseinterval</STRONG>, and
<STRONG>wenclose</STRONG> relating to mouse interfacing are not part of XPG4, nor
are they present in SVr4. See the <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> manual page for
details.
<STRONG>o</STRONG> The routine <STRONG>mcprint</STRONG> was not present in any previous curses imple-
<STRONG>o</STRONG> The routine <STRONG>mcprint</STRONG> was not present in any previous curses imple-
mentation. See the <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG> manual page for details.
<STRONG>o</STRONG> The routine <STRONG>wresize</STRONG> is not part of XPG4, nor is it present in SVr4.
@ -1330,61 +1354,61 @@
tion programs. See <STRONG><A HREF="curs_opaque.3x.html">curs_opaque(3x)</A></STRONG> for the discussion of <STRONG>is_scrol-</STRONG>
<STRONG>lok</STRONG>, etc.
<STRONG>o</STRONG> This implementation can be configured to provide rudimentary sup-
port for multi-threaded applications. See <STRONG><A HREF="curs_threads.3x.html">curs_threads(3x)</A></STRONG> for
<STRONG>o</STRONG> This implementation can be configured to provide rudimentary sup-
port for multi-threaded applications. See <STRONG><A HREF="curs_threads.3x.html">curs_threads(3x)</A></STRONG> for
details.
<STRONG>o</STRONG> This implementation can also be configured to provide a set of
functions which improve the ability to manage multiple screens.
<STRONG>o</STRONG> This implementation can also be configured to provide a set of
functions which improve the ability to manage multiple screens.
See <STRONG><A HREF="curs_sp_funcs.3x.html">curs_sp_funcs(3x)</A></STRONG> for details.
</PRE><H3><a name="h3-Padding-differences">Padding differences</a></H3><PRE>
In historic curses versions, delays embedded in the capabilities <STRONG>cr</STRONG>,
<STRONG>ind</STRONG>, <STRONG>cub1</STRONG>, <STRONG>ff</STRONG> and <STRONG>tab</STRONG> activated corresponding delay bits in the UNIX
In historic curses versions, delays embedded in the capabilities <STRONG>cr</STRONG>,
<STRONG>ind</STRONG>, <STRONG>cub1</STRONG>, <STRONG>ff</STRONG> and <STRONG>tab</STRONG> activated corresponding delay bits in the UNIX
tty driver. In this implementation, all padding is done by sending NUL
bytes. This method is slightly more expensive, but narrows the inter-
face to the UNIX kernel significantly and increases the package's
bytes. This method is slightly more expensive, but narrows the inter-
face to the UNIX kernel significantly and increases the package's
portability correspondingly.
</PRE><H3><a name="h3-Header-files">Header files</a></H3><PRE>
The header file <STRONG>&lt;curses.h&gt;</STRONG> automatically includes the header files
The header file <STRONG>&lt;curses.h&gt;</STRONG> automatically includes the header files
<STRONG>&lt;stdio.h&gt;</STRONG> and <STRONG>&lt;unctrl.h&gt;</STRONG>.
X/Open Curses has more to say, but does not finish the story:
The inclusion of &lt;curses.h&gt; may make visible all symbols from the
The inclusion of &lt;curses.h&gt; may make visible all symbols from the
headers &lt;stdio.h&gt;, &lt;term.h&gt;, &lt;termios.h&gt;, and &lt;wchar.h&gt;.
Here is a more complete story:
<STRONG>o</STRONG> Starting with BSD curses, all implementations have included
<STRONG>o</STRONG> Starting with BSD curses, all implementations have included
&lt;stdio.h&gt;.
BSD curses included &lt;curses.h&gt; and &lt;unctrl.h&gt; from an internal
BSD curses included &lt;curses.h&gt; and &lt;unctrl.h&gt; from an internal
header "curses.ext" ("ext" was a short name for <EM>externs</EM>).
BSD curses used &lt;stdio.h&gt; internally (for <STRONG>printw</STRONG> and <STRONG>scanw</STRONG>), but
BSD curses used &lt;stdio.h&gt; internally (for <STRONG>printw</STRONG> and <STRONG>scanw</STRONG>), but
nothing in &lt;curses.h&gt; itself relied upon &lt;stdio.h&gt;.
<STRONG>o</STRONG> SVr2 curses added <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>, which relies upon &lt;stdio.h&gt;. That
<STRONG>o</STRONG> SVr2 curses added <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>, which relies upon &lt;stdio.h&gt;. That
is, the function prototype uses <STRONG>FILE</STRONG>.
SVr4 curses added <STRONG>putwin</STRONG> and <STRONG>getwin</STRONG>, which also use &lt;stdio.h&gt;.
X/Open Curses documents all three of these functions.
SVr4 curses and X/Open Curses do not require the developer to
SVr4 curses and X/Open Curses do not require the developer to
include &lt;stdio.h&gt; before including &lt;curses.h&gt;. Both document
curses showing &lt;curses.h&gt; as the only required header.
As a result, standard &lt;curses.h&gt; will always include &lt;stdio.h&gt;.
<STRONG>o</STRONG> X/Open Curses is inconsistent with respect to SVr4 regarding &lt;unc-
<STRONG>o</STRONG> X/Open Curses is inconsistent with respect to SVr4 regarding &lt;unc-
trl.h&gt;.
As noted in <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, ncurses includes &lt;unctrl.h&gt; from
As noted in <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, ncurses includes &lt;unctrl.h&gt; from
&lt;curses.h&gt; (like SVr4).
<STRONG>o</STRONG> X/Open's comments about &lt;term.h&gt; and &lt;termios.h&gt; may refer to HP-UX
@ -1393,55 +1417,55 @@
HP-UX curses includes &lt;term.h&gt; from &lt;curses.h&gt; to declare <STRONG>setupterm</STRONG>
in curses.h, but ncurses (and Solaris curses) do not.
AIX curses includes &lt;term.h&gt; and &lt;termios.h&gt;. Again, ncurses (and
AIX curses includes &lt;term.h&gt; and &lt;termios.h&gt;. Again, ncurses (and
Solaris curses) do not.
<STRONG>o</STRONG> X/Open says that &lt;curses.h&gt; <EM>may</EM> include &lt;term.h&gt;, but there is no
<STRONG>o</STRONG> X/Open says that &lt;curses.h&gt; <EM>may</EM> include &lt;term.h&gt;, but there is no
requirement that it do that.
Some programs use functions declared in both &lt;curses.h&gt; and
&lt;term.h&gt;, and must include both headers in the same module. Very
old versions of AIX curses required including &lt;curses.h&gt; before
&lt;term.h&gt;, and must include both headers in the same module. Very
old versions of AIX curses required including &lt;curses.h&gt; before
including &lt;term.h&gt;.
Because ncurses header files include the headers needed to define
Because ncurses header files include the headers needed to define
datatypes used in the headers, ncurses header files can be included
in any order. But for portability, you should include &lt;curses.h&gt;
in any order. But for portability, you should include &lt;curses.h&gt;
before &lt;term.h&gt;.
<STRONG>o</STRONG> X/Open Curses says <EM>"may</EM> <EM>make</EM> <EM>visible"</EM> because including a header
<STRONG>o</STRONG> X/Open Curses says <EM>"may</EM> <EM>make</EM> <EM>visible"</EM> because including a header
file does not necessarily make all symbols in it visible (there are
ifdef's to consider).
For instance, in ncurses &lt;wchar.h&gt; <EM>may</EM> be included if the proper
symbol is defined, and if ncurses is configured for wide-character
support. If the header is included, its symbols may be made visi-
For instance, in ncurses &lt;wchar.h&gt; <EM>may</EM> be included if the proper
symbol is defined, and if ncurses is configured for wide-character
support. If the header is included, its symbols may be made visi-
ble. That depends on the value used for <STRONG>_XOPEN_SOURCE</STRONG> feature test
macro.
<STRONG>o</STRONG> X/Open Curses documents one required header, in a special case:
&lt;stdarg.h&gt; before &lt;curses.h&gt; to prototype the <STRONG>vw_printw</STRONG> and
<STRONG>vw_scanw</STRONG> functions (as well as the obsolete the <STRONG>vwprintw</STRONG> and <STRONG>vws-</STRONG>
<STRONG>o</STRONG> X/Open Curses documents one required header, in a special case:
&lt;stdarg.h&gt; before &lt;curses.h&gt; to prototype the <STRONG>vw_printw</STRONG> and
<STRONG>vw_scanw</STRONG> functions (as well as the obsolete the <STRONG>vwprintw</STRONG> and <STRONG>vws-</STRONG>
<STRONG>canw</STRONG> functions). Each of those uses a <STRONG>va_list</STRONG> parameter.
The two obsolete functions were introduced in SVr3. The other
functions were introduced in X/Open Curses. In between, SVr4
curses provided for the possibility that an application might
The two obsolete functions were introduced in SVr3. The other
functions were introduced in X/Open Curses. In between, SVr4
curses provided for the possibility that an application might
include either &lt;varargs.h&gt; or &lt;stdarg.h&gt;. Initially, that was done
by using <STRONG>void*</STRONG> for the <STRONG>va_list</STRONG> parameter. Later, a special type
(defined in &lt;stdio.h&gt;) was introduced, to allow for compiler type-
by using <STRONG>void*</STRONG> for the <STRONG>va_list</STRONG> parameter. Later, a special type
(defined in &lt;stdio.h&gt;) was introduced, to allow for compiler type-
checking. That special type is always available, because &lt;stdio.h&gt;
is always included by &lt;curses.h&gt;.
None of the X/Open Curses implementations require an application to
include &lt;stdarg.h&gt; before &lt;curses.h&gt; because they either have
allowed for a special type, or (like ncurses) include &lt;stdarg.h&gt;
include &lt;stdarg.h&gt; before &lt;curses.h&gt; because they either have
allowed for a special type, or (like ncurses) include &lt;stdarg.h&gt;
directly to provide a portable interface.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
If standard output from a <STRONG>ncurses</STRONG> program is re-directed to something
which is not a tty, screen updates will be directed to standard error.
If standard output from a <STRONG>ncurses</STRONG> program is re-directed to something
which is not a tty, screen updates will be directed to standard error.
This was an undocumented feature of AT&amp;T System V Release 3 curses.

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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -206,7 +206,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -105,7 +105,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.2 (patch 20201031).
This manual describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>

View File

@ -461,7 +461,7 @@
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="captoinfo.1m.html">captoinfo(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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

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

View File

@ -523,7 +523,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="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -390,7 +390,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.2 (patch 20201031).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20201107).

View File

@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_termcap.3x,v 1.45 2020/10/24 09:24:31 tom Exp $
.\" $Id: curs_termcap.3x,v 1.46 2020/11/07 23:39:47 tom Exp $
.TH curs_termcap 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -50,7 +50,7 @@
\fBtgetnum\fR,
\fBtgetstr\fR,
\fBtgoto\fR,
\fBtputs\fR \- direct \fBcurses\fR interface to the terminfo capability database
\fBtputs\fR \- \fBcurses\fR emulation of termcap
.ad
.hy
.SH SYNOPSIS

View File

@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_terminfo.3x,v 1.66 2020/10/31 23:15:44 tom Exp $
.\" $Id: curs_terminfo.3x,v 1.67 2020/11/07 23:49:07 tom Exp $
.TH curs_terminfo 3X ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -118,6 +118,14 @@ capabilities, such as programming function keys.
For all other
functionality, \fBcurses\fR routines are more suitable and their use is
recommended.
.PP
None of these functions use (or are aware of) multibyte character strings
such as UTF-8:
.bP
capability names use the POSIX portable character set
.bP
capability string values have no associated encoding;
they are strings of 8-bit characters.
.SS Initialization
.PP
Initially, \fBsetupterm\fR should be called.

View File

@ -28,7 +28,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: ncurses.3x,v 1.149 2020/10/03 20:15:52 tom Exp $
.\" $Id: ncurses.3x,v 1.150 2020/11/07 23:48:27 tom Exp $
.hy 0
.TH ncurses 3X ""
.ie \n(.g .ds `` \(lq
@ -1306,6 +1306,32 @@ The debug and profiling libraries add a \*(``_g\*(''
and a \*(``_p\*('' to the root names respectively,
e.g., \fBlibncurses_g.a\fP and \fBlibncurses_p.a\fP.
.TP 5
\-\-with\-termlib
Low-level functions which do not depend upon whether the library
supports wide-characters, are provided in the tinfo library.
.IP
By doing this, it is possible to share the tinfo library between
wide/normal configurations as well as reduce the size of the library
when only low-level functions are needed.
.IP
Those functions are described in these pages:
.RS
.bP
\fBcurs_extend\fP(3X) \- miscellaneous curses extensions
.bP
\fBcurs_inopts\fR(3X) \- \fBcurses\fR input options
.bP
\fBcurs_kernel\fR(3X) \- low-level \fBcurses\fR routines
.bP
\fBcurs_termattrs\fR(3X) \- \fBcurses\fR environment query routines
.bP
\fBcurs_termcap\fR(3X) \- \fBcurses\fR emulation of termcap
.bP
\fBcurs_terminfo\fR(3X) \- \fBcurses\fR interfaces to terminfo database
.bP
\fBcurs_util\fR(3X) \- miscellaneous \fBcurses\fR utility routines
.RE
.TP 5
\-\-with\-trace
The \fBtrace\fP function normally resides in the debug library,
but it is sometimes useful to configure this in the shared library.

View File

@ -6,8 +6,8 @@
# Report bugs and new terminal descriptions to
# bug-ncurses@gnu.org
#
# $Revision: 1.826 $
# $Date: 2020/10/17 22:41:29 $
# $Revision: 1.829 $
# $Date: 2020/11/08 00:03:03 $
#
# The original header is preserved below for reference. It is noted that there
# is a "newer" version which differs in some cosmetic details (but actually
@ -7100,7 +7100,6 @@ alacritty+common|base fragment for alacritty,
#### Kitty
# https://github.com/kovidgoyal/kitty
# Version 0.13.3
# Project started in 2016/10 (see alacritty), but is a Python script rather
# than Rust, using OpenGL. The same caveats regarding remote connections
# apply. This is not an X terminal, though (like alacritty), it copies
@ -7115,6 +7114,23 @@ alacritty+common|base fragment for alacritty,
# http://lists.gnu.org/archive/html/bug-ncurses/2018-09/msg00005.html
# https://github.com/kovidgoyal/kitty/issues/879
#
# Version 0.19.1
# changes since 0.13.3:
# vttest
# ISO-6429
# REP works, though using unspecified behavior
# xterm
# xterm's SGR-mouse mode is recognized.
# does recognize original alternate-screen
# bug: mouse focus in/out does not work.
# bug: X10 mouse mode responds like any-event
# bug: highlight-tracking does not work; terminal hangs.
#
# tack
# rs1 adds an empty string for resetting title- and other OSC-strings.
# italics work
#
# Version 0.13.3
# Notes:
# initial screensize 71x22
# does not respond to "resize -s"
@ -7204,17 +7220,18 @@ kitty+common|KovId's TTY common properties,
kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf4=\EOS,
kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
khome=\EOH, kich1=\E[2~, kind=\E[1;2B, kmous=\E[M,
knp=\E[6~, kpp=\E[5~, kri=\E[1;2A, op=\E[39;49m, rc=\E8,
rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec, sc=\E7,
khome=\EOH, kich1=\E[2~, kind=\E[1;2B, knp=\E[6~,
kpp=\E[5~, kri=\E[1;2A, op=\E[39;49m, rc=\E8, rev=\E[7m,
ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l,
rmso=\E[27m, rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;
%?%p1%p3%|%t;7%;m,
sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
smkx=\E[?1h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
vpa=\E[%i%p1%dd, use=ecma+index, use=xterm+sl-twm,
use=ecma+strikeout, use=xterm+pce2, use=xterm+pcc2,
use=ecma+italics, use=xterm+alt1049,
vpa=\E[%i%p1%dd, use=ansi+rep, use=xterm+sm+1006,
use=ecma+index, use=xterm+sl-twm, use=ecma+strikeout,
use=xterm+pce2, use=xterm+pcc2, use=ecma+italics,
use=xterm+alt1049,
######## WEB CLIENTS
@ -21045,16 +21062,16 @@ putty-m1|Putty Minitel 1 "like" Couleurs,
dim@, kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
kf5=\E[15~, rmcup=\E[2J\E[?47l\E8, rmul=\E[24m,
smcup=\E7\E[?47h, smul=\E[4m, .E3=\E[300S,
.WS=\E[8;%d;%dt, Z0=\E[?3h, Z1=\E[?3l, use=xterm+sl-twm,
use=ecma+index, use=linux-m1,
use=putty+screen, use=xterm+sl-twm, use=ecma+index,
use=linux-m1,
putty-m1b|Putty Minitel 1B "like" Monochrome (Gris/Blanc/Noir),
hs,
dim@, kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
kf5=\E[15~, rmcup=\E[2J\E[?47l\E8, rmul=\E[24m,
smcup=\E7\E[?47h, smul=\E[4m, .E3=\E[300S,
.WS=\E[8;%d;%dt, Z0=\E[?3h, Z1=\E[?3l, use=xterm+sl-twm,
use=ecma+index, use=linux-m1b,
use=putty+screen, use=xterm+sl-twm, use=ecma+index,
use=linux-m1b,
putty-m2|Putty Minitel 2 "like" Couleurs (Vert/Blanc/Noir),
hs,
@ -21063,8 +21080,14 @@ putty-m2|Putty Minitel 2 "like" Couleurs (Vert/Blanc/Noir),
dim@, kf1=\E[11~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
kf5=\E[15~, rmcup=\E[2J\E[?47l\E8, rmul=\E[24m,
smcup=\E7\E[?47h, smul=\E[4m, .E3=\E[300S,
.WS=\E[8;%d;%dt, Z0=\E[?3h, Z1=\E[?3l, use=xterm+sl-twm,
use=ecma+index, use=linux-m2,
use=putty+screen, use=xterm+sl-twm, use=ecma+index,
use=linux-m2,
putty+screen|PuTTY with screen resizing extensions,
.WS=\E[8;%p1%d;%p2%dt, Z0=\E[?3h, Z1=\E[?3l,
putty-screen|PuTTY with screen resizing extensions,
WS=\E[8;%p1%d;%p2%dt, Z0=\E[?3h, Z1=\E[?3l, use=putty,
screen.putty-m1|Putty m1 specific for screen,
dim@, rmul=\E[24m, smul=\E[4m, E3@, use=screen.linux-m1,
@ -26697,4 +26720,8 @@ v3220|LANPAR Vision II model 3220/3221/3222,
# 2020-10-17
# + expanded notes about tek4107 -TD
#
# 2020-11-07
# + update kitty+common -TD
# + add putty+screen and putty-screen (suggested by Alexandre Montaron).
#
######## SHANTIH! SHANTIH! SHANTIH!

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20201031) unstable; urgency=low
ncurses6 (6.2+20201107) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 31 Oct 2020 08:02:02 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 07 Nov 2020 07:57:22 -0500
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20201031) unstable; urgency=low
ncurses6 (6.2+20201107) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 31 Oct 2020 08:02:02 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 07 Nov 2020 07:57:22 -0500
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20201031) unstable; urgency=low
ncurses6 (6.2+20201107) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 31 Oct 2020 08:02:02 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 07 Nov 2020 07:57:22 -0500
ncurses6 (5.9-20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.427 2020/10/31 12:02:02 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.428 2020/11/07 12:57:22 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "2"
!define VERSION_YYYY "2020"
!define VERSION_MMDD "1031"
!define VERSION_MMDD "1107"
!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.2
Release: 20201031
Release: 20201107
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.2
Release: 20201031
Release: 20201107
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

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