Re: [aclug-L] Man and info pages
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
There are several solutions.
You can edit /etc/manpath.config to list new paths, and copy the
manpages into there. (let us know if you need help setting that
file.) You can also add a line like this to /etc/profile:
export MANPATH=$MANPATH:/path/to/custom/manpages
which will tell man to look there.
You can also use "man -l filename.1" to look at a file in your current
directory. For info, the syntax is info -f filename, I believe.
Sanjay Dhar <sxdhar@xxxxxxxxxxx> writes:
> Hi,
>
> This may seem like a pretty basic question, so please bear with my
> ignorance. I usually keep updating my machine with a lot of new programs.
> I wanted to know, how do I go about adding man/info pages for any new
> programs so that the man/info command can find it automatically without
> having to use [nt]roff to view the command usage and other details.
>
> ----------------------------------------------------------------------------
>
> SANJAY DHAR
>
> sxdhar@xxxxxxxxxxx
>
> http://www.cs.twsu.edu/~sxdhar
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|