Hi folks, Happy Turkey Day and/or Max Headroom Broadcast Signal Intrusion Day to those who celebrate.
Here's a preview of the "NEWS" file for groff 1.26.0. I've marked items
that are new since my last preview[1] with an exclamation mark. Most of
these pursue the goal of making debugging and troubleshooting easier.
Let me know what you think.
troff
-----
! The user's home directory is no longer present in the default macro
file search path. To restore GNU troff's former behavior in this
respect, use a command-line option or environment variable.
$ groff -M "$HOME"
$ GROFF_TMAC_PATH="$HOME" groff
* The `ne` request no longer performs an operation if it is given an
invalid argument. This change is inconsistent with AT&T troff but
more consistent with general *roff syntax.
* The `shift` request no longer performs an operation if it is given an
invalid argument.
* A new read-only register `.sv` reports the amount of vertical space
saved by the most recent `sv` request, if it has not yet been output
with the `os` request.
! The `pev` request now accepts arguments. Each is interpreted as an
environment identifier, whose properties are reported if it exists.
! The `pev` request now issues a different report when invoked without
arguments. It reports the names of environments in the stack,
marking the current environment with a tab and asterisk, and if
unstacked environments exist, lists them subsequently under a
separate heading.
* The `pev` request now reports the environment's modified glyph height
and slant, as applicable; and its selected control and no-break
control characters.
! The `pfp` request now accepts arguments. Each is interpreted as a
font mounting position, which is reported if occupied.
! A new request, `pft`, reports to to the standard error stream
properties of each of its font identifier argument (which can
(which can be a mounting position or an an abstract style).
Properties include the name of its description file, whether that
file marks it as special, emboldening, and zoom factor.
! The `pftr` request now accepts arguments. Each is interpreted as a
font identifier (which can be an abstract style but not a mounting
position), which is then looked up in the set of font translations
and reported if any translation exists.
! The `pstream` request now accepts arguments. Each is interpreted as
a groff file stream, whose properties are reported if open.
! The formatter now emits warnings if the escape character precedes
itself (in category "style") or a dot ('.') (in category "escape")
when the formatter is in interpretation mode; in other words, when
not in copy mode.
* The formatter now emits a warning in category "style" if -crementing
interpolation (such as `\n+[myreg]` or `\n-[count]`) is (uselessly)
applied to a non-auto-crementing register.
soelim
------
! soelim now appends a trailing newline to files it reads that are
lacking them, unless the `-r` ("raw") option is specified.
! soelim now recognizes an option `-x` that promotes failure to open
any included file from a warning to a fatal error.
Output drivers
--------------
! grotty now supports a `-O` option that suppresses recognition of
groff's extended `u` device command, which implements continuous
underlining. The only practical consequence this has is that spaces
within a continuously underlined area don't become `_`. Graphical
characters _do_ still get underlined, other options notwithstanding.
The advantage (and motivation) is that by specifying `-cboOu`, you
can force grotty to produce plain text output--meaning neither
overstriking sequences nor ISO 6429 escape sequences appear in its
output.
! grotty now checks the process environment for the variable `TERM`; if
it is set to "dumb", the program configures itself as if the options
`-cboOu` had been specified, producing plain text output as described
in the previous item.
Regards,
Branden
[1] https://lists.gnu.org/archive/html/groff/2026-11/msg00016.html
signature.asc
Description: PGP signature
