forked from ThomasDickey/ncurses-snapshots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
announce.html.in
1754 lines (1395 loc) · 52.1 KB
/
announce.html.in
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
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
$Id: announce.html.in,v 1.108 2024/06/22 22:17:40 tom Exp $
****************************************************************************
* Copyright 2018-2023,2024 Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* "Software"), to deal in the Software without restriction, including *
* without limitation the rights to use, copy, modify, merge, publish, *
* distribute, distribute with modifications, sublicense, and/or sell *
* copies of the Software, and to permit persons to whom the Software is *
* furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included *
* in all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.6.0">
<title>Announcing ncurses @VERSION@</title>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<style type="text/css">
p,li { max-width:700px; }
dd { max-width:630px; }
*.main-name {
font-style: italic;
font-variant: small-caps;
}
*.part-name {
font-family: "Andale Mono", "Monotype.com", monospace;
font-size: 12pt;
font-weight: bold;
}
*.demo-name {
font-family: "Andale Mono", "Monotype.com", monospace;
font-size: 10pt;
}
</style>
</head>
<body>
<h1 class="no-header">Announcing ncurses @VERSION@</h1>
<h2><a name="h2-overview" id="h2-overview">Overview</a></h2>
<p>The <span class="main-name">ncurses</span> (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.</p>
<p>In mid-June 1995, the maintainer of 4.4BSD curses declared
that he considered 4.4BSD curses obsolete, and encouraged the
keepers of <span class="main-name">unix</span> releases such as
BSD/OS, FreeBSD and NetBSD to switch over to <span class=
"main-name">ncurses</span>.</p>
<p>Since 1995, <span class="main-name">ncurses</span> has been
ported to many systems:</p>
<ul>
<li>It is used in almost every system based on the Linux kernel
(aside from some embedded applications).</li>
<li>It is used as the system curses library on OpenBSD, FreeBSD
and MacOS.</li>
<li>It is used in environments such as Cygwin and MinGW. The
first of these was EMX on OS/2 Warp.</li>
<li>It is used (though usually not as the <em>system</em>
curses) on all of the vendor <span class=
"main-name">unix</span> systems, e.g., AIX, HP-UX, IRIX64, SCO,
Solaris, Tru64.</li>
<li>It should work readily on any ANSI/POSIX-conforming
<span class="main-name">unix</span>.</li>
</ul>
<p>The distribution includes the library and support utilities,
including</p>
<ul>
<li><a href="@HOMEPAGE@/man/captoinfo.1m.html"><span class=
"part-name">captoinfo</span></a>, a termcap conversion
tool</li>
<li><a href="@HOMEPAGE@/man/clear.1.html"><span class=
"part-name">clear</span></a>, utility for clearing the
screen</li>
<li><a href="@HOMEPAGE@/man/infocmp.1m.html"><span class=
"part-name">infocmp</span></a>, the terminfo decompiler</li>
<li><a href="@HOMEPAGE@/man/tabs.1.html"><span class=
"part-name">tabs</span></a>, set tabs on a terminal</li>
<li><a href="@HOMEPAGE@/man/tic.1m.html"><span class=
"part-name">tic</span></a>, the terminfo compiler</li>
<li><a href="@HOMEPAGE@/man/toe.1m.html"><span class=
"part-name">toe</span></a>, list (table of) terminfo
entries</li>
<li><a href="@HOMEPAGE@/man/tput.1.html"><span class=
"part-name">tput</span></a>, utility for retrieving terminal
capabilities in shell scripts</li>
<li><a href="@HOMEPAGE@/man/tset.1.html"><span class=
"part-name">tset</span></a>, to initialize the terminal</li>
</ul>
<p>Full manual pages are provided for the library and tools.</p>
<p>The <span class="main-name">ncurses</span> distribution is
available at <span class="main-name">ncurses</span>' <a href=
"@HOMEPAGE@/">homepage</a>:</p>
<blockquote>
<p><a href=
"https://invisible-island.net/archives/ncurses/">https://invisible-island.net/archives/ncurses/</a>
or<br>
<a href=
"https://invisible-mirror.net/archives/ncurses/">https://invisible-mirror.net/archives/ncurses/</a> .</p>
</blockquote>
<p>It is also available at the GNU distribution site</p>
<blockquote>
<p><a href=
"https://ftp.gnu.org/gnu/ncurses/">https://ftp.gnu.org/gnu/ncurses/</a> .</p>
</blockquote>
<h2><a name="h2-release-notes" id="h2-release-notes">Release
Notes</a></h2>
<p>These notes are for <span class="main-name">ncurses</span>
@VERSION@, released <strong>April 27, 2024</strong>.</p>
<p>This release is designed to be source-compatible with
<span class="main-name">ncurses</span> 5.0 through 6.4; providing
extensions to the application binary interface (ABI). Although
the source can still be configured to support the <span class=
"main-name">ncurses</span> 5 ABI, the reason for the release is
to reflect improvements to the <span class=
"main-name">ncurses</span> 6 ABI and the supporting utility
programs.</p>
<p>There are, of course, numerous other improvements, listed in
this announcement.</p>
<p>The most <a href="#h3-bug-fixes">important
bug-fixes/improvements</a> dealt with robustness issues. The
release notes also mention some other bug-fixes, but are focused
on new features and improvements to existing features since
<span class="main-name">ncurses</span> 6.4 release.</p>
<h3><a name="h3-library" id="h3-library">Library improvements</a></h3>
<h4><a name="h4-new-library" id="h4-new-library">New features</a></h4>
<p>These are new features:</p>
<ul>
<li>
<p>The low-level terminfo and termcap interfaces are used
both by the higher-level curses library, as well as by many
applications.</p>
<p>The functions which convert parameterized terminal
capability strings for output to the terminal
(<code>tiparm</code> and <code>tparm</code>) analyze the
capability string to determine which parameters are strings
(i.e., addresses), versus numbers (not addresses).</p>
<p>The library's analysis of a capability string may differ
from the calling application's design if environment
variables are used to point to an invalid terminal database.
This is a longstanding problem with <em>all</em>
implementations of terminfo, dating from the early 1980s.</p>
<p>Two new functions address this problem: by providing a
function which allows the calling application to tell ncurses
how many string-parameters to expect:</p>
<ul>
<li><code>tiscan_s</code> helps applications check
formatting capabilities that would be passed to
<code>tiparm_s</code>.</li>
<li><code>tiparm_s</code> provides applications a way to
tell ncurses what the expected parameters are for a
capability.</li>
</ul>
</li>
<li>
<p>The ncurses library supports a compile-time feature
(enabled with the configure <code>--enable-check-size</code>
option) which simplifies initialization with terminals which
do not negotiate window (screen) size. This is done in
<code>setupterm</code>, by providing for using ANSI
cursor-position report (in user6/user7 terminfo capabilities)
to obtain the screen size if neither environment variables or
ioctl is used.</p>
<p>The ncurses test-program with options
“<code>-E -T</code>” demonstrates this
feature.</p>
</li>
<li>add functions to query tty-flags in
<code>SCREEN</code></li>
</ul>
<p>This release drops compatibility with obsolete versions of
<a href="@HOMEPAGE@/tack/">tack</a>, e.g., pre-1.08</p>
<h4><a name="h4-fixes-library" id="h4-fixes-library">Other
improvements</a></h4>
<p>These are improvements to existing features:</p>
<ul>
<li>
<p>In addition to the new, safer function
<code>tiparm_s</code>, ncurses adds checks to make the older
<code>tiparm</code>, <code>tparm</code> and
<code>tgoto</code> functions safer:</p>
<ul>
<li>
<p>the terminfo functions <code>tiparm</code> and
<code>tparm</code> ensure that the capability string
comes from the terminal description which ncurses loads,
rather than from random data which the application
happens to have.</p>
</li>
<li>
<p>the <code>tgoto</code> function disallows capabilities
which its analysis shows will attempt to use string
parameters.</p>
</li>
<li>
<p>ncurses uses internal functions which correspond to
<code>tiparm</code>, and <code>tgoto</code> which ensure
that the capability strings which are passed to these
functions come from the loaded terminal description.</p>
</li>
</ul>
</li>
<li>
<p>improve check in <code>lib_tparm.c</code>, ensuring that a
char* fits into a <code>TPARM_ARG</code></p>
</li>
<li>
<p>modify <code>_nc_syserr_abort</code> to use
<code>_nc_env_access</code>, rather than only checking root
uid</p>
</li>
<li>
<p>improve thread lock in <code>lib_trace.c</code></p>
</li>
<li>
<p>modify <code>flushinp</code> to use file descriptors in
<code>SCREEN</code>, rather than from <code>TERMINAL</code>,
and check if they are for a terminal, like SVr4</p>
</li>
<li>
<p>modify <code>mcprint</code> to use file descriptor in
<code>SCREEN</code>, for consistency</p>
</li>
<li>
<p>modify internal function <code>_nc_read_file_entry</code>
to show relevant filename in warnings</p>
</li>
<li>
<p>improve checks in internal function
<code>convert_string</code> for corrupt terminfo entry</p>
</li>
<li>
<p>review/improve handling of out-of-memory conditions</p>
</li>
<li>
<p>limit delays to 30 seconds, i.e., padding delays in
terminfo, as well as <code>napms</code> and
<code>delay_output</code> functions</p>
</li>
<li>
<p>fix reallocation loop for <code>vsnprintf</code> in
<code>_nc_sprintf_string</code> by copying the va_list
variable</p>
</li>
<li>
<p>modify <code>delscreen</code> to delete only windows associated
with the screen</p>
</li>
<li>
<p>modify <code>endwin</code> to return an error if it is
called again without an intervening screen update</p>
</li>
<li>
<p>modify <code>wenclose</code> to handle pads</p>
</li>
<li>
<p>eliminate use of <code>PATH_MAX</code> in
<code>lib_trace.c</code></p>
</li>
<li>
<p>provide for any <code>CCHARW_MAX</code> greater than 1</p>
</li>
</ul>
<p>These are corrections to existing features:</p>
<ul>
<li>
<p>correct loop termination condition in
<code>waddnstr</code> and <code>waddnwstr</code></p>
</li>
<li>
<p>improve parsing in internal function
<code>_nc_msec_cost</code>, allowing a single decimal
point</p>
</li>
<li>
<p>amend parameter check for entire string versus specific
length in <code>winsnstr</code> and <code>wins_nwstr</code>
to match Solaris; make similar correction to
<code>wins_nwstr</code></p>
</li>
<li>
<p>correct internal function <code>wadd_wch_literal</code>
when adding a non-spacing character to a double-width
character</p>
</li>
<li>
<p>correct definition of <code>Charable</code> macro for
non-wide ncurses library .</p>
</li>
</ul>
<h3><a name="h3-programs" id="h3-programs">Program
improvements</a></h3>
<p id="h4-utilities">Several improvements were made to the
utility programs. Some were done to make the <code>infocmp</code>
option “<tt>-u</tt>” option help refactor the
terminal database.</p>
<dl>
<dt><span class="part-name"><a href=
"@HOMEPAGE@/man/infocmp.1m.html">infocmp</a></span>
</dt>
<dd>
<ul>
<li>
<p>add limit checks for processing extended capabilities
with the “<code>-u</code>” option</p>
</li>
<li>
<p>correct initial alignment of extended capabilities, so
that the “<code>-u</code>” option can be used
for more than two terminal types</p>
</li>
<li>
<p>modify “<code>-u</code>” option to not
report cancels for strings which were already cancelled
in a use'd chunk.</p>
</li>
<li>
<p>correct an assignment “<code>-u</code>”
for detecting if a boolean is unset in a base entry and
set in a use'd chunk, i.e., if it was cancelled.</p>
</li>
</ul>
</dd>
<dt><span class="part-name"><a href=
"@HOMEPAGE@/man/tic.1m.html">tic</a></span>
</dt>
<dd>
<ul>
<li>
<p>correct limit-check when dumping tc/use clause via
“<code>-I</code>”</p>
</li>
<li>
<p>check return value of <code>_nc_save_str</code>, in
special case where extended capabilities are processed
but the terminal description was not initialized</p>
</li>
<li>
<p>modify check for multiply defined aliases to report
problems within the current runtime rather than for
conflicts with pre-existing terminal descriptions.</p>
</li>
<li>
<p>disallow using <code>$TERMINFO</code> or
<code>$HOME/.terminfo</code> when
“<code>-o</code>” option is used</p>
</li>
</ul>
</dd>
<dt><span class="part-name"><a href=
"@HOMEPAGE@/man/tput.1.html">tput</a></span> and <span class=
"part-name"><a href=
"@HOMEPAGE@/man/tset.1.html">tset</a></span></dt>
<dd>
<ul>
<li>
<p>add “<code>-v</code>” option to tput, to
show warnings</p>
</li>
<li>
<p>modify <em>reset</em> command to avoid altering clocal
if the terminal uses a modem</p>
</li>
<li>
<p>modify <em>reset</em> feature to avoid 1-second sleep
if running in a pseudo-terminal</p>
</li>
</ul>
</dd>
</dl>
<h4><a name="h4-examples" id="h4-examples">Examples</a></h4>
<p>Along with the library and utilities, improvements were made
to the <a href=
"@HOMEPAGE@/ncurses-examples.html">ncurses-examples</a>:</p>
<ul>
<li>
<p>modify <code>test_tparm</code> to account for extended
capabilities</p>
</li>
<li>
<p>corrected mouse mask in <code>test/testcurs.c</code></p>
</li>
<li>
<p>modify <code>test/clip_printw.c</code> to optionally test
non-wrapped updates</p>
</li>
<li>
<p>modify <code>test/test_mouse.c</code> to use curses api
for raw/noraw</p>
</li>
<li>
<p>modify <code>test/clip_printw.c</code> to optionally test
non-wrapped updates</p>
</li>
</ul>
<p>There is one new demo/test programs:</p>
<dl>
<dt><span class="part-name"><em>test/test_endwin.c</em></span>
</dt>
<dd>
<p>This program shows the return-status from
<code>endwin</code> with different combinations of
<code>endwin</code> (repeated), <code>initscr</code>,
<code>newterm</code>.</p>
</dd>
</dl>
<h3><a name="h3-database" id="h3-database">Terminal database</a></h3>
<p>There are several new terminal descriptions:</p>
<ul>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-ansi_apparrows"><tt>ansi+apparrows</tt></a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-contour"><tt>contour</tt></a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-linux_kbs"><tt>linux+kbs</tt></a>
for terminals which imitate xterm's behavior with Linux</p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-rio"><tt>rio</tt></a>,
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-rio-direct"><tt>rio-direct</tt></a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-mostlike"><tt>mostlike</tt></a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-ms-vt100-16color"><tt>ms-vt100-16color</tt></a>,
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-winconsole"><tt>winconsole</tt></a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-vt100_noapp"><tt>vt100+noapp</tt></a>,
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-vt100_noapp_pc"><tt>vt100+noapp+pc</tt></a>,
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-xterm_app_pc"><tt>xterm+app+pc</tt></a>,
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-xterm_decedit"><tt>xterm+decedit</tt></a>
from <a href="@WEBSITE@/xterm/xterm.log.html#xterm_389">xterm
#389</a></p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-putty_cursor"><tt>putty+cursor</tt></a>
to reflect amending of modified cursor-keys in 2021</p>
</li>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#tic-wezterm"><tt>wezterm</tt></a></p>
</li>
</ul>
<p>There are many changes to existing terminal descriptions. Some
were updates to several descriptions, using the
<code>infocmp</code> “<code>-u</code>” option in a
script to determine which <em>building-block</em> entries could
be used to replace multiple capability settings (and trim
redundant information).</p>
<p>Other changes include:</p>
<ul>
<li>
<p><a href=
"@HOMEPAGE@/terminfo.src.html#toc-_X_T_E_R_M__Extensions_">document</a>
XF, kxIN and kxOUT</p>
</li>
<li>
<p>add note on <a href=
"@HOMEPAGE@/terminfo.src.html#tic-sun"><tt>sun</tt></a>
regarding wscons/cmdtool/shelltool</p>
</li>
<li>
<p>remove DECCOLM+DECSCLM from <a href=
"@HOMEPAGE@/terminfo.src.html#tic-foot"><tt>foot</tt></a></p>
</li>
<li>
<p>add xterm+focus to <a href=
"@HOMEPAGE@/terminfo.src.html#tic-foot_base"><tt>foot+base</tt></a></p>
</li>
<li>
<p>add ecma+strikeout to <a href=
"@HOMEPAGE@/terminfo.src.html#tic-putty"><tt>putty</tt></a></p>
</li>
<li>
<p>use CSI 3J in <a href=
"@HOMEPAGE@/terminfo.src.html#tic-vte-2017"><tt>vte-2017</tt></a></p>
</li>
<li>
<p>use oldxterm+sm+1006 in <a href=
"@HOMEPAGE@/terminfo.src.html#tic-vte-2014"><tt>vte-2014</tt></a></p>
</li>
<li>
<p>modify <a href=
"@HOMEPAGE@/terminfo.src.html#tic-xgterm"><tt>xgterm</tt></a>
to work around line-drawing bug</p>
</li>
<li>
<p>add xterm focus mode 1004 to <a href=
"@HOMEPAGE@/terminfo.src.html#tic-xterm_focus"><tt>xterm+focus</tt></a>
as fe/fd capabilities, like vim.</p>
</li>
<li>
<p>add xterm+focus to <a href=
"@HOMEPAGE@/terminfo.src.html#tic-alacritty_common"><tt>alacritty+common</tt></a></p>
</li>
<li>
<p>add XR/xr, to work with vim, and use RV/rv to denote DA2
and its response</p>
</li>
<li>
<p>add XF flag to <a href=
"@HOMEPAGE@/terminfo.src.html#tic-xterm_focus"><tt>xterm+focus</tt></a>
so that termcap applications can be aware of terminals which
may support focus in/out</p>
</li>
<li>
<p>use xterm+focus in <a href=
"@HOMEPAGE@/terminfo.src.html#tic-xterm-p370"><tt>xterm-p370</tt></a>
and <a href=
"@HOMEPAGE@/terminfo.src.html#tic-tmux"><tt>tmux</tt></a></p>
</li>
<li>
<p>remove xterm+sm+1006 from <a href=
"@HOMEPAGE@/terminfo.src.html#tic-tmux"><tt>tmux</tt></a></p>
</li>
<li>
<p>NetBSD-related fixes for <a href=
"@HOMEPAGE@/terminfo.src.html#tic-x68k"><tt>x68k</tt></a> and
<a href=
"@HOMEPAGE@/terminfo.src.html#tic-wsvt25"><tt>wsvt25</tt></a></p>
</li>
</ul>
<h3><a name="h3-documentation" id=
"h3-documentation">Documentation</a></h3>
<p>As usual, this release</p>
<ul>
<li>
<p>improves documentation by describing new features,</p>
</li>
<li>
<p>attempts to improve the description of features which
users have found confusing</p>
</li>
<li>
<p>fills in overlooked descriptions of features which were
described in the <a href="@HOMEPAGE@/NEWS.html">NEWS</a> file
but treated sketchily in manual pages.</p>
</li>
</ul>
<p>In addition to providing background information to explain
these features and show how they evolved, there are corrections,
clarifications, etc.:</p>
<ul>
<li>
<p>Corrections:</p>
<ul>
<li>
<p>add assignment in <code>CF_MAN_PAGES</code> to fill in
value for <code>TERMINFO_DIRS</code> in ncurses, terminfo
and tic manpages.</p>
</li>
<li>
<p>clarify interaction of <code>-R</code> option versus
<code>-C</code>, <code>-I</code> and <code>-r</code> in
<code>infocmp</code> manpage.</p>
</li>
<li>
<p>correct manpage description of panel_hidden.</p>
</li>
<li>
<p>improve manpage description for addch versus unctrl
format used for non-printable characters.</p>
</li>
<li>
<p>improve manpages discussing file descriptors in
low-level functions.</p>
</li>
<li>
<p>improve description of search rules for terminal
descriptions in terminfo manpage.</p>
</li>
<li>
<p>modify dist.mk to avoid passing developer's comments
in manpages into the generated html documentation.</p>
</li>
<li>
<p>modify test-package "ncurses6-doc" to use
manpage-aliases, which in turn required a change to the
configure script to factor in the extra-suffix option
when deriving alias names.</p>
</li>
</ul>
</li>
<li>
<p>New/improved history and portability sections:</p>
<ul>
<li>
<p>add information about "ttycap", termcap's forerunner,
to tset.1</p>
</li>
<li>
<p>document limitations of tparm, and error-returns in
curs_terminfo.3x</p>
</li>
<li>
<p>document limitations of tgoto, and error-returns in
curs_termcap.3x</p>
</li>
</ul>
</li>
<li>
<p>Other improvements:</p>
<ul>
<li>
<p>This release has many changes to improve the
formatting and style of the manpages.</p>
</li>
<li>
<p>Manpages now use consistent section-naming, page
headers and footers (including the modification date for
each page).</p>
</li>
<li>
<p>Table layout has been revised.</p>
</li>
</ul>
</li>
</ul>
<p>There are no new manual pages (all of the manual page updates
are to existing pages).</p>
<h3><a name="h3-bug-fixes" id="h3-bug-fixes">Interesting
bug-fixes</a></h3>
<p>The changes to <tt>tparm</tt>, <tt>tgoto</tt> which improve
the design of the low-level interfaces are <em>interesting</em>,
but are not bug-fixes <em>per se</em>.</p>
<h3><a name="h3-config-config" id=
"h3-config-config">Configuration changes</a></h3>
<h4><a name="h4-config-major" id="h4-config-major">Major
changes</a></h4>
<p>These are the major changes (aside from introducing <a href=
"#h4-new-library"><tt>tiparm_s</tt></a>):</p>
<ul>
<li>
<p>use wide-character (ncursesw) by default</p>
</li>
<li>
<p>use opaque typedefs by default</p>
</li>
</ul>
<p>However, most of the work on configure scripts was done to
reduce warnings within the configure script:</p>
<ul>
<li>
<p>intrusive warnings from GNU grep regarding fgrep and
egrep</p>
</li>
<li>
<p>fatal errors in compile-checks, arising from recent
“Modern C” efforts by some developers which
caused longstanding configure checks to fail.</p>
<p>After repairing the configure script, none of that
activity affected ncurses because stricter warnings are used
routinely in development.</p>
</li>
</ul>
<p>Other improvements made to configure checks include</p>
<ul>
<li>
<p>use <a href=
"@HOMEPAGE@/INSTALL.html#option:enable-string-hacks">string-hacks</a>
in alloc_entry.c, alloc_type.c and hardscroll.c, overlooked
due to compiler changes in recent OpenBSD releases</p>
</li>
<li>
<p>revise progs.priv.h to provide for NC_ISATTY reuse</p>
</li>
<li>
<p>configure check for MB_LEN_MAX provides warning as
needed</p>
</li>
<li>
<p>trim a space after some "-R" options, fixing builds for
applications built using clang and ncurses on Solaris</p>
</li>
<li>
<p>work around misconfiguration of MacPorts gcc13, which
exposes invalid definition of <tt>MB_LEN_MAX</tt> in gcc's
fallback copy of <tt>limits.h</tt></p>
</li>
<li>
<p>modified experimental Windows driver works with xterm
mouse protocol</p>
</li>
</ul>
<h4><a name="h4-config-options" id=
"h4-config-options">Configuration options</a></h4>
<p>There are a few new configure options:</p>
<dl>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:disable-setuid-environ"><tt>--disable-setuid-environ</tt></a>
</dt>
<dd>
<p>Compile with environment restriction, so certain
environment variables are not available when running via a
setuid/setgid application. These are (for example
<tt>$TERMINFO</tt>) those that allow the search path for the
terminfo or termcap entry to be customized.</p>
<p>A setuid/setgid application inherits its environment
variables from the current user, in contrast to sudo which
may limit the environment variables that ncurses uses.</p>
</dd>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:enable-check-size"><tt>--enable-check-size</tt></a>
</dt>
<dd>
<p>Compile-in feature to detect screensize for terminals
which do not advertise their screensize, e.g., serial
terminals.</p>
</dd>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:with-abi-altered"><tt>--with-abi-altered=<em>NUM</em></tt></a>
</dt>
<dd>
<p>Override the displayed (rather than compiled-in) ABI. Only
packagers who have created configurations where the ABI
differs from ncurses should be interested in this option.</p>
</dd>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:with-strip-program"><tt>--with-strip-program=<em>XXX</em></tt></a>
</dt>
<dd>
<p>When stripping executables during install, use the
specified program rather than “strip” overriding
program chosen by the install program for stripping
executables.</p>
</dd>
</dl>
<p>These configure options are modified:</p>
<dl>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:with-pkg-config-libdir"><tt>--with-pkg-config-libdir[=<em>DIR</em>]</tt></a>
</dt>
<dd>
<p>The optional <em>DIR</em> parameter can now be
“auto” to automatically use pkg-config's library
directory.</p>
<p>The default is <tt>$(libdir)</tt>.</p>
</dd>
<dt><a href=
"@HOMEPAGE@/INSTALL.html#option:with-xterm-kbs"><tt>--with-xterm-kbs[=<em>XXX</em>]</tt></a>
</dt>
<dd>
<p>The default is “auto” which tells the
configure script to choose BS or DEL according to platform
defaults.</p>
</dd>
</dl>
<h3><a name="h3-portability" id="h3-portability">Portability</a></h3>
<p>Many of the portability changes are implemented via the
configure script:</p>
<ul>
<li>
<p>add/use configure check for <code>clock_gettime</code>, to
supersede <code>gettimeofday</code>.</p>
</li>
<li>
<p>modify configure script check for pkg-config library
directory to take into account an older version 0.15.0 which
used PKG_CONFIG_PATH but not PKG_CONFIG_LIBDIR</p>
</li>
<li>
<p>allow for MinGW32-/64-bit configurations to use
_DEFAULT_SOURCE</p>
</li>
<li>
<p>modify CF_XOPEN_SOURCE macro's amend default case to avoid
undefining _XOPEN_SOURCE if _POSIX_C_SOURCE is defined</p>
</li>
<li>
<p>updated configure script macro CF_XOPEN_SOURCE, for
uClibc-ng</p>
</li>