[comp.unix.ultrix] local man pages

gbell@genesis.csc.wsu.edu (Greg Bell - Systems) (03/13/91)

I have a DECstation 3100 running Ultrix 4.1. I recently ported ispell to it, which
wants to put the man pages in /usr/man/manl. Doing a `man man' seems to suggest that
`man local ispell' should work, which it does if I use the System V man (/usr/bin/man),
but I get a Segmentation fault with /usr/ucb/man. Typing only `man ispell' indicates that there is no man page for ispell. Am I doing anything wrong, or is the Berkeley man broken?

Greg Bell

iglesias@draco.acs.uci.edu (Mike Iglesias) (03/13/91)

In article <1991Mar12.190455.18062@eecs.wsu.edu> gbell@genesis.csc.wsu.edu (Greg Bell - Systems) writes:
>I have a DECstation 3100 running Ultrix 4.1. I recently ported ispell
>to it, which wants to put the man pages in /usr/man/manl. Doing a `man
>man' seems to suggest that `man local ispell' should work, which it
>does if I use the System V man (/usr/bin/man), but I get a
>Segmentation fault with /usr/ucb/man. Typing only `man ispell'
>indicates that there is no man page for ispell. Am I doing anything
>wrong, or is the Berkeley man broken? 

Use catman to rebuild the whatis database.  See the man page for
catman for details.


Mike Iglesias
University of California, Irvine
Internet:    iglesias@draco.acs.uci.edu
BITNET:      iglesias@uci
uucp:        ...!ucbvax!ucivax!iglesias

gbell@genesiscsc.wsu.edu (Greg Bell - Systems) (03/13/91)

I understand that my first posting got garbled
because I did not stay within 80 character lines.

  I have a DECstation 3100 running Ultrix 4.1. 
  I recently ported ispell to it, which
  wants to put the man pages in /usr/man/manl. 
  Doing a `man man' seems to suggest that
  `man local ispell' should work, which it does 
  if I use the System V man (/usr/bin/man),
  but I get a Segmentation fault with /usr/ucb/man. 
  Typing only `man ispell' indicates that there is 
  no man page for ispell. Am I doing something wrong,
  or is the Berkeley man broken?

Greg Bell

rwood@pa.dec.com (Richard Wood) (03/13/91)

> In article <1991Mar12.190455.18062@eecs.wsu.edu> gbell@genesis.csc.wsu.edu (Greg Bell - Systems) writes:
> I have a DECstation 3100 running Ultrix 4.1. I recently ported ispell
> to it, which wants to put the man pages in /usr/man/manl. Doing a `man
> man' seems to suggest that `man local ispell' should work, which it
> does if I use the System V man (/usr/bin/man), but I get a
> Segmentation fault with /usr/ucb/man. Typing only `man ispell'
> indicates that there is no man page for ispell. Am I doing anything
> wrong, or is the Berkeley man broken? 
 

Make sure the suffix on the file in /usr/man/manl is ".l".

I.e., if the file is /usr/man/manl/ispell.l

Then "man ispell" should find it.

Apropos and "man -k" won't find it unless you rebuild the whatis
database with catman, but this shouldn't affect "man" itself.

-- ---------------------------------------------------------------------
Richard Wood     Corporate Worksystems Team      Digital Equipment Corp.
========================================================================

jwe@che.utexas.edu (John W. Eaton) (03/13/91)

In article <1991Mar12.230038.2676@eecs.wsu.edu>
gbell@genesiscsc.wsu.edu (Greg Bell - Systems) writes:

> Doing a `man man' seems to suggest that `man local ispell' should
> work, which it does if I use the System V man (/usr/bin/man), but I
> get a Segmentation fault with /usr/ucb/man.

I found the version of man that was distributed with Ultrix 3.x to be
somewhat less than wonderful and I couldn't find anything much better
so I wrote my own.  It understands MANPATH and PAGER environment
variables and knows a few tricks that the standard Ultrix man doesn't.
You can retrieve a copy via anonymous ftp from andy.che.utexas.edu
(128.83.162.5) in the directory pub.

There is also a very complete implementation of man in perl by Tom
Christiansen.  It is available from tut.cis.ohio-state.edu
(128.146.8.60) in the directory pub/perl/scripts/tchrist.

--
John W. Eaton
jwe@che.utexas.edu
Department of Chemical Engineering
The University of Texas at Austin