Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'MANPATH should not be manually set' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
MANPATH should not be manually set
Authored by: clith on Oct 16, '03 11:42:20AM
Read the previous posts. You don't have to manually set your MANPATH for darwinports or fink.

As for default shells, just use chsh if you don't like the default.

[ Reply to This | # ]

So your solution
Authored by: porkchop_d_clown on Oct 16, '03 03:17:40PM

to the problem of manually set manpaths is to manually set the manpath config?

In what sense is that an improvement?

---
Everyone loves a clown, but no one will lend him money!



[ Reply to This | # ]
So your solution
Authored by: discordantus on Oct 17, '03 02:23:27AM

I suppose it's really a matter of taste, but here's my take on it...

It is an improvement because the MANPATH variable appears to be deprecated. All utilities that need those paths are now supposed to run the 'manpath' util to get them. 'manpath' will use the MANPATH variable if it exists, but will print an error message to stderr. Also, if you set the MANPATH variable manually, and Apple decides to stick in a new man directory in the future, 'man' won't be able to find it. I guess it's just the new way that they are doing things...



[ Reply to This | # ]
So your solution
Authored by: pjt33 on Oct 18, '03 02:59:03PM
I don't know whether it works in tcsh, but in sh/bash, the simple solution is
export MANPATH=`manpath`:/sw/share/man


[ Reply to This | # ]
chsh
Authored by: porkchop_d_clown on Oct 16, '03 03:19:29PM

Indeed. You can change your shell. All the less reason to change the default shell, forcing changes to many 3rd party apps (like fink)

---
Everyone loves a clown, but no one will lend him money!



[ Reply to This | # ]