git: 297d5bf89067 - stable/15 - ncurses: merge update to ncurses 6.6

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 19 Feb 2026 08:54:43 UTC
The branch stable/15 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=297d5bf8906776137aeac82e48ca2e87944d95b7

commit 297d5bf8906776137aeac82e48ca2e87944d95b7
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-01-14 13:48:32 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-02-19 08:53:57 +0000

    ncurses: merge update to ncurses 6.6
    
    6.6 is ABI compatible with 6.5 (tested with abidiff)
    Remove html documentation to ease updates
    
    MFC After:      1 month
    
    (cherry picked from commit 68ad2b0d7af2a3571c4abac9afa712f9b09b721c)
---
 ObsoleteFiles.inc                                  |    21 +
 contrib/ncurses/AUTHORS                            |     7 +-
 contrib/ncurses/COPYING                            |     4 +-
 contrib/ncurses/INSTALL                            |   111 +-
 contrib/ncurses/MANIFEST                           |    23 +-
 contrib/ncurses/Makefile.in                        |    17 +-
 contrib/ncurses/Makefile.os2                       |     6 +-
 contrib/ncurses/NEWS                               |   615 +-
 contrib/ncurses/VERSION                            |     2 +-
 contrib/ncurses/aclocal.m4                         |  1380 ++-
 contrib/ncurses/announce.html.in                   |  1015 +-
 contrib/ncurses/config.guess                       |    26 +-
 contrib/ncurses/config.sub                         |   749 +-
 contrib/ncurses/configure                          | 10856 ++++++++++---------
 contrib/ncurses/configure.in                       |   318 +-
 contrib/ncurses/dist.mk                            |    12 +-
 contrib/ncurses/doc/html/hackguide.html            |   962 --
 contrib/ncurses/doc/html/ncurses-intro.html        |  3390 ------
 contrib/ncurses/doc/ncurses-intro.doc              |     5 +-
 contrib/ncurses/form/Makefile.in                   |    28 +-
 contrib/ncurses/form/fld_arg.c                     |     6 +-
 contrib/ncurses/form/fld_attr.c                    |     6 +-
 contrib/ncurses/form/fld_current.c                 |    12 +-
 contrib/ncurses/form/fld_def.c                     |    30 +-
 contrib/ncurses/form/fld_dup.c                     |     6 +-
 contrib/ncurses/form/form.priv.h                   |    15 +-
 contrib/ncurses/form/frm_data.c                    |     8 +-
 contrib/ncurses/form/frm_driver.c                  |    91 +-
 contrib/ncurses/form/frm_post.c                    |     6 +-
 contrib/ncurses/form/frm_req_name.c                |     6 +-
 contrib/ncurses/form/frm_sub.c                     |    15 +-
 contrib/ncurses/form/frm_win.c                     |    16 +-
 contrib/ncurses/form/fty_enum.c                    |    53 +-
 contrib/ncurses/form/fty_generic.c                 |    17 +-
 contrib/ncurses/form/fty_int.c                     |    14 +-
 contrib/ncurses/form/fty_num.c                     |    16 +-
 contrib/ncurses/form/fty_regex.c                   |     8 +-
 contrib/ncurses/include/Caps                       |    44 +-
 contrib/ncurses/include/Caps.aix4                  |    26 +-
 contrib/ncurses/include/Caps.hpux11                |    26 +-
 contrib/ncurses/include/Caps.keys                  |    26 +-
 contrib/ncurses/include/Caps.osf1r5                |    20 +-
 contrib/ncurses/include/Caps.uwin                  |    20 +-
 contrib/ncurses/include/MKkey_defs.sh              |     8 +-
 contrib/ncurses/include/MKterm.h.awk.in            |    57 +-
 contrib/ncurses/include/Makefile.in                |     9 +-
 contrib/ncurses/include/capdefaults.c              |     6 +-
 contrib/ncurses/include/curses.h.in                |   104 +-
 contrib/ncurses/include/curses.tail                |    54 +-
 contrib/ncurses/include/curses.wide                |     7 +-
 contrib/ncurses/include/headers                    |     9 +-
 contrib/ncurses/include/nc_alloc.h                 |    25 +-
 contrib/ncurses/include/nc_termios.h               |    91 +-
 contrib/ncurses/include/nc_tparm.h                 |     5 +-
 .../ncurses/include/{nc_win32.h => nc_win32.h.in}  |   131 +-
 contrib/ncurses/include/ncurses_cfg.hin            |     6 +-
 contrib/ncurses/include/ncurses_defs               |    23 +-
 contrib/ncurses/include/ncurses_mingw.h            |    82 -
 contrib/ncurses/include/term_entry.h               |     9 +-
 contrib/ncurses/include/tic.h                      |    10 +-
 contrib/ncurses/include/unctrl.h.in                |    10 +-
 contrib/ncurses/include/win32_curses.h             |    75 -
 contrib/ncurses/install-sh                         |    27 +-
 contrib/ncurses/man/MKada_config.in                |     8 +-
 contrib/ncurses/man/MKncu_config.in                |     4 +-
 contrib/ncurses/man/MKterminfo.sh                  |    66 +-
 contrib/ncurses/man/Makefile.in                    |    24 +-
 contrib/ncurses/man/captoinfo.1m                   |   159 +-
 contrib/ncurses/man/clear.1                        |    12 +-
 contrib/ncurses/man/curs_add_wch.3x                |   735 +-
 contrib/ncurses/man/curs_add_wchstr.3x             |   139 +-
 contrib/ncurses/man/curs_addch.3x                  |   529 +-
 contrib/ncurses/man/curs_addchstr.3x               |   122 +-
 contrib/ncurses/man/curs_addstr.3x                 |   101 +-
 contrib/ncurses/man/curs_addwstr.3x                |   107 +-
 contrib/ncurses/man/curs_attr.3x                   |   512 +-
 contrib/ncurses/man/curs_beep.3x                   |    85 +-
 contrib/ncurses/man/curs_bkgd.3x                   |   243 +-
 contrib/ncurses/man/curs_bkgrnd.3x                 |   196 +-
 contrib/ncurses/man/curs_border.3x                 |   239 +-
 contrib/ncurses/man/curs_border_set.3x             |    96 +-
 contrib/ncurses/man/curs_clear.3x                  |    46 +-
 contrib/ncurses/man/curs_color.3x                  |   524 +-
 contrib/ncurses/man/curs_delch.3x                  |    56 +-
 contrib/ncurses/man/curs_deleteln.3x               |   126 +-
 contrib/ncurses/man/curs_extend.3x                 |    93 +-
 contrib/ncurses/man/curs_get_wch.3x                |   175 +-
 contrib/ncurses/man/curs_get_wstr.3x               |   431 +-
 contrib/ncurses/man/curs_getcchar.3x               |   384 +-
 contrib/ncurses/man/curs_getch.3x                  |   441 +-
 contrib/ncurses/man/curs_getstr.3x                 |   598 +-
 contrib/ncurses/man/curs_getyx.3x                  |   150 +-
 contrib/ncurses/man/curs_in_wch.3x                 |    85 +-
 contrib/ncurses/man/curs_in_wchstr.3x              |   139 +-
 contrib/ncurses/man/curs_inch.3x                   |   148 +-
 contrib/ncurses/man/curs_inchstr.3x                |   179 +-
 contrib/ncurses/man/curs_initscr.3x                |   677 +-
 contrib/ncurses/man/curs_inopts.3x                 |   939 +-
 contrib/ncurses/man/curs_ins_wch.3x                |   110 +-
 contrib/ncurses/man/curs_ins_wstr.3x               |   179 +-
 contrib/ncurses/man/curs_insch.3x                  |    71 +-
 contrib/ncurses/man/curs_insstr.3x                 |   175 +-
 contrib/ncurses/man/curs_instr.3x                  |   188 +-
 contrib/ncurses/man/curs_inwstr.3x                 |   239 +-
 contrib/ncurses/man/curs_kernel.3x                 |   467 +-
 contrib/ncurses/man/curs_legacy.3x                 |    35 +-
 contrib/ncurses/man/curs_mouse.3x                  |   554 +-
 contrib/ncurses/man/curs_move.3x                   |    64 +-
 contrib/ncurses/man/curs_opaque.3x                 |    33 +-
 contrib/ncurses/man/curs_outopts.3x                |   414 +-
 contrib/ncurses/man/curs_overlay.3x                |    53 +-
 contrib/ncurses/man/curs_pad.3x                    |   244 +-
 contrib/ncurses/man/curs_print.3x                  |   105 +-
 contrib/ncurses/man/curs_printw.3x                 |   139 +-
 contrib/ncurses/man/curs_refresh.3x                |    33 +-
 contrib/ncurses/man/curs_scanw.3x                  |   129 +-
 contrib/ncurses/man/curs_scr_dump.3x               |   192 +-
 contrib/ncurses/man/curs_scroll.3x                 |   143 +-
 contrib/ncurses/man/curs_slk.3x                    |    77 +-
 contrib/ncurses/man/curs_sp_funcs.3x               |   272 +-
 contrib/ncurses/man/curs_termattrs.3x              |   199 +-
 contrib/ncurses/man/curs_termcap.3x                |   446 +-
 contrib/ncurses/man/curs_terminfo.3x               |   842 +-
 contrib/ncurses/man/curs_threads.3x                |     8 +-
 contrib/ncurses/man/curs_touch.3x                  |    70 +-
 contrib/ncurses/man/curs_trace.3x                  |    14 +-
 contrib/ncurses/man/curs_util.3x                   |   446 +-
 contrib/ncurses/man/curs_variables.3x              |   298 +-
 contrib/ncurses/man/curs_window.3x                 |   318 +-
 contrib/ncurses/man/define_key.3x                  |   108 +-
 contrib/ncurses/man/form.3x                        |    21 +-
 contrib/ncurses/man/form_driver.3x                 |     9 +-
 contrib/ncurses/man/form_field.3x                  |    15 +-
 contrib/ncurses/man/form_field_buffer.3x           |     8 +-
 contrib/ncurses/man/form_field_new.3x              |     7 +-
 contrib/ncurses/man/form_field_opts.3x             |    20 +-
 contrib/ncurses/man/form_field_userptr.3x          |     7 +-
 contrib/ncurses/man/form_field_validation.3x       |    30 +-
 contrib/ncurses/man/form_fieldtype.3x              |    23 +-
 contrib/ncurses/man/form_hook.3x                   |    27 +-
 contrib/ncurses/man/form_new.3x                    |    11 +-
 contrib/ncurses/man/form_opts.3x                   |    20 +-
 contrib/ncurses/man/form_page.3x                   |     8 +-
 contrib/ncurses/man/form_requestname.3x            |     8 +-
 contrib/ncurses/man/form_userptr.3x                |     7 +-
 contrib/ncurses/man/form_win.3x                    |    16 +-
 contrib/ncurses/man/infocmp.1m                     |   299 +-
 contrib/ncurses/man/infotocap.1m                   |    62 +-
 contrib/ncurses/man/key_defined.3x                 |    60 +-
 contrib/ncurses/man/keybound.3x                    |    79 +-
 contrib/ncurses/man/keyok.3x                       |    88 +-
 contrib/ncurses/man/legacy_coding.3x               |    42 +-
 contrib/ncurses/man/make_sed.sh                    |    10 +-
 contrib/ncurses/man/man_db.renames.in              |    28 +-
 contrib/ncurses/man/manhtml.aliases                |    29 +-
 contrib/ncurses/man/manhtml.externs                |    15 +-
 contrib/ncurses/man/manlinks.sed                   |    13 +-
 contrib/ncurses/man/menu.3x                        |    60 +-
 contrib/ncurses/man/menu_driver.3x                 |    11 +-
 contrib/ncurses/man/menu_hook.3x                   |    28 +-
 contrib/ncurses/man/menu_items.3x                  |    13 +-
 contrib/ncurses/man/menu_mark.3x                   |    17 +-
 contrib/ncurses/man/menu_new.3x                    |    11 +-
 contrib/ncurses/man/menu_opts.3x                   |    20 +-
 contrib/ncurses/man/menu_pattern.3x                |     9 +-
 contrib/ncurses/man/menu_requestname.3x            |     8 +-
 contrib/ncurses/man/menu_spacing.3x                |     8 +-
 contrib/ncurses/man/menu_userptr.3x                |     7 +-
 contrib/ncurses/man/menu_win.3x                    |    16 +-
 contrib/ncurses/man/mitem_current.3x               |    10 +-
 contrib/ncurses/man/mitem_name.3x                  |     7 +-
 contrib/ncurses/man/mitem_new.3x                   |     8 +-
 contrib/ncurses/man/mitem_opts.3x                  |    20 +-
 contrib/ncurses/man/mitem_userptr.3x               |     7 +-
 contrib/ncurses/man/ncurses.3x                     |   896 +-
 contrib/ncurses/man/new_pair.3x                    |    14 +-
 contrib/ncurses/man/panel.3x                       |    27 +-
 contrib/ncurses/man/resizeterm.3x                  |    59 +-
 contrib/ncurses/man/scr_dump.5                     |    22 +-
 contrib/ncurses/man/tabs.1                         |    73 +-
 contrib/ncurses/man/term.5                         |   431 +-
 contrib/ncurses/man/term.7                         |    16 +-
 contrib/ncurses/man/term_variables.3x              |   228 +-
 contrib/ncurses/man/terminfo.head                  |    11 +-
 contrib/ncurses/man/terminfo.tail                  |   409 +-
 contrib/ncurses/man/tic.1m                         |   612 +-
 contrib/ncurses/man/toe.1m                         |    23 +-
 contrib/ncurses/man/tput.1                         |   410 +-
 contrib/ncurses/man/tset.1                         |    22 +-
 contrib/ncurses/man/user_caps.5                    |   584 +-
 contrib/ncurses/man/wresize.3x                     |   105 +-
 contrib/ncurses/menu/Makefile.in                   |    28 +-
 contrib/ncurses/menu/m_driver.c                    |    14 +-
 contrib/ncurses/menu/m_global.c                    |    14 +-
 contrib/ncurses/menu/m_item_new.c                  |    14 +-
 contrib/ncurses/menu/m_item_vis.c                  |     6 +-
 contrib/ncurses/menu/m_pattern.c                   |     6 +-
 contrib/ncurses/menu/m_post.c                      |    42 +-
 contrib/ncurses/menu/m_req_name.c                  |     6 +-
 contrib/ncurses/menu/menu.priv.h                   |     7 +-
 contrib/ncurses/menu/mf_common.h                   |     8 +-
 contrib/ncurses/misc/Makefile.in                   |    79 +-
 contrib/ncurses/misc/gen-pkgconfig.in              |    14 +-
 contrib/ncurses/misc/gen_edit.sh                   |    16 +-
 contrib/ncurses/misc/magic                         |     9 +-
 contrib/ncurses/misc/makellib                      |    28 +-
 contrib/ncurses/misc/ncurses-config.in             |   134 +-
 contrib/ncurses/misc/run_tic.in                    |   145 +-
 contrib/ncurses/misc/terminfo.src                  |  4424 ++++----
 contrib/ncurses/mk-1st.awk                         |   105 +-
 contrib/ncurses/ncurses/Makefile.in                |    36 +-
 contrib/ncurses/ncurses/base/MKkeyname.awk         |    30 +-
 contrib/ncurses/ncurses/base/MKlib_gen.sh          |    77 +-
 contrib/ncurses/ncurses/base/MKunctrl.awk          |    10 +-
 contrib/ncurses/ncurses/base/define_key.c          |    12 +-
 contrib/ncurses/ncurses/base/key_defined.c         |    10 +-
 contrib/ncurses/ncurses/base/keybound.c            |     8 +-
 contrib/ncurses/ncurses/base/keyok.c               |    10 +-
 contrib/ncurses/ncurses/base/legacy_coding.c       |     6 +-
 contrib/ncurses/ncurses/base/lib_addch.c           |    12 +-
 contrib/ncurses/ncurses/base/lib_addstr.c          |    14 +-
 contrib/ncurses/ncurses/base/lib_beep.c            |    10 +-
 contrib/ncurses/ncurses/base/lib_bkgd.c            |     6 +-
 contrib/ncurses/ncurses/base/lib_chgat.c           |     7 +-
 contrib/ncurses/ncurses/base/lib_color.c           |    84 +-
 contrib/ncurses/ncurses/base/lib_colorset.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_delch.c           |     8 +-
 contrib/ncurses/ncurses/base/lib_delwin.c          |    29 +-
 contrib/ncurses/ncurses/base/lib_dft_fgbg.c        |    12 +-
 contrib/ncurses/ncurses/base/lib_driver.c          |    50 +-
 contrib/ncurses/ncurses/base/lib_echo.c            |     8 +-
 contrib/ncurses/ncurses/base/lib_endwin.c          |     6 +-
 contrib/ncurses/ncurses/base/lib_erase.c           |     6 +-
 contrib/ncurses/ncurses/base/lib_flash.c           |     8 +-
 contrib/ncurses/ncurses/base/lib_freeall.c         |    18 +-
 contrib/ncurses/ncurses/base/lib_getch.c           |    51 +-
 contrib/ncurses/ncurses/base/lib_getstr.c          |    12 +-
 contrib/ncurses/ncurses/base/lib_initscr.c         |    12 +-
 contrib/ncurses/ncurses/base/lib_insch.c           |    10 +-
 contrib/ncurses/ncurses/base/lib_insnstr.c         |     8 +-
 contrib/ncurses/ncurses/base/lib_instr.c           |    16 +-
 contrib/ncurses/ncurses/base/lib_mouse.c           |   170 +-
 contrib/ncurses/ncurses/base/lib_mvwin.c           |     6 +-
 contrib/ncurses/ncurses/base/lib_newterm.c         |    47 +-
 contrib/ncurses/ncurses/base/lib_newwin.c          |    80 +-
 contrib/ncurses/ncurses/base/lib_nl.c              |    12 +-
 contrib/ncurses/ncurses/base/lib_overlay.c         |    10 +-
 contrib/ncurses/ncurses/base/lib_pad.c             |    22 +-
 contrib/ncurses/ncurses/base/lib_printw.c          |    12 +-
 contrib/ncurses/ncurses/base/lib_redrawln.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_refresh.c         |     8 +-
 contrib/ncurses/ncurses/base/lib_restart.c         |    12 +-
 contrib/ncurses/ncurses/base/lib_screen.c          |   104 +-
 contrib/ncurses/ncurses/base/lib_set_term.c        |   128 +-
 contrib/ncurses/ncurses/base/lib_slk.c             |    22 +-
 contrib/ncurses/ncurses/base/lib_slkatr_set.c      |     8 +-
 contrib/ncurses/ncurses/base/lib_slkatrof.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_slkatron.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_slkatrset.c       |     6 +-
 contrib/ncurses/ncurses/base/lib_slkattr.c         |     6 +-
 contrib/ncurses/ncurses/base/lib_slkclear.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_slkcolor.c        |     8 +-
 contrib/ncurses/ncurses/base/lib_slklab.c          |     8 +-
 contrib/ncurses/ncurses/base/lib_slkrefr.c         |    18 +-
 contrib/ncurses/ncurses/base/lib_slkset.c          |    16 +-
 contrib/ncurses/ncurses/base/lib_slktouch.c        |     6 +-
 contrib/ncurses/ncurses/base/lib_touch.c           |    12 +-
 contrib/ncurses/ncurses/base/lib_ungetch.c         |     6 +-
 contrib/ncurses/ncurses/base/lib_wattron.c         |     6 +-
 contrib/ncurses/ncurses/base/lib_winch.c           |     6 +-
 contrib/ncurses/ncurses/base/lib_window.c          |    14 +-
 contrib/ncurses/ncurses/base/nc_panel.c            |     6 +-
 contrib/ncurses/ncurses/base/new_pair.c            |    22 +-
 contrib/ncurses/ncurses/base/resizeterm.c          |    47 +-
 contrib/ncurses/ncurses/base/safe_sprintf.c        |    19 +-
 contrib/ncurses/ncurses/base/tries.c               |    20 +-
 contrib/ncurses/ncurses/base/vsscanf.c             |     8 +-
 contrib/ncurses/ncurses/base/wresize.c             |    22 +-
 contrib/ncurses/ncurses/build.priv.h               |     6 +-
 contrib/ncurses/ncurses/curses.priv.h              |   331 +-
 contrib/ncurses/ncurses/llib-lncurses              |    26 +-
 contrib/ncurses/ncurses/llib-lncursest             |    26 +-
 contrib/ncurses/ncurses/llib-lncursestw            |    40 +-
 contrib/ncurses/ncurses/llib-lncursesw             |    40 +-
 contrib/ncurses/ncurses/llib-ltinfo                |    20 +-
 contrib/ncurses/ncurses/llib-ltinfot               |    20 +-
 contrib/ncurses/ncurses/llib-ltinfotw              |    20 +-
 contrib/ncurses/ncurses/llib-ltinfow               |    20 +-
 contrib/ncurses/ncurses/modules                    |    18 +-
 contrib/ncurses/ncurses/new_pair.h                 |    10 +-
 .../{include/nc_mingw.h => ncurses/report_ctype.c} |   116 +-
 contrib/ncurses/ncurses/report_hashing.c           |     6 +-
 contrib/ncurses/ncurses/report_offsets.c           |    19 +-
 contrib/ncurses/ncurses/term.priv.h                |     8 +-
 contrib/ncurses/ncurses/tinfo/MKcaptab.awk         |     6 +-
 contrib/ncurses/ncurses/tinfo/MKcaptab.sh          |    22 +-
 contrib/ncurses/ncurses/tinfo/MKcodes.awk          |    12 +-
 contrib/ncurses/ncurses/tinfo/MKfallback.sh        |    35 +-
 contrib/ncurses/ncurses/tinfo/MKkeys_list.sh       |    26 +-
 contrib/ncurses/ncurses/tinfo/MKnames.awk          |    12 +-
 contrib/ncurses/ncurses/tinfo/MKuserdefs.sh        |    10 +-
 contrib/ncurses/ncurses/tinfo/access.c             |   188 +-
 contrib/ncurses/ncurses/tinfo/add_tries.c          |    18 +-
 contrib/ncurses/ncurses/tinfo/alloc_entry.c        |    27 +-
 contrib/ncurses/ncurses/tinfo/alloc_ttype.c        |    43 +-
 contrib/ncurses/ncurses/tinfo/captoinfo.c          |    87 +-
 contrib/ncurses/ncurses/tinfo/comp_error.c         |    16 +-
 contrib/ncurses/ncurses/tinfo/comp_expand.c        |    22 +-
 contrib/ncurses/ncurses/tinfo/comp_hash.c          |    14 +-
 contrib/ncurses/ncurses/tinfo/comp_parse.c         |    59 +-
 contrib/ncurses/ncurses/tinfo/comp_scan.c          |    68 +-
 contrib/ncurses/ncurses/tinfo/db_iterator.c        |    66 +-
 contrib/ncurses/ncurses/tinfo/doalloc.c            |     6 +-
 contrib/ncurses/ncurses/tinfo/entries.c            |    30 +-
 contrib/ncurses/ncurses/tinfo/getenv_num.c         |    14 +-
 contrib/ncurses/ncurses/tinfo/hashed_db.c          |    49 +-
 contrib/ncurses/ncurses/tinfo/home_terminfo.c      |    12 +-
 contrib/ncurses/ncurses/tinfo/init_keytry.c        |    10 +-
 contrib/ncurses/ncurses/tinfo/lib_acs.c            |    24 +-
 contrib/ncurses/ncurses/tinfo/lib_baudrate.c       |    21 +-
 contrib/ncurses/ncurses/tinfo/lib_cur_term.c       |    22 +-
 contrib/ncurses/ncurses/tinfo/lib_data.c           |    44 +-
 contrib/ncurses/ncurses/tinfo/lib_has_cap.c        |     8 +-
 contrib/ncurses/ncurses/tinfo/lib_kernel.c         |    18 +-
 contrib/ncurses/ncurses/tinfo/lib_napms.c          |    10 +-
 contrib/ncurses/ncurses/tinfo/lib_options.c        |    30 +-
 contrib/ncurses/ncurses/tinfo/lib_print.c          |    15 +-
 contrib/ncurses/ncurses/tinfo/lib_raw.c            |    39 +-
 contrib/ncurses/ncurses/tinfo/lib_setup.c          |   148 +-
 contrib/ncurses/ncurses/tinfo/lib_termcap.c        |    60 +-
 contrib/ncurses/ncurses/tinfo/lib_termname.c       |    10 +-
 contrib/ncurses/ncurses/tinfo/lib_tgoto.c          |    18 +-
 contrib/ncurses/ncurses/tinfo/lib_ti.c             |    12 +-
 contrib/ncurses/ncurses/tinfo/lib_tparm.c          |    52 +-
 contrib/ncurses/ncurses/tinfo/lib_tputs.c          |    32 +-
 contrib/ncurses/ncurses/tinfo/lib_ttyflags.c       |    46 +-
 contrib/ncurses/ncurses/tinfo/lib_win32con.c       |   414 +-
 contrib/ncurses/ncurses/tinfo/lib_win32util.c      |    11 +-
 contrib/ncurses/ncurses/tinfo/make_hash.c          |    51 +-
 contrib/ncurses/ncurses/tinfo/make_keys.c          |    25 +-
 contrib/ncurses/ncurses/tinfo/name_match.c         |    16 +-
 contrib/ncurses/ncurses/tinfo/obsolete.c           |    14 +-
 contrib/ncurses/ncurses/tinfo/parse_entry.c        |    56 +-
 contrib/ncurses/ncurses/tinfo/read_entry.c         |    42 +-
 contrib/ncurses/ncurses/tinfo/read_termcap.c       |    78 +-
 contrib/ncurses/ncurses/tinfo/strings.c            |    14 +-
 contrib/ncurses/ncurses/tinfo/tinfo_driver.c       |   125 +-
 contrib/ncurses/ncurses/tinfo/trim_sgr0.c          |    98 +-
 contrib/ncurses/ncurses/tinfo/write_entry.c        |    76 +-
 contrib/ncurses/ncurses/trace/lib_trace.c          |    22 +-
 contrib/ncurses/ncurses/trace/lib_traceatr.c       |    35 +-
 contrib/ncurses/ncurses/trace/lib_tracebits.c      |    22 +-
 contrib/ncurses/ncurses/trace/lib_tracechr.c       |    10 +-
 contrib/ncurses/ncurses/trace/lib_tracedmp.c       |     8 +-
 contrib/ncurses/ncurses/trace/lib_tracemse.c       |    10 +-
 contrib/ncurses/ncurses/trace/trace_buf.c          |    26 +-
 contrib/ncurses/ncurses/trace/trace_tries.c        |    10 +-
 contrib/ncurses/ncurses/trace/varargs.c            |    38 +-
 contrib/ncurses/ncurses/trace/visbuf.c             |    24 +-
 contrib/ncurses/ncurses/tty/MKexpanded.sh          |    11 +-
 contrib/ncurses/ncurses/tty/hardscroll.c           |    16 +-
 contrib/ncurses/ncurses/tty/hashmap.c              |    26 +-
 contrib/ncurses/ncurses/tty/lib_mvcur.c            |    84 +-
 contrib/ncurses/ncurses/tty/lib_tstp.c             |    16 +-
 contrib/ncurses/ncurses/tty/lib_twait.c            |    12 +-
 contrib/ncurses/ncurses/tty/lib_vidattr.c          |    12 +-
 contrib/ncurses/ncurses/tty/tty_update.c           |    48 +-
 contrib/ncurses/ncurses/wcwidth.h                  |   966 +-
 contrib/ncurses/ncurses/widechar/charable.c        |     9 +-
 contrib/ncurses/ncurses/widechar/lib_add_wch.c     |    12 +-
 contrib/ncurses/ncurses/widechar/lib_box_set.c     |     6 +-
 contrib/ncurses/ncurses/widechar/lib_cchar.c       |     8 +-
 contrib/ncurses/ncurses/widechar/lib_get_wch.c     |    10 +-
 contrib/ncurses/ncurses/widechar/lib_get_wstr.c    |     8 +-
 contrib/ncurses/ncurses/widechar/lib_hline_set.c   |     6 +-
 contrib/ncurses/ncurses/widechar/lib_in_wch.c      |     8 +-
 contrib/ncurses/ncurses/widechar/lib_in_wchnstr.c  |    10 +-
 contrib/ncurses/ncurses/widechar/lib_ins_wch.c     |    53 +-
 contrib/ncurses/ncurses/widechar/lib_inwstr.c      |    33 +-
 contrib/ncurses/ncurses/widechar/lib_key_name.c    |     6 +-
 contrib/ncurses/ncurses/widechar/lib_pecho_wchar.c |     6 +-
 contrib/ncurses/ncurses/widechar/lib_slk_wset.c    |     8 +-
 contrib/ncurses/ncurses/widechar/lib_unget_wch.c   |    10 +-
 contrib/ncurses/ncurses/widechar/lib_vid_attr.c    |    26 +-
 contrib/ncurses/ncurses/widechar/lib_vline_set.c   |     6 +-
 contrib/ncurses/ncurses/widechar/lib_wacs.c        |     8 +-
 contrib/ncurses/ncurses/widechar/lib_wunctrl.c     |    13 +-
 contrib/ncurses/ncurses/widechar/widechars.c       |    12 +-
 contrib/ncurses/ncurses/win32con/gettimeofday.c    |     9 +-
 contrib/ncurses/ncurses/win32con/wcwidth.c         |    13 +-
 contrib/ncurses/ncurses/win32con/win32_driver.c    |   101 +-
 contrib/ncurses/ncurses/win32con/win_driver.c      |  2282 ----
 contrib/ncurses/panel/Makefile.in                  |    28 +-
 contrib/ncurses/panel/p_above.c                    |    16 +-
 contrib/ncurses/panel/p_below.c                    |    18 +-
 contrib/ncurses/panel/p_new.c                      |     6 +-
 contrib/ncurses/panel/panel.c                      |    18 +-
 contrib/ncurses/panel/panel.priv.h                 |     6 +-
 contrib/ncurses/progs/Makefile.in                  |    67 +-
 contrib/ncurses/progs/capconvert                   |    44 +-
 contrib/ncurses/progs/clear.c                      |     6 +-
 contrib/ncurses/progs/clear_cmd.c                  |    69 +-
 contrib/ncurses/progs/dump_entry.c                 |    66 +-
 contrib/ncurses/progs/infocmp.c                    |   295 +-
 contrib/ncurses/progs/modules                      |    28 +-
 contrib/ncurses/progs/progs.priv.h                 |     4 +-
 contrib/ncurses/progs/reset_cmd.c                  |    90 +-
 contrib/ncurses/progs/tabs.c                       |    51 +-
 contrib/ncurses/progs/tic.c                        |   183 +-
 contrib/ncurses/progs/toe.c                        |    82 +-
 contrib/ncurses/progs/tput.c                       |   156 +-
 contrib/ncurses/progs/tset.c                       |    70 +-
 lib/ncurses/tinfo/Makefile                         |    16 +-
 lib/ncurses/tinfo/ncurses_cfg.h                    |    30 +-
 tools/build/mk/OptionalObsoleteFiles.inc           |     3 -
 415 files changed, 30510 insertions(+), 25899 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index a81407a93453..7067dab2ad03 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,11 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20260114: remove ncurses html documentation
