On Fri Feb 21, 2025 at 4:39 AM CET, G. Branden Robinson wrote:
> At 2025-02-21T04:30:57+0100, onf wrote:
> [...]
> > Is my understanding correct that this change affects compatibility
> > mode too,
>
> Yes.
>
> > thus lessening compatibility with DWB troff?
>
> ...non sequitur.  What is it that we'd be retaining compatibility with?
>
> $ cat planet_x2.roff
> [...]
>
> All input after the space is ignored; DWB nroff and troff treat this as
> a fatal error.
> [...]

Unless I misunderstood your proposal, you are breaking compatibility
with this:
  $ cat << EOF > test
  Lorem ipsum
  dolor sit amet.
  EOF
  $ 9 nroff << EOF
  .pl 1
  .so test \" import test
  EOF
  Lorem ipsum dolor sit amet.

> Again, I urge perusal of the Savannah #65108 comment history before
> assuming that this change was made hastily or without due consideration.
>
> Not saying _you_ assumed that...but inevitably _someone_ does...

Well, I have thought about it a bit since yesterday and I think making
`so` similar to `tm` would be a better idea:
  $ 9 nroff << EOF
  .tm Lorem ipsum dolor \" print to stderr
  EOF
  Lorem ipsum dolor

Support for spaces is added, backwards compatibility is retained.
The only thing this doesn't address is filenames which begin or
end with a space, but I think you will agree that's not a sane
way of naming files.

~ onf

Reply via email to