Page MenuHomeFreeBSD

ncurses: Move termcap and tabset to ncurses-lib
ClosedPublic

Authored by ivy on Nov 6 2025, 2:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 26, 12:32 PM
Unknown Object (File)
Fri, Dec 12, 11:48 PM
Unknown Object (File)
Mon, Dec 8, 8:11 AM
Unknown Object (File)
Mon, Dec 8, 8:11 AM
Unknown Object (File)
Mon, Dec 1, 10:36 PM
Unknown Object (File)
Nov 20 2025, 4:38 AM
Unknown Object (File)
Nov 20 2025, 1:53 AM
Unknown Object (File)
Nov 20 2025, 1:53 AM
Subscribers

Details

Summary

termcap and tabset are currently in runtime, but since ncurses is the
only thing which uses them, they belong in the ncurses package.

curses without termcap is not very useful, so put them in the -lib
subpackage rather than ncurses itself, so that installing ncurses-lib
provides a working curses.

This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after: never
Discussed with: kevans
Sponsored by: https://www.patreon.com/bsdivy

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Nov 6 2025, 2:46 AM
This revision is now accepted and ready to land.Nov 6 2025, 3:00 AM
This revision was automatically updated to reflect the committed changes.

termcap is also used by applications that do not use curses, especially those that do terminal stuff based on other libraries. It might be a good idea to either unbundle it from curses or to keep it in runtime.