+OLD_FILES+=usr/share/doc/ncurses/hackguide.html
+OLD_FILES+=usr/share/doc/ncurses/ncurses-intro.html
+OLD_DIRS+=usr/share/doc/ncurses
+
 # 20260204: replaced with ATF test
 OLD_FILES+=usr/tests/usr.bin/m4/legacy_test
 OLD_FILES+=usr/tests/usr.bin/m4/regress.sh
@@ -70,6 +75,22 @@ OLD_FILES+=usr/lib/libkrb5profile.so
 # 20251218: Remove old MLINK to apmconf(8)
 OLD_FILES+=usr/share/man/man8/apmconf.8.gz
 
+# 20251215: Remove intrinsic utilities
+OLD_FILES+=usr/bin/alias
+OLD_FILES+=usr/bin/bg
+OLD_FILES+=usr/bin/cd
+OLD_FILES+=usr/bin/fc
+OLD_FILES+=usr/bin/fg
+OLD_FILES+=usr/bin/getopts
+OLD_FILES+=usr/bin/hash
+OLD_FILES+=usr/bin/jobs
+OLD_FILES+=usr/bin/read
+OLD_FILES+=usr/bin/type
+OLD_FILES+=usr/bin/ulimit
+OLD_FILES+=usr/bin/umask
+OLD_FILES+=usr/bin/unalias
+OLD_FILES+=usr/bin/wait
+
 # 20251208: Rename iwm8000C to correct name.
 OLD_FILES+=boot/firmware/iwm8000C
 
