Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > man pages

man pages
Thread Tools
johann
Forum Regular
Join Date: Nov 2000
Location: Seattle, Wa, USA
Status: Offline
Reply With Quote
Dec 16, 2001, 06:03 PM
 
i just got my new iBook, and i've been installing all my fav apps like nmap, ettercap, vim, wget, etc... but, the man pages are missing after i compile and install! wtf? i have the files in /usr/local/man/<mandir>

like for ettercap, i have /usr/local/man/man8/ettercap.8 but when i type man ettercap i get "no manual entry for ettercap"

any ideas? do i need to put these files in a special OSX man dir?

thanks!
     
beamso
Fresh-Faced Recruit
Join Date: Nov 2001
Location: Melboune, Australia
Status: Offline
Reply With Quote
Dec 16, 2001, 06:24 PM
 
Originally posted by johann:
<STRONG>i just got my new iBook, and i've been installing all my fav apps like nmap, ettercap, vim, wget, etc... but, the man pages are missing after i compile and install! wtf? i have the files in /usr/local/man/&lt;mandir&gt;

like for ettercap, i have /usr/local/man/man8/ettercap.8 but when i type man ettercap i get "no manual entry for ettercap"

any ideas? do i need to put these files in a special OSX man dir?

thanks!</STRONG>
You have to make sure that /usr/local/man is in your MANPATH.
echo $MANPATH shows you your MANPATH
setenv MANPATH `echo $MANPATH`:/usr/local/man puts /usr/local/man into your MANPATH
     
johann  (op)
Forum Regular
Join Date: Nov 2000
Location: Seattle, Wa, USA
Status: Offline
Reply With Quote
Dec 16, 2001, 06:44 PM
 
great thanks!
     
howardm4
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Dec 16, 2001, 07:51 PM
 
I dont remember the name of the file but you can change 'man's' default
search path for all users. Try a 'man man'. It's probably in /etc or
so.
     
Paul McCann
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status: Offline
Reply With Quote
Dec 18, 2001, 12:01 PM
 
<STRONG>I dont remember the name of the file but you can change 'man's' default
search path for all users. Try a 'man man'.</STRONG>

Yep, it's /etc/man.conf (and man man.conf gives some info). Here are the relevant lines:


# Default
_default /usr/{local/,}/share/man/

# Other sections that represent complete man subdirectories.
system /usr/share/man/
local /usr/local/share/man/
So it looks like the officially prescribed location is with an extra "share" directory between the /usr/local and the /man. Oh well, gpg is the only 3rd party package that has installed man pages in my /usr/local/share/man hierarchy: looks like everyone else just "goes their own way"!

Cheers,
Paul (wondering if he'll every submit a post that doesn't need editing!)

[ 12-18-2001: Message edited by: Paul McCann ]
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 18, 2001, 06:19 PM
 
Most packages will put their manpages in the right place if you tell them to. Try looking at the flags to configure, or use Fink.
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:06 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,