File: ANNOUNCE

package info (click to toggle)
ncurses 6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 23,136 kB
  • sloc: ansic: 88,540; ada: 9,967; sh: 6,075; cpp: 4,396; makefile: 3,168; awk: 1,593; perl: 566; sed: 39
file content (982 lines) | stat: -rw-r--r-- 41,599 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
                            Announcing ncurses 6.2

Overview

   The  ncurses  (new  curses)  library  is  a free software emulation of
   curses  in  System  V  Release  4.0 (SVr4), and more. It uses terminfo
   format,  supports  pads  and  color  and multiple highlights and forms
   characters and function-key mapping, and has all the other SVr4-curses
   enhancements  over  BSD curses. SVr4 curses became the basis of X/Open
   Curses.

   In  mid-June  1995,  the  maintainer of 4.4BSD curses declared that he
   considered  4.4BSD curses obsolete, and encouraged the keepers of unix
   releases such as BSD/OS, FreeBSD and NetBSD to switch over to ncurses.

   Since 1995, ncurses has been ported to many systems:
     * It is used in almost every system based on the Linux kernel (aside
       from some embedded applications).
     * It  is  used  as the system curses library on OpenBSD, FreeBSD and
       MacOS.
     * It  is used in environments such as Cygwin and MinGW. The first of
       these was EMX on OS/2 Warp.
     * It is used (though usually not as the system curses) on all of the
       vendor  unix  systems,  e.g.,  AIX,  HP-UX,  IRIX64, SCO, Solaris,
       Tru64.
     * It should work readily on any ANSI/POSIX-conforming unix.

   The distribution includes the library and support utilities, including
     * captoinfo, a termcap conversion tool
     * clear, utility for clearing the screen
     * infocmp, the terminfo decompiler
     * tabs, set tabs on a terminal
     * tic, the terminfo compiler
     * toe, list (table of) terminfo entries
     * tput,  utility  for  retrieving  terminal  capabilities  in  shell
       scripts
     * tset, to initialize the terminal

   Full manual pages are provided for the library and tools.

   The ncurses distribution is available at ncurses' homepage:

     ftp://ftp.invisible-island.net/ncurses/ or
     https://invisible-mirror.net/archives/ncurses/ .

   It is also available via anonymous FTP at the GNU distribution site

     ftp://ftp.gnu.org/gnu/ncurses/ .