diff --git a/contrib/ncurses/AUTHORS b/contrib/ncurses/AUTHORS
index 09dfc9a9efa6..f588fc44f2f4 100644
--- a/contrib/ncurses/AUTHORS
+++ b/contrib/ncurses/AUTHORS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2020,2021 Thomas E. Dickey                                      --
+-- Copyright 2020-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 2006,2017 Free Software Foundation, Inc.                        --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: AUTHORS,v 1.5 2021/06/17 21:20:30 tom Exp $
+-- $Id: AUTHORS,v 1.8 2025/11/12 01:25:55 tom Exp $
 -------------------------------------------------------------------------------
 These are the principal authors/contributors of ncurses since 1.9.9e,
 in decreasing order of their contribution:
@@ -36,5 +36,6 @@ JPF	Juergen Pfeifer
 ESR	Eric S Raymond
 AVL	Alexander V Lukyanov
 PB	Philippe Blain
+GBR	Branden Robinson
 SV	Sven Verdoolaege
-NB  Nicolas Boulenguez
+NB	Nicolas Boulenguez
diff --git a/contrib/ncurses/COPYING b/contrib/ncurses/COPYING
index 540047f121f1..6182a3bc671f 100644
--- a/contrib/ncurses/COPYING
+++ b/contrib/ncurses/COPYING
@@ -1,4 +1,4 @@
-Copyright 2018-2023,2024 Thomas E. Dickey
+Copyright 2018-2024,2025 Thomas E. Dickey
 Copyright 1998-2017,2018 Free Software Foundation, Inc.
 
 Permission is hereby granted, free of charge, to any person obtaining a
