> On 2011-09-23, ropers <rop...@gmail.com> wrote:
>> dpb is not in base, there are no packages, it's not mentioned in the
>> OpenBSD FAQ or Porter's Handbook, and it's not listed at openports.se.
>> It can be found via the googles, but for your average OpenBSD user
>> typing man dpb will do exactly diddly squat. ;-)

On 23 September 2011 18:35, Stuart Henderson <s...@spacehopper.org> wrote:
> $ grep ports /usr/src/etc/man.conf
> _default        /usr/{share,X11R6,local,ports/infrastructure}/man/

That's in the source tree, not the ports tree.

> If the ports tree is in the usual place

"If" being the operative word; to quote from undeadly, emphasis added:
> <http://www.undeadly.org/cgi?action=article&sid=20100618041150>
>> *If* you have [the] ports tree source on your system, you can do the
following
>> to view the dpb man page:
>>
>>    $ mandoc -Tascii /usr/ports/infrastructure/build/dpb3.1 | less

> then yes 'man dpb' should display
> something. If not then either you didn't merge config updates like you
> should,

I'm not 100% sure I fully understand what you're saying -- do you mean
if I'm not running -stable instead of just -release?

> or you're running a system that's old enough that the lack of
> snapshot packages isn't a problem.

I am indeed pretty slow to upgrade -- very slow, actually; and yes,
the lack of snapshot updates isn't a problem that affects me. I just
got into this because I curiously tried man dpb after reading Amit's
post and then started digging. (I'm not trying to start an argument
either; I'm just mildly curious and stuff. ;-) Also, I'm planning to
spend more quality time with my OpenBSD box(es) again; I've neglected
them for too long, I'm ashamed :-| to admit. (Of course there are
reasons, but there always are, so yeah...))

Finally, as I've just discovered, if you're actually running
4.9-release, then that mandoc line from undeadly isn't quite correct
anymore either. After downloading/installing the ports tree, the
correct line for 4.9 would be:

mandoc -Tascii /usr/ports/infrastructure/man/man1/dpb.1 | less

regards,
--ropers

Reply via email to