Release Notes

   These notes are for ncurses 6.2, released February 12, 2020.

   This  release  is  designed  to  be source-compatible with ncurses 5.0
   through  6.1; providing extensions to the application binary interface
   (ABI).  Although  the  source  can  still be configured to support the
   ncurses  5  ABI, the reason for the release is to reflect improvements
   to the ncurses 6 ABI and the supporting utility programs.

   There  are,  of  course,  numerous  other improvements, listed in this
   announcement.

   The  most  important  bug-fixes/improvements  dealt  with user-defined
   capabilities  in terminal descriptions. The release notes also mention
   some other bug-fixes, but are focused on new features and improvements
   to existing features since ncurses 6.1 release.

  Library improvements

    New features

   There are several new features:
     * O_EDGE_INSERT_STAY  tells  the  form  library  to optionally delay
       cursor movement on a field edge/boundary
     * O_INPUT_FIELD  extension to form library allows a dynamic field to
       shrink if the new limit is smaller than the current field size.
     * added  exit_curses  and  exit_terminfo to replace internal symbols
       for leak-checking.
     * added curses_trace, to replace trace().

   Additionally,  to  improve  performance other changes (and extensions)
   are provided in this release:
     * mouse  decoding  now handles shift/control/alt logic when decoding
       xterm's 1006 mode
     * ncurses  now  defines a limit for wgetnstr, wgetn_wstr when length
       is negative or "too large".
     * reordered  loop-limit checks in winsnstr in case the string has no
       terminating null and only the number of characters is used.
     * there  is  now  no  buffer-size  limit  when  reading the $TERMCAP
       variable.
     * the  $TERMCAP  variable  may  be  interpreted  as  a fallback to a
       terminfo entry
     * mvcur  now decides whether to use hard-tabs, using xt, tbc and hts
       as clues.
     * extended  colors  are  improved  by  modifying an internal call to
       vid_puts  to pass extended color pairs e.g., from tty_update.c and
       lib_mvcur.c
     * the  initialization  functions  now  avoid relying upon persistent
       data for the result from getenv
     * scrolling is improved:
          + a limit check in newline_forces_scroll handles the case where
            the row is inside scroll-margins, but not at the end.
          + improved loop limits in _nc_scroll_window handle a case where
            the scrolled data is a pad which is taller than the window.

    Other improvements

   These are revised features:
     * used  "const"  in  some prototypes rather than NCURSES_CONST where
       X/Open  Curses  was updated to do this, e.g., wscanw, newterm, the
       terminfo  interface.  Also  use  "const"  for  consistency  in the
       termcap interface, which was withdrawn by X/Open Curses in Issue 5
       (2007).  As  of  Issue  7,  X/Open  Curses still lacks "const" for
       certain return values, e.g., keyname.
     * modified  wbkgd  and  wbkgrnd  to  improve compatibility with SVr4
       curses,  changing the way the window rendition is updated when the
       background character is modified
     * improved  terminfo  write/read by modifying the fourth item of the
       extended  header  to  denote  the  number  of valid strings in the
       extended string table (see term(5)).
     * modified   the   initialization  checks  for  mouse  so  that  the
       xterm+sm+1006  block  will  work  with  terminal  descriptions not
       mentioning xterm.

   These were done to limit or ultimately deprecate features:
     * deprecated  safe-sprintf, since the vsnprintf function, which does
       what was needed, was standardized long ago.
     * marked   vwprintw  and  vwscanw  as  deprecated;  recommend  using
       vw_printw and vw_scanw, respectively.
     * added  deprecation warnings for internal functions called by older
       versions of tack.
     * removed unused _nc_import_termtype2 function.

   These are improvements to existing features:
     * check parameter of set_escdelay, return ERR if negative.
     * check  parameter  of  set_tabsize,  return ERR if not greater than
       zero
     * correct  a status-check in _nc_read_tic_entry() so that if reading
       a hex/b64 $TERMINFO, and the $TERM does not match, fall-through to
       the compiled-in search list.
     * amend check for repeat_char to handle a case where setlocale() was
       called after initscr
     * move macro for is_linetouched inside NCURSES_NOMACROS ifndef.
     * use _nc_copy_termtype2 rather than direct assignment in setupterm,
       in   case   it   is  called  repeatedly  using  fallback  terminfo
       descriptions
     * improve   workaround   for  Solaris  wcwidth  versus  line-drawing
       characters
     * add  checks  in repair_subwindows to keep the current position and
       scroll-margins inside the resized subwindow.
     * correct  a  buffer-limit  in  write_entry.c  for  systems that use
       caseless filenames.
     * improved build-time utility report_offsets:
          + add categories, e.g., "w" for wide-character, "t" for threads
            to  make the report more readable. Reorganized the structures
            reported to make the categories more apparent.
          + add  NCURSES_GLOBALS  and NCURSES_PRESCREEN to report to show
            how similar the different libtinfo configurations are.
     * modified  some header files to ensure that those include necessary
       files except for the previously-documented cases
     * added  some  traces  in  initialization to show whether a fallback
       entry is used.
     * made minor optimization to reduce calls to _nc_reserve_pairs

   These are corrections to existing features:
     * fix  a  special  case  in  PutAttrChar  where  a cell is marked as
       alternate-character  set,  but  the  terminal  does  not  actually
       support the given graphic character. This would happen in an older
       terminal such as vt52, which lacks most line-drawing capability.
     * corrected  flag  for "seq" method of db 1.8.5 interface, needed by
       toe on some of the BSDs.
     * modify  comparison  in  make_hash.c  to  correct a special case in
       collision handling for Caps-hpux11
     * add    extended_slk_color{,_sp}   symbols   to   the   appropriate
       package/*.{map,sym} files
     * modify  lib_setup  to  avoid  calling pthread_self() without first
       verifying that the address is valid, i.e., for weak symbols
     * add  a  couple  of  broken-linker symbols to the list of versioned
       symbols to help with link-time optimization versus weak symbols.

  Program improvements

   Several improvements were made to the utility programs:

   clear

          + improved  logic  for  clearing with the E3 extension, in case
            the  terminal  scrolls  content  onto  its saved-lines before
            actually  clearing  the  display, by clearing the saved-lines
            after clearing the display

   infocmp

          + omit  filtering  of  "OTxx" names which are used for obsolete
            capabilities,  when  the output is sorted by long-names. This
            change helps when making a table of the short/long capability
            names.

   tic

          + added   check   for   consistent   alternate   character  set
            capabilities.
          + added check for paired indn/rin.
          + added check for terminals with parm_dch vs parm_ich.
          + added  check  for  the  case  where setf/setb are given using
            different   strings,   but   provide   identical  results  to
            setaf/setab.
          + corrected check for ich1.
          + changed  a  too-large  terminal entry from a fatal error to a
            warning.

   toe

          + ignores  any  hex/b64 $TERMINFO value in the list of terminfo
            databases.

   tset

          + replace  check  in reset command for obsolete "pt" capability
            using tbc and hts capabilities as clues
          + modify reset to allow for tabstops at intervals other than 8.
          + change   reset's   behavior   for  margins  to  simply  clear
            soft-margins  if  possible,  rather  than  clearing  and then
            setting them according to the terminal's width.

   tput

          + add "x" to getopt string so that "tput -x clear" works.

   Several  changes were made to the generated ncurses*config scripts and
   the   analogous   ".pc"   files  to  reduce  differences  between  the
   configurations they report:
     * modified the ncurse*-config and pc-files to more closely match for
       the -I and -l options.
     * filtered out linker-specs from the --libs report.
     * amended  the ncurses*-config and pc-files to take into account the
       rpath hack which differed between those files.
     * modified  generated  ncurses*config  and  ncurses.pc, ncursesw.pc,
       etc., to list helper libraries such as gpm for static linking.

    Examples

   Along  with  the  library and utilities, improvements were made to the
   ncurses-examples.  Most  of  this  activity  aimed  at  improving  the
   test-packages.  A few changes are more generally useful, e.g., for the
   main   ncurses  test-program,  and  for  analyzing  traces  using  the
   tracemunch script:
     * improve  recovery  from  error  when  reading command-character in
       test/ncurses.c, showing the relevant error message and not exiting
       on EINTR.
     * improve  tracemunch,  by keeping track of TERMINAL* values, and if
       tracing  was first turned on after initialization, attempt to show
       distinct screen, window and terminal names anyway.
     * modify tracemunch to accept filename parameters in addition to use
       as a pipe/filter.
     * update  tracemunch  to  work  with  perl 5.26.2, which changed the
       rules for escaping regular expressions.
     * add some checks in tracemunch for undefined variables.
     * modify TurnOn/TurnOff macros (in lib_vidattr.c and lib_vid_attr.c)
       to avoid expansion of "CUR" in trace.

   There are other new demo/test programs and reusable examples:

   color_content
          Demonstrate   the   color_content   and  extended_color_content
          functions.

   demo_tabs
          A simple demo of tabs in curses.

   dump_window
          A  portable  curses screen-dump, used to compare ncurses screen
          contents with Solaris.

   pair_content
          Demonstrate    the   pair_content   and   extended_pair_content
          functions.

   report_hashing
          Check hash-tables used for terminfo and termcap names.

   parse_rgb
          Sample   implementation  of  the  ncurses  RGB  extension  from
          user_caps.5, used in picsmap and savescreen programs.

   A  variety  of  improvements  were made to existing programs, both new
   features  as  well  as  options added to make the set of programs more
   consistent.
     * add  "-l"  option to test/background, to dump screen contents in a
       form that lets different curses implementations be compared.
     * add  "@"  command  to  test/ncurses F-test, to allow rapid jump to
       different character pages.
     * added enum, regex examples to test/demo_forms
     * amend  Scaled256() macro in test/picsmap.c to cover the full range
       0..1000
     * corrected  pathname used in Ada95 sample programs for explain.txt,
       to  work  with  test-packages, and used an awk script to split the
       resulting pathname when it would be too long for a single line.
     * ignore  interrupted  system-call  in  test/ncurses's command-line,
       e.g., if the terminal were resized.
     * improved  ifdef's  for  TABSIZE  variable,  to  help with AIX/HPUX
       ports.

  Terminal database

   There are several new terminal descriptions:

     alacritty,  domterm,  kitty,  mintty,  mintty-direct,  ms-terminal,
     n7900,   nsterm-build309,  nsterm-direct,  screen5,  ti703,  ti707,
     ti703-w, ti707-w vscode, vscode-direct, xterm-mono, xterm.js

   There  are  many  changes to existing terminal descriptions. Some were
   updates to several descriptions:
     * use ansi+rep in a dozen places
     * add rs1 to konsole, mlterm
     * improve several flash capabilities with trailing mandatory delays
     * drop   ich1   from   rxvt-basic,   Eterm  and  mlterm  to  improve
       compatibility with old non-curses programs
     * add/use xterm+keypad in xterm-new
     * use xterm+sl-twm for consistency, nine places
     * improve xm example in xterm+x11mouse and xterm+sm_1006.

   while  others  affected specific descriptions. These were retested, to
   take into account changes by their developers:

     terminator, st

   while  these are specific fixes based on reviewing documentation, user
   reports, or warnings from tic:

   adds200:

          + fix typo

   gnome-256color

          + base entry on "gnome", not "vte", for consistency

   interix

          + trim unnecessary setf/setb

   linux-16color

          + accommodate  Linux  console driver incompatibility introduced
            in early 2018

   nsterm-256color:

          + add nsterm-build309 to replace nsterm-256color, assigning the
            latter  as  an  alias  of  nsterm,  to  make  mouse work with
            nsterm-256color

   regent40:

          + renumber function-keys to match manual

   regent60:

          + add cd (clr_eos)
          + corrected acsc
          + add shifted function-keys

   tvi950:

          + added  function-key  definitions  to agree with Televideo 950
            manual
          + corrected acsc
          + remove bogus kf0
          + add bel

   tvi955:

          + fix typo

   vi200:

          + add acsc string, including right/down-arrow

   wy50:

          + corrected acsc

   wy50 and wy60:

          + add shifted function-keys as kF1 to kF16

   xterm+x11hilite:

          + eliminate unused p5 parameter.

   A few entries use extensions (user-defined terminal capabilities):
     * use  xterm+sm+1006  (aka  "SGR  1006  mouse") for konsole-base and
       putty
     * add Smol/Rmol user-defined capability to tmux and vte-2018
     * add Smulx user-defined capability to tmux, vte-2018

  Documentation

   As usual, this release
     * improves documentation by describing new features,
     * attempts  to  improve the description of features which users have
       found confusing
     * fills  in overlooked descriptions of features which were described
       in the NEWS file but treated sketchily in manual pages.

   In  addition  to  providing  background  information  to explain these
   features   and   show   how   they  evolved,  there  are  corrections,
   clarifications, etc.:
     * Corrections:
          + correct  error-returns  listed in manual pages for a few form
            functions
          + corrected  prototypes  in  several  manpages  using script to
            extract those in compilable form.
          + fix typo in term.5, improve explanation of format
     * Clarify in manual pages that vwprintw and vwscanw are obsolete.
       They have not been part of X/Open Curses since 2007.
     * New/improved history and portability sections:
          + curs_addch.3x gives some background for ACS symbols.
          + curs_getcchar.3x  explains  a  difference between ncurses and
            X/Open Curses.
          + curs_getstr.3x  gives  historical/portability  background for
            the length parameter of wgetnstr.
          + curs_slk.3x  lists  a few differences between SVr4 curses and
            X/Open Curses for soft-keys.
          + curs_terminfo.3x  explains that the initial implementation of
            terminfo  in  SVr2 was mostly replaced by other developers in
            SVr3.
          + infocmp.1  explains  that the initial version of terminfo had
            no  tool  for decompiling descriptions. That came later, with
            SVr3, with a different developer.
          + tabs.1 tells more than you wanted to know about the tool.
          + tic.1  explains  that  the  initial version of terminfo had a
            rudimentary  tool  (based  on termcap) for compiling entries.
            The tool used with Unix was developed by others for SVr3.
          + toe.1 explains the origin of this tool.
     * Improvements for user_caps.5:
          + mention meml, memu and box1
          + expanded description of XM
          + add a clarification regarding the RGB capability.
          + mention user_caps.5 in the tic and infocmp manual pages.
     * Other improvements:
          + curs_add_wch.3x  adds  note about Unicode terminology for the
            line-drawing characters.
          + curs_color.3x   improves  discussion  of  error  returns  and
            extensions.
          + curs_mouse.3x  explains how the kmous and XM capabilities are
            used for xterm-mouse input.
          + curs_refresh.3x  improves documentation regarding the virtual
            and physical screens.
          + curs_util.3x  mentions  a  difference between SVr4 and X/Open
            Curses for unctrl.h
          + curs_variables.3x   improves  description  of  the  init_tabs
            capability and TABSIZE variable.
          + ncurses.3x   improves  documentation  regarding  feature-test
            macros in curses.h
          + resizeterm.3x   about   top-level  windows  which  touch  the
            screen's borders.
          + tput.1 clarifies how tput determines the terminal size.

   There  are  no new manual pages (all of the manual page updates are to
   existing pages).

   Some  of  the  improvements  are  more subtle, relating to the way the
   information  is presented. For instance, the generated terminfo.5 file
   uses  a  different  table  layout,  allowing  it  to use space on wide
   terminals more effectively.

  Interesting bug-fixes

   While  there  were  many bugs fixed during development of ncurses 6.2,
   only  a  few  (the  reason  for  this release) were both important and
   interesting. Most of the bug-fixes were for local issues which did not
   affect  compatibility across releases. Since those are detailed in the
   NEWS file no elaboration is needed here.

   The  interesting  bugs  were in tic/infocmp's handling of user-defined
   capabilities.  These  were  not recent bugs. Initially it was a simple
   problem:
     * The  user-defined capabilities can be any type (boolean, number or
       string),  but  once given a type all uses of the name must conform
       to  that  type--unless  some  special  support  for  a  particular
       multi-typed name is built into ncurses.
     * One of simpleterm's contributors copied some definitions for using
       tmux's user-defined capabilities in late in 2016.

diff --git a/st.info b/st.info
@@ -185,7 +185,10 @@ st| simpleterm,
  tsl=\E]0;,
  xenl,
  vpa=\E[%i%p1%dd,
-
+# Tmux unofficial extensions, see TERMINFO EXTENSIONS in tmux(1)
+ Se,
+ Ss,
+ Tc,

 st-256color| simpleterm with 256 colors,
  use=st,

     * Later,  in (referring to a version from mid-2017), a user asked to
       have it updated in ncurses.
     * However,  it  had  an  error  from  the  change  in late 2016. The
       terminal description made what tmux expected to be string actually
       a boolean.
       Over  the  years,  there  were  problems with each of simpleterm's
       terminal  descriptions.  I  repaired those, and usually dealt with
       the problem.
     * The  difference  in this case was that when compiling the terminal
       database, tic may have in memory the definitions for more than one
       terminal  description  (so  that  it  can resolve "use=" clauses).
       Seeing   two  different  types  for  the  same  name,  in  certain
       situations  it  would  incorrectly merge the symbol tables for the
       two terminal descriptions.
     * On  simpleterm's  side,  their bug was finally fixed in late 2019,
       three years after the bug was created.

   For  ncurses,  the  elapsed  time  to fix this bug was less than three
   years.  Someone reported a problem with the terminal description a few
   weeks  after  releasing  ncurses 6.1 (in tmux #1264), and the terminal
   description was updated that week (ncurses patch 20180224):

20180224
        + modify _nc_resolve_uses2() to detect incompatible types when merging
          a "use=" clause of extended capabilities.  The problem was seen in a
          defective terminfo integrated from simpleterm sources in 20171111,
          compounded by repair in 20180121.
        + correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD

   The larger part of that change added a check to prevent a simple merge
   of  terminal  descriptions  where  the same user-defined name was used
   with different types. But it raised some questions:
     * Was  there  a  reliable  way to manage terminal descriptions which
       used the same extended name in different ways?
     * Should  ncurses  provide  a registry of well-known extended names,
       with their types?

   Since  the  correction to terminfo.src could have been readily adopted
   by  packagers,  there  was  nothing  more  to  be  done  from ncurses'
   standpoint  on that part. But improving ncurses to prevent issues like
   that is the reason for making a release.

   Nothing  more  (constructive) was mentioned with regard to simpleterm.
   But  a  few  problems  were  found  in  the  handling  of user-defined
   capabilities:
     * Forward-references to user-defined capabilities in a "use=" clause
       did  not  allocate  new  data  for  each  use.  In tic, successive
       compilation   of   terminal   entries   could   add   user-defined
       capabilities to the wrong terminal entry.
       This  was  not noticed before, since xterm's terminal descriptions
       were  the main users of the feature, and almost all of the uses of
       the building-blocks which contained user-defined capabilities were
       backward-references.
     * There  is  one  (documented)  case  where  ncurses  6.1 supports a
       user-defined  capability that could be any type (i.e., "RGB"). The
       check  added  in February 2018 to guard against mismatches did not
       handle all of the combinations needed.

   Both  of  these  issues  dated  from  the  original  implementation of
   user-defined  capabilities.  Fixing  them does not change the terminal
   database, but a older tic without the fixes will not be able to handle
   terminfo  sources  which rely upon those fixes. Starting in June 2019,
   the  download  link  for  the  terminfo source file was capped at that
   date. The development sources have an up-to-date copy of the file, for
   people with a legitimate need for it.

   The  "-c"  (check) option of tic is not very useful if it cannot offer
   advice on parameters needed for user-defined capabilities. The various
   Caps  files  were  reorganized to reduce redundancy, and in the common
   portion  (Caps-ncurses),  a  registry  of user-defined capabilities is
   provided for use by tic. While users can still define their own custom
   capabilities,  tic  will not offer any advice when their parameters do
   not match.

   In  ncurses  6.2, tic makes a special check to allow any type for RGB,
   but  its  being  able to do this relies upon fixes made in the ncurses
   library in mid-2019.

  Configuration changes

    Major changes

   There  are  no  major  changes. Several new options were added to ease
   integration  of packages with systems using different versions of GNAT
   and ncurses. Also, improvements were made to configure checks.

    Configuration options

   There are a few new/modified configure options:

   --with-config-suffix
          helps  work  around  a  filename  conflict with Debian packages
          versus test-packages.

   --with-ada-libname
          allows  one  to  rename  the  "AdaCurses" library (at least one
          packager prefers a lowercase name).

   --with-fallbacks
          now ensures there is a value, and adds the fallback information
          to top-level Makefile summary.

   --with-pcre2
          check for pcre-posix library to help with MinGW port.

   --with-tic-path and

   --with-infocmp-path
          help  work  around  problems  building  fallback  source  using
          pre-6.0 tic/infocmp.

   --with-versioned-syms
          option value can now be a relative pathname.

  Portability

   Many  of  the  portability  changes  are implemented via the configure
   script:
     * ignore $TERMINFO as a default value in configure script if it came
       from the infocmp -Q option.
     * distinguish  gcc  from  icc  and  clang when the --enable-warnings
       option   is   not   used,  to  avoid  unnecessary  warnings  about
       unrecognized inline options
     * consistently  prepend  new  libraries  as  they  are  found during
       configuration,  rather  than  relying  upon  the linker to resolve
       order dependencies of libraries.
     * modified  configure  scripts  to  reduce  relinking/ranlib  during
       library install :
          + use  "install -p" when available, to avoid need for ranlib of
            static libraries.
          + scripts which use "--disable-relink;" add a 1-second sleep to
            work around tools which use whole-second timestamps, e.g., in
            utime rather than the actual file system resolution.
     * add configure check for getenv to work around implementation shown
       in  Emscripten  which overwrites the previous return value on each
       call.
       Use  that  to optionally suppress START_TRACE macro, whose call to
       getenv may not work properly
     * change  target configure level for _XOPEN_SOURCE to 600 to address
       use of vsscanf and setenv.
     * reduce  use of _GNU_SOURCE for current glibc where _DEFAULT_SOURCE
       combines with _XOPEN_SOURCE
       Allow  for  Cygwin's  newlib when checking for the _DEFAULT_SOURCE
       symbol.
       MidnightBSD   is   now   checked   for  the  _XOPEN_SOURCE-related
       definitions.
     * If the check for va_copy or __va_copy fails,
          + configure  now  tries copying the pointers for va_list, or as
            an array.
          + alternatively, it checks for __builtin_va_copy(), which could
            be used with AIX xlc in c89 mode.
     * several changes to support a port to Ultrix 3.1:
          + check if "b" binary feature of fopen works
          + check for missing feature of locale.h
          + add fallback for strstr() in test-programs
          + add fallback for STDOUT_FILENO in test-programs
     * The test/configure script (used for ncurses-examples) is improved:
          + work around non-ncurses termcap.h file, e.g., in Slackware.
          + check for TABSIZE variable.
          + checks  for  the  X11/Intrinsic.h  header, accommodate recent
            MacOS changes which largely emptied /usr/include.

   Here are some of the other portability fixes:
     * added  dummy  "check"  rule  in  top-level  and  test-Makefile  to
       simplify building test-packages for ArchLinux.
     * dropped   library-dependency   on  psapi  for  MinGW  port,  since
       win_driver.c   defines   PSAPI_VERSION   to   2,   making  it  use
       GetProcessImageFileName from kernel32.dll
     * made  build-fixes  for  configuration  using --program-suffix with
       Ada95,  noticed  with  MacOS  but  applicable  to  other platforms
       without libpanelw, etc.
     * modified  ncurses/Makefile.in  to  fix a case where Debian/testing
       changes to the ld --as-needed configuration broke ncurses-examples
       test packages.
     * used   _WIN32/_WIN64   in  preference  to  __MINGW32__/__MINGW64__
       symbols  to simplify building with Microsoft Visual C++, since the
       former are defined in both compiler configurations.
     _________________________________________________________________

Features of ncurses

   The  ncurses  package  is  fully upward-compatible with SVr4 (System V
   Release 4) curses:
     * All of the SVr4 calls have been implemented (and are documented).
     * ncurses  supports  all  of  the for SVr4 curses features including
       keyboard  mapping,  color,  forms-drawing with ACS characters, and
       automatic recognition of keypad and function keys.
     * ncurses  provides  these SVr4 add-on libraries (not part of X/Open
       Curses):
          + the  panels  library,  supporting  a  stack  of  windows with
            backing store.
          + the   menus   library,  supporting  a  uniform  but  flexible
            interface for menu programming.
          + the   form   library,   supporting  data  collection  through
            on-screen forms.
     * ncurses's  terminal database is fully compatible with that used by
       SVr4 curses.
          + ncurses  supports user-defined capabilities which it can see,
            but  which are hidden from SVr4 curses applications using the
            same terminal database.
          + It  can  be optionally configured to match the format used in
            related systems such as AIX and Tru64.
          + Alternatively,  ncurses  can  be  configured  to  use  hashed
            databases  rather  than  the  directory of files used by SVr4
            curses.
     * The ncurses utilities have options to allow you to filter terminfo
       entries for use with less capable curses/terminfo versions such as
       the HP/UX and AIX ports.

   The ncurses package also has many useful extensions over SVr4:
     * The  API  is 8-bit clean and base-level conformant with the X/OPEN
       curses  specification, XSI curses (that is, it implements all BASE
       level  features,  and  most  EXTENDED  features). It includes many
       function calls not supported under SVr4 curses (but portability of
       all calls is documented so you can use the SVr4 subset only).
     * Unlike  SVr3 curses, ncurses can write to the rightmost-bottommost
       corner  of  the  screen  if  your terminal has an insert-character
       capability.
     * Ada95 and C++ bindings.
     * Support  for mouse event reporting with X Window xterm and FreeBSD
       and OS/2 console windows.
     * Extended mouse support via Alessandro Rubini's gpm package.
     * The  function  wresize  allows  you  to resize windows, preserving
       their data.
     * The  function  use_default_colors allows you to use the terminal's
       default colors for the default color pair, achieving the effect of
       transparent colors.
     * The functions keyok and define_key allow you to better control the
       use of function keys, e.g., disabling the ncurses KEY_MOUSE, or by
       defining  more  than  one  control  sequence to map to a given key
       code.
     * Support for 256-color terminals, such as modern xterm.
     * Support for 16-color terminals, such as aixterm and modern xterm.
     * Better  cursor-movement  optimization.  The package now features a
       cursor-local-movement computation more efficient than either BSD's
       or System V's.
     * Super   hardware   scrolling   support.   The  screen-update  code
       incorporates  a novel, simple, and cheap algorithm that enables it
       to  make  optimal  use  of hardware scrolling, line-insertion, and
       line-deletion  for  screen-line  movements. This algorithm is more
       powerful than the 4.4BSD curses quickch routine.
     * Real  support  for  terminals  with  the  magic-cookie glitch. The
       screen-update  code  will  refrain from drawing a highlight if the
       magic-   cookie  unattributed  spaces  required  just  before  the
       beginning  and  after the end would step on a non-space character.
       It  will  automatically  shift  highlight boundaries when doing so
       would  make it possible to draw the highlight without changing the
       visual appearance of the screen.
     * It  is  possible to generate the library with a list of pre-loaded
       fallback  entries linked to it so that it can serve those terminal
       types  even  when  no  terminfo tree or termcap file is accessible
       (this  may  be useful for support of screen-oriented programs that
       must run in single-user mode).
     * The tic/captoinfo utility provided with ncurses has the ability to
       translate  many  termcaps  from  the XENIX, IBM and AT&T extension
       sets.
     * A BSD-like tset utility is provided.
     * The ncurses library and utilities will automatically read terminfo
       entries  from  $HOME/.terminfo  if  it exists, and compile to that
       directory  if  it  exists  and the user has no write access to the
       system  directory.  This feature makes it easier for users to have
       personal  terminfo  entries without giving up access to the system
       terminfo directory.
     * You  may  specify  a  path  of  directories to search for compiled
       descriptions  with  the  environment  variable TERMINFO_DIRS (this
       generalizes  the  feature  provided by TERMINFO under stock System
       V.)
     * In  terminfo  source files, use capabilities may refer not just to
       other entries in the same source file (as in System V) but also to
       compiled  entries  in  either the system terminfo directory or the
       user's $HOME/.terminfo directory.
     * The  table-of-entries  utility  toe makes it easy for users to see
       exactly what terminal types are available on the system.
     * The library meets the XSI requirement that every macro entry point
       have  a  corresponding  function  which may be linked (and will be
       prototype-checked)  if  the  macro  definition  is  disabled  with
       #undef.
     * Extensive  documentation  is  provided (see the Additional Reading
       section of the ncurses FAQ for online documentation).

Applications using ncurses

   The  ncurses  distribution  includes  a  selection  of  test  programs
   (including   a   few   games).   These  are  available  separately  as
   ncurses-examples

   The   ncurses   library  has  been  tested  with  a  wide  variety  of
   applications including:

   aptitude
          FrontEnd to Apt, the debian package manager

          https://wiki.debian.org/Aptitude

   cdk
          Curses Development Kit

          https://invisible-island.net/cdk/

   ded
          directory-editor

          https://invisible-island.net/ded/

   dialog
          the  underlying  application used in Slackware's setup, and the
          basis   for  similar  install/configure  applications  on  many
          systems.

          https://invisible-island.net/dialog/

   lynx
          the text WWW browser

          https://lynx.invisible-island.net/

   mutt
          mail utility

          http://www.mutt.org/

   ncftp
          file-transfer utility

          https://www.ncftp.com/

   nvi
          New vi uses ncurses.

          https://sites.google.com/a/bostic.com/keithbostic/vi

   ranger
          A console file manager with VI key bindings in Python.

          https://ranger.github.io/

   tin
          newsreader, supporting color, MIME

          http://www.tin.org/

   vifm
          File manager with vi like keybindings

          https://vifm.info/

   as well as some that use ncurses for the terminfo support alone:

   minicom
          terminal emulator for serial modem connections

          https://alioth.debian.org/projects/minicom/

   mosh
          a replacement for ssh.

          https://mosh.mit.edu/

   tack
          terminfo action checker

          https://invisible-island.net/ncurses/tack.html

   tmux
          terminal multiplexor

          https://github.com/tmux/tmux/wiki

   vile
          vi-like-emacs  may  be  built  to  use the terminfo, termcap or
          curses interfaces.

          https://invisible-island.net/vile/

   and finally, those which use only the termcap interface:

   emacs
          text editor

          https://www.gnu.org/software/emacs/

   less
          The  most  commonly  used  pager  (a program that displays text
          files).

          http://www.greenwoodsoftware.com/less/

   screen
          terminal multiplexor

          https://www.gnu.org/software/screen/

   vim
          text editor

          https://www.vim.org/

Development activities

   Zeyd  Ben-Halim  started  ncurses  from  a  previous  package pcurses,
   written  by  Pavel  Curtis.  Eric  S.  Raymond  continued development.
   Juergen Pfeifer wrote most of the form and menu libraries.

   Ongoing development work is done by Thomas E. Dickey. Thomas E. Dickey
   has  acted  as  the maintainer for the Free Software Foundation, which
   holds  a  copyright on ncurses for releases 4.2 through 6.1. Following
   the release of ncurses 6.1, effective as of release 6.2, copyright for
   ncurses  reverted  to  Thomas  E.  Dickey  (see  the  ncurses  FAQ for
   additional information).

   Contact the current maintainers at

     bug-ncurses@gnu.org

   To join the ncurses mailing list, please write email to

     bug-ncurses-request@gnu.org

   containing the line:

     subscribe <name>@<host.domain>

   This list is open to anyone interested in helping with the development
   and testing of this package.

   Beta versions of ncurses are made available at

     ftp://ftp.invisible-island.net/ncurses/current/ and
     https://invisible-mirror.net/archives/ncurses/current/ .

   Patches to the current release are made available at

     ftp://ftp.invisible-island.net/ncurses/6.1/ and
     https://invisible-mirror.net/archives/ncurses/6.1/ .

   There is an archive of the mailing list here:

     http://lists.gnu.org/archive/html/bug-ncurses (also https)

Related resources

   The  release notes make scattered references to these pages, which may
   be interesting by themselves:
     * ncurses licensing
     * Symbol versioning in ncurses
     * Comments on ncurses versus slang (S-Lang)
     * tack - terminfo action checker
     * tctest - termcap library checker
     * Terminal Database

Other resources

   The  distribution  provides  a  newer  version  of the terminfo-format
   terminal description file once maintained by Eric Raymond . Unlike the
   older  version, the termcap and terminfo data are provided in the same
   file, which also provides several user-definable extensions beyond the
   X/Open specification.

   You  can  find  lots  of  information  on  terminal-related topics not
   covered  in  the  terminfo  file  at  Richard  Shuford's archive . The
   collection of computer manuals at bitsavers.org has also been useful.

     * Overview
     * Release Notes
          + Library improvements
               o New features
               o Other improvements
          + Program improvements
               o Utilities
               o Examples
          + Terminal database
          + Documentation
          + Interesting bug-fixes
          + Configuration changes
               o Major changes
               o Configuration options
          + Portability
     * Features of ncurses
     * Applications using ncurses
     * Development activities
     * Related resources
     * Other resources