@@ -26,4 +26,4 @@ sale, use or other dealings in this Software without prior written
 authorization.
 
 -- vile:txtmode fc=72
--- $Id: COPYING,v 1.13 2024/01/05 21:13:17 tom Exp $
+-- $Id: COPYING,v 1.14 2025/01/04 10:53:46 tom Exp $
diff --git a/contrib/ncurses/INSTALL b/contrib/ncurses/INSTALL
index a2076eeec261..fea738a4c465 100644
--- a/contrib/ncurses/INSTALL
+++ b/contrib/ncurses/INSTALL
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2018-2023,2024 Thomas E. Dickey                                 --
+-- Copyright 2018-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 1998-2017,2018 Free Software Foundation, Inc.                   --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: INSTALL,v 1.254 2024/04/27 14:21:05 tom Exp $
+-- $Id: INSTALL,v 1.263 2025/12/30 20:42:25 tom Exp $
 ---------------------------------------------------------------------
              How to install Ncurses/Terminfo on your system
 ---------------------------------------------------------------------
@@ -550,8 +550,8 @@ CONFIGURE OPTIONS:
 	problem.
 
     --enable-bsdpad
-	Recognize BSD-style prefix padding.  Some ancient BSD programs (such as
-	nethack) call tputs("50") to implement delays.
+	Recognize BSD-style prefix padding.  Some programs written using
+	the BSD curses API use tputs("50") to implement delays.
 
     --enable-check-size
 	Compile-in feature to detect screensize for terminals which do not
