[bug #68600] [troff] make `--version` output report font and macro search paths
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
URL:
<https://savannah.gnu.org/bugs/?68600>
Summary: [troff] make `--version` output report font and
macro search paths
Group: GNU roff
Submitter: gbranden
Submitted: Thu 06 Aug 2026 12:57:42 PM UTC
Category: Core
Severity: 1 - Wish
Item Group: Feature change
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 06 Aug 2026 12:57:42 PM UTC By: G. Branden Robinson <gbranden>
Inspired by bug #68597.
Several factors influence the construction of the font and macro search paths:
selection of `-U` unsafe mode, environment variables, `-F` and `-M` option
arguments, and build configuration.
Make _troff_ report these data when run with `-v`/`--version`, honoring the
affect of any other command-line options that influence the population of the
search paths.
This change will require some minor refactoring of GNU _troff_'s `main()` when
handling "case 'v'" of _getopt_long_(3)'s return value. Presently, that case
_exit_(3)s immediately.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68600>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCanSEygAKCRCqLAuaBUf3 TqfzAP4gw4w9HgkuhSfYK98bA7693e50VR9huJkNd3EG18pMpQD/excWAuto7QjX rhzJ6zJeu4Sr9HOx1GntWUS3VWAemQY= =dxWF -----END PGP SIGNATURE-----