Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Solaris man page: need feedback

Solaris man page: need feedback

2005-05-07 by manu@netbsd.org

Hi

milter-greylist man pages can be viewed on Solaris by doing 
groff -mdoc -Tascii milter-greylist.8

An easy woekaround to our problem could be to turn them into catted
pages and to install them in the appropriate location.

Can someone try this:
groff -mdoc -Tascii milter-greylist.8 > \      
    /usr/local/man/cat8/milter-greylist.0
groff -mdoc -Tascii greylist.conf.5 > \   
    /usr/local/man/cat5/greylist.conf.5

And check the result of man milter-greylist and man greylist.conf? 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Solaris man page: need feedback

2005-05-07 by hans hm04

is ok - looks good 
Show quoted textHide quoted text
On Sat, May 07, 2005 at 06:44:34PM +0200, manu@... wrote:
> Hi
> 
> milter-greylist man pages can be viewed on Solaris by doing 
> groff -mdoc -Tascii milter-greylist.8
> 
> An easy woekaround to our problem could be to turn them into catted
> pages and to install them in the appropriate location.
> 
> Can someone try this:
> groff -mdoc -Tascii milter-greylist.8 > \      
>     /usr/local/man/cat8/milter-greylist.0
> groff -mdoc -Tascii greylist.conf.5 > \   
>     /usr/local/man/cat5/greylist.conf.5
> 
> And check the result of man milter-greylist and man greylist.conf? 
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
>

Re: [milter-greylist] Solaris man page: need feedback

2005-05-09 by Martin Paul

Hi,

> milter-greylist man pages can be viewed on Solaris by doing 
> groff -mdoc -Tascii milter-greylist.8

Unfortunately groff doesn't come with Solaris by default, so 
the modification you made to Makefile in 2.0b6 won't work
on a stock Solaris system. It would be better if you ship
the cat files in the milter-greylist distribution, and don't
try to generate them during installation.

"man -d" showed this command line to be used to format the
man pages under Linux, BTW:

  /usr/bin/zsoelim milter-greylist.8 | /usr/bin/tbl | 
  /usr/bin/nroff -mandocdb -Tutf8 > milter-greylist.cat8
  
As has been mentioned, under Solaris only the cat version of
the man page should be installed then. I can't think of
a better way than "uname" to decide on which file(s) should
be installed. Maybe running "nroff -mandocdb < /dev/null"
would be an option, it returns "nroff: Cannot find library -mandocdb"
under Solaris, which "nroff -man < /dev/null" comes up empty
(no error).

A bit messy, all of this. It still would be best to write 
the man pages in a way that the man command on all OS's
can format the man pages itself - I guess that would mean
to convert them so that "nroff -man" can format them. I'd
volunteer, but I have zero knowlegde about *roff macro 
packages.

mp.
-- 
                         Martin Paul | Systems Administrator
   Institute of Scientific Computing | martin@...
 Nordbergstrasse 15/C/3, A-1090 Wien | Tel: 01 4277 39403
        http://www.par.univie.ac.at/ | Fax: 01 4277 9394

Re: [milter-greylist] Solaris man page: need feedback

2005-05-09 by hans hm04

Hi,

> > groff -mdoc -Tascii milter-greylist.8
> 
> Unfortunately groff doesn't come with Solaris by default, so 

lets ask, what is default. assuming you are using an os-version
of this millennium ( to say solaris 8, 9 and 10 ) 
groff is placed on the companion cd. it's depend on you, if 
you install this package or not. as done with all packages
from a minimum system up to all 880 packages of the cd-collection. 

> As has been mentioned, under Solaris only the cat version of
> the man page should be installed then. 

or as nroff version - man pages in the solaris world 
are typically of type nroff, and nroff is part of the minimum system, where
man pages can be found. 

best regards 
hans 

--

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.