@@ -587,7 +587,8 @@ CONFIGURE OPTIONS:
 	as such to the debugger.  See also the --disable-macros option.
 
     --enable-exp-win32
-	When configuring for MinGW, use the experimental Windows 10 driver.
+	This is an obsolete option used for configuring the Windows 10 driver
+	for MinGW.
 
     --enable-ext-colors
 	Extend the cchar_t structure to allow more than 16 colors to be
@@ -650,6 +651,12 @@ CONFIGURE OPTIONS:
 	may not be accurate, or that your stty settings have disabled the use
 	of tabs.
 
+    --enable-install-prefix
+	Extend the --with-install-prefix feature to replace the prefix value
+	with $DESTDIR rather than simply prepending $DESTDIR to install
+	pathnames.  This works with any "make" which supports AT&T style
+	variable substitution.
+
     --enable-interop
 	Compile-in experimental interop bindings.  These provide generic types
 	for the form-library.
@@ -660,6 +667,10 @@ CONFIGURE OPTIONS:
 	systems).  If you do not specify this option, the configure script
 	checks the current filesystem.
 
+    --enable-named-pipes
+	Compile-in support for named pipes, used to connect to Windows 10
+	pseudo-console.
+
     --enable-no-padding
 	Compile-in support for the $NCURSES_NO_PADDING environment variable,
 	which allows you to suppress the effect of non-mandatory padding in
