From: Thomas E. Dickey Date: Sun, 16 Jun 2019 00:13:35 +0000 (+0000) Subject: ncurses 6.1 - patch 20190615 X-Git-Tag: v6.2~34 X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff_plain;h=51a395aaa20e4aa687310bb8cb1616ccf8e8fd0d ncurses 6.1 - patch 20190615 + expand the portability section of the man/tabs.1 manual page. + regenerate HTML manpages. --- diff --git a/NEWS b/NEWS index 66b3c9f8..023649d2 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3329 2019/06/09 20:07:36 tom Exp $ +-- $Id: NEWS,v 1.3332 2019/06/15 23:39:53 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,10 @@ 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. +20190615 + + expand the portability section of the man/tabs.1 manual page. + + regenerate HTML manpages. + 20190609 + add mintty, mintty-direct (adapted from patch by Thomas Wolff). Some of the suggested user-defined capabilities are commented-out, diff --git a/VERSION b/VERSION index 59a811fa..7068aa5b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.1 20190609 +5:0:10 6.1 20190615 diff --git a/dist.mk b/dist.mk index 9ec52a51..5878c74d 100644 --- a/dist.mk +++ b/dist.mk @@ -25,7 +25,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1287 2019/06/09 20:06:01 tom Exp $ +# $Id: dist.mk,v 1.1288 2019/06/15 12:46:35 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -37,7 +37,7 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 1 -NCURSES_PATCH = 20190609 +NCURSES_PATCH = 20190615 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) diff --git a/doc/html/ada/funcs/T.htm b/doc/html/ada/funcs/T.htm index 782d38b7..098d0da7 100644 --- a/doc/html/ada/funcs/T.htm +++ b/doc/html/ada/funcs/T.htm @@ -20,8 +20,8 @@
  • tgetnum
  • tgetstr - terminal_interface-curses-termcap.adb:108
  • tgetstr - terminal_interface-curses-termcap.adb:129 -
  • tgoto
  • TGoto +
  • tgoto
  • tigetflag
  • tigetstr - terminal_interface-curses-terminfo.adb:87
  • tigetstr - terminal_interface-curses-terminfo.adb:108 diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index cf21a4ef..88b9e229 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -125,7 +125,7 @@

    SEE ALSO

            curses(3x)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/captoinfo.1m.html b/doc/html/man/captoinfo.1m.html
    index 1b764725..7748893c 100644
    --- a/doc/html/man/captoinfo.1m.html
    +++ b/doc/html/man/captoinfo.1m.html
    @@ -190,7 +190,7 @@
     

    SEE ALSO

            infocmp(1m), curses(3x), terminfo(5)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/clear.1.html b/doc/html/man/clear.1.html
    index eb1ccb05..41a525b7 100644
    --- a/doc/html/man/clear.1.html
    +++ b/doc/html/man/clear.1.html
    @@ -148,7 +148,7 @@
     

    SEE ALSO

            tput(1), terminfo(5)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/curs_variables.3x.html b/doc/html/man/curs_variables.3x.html
    index 50a5fa07..afeca3b2 100644
    --- a/doc/html/man/curs_variables.3x.html
    +++ b/doc/html/man/curs_variables.3x.html
    @@ -26,7 +26,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: curs_variables.3x,v 1.12 2019/02/16 23:43:23 tom Exp @
    +  * @Id: curs_variables.3x,v 1.13 2019/06/01 22:51:21 tom Exp @
     -->
     
     
    @@ -158,14 +158,18 @@
                ch(3x) as well as the physical screen with mvcur(3x).
     
            o   This implementation uses the current value of TABSIZE only for  up-
    -           dating  the  virtual  screen.   It  uses the terminal description's
    -           init_tabs capability  for  computing  tab  stops  on  the  physical
    -           screen.
    +           dating  the  virtual screen.  It uses the terminal description's it
    +           (init_tabs) capability for computing hardware tabs (i.e., tab stops
    +           on the physical screen).
     
            o   Other  implementations  differ.  For instance, NetBSD curses allows
                TABSIZE to be set through an environment variable.  This  implemen-
                tation does not.
     
    +           NetBSD curses does not support hardware tabs; it uses the init_tabs
    +           capability and the TABSIZE variable only for updating  the  virtual
    +           screen.
    +
            ESCDELAY is an extension in AIX curses:
     
            o   In AIX, the units for ESCDELAY are fifths of a millisecond.
    diff --git a/doc/html/man/form.3x.html b/doc/html/man/form.3x.html
    index 6e4bb87a..c5cc022f 100644
    --- a/doc/html/man/form.3x.html
    +++ b/doc/html/man/form.3x.html
    @@ -246,7 +246,7 @@
            curses(3x)  and  related  pages  whose names begin "form_" for detailed
            descriptions of the entry points.
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/infocmp.1m.html b/doc/html/man/infocmp.1m.html
    index 20ee73ec..85584726 100644
    --- a/doc/html/man/infocmp.1m.html
    +++ b/doc/html/man/infocmp.1m.html
    @@ -481,7 +481,7 @@
     
            https://invisible-island.net/ncurses/tctest.html
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/infotocap.1m.html b/doc/html/man/infotocap.1m.html
    index 7e647d8d..0f04aa30 100644
    --- a/doc/html/man/infotocap.1m.html
    +++ b/doc/html/man/infotocap.1m.html
    @@ -85,7 +85,7 @@
     

    SEE ALSO

            curses(3x), tic(1m), infocmp(1m), terminfo(5)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/menu.3x.html b/doc/html/man/menu.3x.html
    index 30cce931..7bc3f8fb 100644
    --- a/doc/html/man/menu.3x.html
    +++ b/doc/html/man/menu.3x.html
    @@ -221,7 +221,7 @@
            curses(3x)  and  related  pages  whose names begin "menu_" for detailed
            descriptions of the entry points.
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/menu_spacing.3x.html b/doc/html/man/menu_spacing.3x.html
    index 9865a5e8..13e64d8a 100644
    --- a/doc/html/man/menu_spacing.3x.html
    +++ b/doc/html/man/menu_spacing.3x.html
    @@ -1,7 +1,7 @@
     
     
     
    @@ -74,7 +74,7 @@
            lines  between item rows, these lines will contain the pad character in
            the appropriate positions.  The spc_columns parameter controls the num-
            ber  of  blanks  between  columns of items.  It must not be larger than
    -       TABSIZE.  A value of 0 for all the spacing values resets  them  to  the
    +       TABSIZE.  A value of 0 for all the spacing values resets  them  to  the
            default, which is 1 for all of them.
            The  function  menu_spacing  passes back the spacing info for the menu.
            If a pointer is NULL, this specific info is simply not returned.
    diff --git a/doc/html/man/ncurses.3x.html b/doc/html/man/ncurses.3x.html
    index 5a8d917a..26f8865c 100644
    --- a/doc/html/man/ncurses.3x.html
    +++ b/doc/html/man/ncurses.3x.html
    @@ -59,7 +59,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 ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
            The  ncurses  library emulates the curses library of System V Release 4
            UNIX, and XPG4 (X/Open Portability Guide) curses  (also  known  as  XSI
    diff --git a/doc/html/man/ncurses6-config.1.html b/doc/html/man/ncurses6-config.1.html
    index 7345d2bf..beb36ba7 100644
    --- a/doc/html/man/ncurses6-config.1.html
    +++ b/doc/html/man/ncurses6-config.1.html
    @@ -112,7 +112,7 @@
     

    SEE ALSO

            curses(3x)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/panel.3x.html b/doc/html/man/panel.3x.html
    index 0a199d10..1a5abb26 100644
    --- a/doc/html/man/panel.3x.html
    +++ b/doc/html/man/panel.3x.html
    @@ -204,7 +204,7 @@
     

    SEE ALSO

            curses(3x), curs_variables(3x),
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/tabs.1.html b/doc/html/man/tabs.1.html
    index bdd8f6ac..b921bf85 100644
    --- a/doc/html/man/tabs.1.html
    +++ b/doc/html/man/tabs.1.html
    @@ -26,7 +26,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: tabs.1,v 1.20 2019/02/16 23:56:38 tom Exp @
    +  * @Id: tabs.1,v 1.25 2019/06/15 23:08:12 tom Exp @
     -->
     
     
    @@ -70,7 +70,13 @@
            tions running in the terminal, if at all.  Curses and other full-screen
            applications  may  use  hardware tabs in optimizing their output to the
            terminal.  If the hardware tabstops differ from the information in  the
    -       terminal database, the result is unpredictable.
    +       terminal  database, the result is unpredictable.  Before running curses
    +       programs, you should either reset tab-stops to the standard interval
    +
    +           tabs -8
    +
    +       or use the reset program, since the normal initialization sequences  do
    +       not ensure that tab-stops are reset.
     
     
     

    OPTIONS

    @@ -151,26 +157,51 @@
            (POSIX.1-2008) describes a tabs utility.  However
     
            o   This  standard describes a +m option, to set a terminal's left-mar-
    -           gin.  Very few of the entries in the terminal database provide this
    -           capability.
    +           gin.  Very few of the entries in the terminal database provide  the
    +           smgl  (set_left_margin)  or smglp (set_left_margin_parm) capability
    +           needed to support the feature.
     
    -       o   There  is no counterpart in X/Open Curses Issue 7 for this utility,
    +       o   There is no counterpart in X/Open Curses Issue 7 for this  utility,
                unlike tput(1).
     
    -       The -d (debug) and -n (no-op) options are extensions  not  provided  by
    +       The  -d  (debug)  and -n (no-op) options are extensions not provided by
            other implementations.
     
    -       Documentation for other implementations states that there is a limit on
    -       the number of tab stops.  While some terminals may not accept an  arbi-
    -       trary  number of tab stops, this implementation will attempt to set tab
    -       stops up to the right margin of the screen, if the given  list  happens
    -       to be that long.
    +       A tabs utility appeared in PWB/Unix 1.0 (1977), and thereafter in  3BSD
    +       (1979).  It supported a single "-n" option (to cause the first tab stop
    +       to be set on the left margin).  That option is not documented by POSIX.
    +       Initially, tabs used built-in tables rather than the terminal database,
    +       to support a half-dozen terminal types.  It also had built-in logic  to
    +       support  the left-margin, as well as a feature for copying the tab set-
    +       tings from a file.
    +
    +       Later versions of Unix, e.g., SVr4,  added  support  for  the  terminal
    +       database,  but  kept the tables, as a fallback.  In an earlier develop-
    +       ment effort, the tab-stop initialization provided by  tset  (1982)  and
    +       incorporated into tput uses the terminal database,
    +
    +       POSIX  documents  no  limits on the number of tab stops.  Documentation
    +       for other implementations states that there is a limit on the number of
    +       tab  stops.  While some terminals may not accept an arbitrary number of
    +       tab stops, this implementation will attempt to set tab stops up to  the
    +       right margin of the screen, if the given list happens to be that long.
    +
    +       The  Rationale section of the POSIX documentation goes into some detail
    +       about the ways the committee considered redesigning the tabs  and  tput
    +       utilities, without proposing an improved solution.  It comments that
    +
    +            no  known  historical  version  of tabs supports the capability of
    +            setting arbitrary tab stops.
    +
    +       However, the Explicit Lists described in this manual page  were  imple-
    +       mented  in  PWB/Unix.  Those provide the capability of setting abitrary
    +       tab stops.
     
     
     

    SEE ALSO

            tset(1), infocmp(1m), curses(3x), terminfo(5).
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/terminfo.5.html b/doc/html/man/terminfo.5.html
    index 09ba56ca..5d128260 100644
    --- a/doc/html/man/terminfo.5.html
    +++ b/doc/html/man/terminfo.5.html
    @@ -33,7 +33,7 @@
       ****************************************************************************
       * @Id: terminfo.head,v 1.35 2018/07/28 22:29:09 tom Exp @
       * Head of terminfo man page ends here
    -  * @Id: terminfo.tail,v 1.90 2019/01/20 20:21:46 tom Exp @
    +  * @Id: terminfo.tail,v 1.93 2019/06/01 22:32:15 tom Exp @
       * Beginning of terminfo.tail file
       * This file is part of ncurses.
       * See "terminfo.head" for copyright.
    @@ -74,7 +74,7 @@
            Terminfo describes terminals by giving a set of capabilities which they
            have, by specifying how to perform screen operations, and by specifying
            padding  requirements  and  initialization  sequences.   This describes
    -       ncurses version 6.1 (patch 20190518).
    +       ncurses version 6.1 (patch 20190615).
     
     
     

    Terminfo Entry Syntax

    @@ -1326,7 +1326,7 @@
            applies to storage scope terminals, such as TEKTRONIX 4010  series,  as
            well  as  hard copy and APL terminals.)  If there is a code to move the
            cursor to the left edge of the current row, give this as cr.  (Normally
    -       this  will  be carriage return, control M.)  If there is a code to pro-
    +       this  will  be carriage return, control/M.)  If there is a code to pro-
            duce an audible signal (bell, beep, etc) give this as bel.
     
            If there is a code to move the cursor one position to the left (such as
    @@ -1862,29 +1862,42 @@
     
     
     

    Tabs and Initialization

    -       If  the  terminal has hardware tabs, the command to advance to the next
    -       tab stop can be given as ht (usually control I).  A "back-tab"  command
    -       which moves leftward to the preceding tab stop can be given as cbt.  By
    -       convention, if the teletype modes indicate that tabs are being expanded
    -       by the computer rather than being sent to the terminal, programs should
    -       not use ht or cbt even if they are present, since the user may not have
    -       the  tab  stops  properly set.  If the terminal has hardware tabs which
    -       are initially set every n spaces when the terminal is powered  up,  the
    -       numeric  parameter  it  is given, showing the number of spaces the tabs
    -       are set to.  This is normally used by the  tset  command  to  determine
    -       whether  to set the mode for hardware tab expansion, and whether to set
    -       the tab stops.  If the terminal has tab stops that can be saved in non-
    -       volatile  memory,  the  terminfo  description  can assume that they are
    -       properly set.
    -
    -       Other capabilities include is1, is2, and  is3,  initialization  strings
    -       for  the  terminal, iprog, the path name of a program to be run to ini-
    -       tialize the terminal, and if, the name of a file containing  long  ini-
    -       tialization  strings.   These  strings are expected to set the terminal
    -       into modes consistent with the rest of the terminfo description.   They
    -       are  normally sent to the terminal, by the init option of the tput pro-
    -       gram, each time the user logs in.  They will be printed in the  follow-
    -       ing order:
    +       A few capabilities are used only for tabs:
    +
    +       o   If  the  terminal  has hardware tabs, the command to advance to the
    +           next tab stop can be given as ht (usually control/I).
    +
    +       o   A "back-tab" command which moves leftward to the preceding tab stop
    +           can be given as cbt.
    +
    +           By  convention,  if the teletype modes indicate that tabs are being
    +           expanded by the computer rather than being sent  to  the  terminal,
    +           programs  should  not use ht or cbt even if they are present, since
    +           the user may not have the tab stops properly set.
    +
    +       o   If the terminal has hardware tabs which are initially set  every  n
    +           spaces when the terminal is powered up, the numeric parameter it is
    +           given, showing the number of spaces the tabs are set to.
    +
    +           The it capability is normally used by the tset command to determine
    +           whether  to set the mode for hardware tab expansion, and whether to
    +           set the tab stops.  If the terminal has tab stops that can be saved
    +           in  non-volatile  memory,  the terminfo description can assume that
    +           they are properly set.
    +
    +       Other capabilities include
    +
    +       o   is1, is2, and is3, initialization strings for the terminal,
    +
    +       o   iprog, the path name of a program to be run to initialize the  ter-
    +           minal,
    +
    +       o   and if, the name of a file containing long initialization strings.
    +
    +       These  strings  are  expected to set the terminal into modes consistent
    +       with the rest of the terminfo description.  They are normally  sent  to
    +       the  terminal,  by  the  init option of the tput program, each time the
    +       user logs in.  They will be printed in the following order:
     
                   run the program
                          iprog
    @@ -1903,92 +1916,114 @@
                   and finally
                          output is3.
     
    -       Most  initialization  is  done with is2.  Special terminal modes can be
    -       set up without duplicating strings by putting the common  sequences  in
    +       Most initialization is done with is2.  Special terminal  modes  can  be
    +       set  up  without duplicating strings by putting the common sequences in
            is2 and special cases in is1 and is3.
     
    -       A  set  of  sequences  that  does a harder reset from a totally unknown
    +       A set of sequences that does a harder  reset  from  a  totally  unknown
            state can be given as rs1, rs2, rf and rs3, analogous to is1 , is2 , if
    -       and  is3  respectively.  These strings are output by the reset program,
    -       which is used when the terminal gets into a wedged state.  Commands are
    -       normally  placed  in  rs1, rs2 rs3 and rf only if they produce annoying
    -       effects on the screen and are not necessary when logging in.  For exam-
    -       ple, the command to set the vt100 into 80-column mode would normally be
    -       part of is2, but it causes an annoying glitch of the screen and is  not
    -       normally  needed  since  the  terminal  is usually already in 80 column
    -       mode.
    -
    -       The reset program writes strings including iprog,  etc.,  in  the  same
    -       order  as  the  init program, using rs1, etc., instead of is1, etc.  If
    -       any of rs1, rs2, rs3, or rf reset capability strings are  missing,  the
    +       and is3 respectively.  These strings are output by  the  reset  program
    +       (an  alias of tset), which is used when the terminal gets into a wedged
    +       state.  Commands are normally placed in rs1, rs2 rs3  and  rf  only  if
    +       they  produce annoying effects on the screen and are not necessary when
    +       logging in.  For example, the command to set the vt100  into  80-column
    +       mode would normally be part of is2, but it causes an annoying glitch of
    +       the screen and is not normally needed since  the  terminal  is  usually
    +       already in 80 column mode.
    +
    +       The  reset  program  writes  strings including iprog, etc., in the same
    +       order as the init program, using rs1, etc., instead of  is1,  etc.   If
    +       any  of  rs1, rs2, rs3, or rf reset capability strings are missing, the
            reset program falls back upon the corresponding initialization capabil-
            ity string.
     
    -       If there are commands to set and clear tab stops, they can be given  as
    +       If  there are commands to set and clear tab stops, they can be given as
            tbc (clear all tab stops) and hts (set a tab stop in the current column
    -       of every row).  If a more complex sequence is needed to  set  the  tabs
    +       of  every  row).   If a more complex sequence is needed to set the tabs
            than can be described by this, the sequence can be placed in is2 or if.
     
    +       The tput reset command uses the same capability strings  as  the  reset
    +       command,  although  the two programs (tput and reset) provide different
    +       command-line options.
    +
    +       In practice, these terminfo capabilities are not often used in initial-
    +       ization of tabs (though they are required for the tabs program):
    +
    +       o   Almost all hardware terminals (at least those which supported tabs)
    +           initialized those to every eight columns:
    +
    +           The only exception was the AT&T 2300  series,  which  set  tabs  to
    +           every five columns.
    +
    +       o   In  particular, developers of the hardware terminals which are com-
    +           monly used as models for modern terminal emulators  provided  docu-
    +           mentation demonstrating that eight columns were the standard.
    +
    +       o   Because of this, the terminal initialization programs tput and tset
    +           use  the  tbc  (clear_all_tabs)  and  hts  (set_tab)   capabilities
    +           directly  only when the it (init_tabs) capability is set to a value
    +           other than eight.
    +
     
     

    Delays and Padding

    -       Many  older  and slower terminals do not support either XON/XOFF or DTR
    -       handshaking, including hard copy terminals and some very  archaic  CRTs
    -       (including,  for example, DEC VT100s).  These may require padding char-
    +       Many older and slower terminals do not support either XON/XOFF  or  DTR
    +       handshaking,  including  hard copy terminals and some very archaic CRTs
    +       (including, for example, DEC VT100s).  These may require padding  char-
            acters after certain cursor motions and screen changes.
     
            If the terminal uses xon/xoff handshaking for flow control (that is, it
    -       automatically  emits  ^S  back  to  the host when its input buffers are
    -       close to full), set xon.  This capability suppresses  the  emission  of
    -       padding.   You can also set it for memory-mapped console devices effec-
    -       tively that do not have a  speed  limit.   Padding  information  should
    +       automatically emits ^S back to the host  when  its  input  buffers  are
    +       close  to  full),  set xon.  This capability suppresses the emission of
    +       padding.  You can also set it for memory-mapped console devices  effec-
    +       tively  that  do  not  have  a speed limit.  Padding information should
            still be included so that routines can make better decisions about rel-
            ative costs, but actual pad characters will not be transmitted.
     
            If pb (padding baud rate) is given, padding is suppressed at baud rates
    -       below  the  value  of  pb.  If the entry has no padding baud rate, then
    +       below the value of pb.  If the entry has no  padding  baud  rate,  then
            whether padding is emitted or not is completely controlled by xon.
     
    -       If the terminal requires other than a null (zero) character as  a  pad,
    -       then  this  can  be  given as pad.  Only the first character of the pad
    +       If  the  terminal requires other than a null (zero) character as a pad,
    +       then this can be given as pad.  Only the first  character  of  the  pad
            string is used.
     
     
     

    Status Lines

    -       Some terminals have an extra "status line" which is not  normally  used
    +       Some  terminals  have an extra "status line" which is not normally used
            by software (and thus not counted in the terminal's lines capability).
     
    -       The  simplest case is a status line which is cursor-addressable but not
    +       The simplest case is a status line which is cursor-addressable but  not
            part of the main scrolling region on the screen; the Heathkit H19 has a
    -       status  line  of  this  kind,  as  would a 24-line VT100 with a 23-line
    +       status line of this kind, as would  a  24-line  VT100  with  a  23-line
            scrolling region set up on initialization.  This situation is indicated
            by the hs capability.
     
    -       Some  terminals  with status lines need special sequences to access the
    -       status line.  These may be expressed as a string with single  parameter
    -       tsl  which takes the cursor to a given zero-origin column on the status
    -       line.  The capability fsl must return to the main-screen  cursor  posi-
    -       tions  before the last tsl.  You may need to embed the string values of
    -       sc (save cursor) and rc (restore cursor) in tsl and fsl  to  accomplish
    +       Some terminals with status lines need special sequences to  access  the
    +       status  line.  These may be expressed as a string with single parameter
    +       tsl which takes the cursor to a given zero-origin column on the  status
    +       line.   The  capability fsl must return to the main-screen cursor posi-
    +       tions before the last tsl.  You may need to embed the string values  of
    +       sc  (save  cursor) and rc (restore cursor) in tsl and fsl to accomplish
            this.
     
    -       The  status  line is normally assumed to be the same width as the width
    -       of the terminal.  If this is  untrue,  you  can  specify  it  with  the
    +       The status line is normally assumed to be the same width as  the  width
    +       of  the  terminal.   If  this  is  untrue,  you can specify it with the
            numeric capability wsl.
     
            A command to erase or blank the status line may be specified as dsl.
     
    -       The  boolean  capability  eslok  specifies that escape sequences, tabs,
    +       The boolean capability eslok specifies  that  escape  sequences,  tabs,
            etc., work ordinarily in the status line.
     
    -       The ncurses implementation does not yet use any of these  capabilities.
    +       The  ncurses implementation does not yet use any of these capabilities.
            They are documented here in case they ever become important.
     
     
     

    Line Graphics

    -       Many  terminals have alternate character sets useful for forms-drawing.
    +       Many terminals have alternate character sets useful for  forms-drawing.
            Terminfo and curses have built-in support for most of the drawing char-
    -       acters  supported  by  the  VT100,  with  some characters from the AT&T
    -       4410v1 added.  This alternate character set may  be  specified  by  the
    +       acters supported by the VT100,  with  some  characters  from  the  AT&T
    +       4410v1  added.   This  alternate  character set may be specified by the
            acsc capability.
     
              Glyph                       ACS            Ascii     acsc     acsc
    @@ -2004,7 +2039,6 @@
              degree symbol               ACS_DEGREE     \         f        0x66
              plus/minus                  ACS_PLMINUS    #         g        0x67
              board of squares            ACS_BOARD      #         h        0x68
    -
              lantern symbol              ACS_LANTERN    #         i        0x69
              lower right corner          ACS_LRCORNER   +         j        0x6a
              upper right corner          ACS_URCORNER   +         k        0x6b
    @@ -2030,34 +2064,34 @@
     
            A few notes apply to the table itself:
     
    -       o   X/Open  Curses  incorrectly  states that the mapping for lantern is
    -           uppercase "I" although Unix implementations use the  lowercase  "i"
    +       o   X/Open Curses incorrectly states that the mapping  for  lantern  is
    +           uppercase  "I"  although Unix implementations use the lowercase "i"
                mapping.
     
    -       o   The  DEC  VT100  implemented graphics using the alternate character
    -           set feature, temporarily switching modes and sending characters  in
    +       o   The DEC VT100 implemented graphics using  the  alternate  character
    +           set  feature, temporarily switching modes and sending characters in
                the range 0x60 (96) to 0x7e (126) (the acsc Value column in the ta-
                ble).
     
            o   The AT&T terminal added graphics characters outside that range.
     
    -           Some of the characters within the range do  not  match  the  VT100;
    -           presumably  they  were  used in the AT&T terminal: board of squares
    -           replaces the VT100 newline symbol, while  lantern  symbol  replaces
    +           Some  of  the  characters  within the range do not match the VT100;
    +           presumably they were used in the AT&T terminal:  board  of  squares
    +           replaces  the  VT100  newline symbol, while lantern symbol replaces
                the VT100 vertical tab symbol.  The other VT100 symbols for control
    -           characters (horizontal tab, carriage return and line-feed) are  not
    +           characters  (horizontal tab, carriage return and line-feed) are not
                (re)used in curses.
     
    -       The  best  way to define a new device's graphics set is to add a column
    -       to a copy of this table for your terminal, giving the  character  which
    -       (when  emitted  between  smacs/rmacs  switches) will be rendered as the
    +       The best way to define a new device's graphics set is to add  a  column
    +       to  a  copy of this table for your terminal, giving the character which
    +       (when emitted between smacs/rmacs switches) will  be  rendered  as  the
            corresponding graphic.  Then read off the VT100/your terminal character
            pairs right to left in sequence; these become the ACSC string.
     
     
     

    Color Handling

    -       The  curses  library  functions init_pair and init_color manipulate the
    -       color  pairs  and  color  values  discussed  in   this   section   (see
    +       The curses library functions init_pair and  init_color  manipulate  the
    +       color   pairs   and   color  values  discussed  in  this  section  (see
            curs_color(3x) for details on these and related functions).
     
            Most color terminals are either "Tektronix-like" or "HP-like":
    @@ -2066,43 +2100,43 @@
                is usually 8), and can set character-cell foreground and background
                characters independently, mixing them into N * N color-pairs.
     
    -       o   On  HP-like  terminals,  the user must set each color pair up sepa-
    -           rately (foreground and background are not independently  settable).
    +       o   On HP-like terminals, the user must set each color  pair  up  sepa-
    +           rately  (foreground and background are not independently settable).
                Up to M color-pairs may be set up from 2*M different colors.  ANSI-
                compatible terminals are Tektronix-like.
     
            Some basic color capabilities are independent of the color method.  The
    -       numeric  capabilities  colors  and pairs specify the maximum numbers of
    -       colors and color-pairs that can be displayed  simultaneously.   The  op
    +       numeric capabilities colors and pairs specify the  maximum  numbers  of
    +       colors  and  color-pairs  that can be displayed simultaneously.  The op
            (original pair) string resets foreground and background colors to their
    -       default values for the terminal.  The oc string resets  all  colors  or
    -       color-pairs  to  their default values for the terminal.  Some terminals
    +       default  values  for  the terminal.  The oc string resets all colors or
    +       color-pairs to their default values for the terminal.   Some  terminals
            (including many PC terminal emulators) erase screen areas with the cur-
    -       rent  background  color  rather  than  the power-up default background;
    +       rent background color rather  than  the  power-up  default  background;
            these should have the boolean capability bce.
     
            While the curses library works with color pairs (reflecting the inabil-
    -       ity  of  some  devices to set foreground and background colors indepen-
    +       ity of some devices to set foreground and  background  colors  indepen-
            dently), there are separate capabilities for setting these features:
     
    -       o   To change the current foreground or  background  color  on  a  Tek-
    -           tronix-type  terminal,  use  setaf  (set ANSI foreground) and setab
    -           (set ANSI background) or setf (set foreground) and setb (set  back-
    -           ground).   These  take  one  parameter, the color number.  The SVr4
    -           documentation describes only setaf/setab; the XPG4 draft says  that
    -           "If  the  terminal supports ANSI escape sequences to set background
    -           and foreground, they should be coded as setaf  and  setab,  respec-
    +       o   To  change  the  current  foreground  or background color on a Tek-
    +           tronix-type terminal, use setaf (set  ANSI  foreground)  and  setab
    +           (set  ANSI background) or setf (set foreground) and setb (set back-
    +           ground).  These take one parameter, the  color  number.   The  SVr4
    +           documentation  describes only setaf/setab; the XPG4 draft says that
    +           "If the terminal supports ANSI escape sequences to  set  background
    +           and  foreground,  they  should be coded as setaf and setab, respec-
                tively.
     
    -       o   If  the  terminal supports other escape sequences to set background
    -           and foreground, they should be coded  as  setf  and  setb,  respec-
    -           tively.   The  vidputs  and the refresh(3x) functions use the setaf
    +       o   If the terminal supports other escape sequences to  set  background
    +           and  foreground,  they  should  be  coded as setf and setb, respec-
    +           tively.  The vidputs and the refresh(3x) functions  use  the  setaf
                and setab capabilities if they are defined.
     
    -       The setaf/setab and setf/setb capabilities take a single numeric  argu-
    -       ment  each.  Argument values 0-7 of setaf/setab are portably defined as
    -       follows (the middle column is the symbolic  #define  available  in  the
    -       header  for the curses or ncurses libraries).  The terminal hardware is
    +       The  setaf/setab and setf/setb capabilities take a single numeric argu-
    +       ment each.  Argument values 0-7 of setaf/setab are portably defined  as
    +       follows  (the  middle  column  is the symbolic #define available in the
    +       header for the curses or ncurses libraries).  The terminal hardware  is
            free to map these as it likes, but the RGB values indicate normal loca-
            tions in color space.
     
    @@ -2112,6 +2146,7 @@
                         green     COLOR_GREEN       2     0,max,0
                         yellow    COLOR_YELLOW      3     max,max,0
                         blue      COLOR_BLUE        4     0,0,max
    +
                         magenta   COLOR_MAGENTA     5     max,0,max
                         cyan      COLOR_CYAN        6     0,max,max
                         white     COLOR_WHITE       7     max,max,max
    @@ -2132,28 +2167,28 @@
            It is important to not confuse the two sets of color capabilities; oth-
            erwise red/blue will be interchanged on the display.
     
    -       On  an  HP-like terminal, use scp with a color-pair number parameter to
    +       On an HP-like terminal, use scp with a color-pair number  parameter  to
            set which color pair is current.
     
            Some terminals allow the color values to be modified:
     
    -       o   On a Tektronix-like terminal, the capability ccc may be present  to
    -           indicate  that colors can be modified.  If so, the initc capability
    +       o   On  a Tektronix-like terminal, the capability ccc may be present to
    +           indicate that colors can be modified.  If so, the initc  capability
                will take a color number (0 to colors - 1)and three more parameters
    -           which  describe the color.  These three parameters default to being
    +           which describe the color.  These three parameters default to  being
                interpreted as RGB (Red, Green, Blue) values.  If the boolean capa-
    -           bility  hls  is  present,  they are instead as HLS (Hue, Lightness,
    +           bility hls is present, they are instead  as  HLS  (Hue,  Lightness,
                Saturation) indices.  The ranges are terminal-dependent.
     
    -       o   On an HP-like terminal, initp may give a capability for changing  a
    +       o   On  an HP-like terminal, initp may give a capability for changing a
                color-pair value.  It will take seven parameters; a color-pair num-
    -           ber (0 to max_pairs - 1), and two triples  describing  first  back-
    -           ground  and then foreground colors.  These parameters must be (Red,
    +           ber  (0  to  max_pairs - 1), and two triples describing first back-
    +           ground and then foreground colors.  These parameters must be  (Red,
                Green, Blue) or (Hue, Lightness, Saturation) depending on hls.
     
    -       On some color terminals, colors collide with highlights.  You can  reg-
    -       ister  these collisions with the ncv capability.  This is a bit-mask of
    -       attributes not to be used when colors are enabled.  The  correspondence
    +       On  some color terminals, colors collide with highlights.  You can reg-
    +       ister these collisions with the ncv capability.  This is a bit-mask  of
    +       attributes  not to be used when colors are enabled.  The correspondence
            with the attributes understood by curses is as follows:
     
                       Attribute              Bit   Decimal      Set by
    @@ -2174,134 +2209,134 @@
                       A_VERTICAL             14    16384        sgr1
                       A_ITALIC               15    32768        sitm
     
    -       For  example, on many IBM PC consoles, the underline attribute collides
    -       with the foreground color blue and is  not  available  in  color  mode.
    +       For example, on many IBM PC consoles, the underline attribute  collides
    +       with  the  foreground  color  blue  and is not available in color mode.
            These should have an ncv capability of 2.
     
    -       SVr4  curses does nothing with ncv, ncurses recognizes it and optimizes
    +       SVr4 curses does nothing with ncv, ncurses recognizes it and  optimizes
            the output in favor of colors.
     
     
     

    Miscellaneous

    -       If the terminal requires other than a null (zero) character as  a  pad,
    -       then  this  can  be  given as pad.  Only the first character of the pad
    +       If  the  terminal requires other than a null (zero) character as a pad,
    +       then this can be given as pad.  Only the first  character  of  the  pad
            string is used.  If the terminal does not have a pad character, specify
    -       npc.   Note that ncurses implements the termcap-compatible PC variable;
    -       though the application may set this value to  something  other  than  a
    -       null,  ncurses will test npc first and use napms if the terminal has no
    +       npc.  Note that ncurses implements the termcap-compatible PC  variable;
    +       though  the  application  may  set this value to something other than a
    +       null, ncurses will test npc first and use napms if the terminal has  no
            pad character.
     
    -       If the terminal can move up or down half a line, this can be  indicated
    +       If  the terminal can move up or down half a line, this can be indicated
            with hu (half-line up) and hd (half-line down).  This is primarily use-
            ful for superscripts and subscripts on hard-copy terminals.  If a hard-
    -       copy  terminal  can eject to the next page (form feed), give this as ff
    -       (usually control L).
    +       copy terminal can eject to the next page (form feed), give this  as  ff
    +       (usually control/L).
     
    -       If there is a command to repeat a given character  a  given  number  of
    -       times  (to  save  time transmitting a large number of identical charac-
    -       ters) this can be indicated with the  parameterized  string  rep.   The
    -       first  parameter  is the character to be repeated and the second is the
    +       If  there  is  a  command to repeat a given character a given number of
    +       times (to save time transmitting a large number  of  identical  charac-
    +       ters)  this  can  be  indicated with the parameterized string rep.  The
    +       first parameter is the character to be repeated and the second  is  the
            number of times to repeat it.  Thus, tparm(repeat_char, 'x', 10) is the
            same as "xxxxxxxxxx".
     
            If the terminal has a settable command character, such as the TEKTRONIX
    -       4025, this can be indicated with cmdch.  A prototype command  character
    -       is  chosen  which is used in all capabilities.  This character is given
    -       in the cmdch capability to identify it.  The  following  convention  is
    +       4025,  this can be indicated with cmdch.  A prototype command character
    +       is chosen which is used in all capabilities.  This character  is  given
    +       in  the  cmdch  capability to identify it.  The following convention is
            supported on some UNIX systems: The environment is to be searched for a
    -       CC variable, and if found, all occurrences of the  prototype  character
    +       CC  variable,  and if found, all occurrences of the prototype character
            are replaced with the character in the environment variable.
     
    -       Terminal  descriptions  that  do not represent a specific kind of known
    -       terminal, such as switch, dialup, patch, and  network,  should  include
    -       the  gn (generic) capability so that programs can complain that they do
    -       not know how to talk to the terminal.  (This capability does not  apply
    -       to  virtual  terminal  descriptions  for which the escape sequences are
    +       Terminal descriptions that do not represent a specific  kind  of  known
    +       terminal,  such  as  switch, dialup, patch, and network, should include
    +       the gn (generic) capability so that programs can complain that they  do
    +       not  know how to talk to the terminal.  (This capability does not apply
    +       to virtual terminal descriptions for which  the  escape  sequences  are
            known.)
     
            If the terminal has a "meta key" which acts as a shift key, setting the
    -       8th  bit  of any character transmitted, this fact can be indicated with
    -       km.  Otherwise, software will assume that the 8th bit is parity and  it
    -       will  usually be cleared.  If strings exist to turn this "meta mode" on
    +       8th bit of any character transmitted, this fact can be  indicated  with
    +       km.   Otherwise, software will assume that the 8th bit is parity and it
    +       will usually be cleared.  If strings exist to turn this "meta mode"  on
            and off, they can be given as smm and rmm.
     
            If the terminal has more lines of memory than will fit on the screen at
    -       once,  the number of lines of memory can be indicated with lm.  A value
    +       once, the number of lines of memory can be indicated with lm.  A  value
            of lm#0 indicates that the number of lines is not fixed, but that there
            is still more memory than fits on the screen.
     
    -       If  the terminal is one of those supported by the UNIX virtual terminal
    +       If the terminal is one of those supported by the UNIX virtual  terminal
            protocol, the terminal number can be given as vt.
     
    -       Media copy strings which control an auxiliary printer connected to  the
    -       terminal  can  be  given as mc0: print the contents of the screen, mc4:
    -       turn off the printer, and mc5: turn on the printer.  When  the  printer
    -       is  on,  all text sent to the terminal will be sent to the printer.  It
    -       is undefined whether the text is also displayed on the terminal  screen
    -       when  the  printer  is  on.   A variation mc5p takes one parameter, and
    +       Media  copy strings which control an auxiliary printer connected to the
    +       terminal can be given as mc0: print the contents of  the  screen,  mc4:
    +       turn  off  the printer, and mc5: turn on the printer.  When the printer
    +       is on, all text sent to the terminal will be sent to the  printer.   It
    +       is  undefined whether the text is also displayed on the terminal screen
    +       when the printer is on.  A variation  mc5p  takes  one  parameter,  and
            leaves the printer on for as many characters as the value of the param-
            eter, then turns the printer off.  The parameter should not exceed 255.
    -       All text, including mc4, is transparently passed to the  printer  while
    +       All  text,  including mc4, is transparently passed to the printer while
            an mc5p is in effect.
     
     
     

    Glitches and Braindamage

    -       Hazeltine  terminals, which do not allow "~" characters to be displayed
    +       Hazeltine terminals, which do not allow "~" characters to be  displayed
            should indicate hz.
     
    -       Terminals which ignore a line-feed immediately after an am  wrap,  such
    +       Terminals  which  ignore a line-feed immediately after an am wrap, such
            as the Concept and vt100, should indicate xenl.
     
    -       If  el  is  required  to get rid of standout (instead of merely writing
    +       If el is required to get rid of standout  (instead  of  merely  writing
            normal text on top of it), xhp should be given.
     
            Teleray terminals, where tabs turn all characters moved over to blanks,
    -       should  indicate  xt (destructive tabs).  Note: the variable indicating
    -       this is now "dest_tabs_magic_smso"; in  older  versions,  it  was  tel-
    +       should indicate xt (destructive tabs).  Note: the  variable  indicating
    +       this  is  now  "dest_tabs_magic_smso";  in  older versions, it was tel-
            eray_glitch.  This glitch is also taken to mean that it is not possible
            to position the cursor on top of a "magic cookie", that to erase stand-
    -       out  mode  it  is instead necessary to use delete and insert line.  The
    +       out mode it is instead necessary to use delete and  insert  line.   The
            ncurses implementation ignores this glitch.
     
    -       The Beehive Superbee, which is unable to correctly transmit the  escape
    -       or  control  C  characters, has xsb, indicating that the f1 key is used
    -       for escape and f2 for control C.  (Only  certain  Superbees  have  this
    -       problem,  depending on the ROM.)  Note that in older terminfo versions,
    +       The  Beehive Superbee, which is unable to correctly transmit the escape
    +       or control/C characters, has xsb, indicating that the f1  key  is  used
    +       for  escape  and  f2  for control/C.  (Only certain Superbees have this
    +       problem, depending on the ROM.)  Note that in older terminfo  versions,
            this capability was called "beehive_glitch"; it is now "no_esc_ctl_c".
     
    -       Other specific terminal problems may be corrected by adding more  capa-
    +       Other  specific terminal problems may be corrected by adding more capa-
            bilities of the form xx.
     
     
     

    Pitfalls of Long Entries

    -       Long  terminfo  entries are unlikely to be a problem; to date, no entry
    -       has even approached terminfo's 4096-byte string-table maximum.   Unfor-
    -       tunately,  the  termcap translations are much more strictly limited (to
    -       1023 bytes), thus termcap translations of  long  terminfo  entries  can
    +       Long terminfo entries are unlikely to be a problem; to date,  no  entry
    +       has  even approached terminfo's 4096-byte string-table maximum.  Unfor-
    +       tunately, the termcap translations are much more strictly  limited  (to
    +       1023  bytes),  thus  termcap  translations of long terminfo entries can
            cause problems.
     
    -       The  man  pages  for  4.3BSD and older versions of tgetent instruct the
    -       user to allocate a 1024-byte buffer for the termcap entry.   The  entry
    -       gets  null-terminated by the termcap library, so that makes the maximum
    -       safe length for a termcap entry 1k-1 (1023) bytes.  Depending  on  what
    -       the  application  and the termcap library being used does, and where in
    -       the termcap file the terminal type that tgetent is  searching  for  is,
    +       The man pages for 4.3BSD and older versions  of  tgetent  instruct  the
    +       user  to  allocate a 1024-byte buffer for the termcap entry.  The entry
    +       gets null-terminated by the termcap library, so that makes the  maximum
    +       safe  length  for a termcap entry 1k-1 (1023) bytes.  Depending on what
    +       the application and the termcap library being used does, and  where  in
    +       the  termcap  file  the terminal type that tgetent is searching for is,
            several bad things can happen.
     
    -       Some  termcap libraries print a warning message or exit if they find an
    +       Some termcap libraries print a warning message or exit if they find  an
            entry that's longer than 1023 bytes; others do not; others truncate the
    -       entries  to  1023  bytes.  Some application programs allocate more than
    +       entries to 1023 bytes.  Some application programs  allocate  more  than
            the recommended 1K for the termcap entry; others do not.
     
    -       Each termcap entry has two important sizes associated with  it:  before
    -       "tc"  expansion, and after "tc" expansion.  "tc" is the capability that
    +       Each  termcap  entry has two important sizes associated with it: before
    +       "tc" expansion, and after "tc" expansion.  "tc" is the capability  that
            tacks on another termcap entry to the end of the current one, to add on
            its capabilities.  If a termcap entry does not use the "tc" capability,
            then of course the two lengths are the same.
     
    -       The "before tc expansion" length is the most important one, because  it
    -       affects  more than just users of that particular terminal.  This is the
    -       length of the entry as it exists in /etc/termcap, minus the  backslash-
    +       The  "before tc expansion" length is the most important one, because it
    +       affects more than just users of that particular terminal.  This is  the
    +       length  of the entry as it exists in /etc/termcap, minus the backslash-
            newline pairs, which tgetent strips out while reading it.  Some termcap
            libraries strip off the final newline, too (GNU termcap does not).  Now
            suppose:
    @@ -2310,87 +2345,87 @@
     
            o   and the application has only allocated a 1k buffer,
     
    -       o   and  the termcap library (like the one in BSD/OS 1.1 and GNU) reads
    -           the whole entry into the buffer, no matter what its length, to  see
    +       o   and the termcap library (like the one in BSD/OS 1.1 and GNU)  reads
    +           the  whole entry into the buffer, no matter what its length, to see
                if it is the entry it wants,
     
    -       o   and  tgetent  is  searching  for a terminal type that either is the
    -           long entry, appears in the termcap file after the  long  entry,  or
    -           does  not  appear in the file at all (so that tgetent has to search
    +       o   and tgetent is searching for a terminal type  that  either  is  the
    +           long  entry,  appears  in the termcap file after the long entry, or
    +           does not appear in the file at all (so that tgetent has  to  search
                the whole termcap file).
     
    -       Then tgetent will overwrite memory, perhaps  its  stack,  and  probably
    -       core  dump the program.  Programs like telnet are particularly vulnera-
    -       ble; modern telnets pass along values like the terminal type  automati-
    -       cally.   The  results are almost as undesirable with a termcap library,
    -       like SunOS 4.1.3 and Ultrix 4.4, that prints warning messages  when  it
    -       reads  an  overly  long  termcap entry.  If a termcap library truncates
    -       long entries, like OSF/1 3.0, it is  immune  to  dying  here  but  will
    +       Then  tgetent  will  overwrite  memory, perhaps its stack, and probably
    +       core dump the program.  Programs like telnet are particularly  vulnera-
    +       ble;  modern telnets pass along values like the terminal type automati-
    +       cally.  The results are almost as undesirable with a  termcap  library,
    +       like  SunOS  4.1.3 and Ultrix 4.4, that prints warning messages when it
    +       reads an overly long termcap entry.  If  a  termcap  library  truncates
    +       long  entries,  like  OSF/1  3.0,  it  is immune to dying here but will
            return incorrect data for the terminal.
     
    -       The  "after  tc  expansion"  length  will  have a similar effect to the
    +       The "after tc expansion" length will  have  a  similar  effect  to  the
            above, but only for people who actually set TERM to that terminal type,
    -       since  tgetent  only  does "tc" expansion once it is found the terminal
    +       since tgetent only does "tc" expansion once it is  found  the  terminal
            type it was looking for, not while searching.
     
    -       In summary, a termcap entry that is longer than 1023 bytes  can  cause,
    -       on  various  combinations of termcap libraries and applications, a core
    -       dump, warnings, or incorrect operation.  If it is too long even  before
    -       "tc"  expansion,  it will have this effect even for users of some other
    -       terminal types and users whose TERM variable does not  have  a  termcap
    +       In  summary,  a termcap entry that is longer than 1023 bytes can cause,
    +       on various combinations of termcap libraries and applications,  a  core
    +       dump,  warnings, or incorrect operation.  If it is too long even before
    +       "tc" expansion, it will have this effect even for users of  some  other
    +       terminal  types  and  users whose TERM variable does not have a termcap
            entry.
     
    -       When  in  -C (translate to termcap) mode, the ncurses implementation of
    -       tic(1m) issues warning messages when the pre-tc  length  of  a  termcap
    -       translation  is  too  long.  The -c (check) option also checks resolved
    +       When in -C (translate to termcap) mode, the ncurses  implementation  of
    +       tic(1m)  issues  warning  messages  when the pre-tc length of a termcap
    +       translation is too long.  The -c (check) option  also  checks  resolved
            (after tc expansion) lengths.
     
     
     

    Binary Compatibility

    -       It is not wise to count  on  portability  of  binary  terminfo  entries
    -       between  commercial  UNIX  versions.   The problem is that there are at
    -       least two versions of terminfo (under HP-UX  and  AIX)  which  diverged
    -       from  System  V terminfo after SVr1, and have added extension capabili-
    -       ties to the string table that (in the binary format) collide with  Sys-
    +       It  is  not  wise  to  count  on portability of binary terminfo entries
    +       between commercial UNIX versions.  The problem is  that  there  are  at
    +       least  two  versions  of  terminfo (under HP-UX and AIX) which diverged
    +       from System V terminfo after SVr1, and have added  extension  capabili-
    +       ties  to the string table that (in the binary format) collide with Sys-
            tem V and XSI Curses extensions.
     
     
     

    EXTENSIONS

    -       Searching   for  terminal  descriptions  in  $HOME/.terminfo  and  TER-
    +       Searching  for  terminal  descriptions  in  $HOME/.terminfo  and   TER-
            MINFO_DIRS is not supported by older implementations.
     
    -       Some SVr4 curses implementations, and all  previous  to  SVr4,  do  not
    +       Some  SVr4  curses  implementations,  and  all previous to SVr4, do not
            interpret the %A and %O operators in parameter strings.
     
    -       SVr4/XPG4  do  not  specify  whether msgr licenses movement while in an
    -       alternate-character-set mode (such modes may, among other  things,  map
    -       CR  and  NL  to  characters  that  do  not trigger local motions).  The
    -       ncurses implementation ignores msgr in ALTCHARSET  mode.   This  raises
    -       the  possibility that an XPG4 implementation making the opposite inter-
    -       pretation may need terminfo entries  made  for  ncurses  to  have  msgr
    +       SVr4/XPG4 do not specify whether msgr licenses  movement  while  in  an
    +       alternate-character-set  mode  (such modes may, among other things, map
    +       CR and NL to characters  that  do  not  trigger  local  motions).   The
    +       ncurses  implementation  ignores  msgr in ALTCHARSET mode.  This raises
    +       the possibility that an XPG4 implementation making the opposite  inter-
    +       pretation  may  need  terminfo  entries  made  for ncurses to have msgr
            turned off.
     
            The ncurses library handles insert-character and insert-character modes
    -       in a slightly non-standard way to get better  update  efficiency.   See
    +       in  a  slightly  non-standard way to get better update efficiency.  See
            the Insert/Delete Character subsection above.
     
    -       The  parameter  substitutions  for  set_clock and display_clock are not
    -       documented in SVr4 or the XSI Curses standard.  They are  deduced  from
    +       The parameter substitutions for set_clock  and  display_clock  are  not
    +       documented  in  SVr4 or the XSI Curses standard.  They are deduced from
            the documentation for the AT&T 505 terminal.
     
    -       Be  careful  assigning the kmous capability.  The ncurses library wants
    -       to interpret it as KEY_MOUSE, for use by terminals and  emulators  like
    -       xterm  that can return mouse-tracking information in the keyboard-input
    +       Be careful assigning the kmous capability.  The ncurses  library  wants
    +       to  interpret  it as KEY_MOUSE, for use by terminals and emulators like
    +       xterm that can return mouse-tracking information in the  keyboard-input
            stream.
     
    -       X/Open Curses does not mention  italics.   Portable  applications  must
    -       assume  that  numeric  capabilities  are  signed  16-bit  values.  This
    -       includes the no_color_video (ncv) capability.   The  32768  mask  value
    -       used  for  italics with ncv can be confused with an absent or cancelled
    -       ncv.  If italics should work with colors, then the ncv  value  must  be
    +       X/Open  Curses  does  not  mention italics.  Portable applications must
    +       assume that  numeric  capabilities  are  signed  16-bit  values.   This
    +       includes  the  no_color_video  (ncv)  capability.  The 32768 mask value
    +       used for italics with ncv can be confused with an absent  or  cancelled
    +       ncv.   If  italics  should work with colors, then the ncv value must be
            specified, even if it is zero.
     
    -       Different  commercial  ports  of  terminfo and curses support different
    +       Different commercial ports of terminfo  and  curses  support  different
            subsets of the XSI Curses standard and (in some cases) different exten-
            sion sets.  Here is a summary, accurate as of October 1995:
     
    @@ -2400,15 +2435,15 @@
                capability (set_pglen).
     
            o   SVr1, Ultrix -- These support a restricted subset of terminfo capa-
    -           bilities.   The  booleans  end  with  xon_xoff;  the  numerics with
    +           bilities.  The  booleans  end  with  xon_xoff;  the  numerics  with
                width_status_line; and the strings with prtr_non.
     
    -       o   HP/UX -- Supports the  SVr1  subset,  plus  the  SVr[234]  numerics
    -           num_labels,   label_height,  label_width,  plus  function  keys  11
    -           through 63, plus plab_norm,  label_on,  and  label_off,  plus  some
    +       o   HP/UX  --  Supports  the  SVr1  subset,  plus the SVr[234] numerics
    +           num_labels,  label_height,  label_width,  plus  function  keys   11
    +           through  63,  plus  plab_norm,  label_on,  and label_off, plus some
                incompatible extensions in the string table.
     
    -       o   AIX  -- Supports the SVr1 subset, plus function keys 11 through 63,
    +       o   AIX -- Supports the SVr1 subset, plus function keys 11 through  63,
                plus a number of incompatible string table extensions.
     
            o   OSF -- Supports both the SVr4 set and the AIX extensions.
    @@ -2419,8 +2454,8 @@
     
     
     

    SEE ALSO

    -       tic(1m), infocmp(1m), curses(3x), curs_color(3x),  printf(3),  term(5).
    -       term_variables(3x).  user_caps(5).
    +       tabs(1m),  tic(1m), infocmp(1m), curses(3x), curs_color(3x), curs_vari-
    +       ables(3x), printf(3), term(5).  term_variables(3x).  user_caps(5).
     
     
     

    AUTHORS

    diff --git a/doc/html/man/tic.1m.html b/doc/html/man/tic.1m.html
    index 9b0b6212..56b1b993 100644
    --- a/doc/html/man/tic.1m.html
    +++ b/doc/html/man/tic.1m.html
    @@ -26,7 +26,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: tic.1m,v 1.68 2019/05/18 21:59:56 tom Exp @
    +  * @Id: tic.1m,v 1.69 2019/05/18 22:48:40 tom Exp @
     -->
     
     
    @@ -365,7 +365,7 @@
            infocmp(1m),   captoinfo(1m),   infotocap(1m),   toe(1m),   curses(3x),
            term(5).  terminfo(5).  user_caps(5).
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/toe.1m.html b/doc/html/man/toe.1m.html
    index 2d4a174c..b63c452c 100644
    --- a/doc/html/man/toe.1m.html
    +++ b/doc/html/man/toe.1m.html
    @@ -113,7 +113,7 @@
            tic(1m), infocmp(1m), captoinfo(1m),  infotocap(1m),  curses(3x),  ter-
            minfo(5).
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/tput.1.html b/doc/html/man/tput.1.html
    index 996bf11e..6ff0eebf 100644
    --- a/doc/html/man/tput.1.html
    +++ b/doc/html/man/tput.1.html
    @@ -522,7 +522,7 @@
     

    SEE ALSO

            clear(1), stty(1), tabs(1), tset(1), terminfo(5), curs_termcap(3x).
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/tset.1.html b/doc/html/man/tset.1.html
    index 4131977a..cc5319de 100644
    --- a/doc/html/man/tset.1.html
    +++ b/doc/html/man/tset.1.html
    @@ -389,7 +389,7 @@
            csh(1),  sh(1),  stty(1),   curs_terminfo(3x),   tty(4),   terminfo(5),
            ttys(5), environ(7)
     
    -       This describes ncurses version 6.1 (patch 20190518).
    +       This describes ncurses version 6.1 (patch 20190615).
     
     
     
    diff --git a/doc/html/man/user_caps.5.html b/doc/html/man/user_caps.5.html
    index 6d6e9126..7e6101d3 100644
    --- a/doc/html/man/user_caps.5.html
    +++ b/doc/html/man/user_caps.5.html
    @@ -1,6 +1,6 @@
     
     
     
    diff --git a/man/tabs.1 b/man/tabs.1
    index 2a127f33..de472225 100644
    --- a/man/tabs.1
    +++ b/man/tabs.1
    @@ -26,7 +26,7 @@
     .\" authorization.                                                           *
     .\"***************************************************************************
     .\"
    -.\" $Id: tabs.1,v 1.20 2019/02/16 23:56:38 tom Exp $
    +.\" $Id: tabs.1,v 1.25 2019/06/15 23:08:12 tom Exp $
     .TH @TABS@ 1 ""
     .ds n 5
     .ie \n(.g .ds `` \(lq
    @@ -76,6 +76,15 @@ Curses and other full-screen applications may use hardware tabs
     in optimizing their output to the terminal.
     If the hardware tabstops differ from the information in the terminal
     database, the result is unpredictable.
    +Before running curses programs,
    +you should either reset tab-stops to the standard interval
    +.NS
    +tabs -8
    +.NE
    +.PP
    +or use the \fB@RESET@\fP program,
    +since the normal initialization sequences do not ensure that tab-stops
    +are reset.
     .SH OPTIONS
     .SS General Options
     .TP 5
    @@ -165,7 +174,10 @@ describes a \fBtabs\fP utility.
     However
     .bP
     This standard describes a \fB+m\fP option, to set a terminal's left-margin.
    -Very few of the entries in the terminal database provide this capability.
    +Very few of the entries in the terminal database provide the
    +\fBsmgl\fP (\fBset_left_margin\fP) or
    +\fBsmglp\fP (\fBset_left_margin_parm\fP)
    +capability needed to support the feature.
     .bP
     There is no counterpart in X/Open Curses Issue 7 for this utility,
     unlike \fB@TPUT@(1)\fP.
    @@ -173,11 +185,44 @@ unlike \fB@TPUT@(1)\fP.
     The \fB\-d\fP (debug) and \fB\-n\fP (no-op) options are extensions not provided
     by other implementations.
     .PP
    +A \fBtabs\fP utility appeared in PWB/Unix 1.0 (1977),
    +and thereafter in 3BSD (1979).
    +It supported a single \*(``\-n\*('' option
    +(to cause the first tab stop to be set on the left margin).
    +That option is not documented by POSIX.
    +Initially, \fBtabs\fP used built-in tables rather than the terminal database,
    +to support a half-dozen terminal types.
    +It also had built-in logic to support the left-margin,
    +as well as a feature for copying the tab settings from a file.
    +.PP
    +Later versions of Unix, e.g., SVr4,
    +added support for the terminal database,
    +but kept the tables, as a fallback.
    +In an earlier development effort,
    +the tab-stop initialization provided by \fBtset\fP (1982)
    +and incorporated into \fBtput\fP uses the terminal database,
    +.PP
    +POSIX documents no limits on the number of tab stops.
     Documentation for other implementations states that there is a limit on the
     number of tab stops.
     While some terminals may not accept an arbitrary number
     of tab stops, this implementation will attempt to set tab stops up to the
     right margin of the screen, if the given list happens to be that long.
    +.PP
    +The \fIRationale\fP section of the POSIX documentation goes into some
    +detail about the ways the committee considered redesigning the
    +\fBtabs\fP and \fBtput\fP utilities,
    +without proposing an improved solution.
    +It comments that
    +.RS 5
    +.PP
    +no known historical version of tabs supports the capability of setting
    +arbitrary tab stops.
    +.RE
    +.PP
    +However, the \fIExplicit Lists\fP described in this manual page
    +were implemented in PWB/Unix.
    +Those provide the capability of setting abitrary tab stops.
     .SH SEE ALSO
     \fB@TSET@\fR(1),
     \fB@INFOCMP@\fR(1M),
    diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog
    index a91b173f..386dac5f 100644
    --- a/package/debian-mingw/changelog
    +++ b/package/debian-mingw/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20190609) unstable; urgency=low
    +ncurses6 (6.1+20190615) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sun, 09 Jun 2019 16:06:01 -0400
    + -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
     
     ncurses6 (5.9-20131005) unstable; urgency=low
     
    diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog
    index a91b173f..386dac5f 100644
    --- a/package/debian-mingw64/changelog
    +++ b/package/debian-mingw64/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20190609) unstable; urgency=low
    +ncurses6 (6.1+20190615) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sun, 09 Jun 2019 16:06:01 -0400
    + -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
     
     ncurses6 (5.9-20131005) unstable; urgency=low
     
    diff --git a/package/debian/changelog b/package/debian/changelog
    index acd14e05..470e2067 100644
    --- a/package/debian/changelog
    +++ b/package/debian/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20190609) unstable; urgency=low
    +ncurses6 (6.1+20190615) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sun, 09 Jun 2019 16:06:01 -0400
    + -- Thomas E. Dickey   Sat, 15 Jun 2019 08:46:35 -0400
     
     ncurses6 (5.9-20120608) unstable; urgency=low
     
    diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi
    index b8dff6fb..7ed68683 100644
    --- a/package/mingw-ncurses.nsi
    +++ b/package/mingw-ncurses.nsi
    @@ -1,4 +1,4 @@
    -; $Id: mingw-ncurses.nsi,v 1.333 2019/06/09 20:06:01 tom Exp $
    +; $Id: mingw-ncurses.nsi,v 1.334 2019/06/15 12:46:35 tom Exp $
     
     ; TODO add examples
     ; TODO bump ABI to 6
    @@ -10,7 +10,7 @@
     !define VERSION_MAJOR "6"
     !define VERSION_MINOR "1"
     !define VERSION_YYYY  "2019"
    -!define VERSION_MMDD  "0609"
    +!define VERSION_MMDD  "0615"
     !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
     
     !define MY_ABI   "5"
    diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec
    index d1d899a4..db8b7368 100644
    --- a/package/mingw-ncurses.spec
    +++ b/package/mingw-ncurses.spec
    @@ -3,7 +3,7 @@
     Summary: shared libraries for terminal handling
     Name: mingw32-ncurses6
     Version: 6.1
    -Release: 20190609
    +Release: 20190615
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz
    diff --git a/package/ncurses.spec b/package/ncurses.spec
    index 9111f95d..91ba3dfd 100644
    --- a/package/ncurses.spec
    +++ b/package/ncurses.spec
    @@ -1,7 +1,7 @@
     Summary: shared libraries for terminal handling
     Name: ncurses6
     Version: 6.1
    -Release: 20190609
    +Release: 20190615
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz
    diff --git a/package/ncursest.spec b/package/ncursest.spec
    index 6bda031b..adedc134 100644
    --- a/package/ncursest.spec
    +++ b/package/ncursest.spec
    @@ -1,7 +1,7 @@
     Summary: Curses library with POSIX thread support.
     Name: ncursest6
     Version: 6.1
    -Release: 20190609
    +Release: 20190615
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz