Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2005 02:28:03 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Greg Barniskis <nalists@scls.lib.wi.us>
Cc:        Gerard Seibert <gerard-seibert@suscom.net>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Printing MAN pages
Message-ID:  <20050908232803.GA975@orion.daedalusnetworks.priv>
In-Reply-To: <4320BC57.4080006@scls.lib.wi.us>
References:  <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg> <43206857.1010803@daleco.biz> <20050908165328.GB37407@orion.daedalusnetworks.priv> <20050908173646.GO20229@pcwin002.win.tue.nl> <20050908175519.GA20222@falcon.midgard.homeip.net> <20050908203203.GP20229@pcwin002.win.tue.nl> <20050908204628.GC38895@orion.daedalusnetworks.priv> <20050908204803.GQ20229@pcwin002.win.tue.nl> <4320BC57.4080006@scls.lib.wi.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-09-08 17:33, Greg Barniskis <nalists@scls.lib.wi.us> wrote:
> Stijn Hoop wrote:
> [snip... sorry about the attributions]
> >>>
> >>>How about:
> >>>
> >>>	-t	Generate a Postscript version of the manpage, intended for
> >>>		printing, by using /usr/bin/groff -S -man to format the
> >>>		manual
> >>>		page, passing the output to stdout.  The output from
> >>>		/usr/bin/groff -S -man may need to be passed through some
> >>>		filter or another before being printed.
> >>>
> >>>That way I can do /print in less and still get some useful hint.
> >>
> >>You all know that groff is thirdparty software, right?  We have to take
> >>this with the groff developers, if the change is ever going to be
> >>imported in FreeBSD.
> >
> >Hmm, no I didn't realize that. Guess that's too much work for such a minor
> >change :(
>
> Except that (if I read the thread right) the proposed change is
> actually to the man page for man, not the man page for groff. ;)
>
> Might suffer similar "ownership" and maintenance issues, but I doubt
> it. If man's not part of the native BSD core, what is?

Ah!  I misunderstood the original post then.  Thanks Greg!

Of course we can update man(1).  It's part of the src/gnu/ thirdparty
source, but the manpage is already off the vendor branch, so we can make
changes if necessary.

Stijn and everyone else, any particular preference for the text that we
add?  Would something like the following be ok?

	-t	Use ``/usr/bin/groff -S -man'' to format the manual page,
		passing the output to stdout.  The default output format of
		groff(1) is Postscript, but see the manual page of groff(1)
		for ways to pick an alternate format.

		Depending on the selected format and the availability of
		printing devices, the output may need to be passed through
		some filter or another before being printed.

We may have to send the changes we make to Federico Lucifredi too (the
maintainer of man-1.6 and latter), since the 1.6a version that I
downloaded from [ http://primates.ximian.com/~flucifredi/man/ ] a few
minutes ago, still uses the text that Stijn feels is a bit cryptic.

- Giorgos




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050908232803.GA975>