@@ -703,7 +714,7 @@ CONFIGURE OPTIONS:
 	Use rpath option when generating shared libraries, and (with some
 	restrictions) when linking the corresponding programs.  This originally
 	(in 1997) applied mainly to systems using the GNU linker (read the
-	manpage).
+	man page).
 
 	More recently it is useful for systems that require special treatment
 	shared libraries in "unusual" locations.  The "system" libraries reside
@@ -768,9 +779,9 @@ CONFIGURE OPTIONS:
 	unless you have disabled the extended functions.
 
     --enable-term-driver
-	Enable experimental terminal-driver.  This is currently used for the
-	MinGW port, by providing a way to substitute the low-level terminfo
-	library with different terminal drivers.
+	Enable terminal-driver.  This is required for the MinGW port, by
+	providing a way to substitute the low-level terminfo library with
+	different terminal drivers.
 
     --enable-termcap
 	Compile in support for reading terminal descriptions from termcap if no
@@ -1097,34 +1108,35 @@ CONFIGURE OPTIONS:
 		./configure --enable-static
 
     --with-manpage-aliases
-	Tell the configure script you wish to create entries in the
-	man-directory for aliases to manpages which list them, e.g., the
-	functions in the panel manpage.  This is the default.  You can disable
-	it if your man program does this.  You can also disable
-	--with-manpage-symlinks to install files containing a ".so" command
-	rather than symbolic links.
+	Create files in subdirectories of the installation "man" directory that
+	alias the man pages documenting them.  For example, the "beep" man page
+	also documents the function "flash".  This is the default.  You can
+	disable this procedure if your system's makewhatis(8) or mandb(8)
+	program indexes the directory to which the pages are installed.  If you
+	disable man page symlinks by specifying "--without-manpage-symlinks",
+	the alias pages are created as stubs containing ".so" *roff requests.
 
     --with-manpage-format=XXX
-	Tell the configure script how you would like to install man-pages.  The
-	option value must be one of these:  gzip, compress, BSDI, normal,
-	formatted.  If you do not give this option, the configure script
+	Tell the configure script how you would like to install man pages.  The
+	option value must be one of these: "gzip", "compress", "BSDI", "normal",
+	"formatted".  If you do not specify this option, the configure script
 	attempts to determine which is the case.
 
     --with-manpage-renames=XXX
-	Tell the configure script that you wish to rename the manpages while
-	installing.  Currently the only distribution which does this is Debian.
+	Tell the configure script that you wish to rename the man pages when
+	installing them.  Debian and distributions descended from it do this.
 	The option value specifies the name of a file that lists the renamed
-	files, e.g., $srcdir/man/man_db.renames
+	files, e.g., "$srcdir/man/man_db.renames".
 
     --with-manpage-symlinks
 	Tell the configure script that you wish to make symbolic links in the
