This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no man pages


> I cannot display any man pages on my newly installed cygwin 1.3.20.1
> When I do: man ps
> I got:
> "No manual entry for ps"
> MANPATH was not set and I set it to /usr/man
> I checked that /usr/man/man1/ps.1.gz is present
> I saw a /etc/man.config. How to tell man to read this man.config?

man(1) has a search order of

/etc/man.config
/usr/lib/man.config
/usr/share/misc/man.config

So it will get checked. As you say you already have /usr/man/man1/ps.1.gz ,
so you have installed the cygwin-doc package (?). What is the ouput of the
following

$ cygcheck -c cygwin-doc |grep cygwin-doc
$ ls -al /usr/man/man1/ps.1.gz
$ which man

If the first command (the cygcheck one) doesn't return any output then you
don't have the package installed or there was an error when it was
installed. Return to setup.exe and reinstall the cygwin-doc package. And if
the third command third command (which man) doesn't return either /bin/man
or /usr/bin/man then your not using man(1) distributed with cygwin (some
package I had in my path distributed a man prog so...just checking).

Btw, you should't need to modify/set MANPATH unless you have installed
packages with manual pages that are in non-standard places.


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]