I want to remove troff output support from indent(1)
Baptiste Daroussin
bapt at FreeBSD.org
Sun Feb 26 23:28:59 UTC 2017
On Sun, Feb 26, 2017 at 03:08:00PM -0700, Warner Losh wrote:
> On Sun, Feb 26, 2017 at 1:59 PM, Bob Bishop <rb at gid.co.uk> wrote:
> > Hi,
> >
> >> On 26 Feb 2017, at 19:06, Piotr P. Stefaniak <pstef at freebsd.org> wrote:
> >>
> >> indent, the C source reformatting tool, has a -troff option to produce
> >> roff output.
> >>
> >> I have a few issues with it:
> >> 1) it doesn't work. When I view the resulting file with nroff(1) piped
> >> to more(1) [etc]
> >
> > From man indent:
> >
> > "-troff Causes indent to format the program for processing by
> > troff(1)"
> >
> > NB troff. Likely it was always broken with nroff.
>
> I know that I used indent from this time with troff output to print
> things that looked OK. It had to be troff, because nroff didn't work
> with the laser printer that we had...
>
> I have no trouble removing it, but I have first hand experience with
> it working back in the day.
>
It seems that what broke is that if output of indent -troff was to be passed in
a troff -mindent command line. meaning that there use to be a indent.tmac
somewhere but neither groff, neither heirloom roff seems to be providing it at
all a indent.tmac or equivalent.
So I doubt it ever worked on FreeBSD. I can see online some documentation
speaking about (on oracle website) and even some crazy french website saying it
worked with groff, but can't find the file in groff history either
Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20170227/50f34e8b/attachment.sig>
More information about the freebsd-arch
mailing list