-	man-directory for aliases to the man-pages.  This is the default, but
-	can be disabled for systems that provide this automatically.  Doing
-	this on systems that do not support symbolic links will result in
-	copying the man-page for each alias.
+	man-directory for aliases to the man pages.  This is the default, but
+	can be disabled for systems that provide this service automatically.
+	Doing this on systems that do not support symbolic links creates a copy
+	of the target man page for each alias.
 
     --with-manpage-tbl
-	Tell the configure script that you wish to preprocess the manpages
+	Tell the configure script that you wish to preprocess the man pages
 	by running them through tbl to generate tables understandable by
 	nroff.
 
@@ -1182,11 +1194,11 @@ CONFIGURE OPTIONS:
     --with-pkg-config-libdir[=DIR]
 	If pkg-config was found, override the automatic check for its library
 	path.  The optional DIR value can be
-	
+
 	"auto", automatically use pkg-config's library directory, or
-	
+
 	"libdir", use a ${libdir}/pkgconfig (based on the configuration), or
-	
+
 	a directory path, i.e., beginning with "/".
 
 	The configure script allows only a single directory, because
@@ -1351,11 +1363,9 @@ CONFIGURE OPTIONS:
 	several builds, some symbols will be listed in the the ".map" files
 	that do not happen to be present in one configuration or another.
 
-	The sample ".map" (and ".sym") files are generated using a set of
-	scripts which build several configurations for each release version,
-	checking to see which of the "_nc_" symbols can be made local.  In
-	addition to the ncurses libraries and programs, the symbols used
-	by the "tack" program before version 1.08 are made global.
+	The sample ".map" (and ".sym") files were generated using a set of
+	scripts which built several configurations for each release version,
+	checking to see which of the "_nc_" symbols can be made local.
 
 	These sample ".map" files will not cover all possible combinations.
 	In some cases, e.g., when using the --with-weak-symbols option, you
@@ -1393,10 +1403,10 @@ CONFIGURE OPTIONS:
 
     --without-curses-h
 	Don't install the ncurses header with the name "curses.h".  Rather,
-	install as "ncurses.h" and modify the installed headers and manpages
+	install as "ncurses.h" and modify the installed headers and man pages
 	accordingly.
 
-	Likewise, do not install an alias "curses" for the ncurses manpage.
+	Likewise, do not install an alias "curses" for the ncurses man page.
 
     --without-cxx
 	XSI curses declares "bool" as part of the interface.  C++ also declares
@@ -1419,7 +1429,7 @@ CONFIGURE OPTIONS:
 	Do not use dlsym() to load GPM dynamically.
 
     --without-manpages
-	Tell the configure script to suppress the install of ncurses' manpages.
+	Tell the configure script to suppress the install of ncurses' man pages.
 
     --without-progs
 	Tell the configure script to suppress the build of ncurses' application
@@ -1451,7 +1461,32 @@ COMPATIBILITY WITH OLDER RELEASES:
     you may encounter when building a system with different versions of
     ncurses:
 
-    6.5 (Apt 27, 2024)
+    6.6 (Dec 30, 2025)
+	Interface changes:
+
+	+ none
+
+	Added extensions:
+
+	+ none
+
+	Added internal functions (other than "_sp" variants):
+
+	+ _nc_is_path_found
+
+	Removed internal functions:
+
+	+ none
+
+	Modified internal functions:
+
+	+ These now pass a const parameter:  _nc_has_mouse,
+	  _nc_reset_color_pair, _nc_free_entry, and _nc_timed_wait.
+	+ These now use a NCURSES_BOOL where an int was used: 
+	  _nc_setupscreen, _nc_keypad, _nc_unicode_locale, and
+	  _nc_retrace_bool.
+
+    6.5 (Apr 27, 2024)
 	Interface changes:
 
 	+ the WINDOW structure and some related internal data types declared
diff --git a/contrib/ncurses/MANIFEST b/contrib/ncurses/MANIFEST
index a9395d2f8a09..dc791dbe0f1c 100644
--- a/contrib/ncurses/MANIFEST
+++ b/contrib/ncurses/MANIFEST
@@ -36,6 +36,8 @@
 ./Ada95/mk-pkg.awk
 ./Ada95/package/AdaCurses-doc.spec
 ./Ada95/package/AdaCurses.spec
+./Ada95/package/debian/adacurses.lintian-overrides
+./Ada95/package/debian/adacurses.triggers
 ./Ada95/package/debian/compat
 ./Ada95/package/debian/control
 ./Ada95/package/debian/copyright
@@ -556,21 +558,18 @@
 ./include/headers
 ./include/nc_access.h
 ./include/nc_alloc.h
-./include/nc_mingw.h
 ./include/nc_panel.h
 ./include/nc_string.h
 ./include/nc_termios.h
 ./include/nc_tparm.h
-./include/nc_win32.h
+./include/nc_win32.h.in
 ./include/ncurses_cfg.hin
 ./include/ncurses_defs
 ./include/ncurses_dll.h.in
-./include/ncurses_mingw.h
 ./include/term_entry.h
 ./include/termcap.h.in
 ./include/tic.h
 ./include/unctrl.h.in
-./include/win32_curses.h
 ./install-sh
 ./man/MKada_config.in
 ./man/MKncu_config.in
@@ -900,6 +899,7 @@
 ./ncurses/llib-ltinfow
 ./ncurses/modules
 ./ncurses/new_pair.h
+./ncurses/report_ctype.c
 ./ncurses/report_hashing.c
 ./ncurses/report_offsets.c
 ./ncurses/term.priv.h
@@ -1007,12 +1007,11 @@
 ./ncurses/win32con/gettimeofday.c
 ./ncurses/win32con/wcwidth.c
 ./ncurses/win32con/win32_driver.c
-./ncurses/win32con/win_driver.c
 ./package/debian-mingw/changelog
 ./package/debian-mingw/compat
 ./package/debian-mingw/control
 ./package/debian-mingw/copyright
-./package/debian-mingw/mingw32-ncurses6.lintian-overrides
+./package/debian-mingw/mingw32-ncurses6td.lintian-overrides
 ./package/debian-mingw/rules
 ./package/debian-mingw/source/format
 ./package/debian-mingw/watch
@@ -1020,7 +1019,7 @@
 ./package/debian-mingw64/compat
 ./package/debian-mingw64/control
 ./package/debian-mingw64/copyright
-./package/debian-mingw64/mingw64-ncurses6.lintian-overrides
+./package/debian-mingw64/mingw64-ncurses6td.lintian-overrides
 ./package/debian-mingw64/rules
 ./package/debian-mingw64/source/format
 ./package/debian-mingw64/watch
@@ -1028,10 +1027,10 @@
 ./package/debian/compat
 ./package/debian/control
 ./package/debian/copyright
-./package/debian/ncurses6.lintian-overrides
-./package/debian/ncurses6.triggers
-./package/debian/ncursest6.lintian-overrides
-./package/debian/ncursest6.triggers
+./package/debian/ncurses6td.lintian-overrides
+./package/debian/ncurses6td.triggers
+./package/debian/ncursest6td.lintian-overrides
+./package/debian/ncursest6td.triggers
 ./package/debian/rules
 ./package/debian/source/format
 ./package/debian/watch
@@ -1190,6 +1189,8 @@
 ./test/package/debian/control
 ./test/package/debian/copyright
 ./test/package/debian/docs
+./test/package/debian/ncurses-examples.lintian-overrides
+./test/package/debian/ncursest-examples.lintian-overrides
 ./test/package/debian/rules
 ./test/package/debian/source/format
 ./test/package/debian/watch
diff --git a/contrib/ncurses/Makefile.in b/contrib/ncurses/Makefile.in
index 1303e171cfa1..9a55006e0331 100644
--- a/contrib/ncurses/Makefile.in
+++ b/contrib/ncurses/Makefile.in
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.46 2022/10/01 22:53:36 tom Exp $
+# $Id: Makefile.in,v 1.51 2025/10/25 18:01:01 tom Exp $
 ##############################################################################
-# Copyright 2018-2021,2022 Thomas E. Dickey                                  #
+# Copyright 2018-2022,2025 Thomas E. Dickey                                  #
 # Copyright 1998-2014,2015 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -35,11 +35,10 @@
 SHELL 		= @SHELL@
 VPATH		= @srcdir@
 
-DESTDIR=@DESTDIR@
-RPATH_LIST=@RPATH_LIST@
-TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
-
 @SET_MAKE@
+@SET_DESTDIR@
+RPATH_LIST	= @RPATH_LIST@
+TOP_MFLAGS	= DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
 
 NCURSES_MAJOR	= @NCURSES_MAJOR@
 NCURSES_MINOR	= @NCURSES_MINOR@
@@ -93,6 +92,7 @@ preinstall :
 	@ echo ''
 	@ echo '       extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
 	@ echo '       xterm terminfo: '@WHICH_XTERM@
+	@ echo '           ABI suffix: '`if test -n "@ABI_SUFFIX@"; then echo @ABI_SUFFIX@; else echo "(none)"; fi`
 	@ echo ''
 	@ echo '        bin directory: '$(bindir)
 	@ echo '        lib directory: '$(libdir)
@@ -114,13 +114,10 @@ preinstall :
 distclean \
 realclean ::
 
-check :
-	@ echo The test-programs are interactive
-
-
 # Put the common rules here so that we can easily construct the list of
 # directories to visit.
 all \
+check \
 clean \
 distclean \
 mostlyclean \
diff --git a/contrib/ncurses/Makefile.os2 b/contrib/ncurses/Makefile.os2
index bc3407d65750..68d4f898413d 100644
--- a/contrib/ncurses/Makefile.os2
+++ b/contrib/ncurses/Makefile.os2
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright 2020,2021 Thomas E. Dickey                                       #
+# Copyright 2020-2021,2025 Thomas E. Dickey                                  #
 # Copyright 1998-2000,2006 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ################################################################################
-# $Id: Makefile.os2,v 1.13 2021/06/17 21:20:30 tom Exp $
+# $Id: Makefile.os2,v 1.15 2025/07/12 10:48:01 tom Exp $
 #
 # Wrapper Makefile for ncurses library under OS/2.
 # Author:  Juan Jose Garcia Ripoll <worm@arrakis.es>.
@@ -247,7 +247,7 @@ OS2NAME=ncurses-$(NCURSES_MAJOR).$(NCURSES_MINOR)-emx
 os2dist :
 	$(MAKE) -f Makefile.os2 os2clean
 	./configure --without-debug --with-install-prefix=`pwd|sed -e 's@^.:@@'`/$(OS2NAME)
-	$(MAKE) -f Makefile.os2 $(CF_MFLAGS) install.os2
+	$(MAKE) -f Makefile.os2 install.os2
 	-rm -f $(OS2NAME).zip
 	echo NCurses-$(NCURSES_MAJOR).$(NCURSES_MINOR)-$(NCURSES_PATCH) for emx > $(OS2NAME)/FILE_ID.DIZ
 	echo Binary release. >> $(OS2NAME)/FILE_ID.DIZ
diff --git a/contrib/ncurses/NEWS b/contrib/ncurses/NEWS
index 8bedbc8264e1..c10767b675c8 100644
--- a/contrib/ncurses/NEWS
+++ b/contrib/ncurses/NEWS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2018-2023,2024 Thomas E. Dickey                                 --
+-- Copyright 2018-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 1998-2017,2018 Free Software Foundation, Inc.                   --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.4114 2024/04/27 18:00:35 tom Exp $
+-- $Id: NEWS,v 1.4390 2025/12/30 20:31:07 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,575 @@ 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.
 
+20251230 6.6 release for upload to ftp.gnu.org
+	+ update announcement
+	+ corrected an ifdef needed for mouse support in MinGW/Windows
+	+ eliminate remaining duplicate code between MinGW/Windows drivers
+
+20251227
+	+ make win32_curses.h obsolete in favor of nc_win32.h
+	+ modify MinGW32 configuration to account for its use of Windows-style
+	  pathnames in filesystem checks.
+	+ replace --enable-exp-win32 option with --enable-named-pipes
+
+20251220
+	> in-progress work to merge MinGW/Windows port.
+	  + eliminate EXP_WIN32_DRIVER with USE_NAMED_PIPES
+	  + change MS_TERMINAL to DEFAULT_TERM_VAR
+
+20251213
+	+ in-progress work to merge MinGW/Windows port.
+	+ add a null-pointer check in tic -c option.
+	+ add a limit-check in infocmp -i option (report/example by Yixuan Cao).
+
+20251206
+	+ in-progress work to merge MinGW/Windows port.
+
+20251129
+	+ in-progress work to merge MinGW/Windows port.
+
+20251123
+	+ revert change using NCURSES_SBOOL in tic.h which interfered with
+	  sign-extension in tigetflag (Debian #1121191, cf:  20251101).
+
+20251122
+	+ in-progress work to merge MinGW/Windows port.
+	+ correct expression for TINFO_LIB variable in misc/ncurses-config.in
+	  (Debian #1121208, cf: 20251004).
+
+20251115
+	+ check for special case of wcrtomb() converting a single byte code to
+	  a different single byte code, which glibc does for code 160 in the
+	  KOI8-R encoding (report by Yury V Zaytsev).
+	+ improve formatting/style of manpages (patches by Branden Robinson).
+	+ amend recent changes to mouse handling to avoid a case which caused
+	  a loop in wgetch until additional input is provided (htop #1769,
+	  cf: 20250913).
+
+20251101
+	+ adjust generated terminfo.5 to omit tbl "x" column modifier if that
*** 103542 LINES SKIPPED ***