Re: Man Pages
Stephen Froehlich wrote: After doing a Life with Qmail installation, I'd like to add all of the appropriate entries to the default MANPATH. Where is the default MANPATH set, and what should I add besides /var/qmail/man? Thanks, Stephen Froehlich You probably would have been better off making a symlink from /var/qmail/man to /usr/local/man before doing `make setup check` on the source; but you can add additional parameters to your MANPATH by either placing them in ~/.bashrc (for a single user) or /etc/profile (for all users). -- Nick (Keith) Fish Network Engineer Triton Technologies, Inc.
Re: Man Pages
just copy the whole content of /var/qmail/man to /usr/local/man rmdir /var/qmail/man and then symlink /usr/local/man to /var/qmail/man At 13:53 30.06.2001 +, Nick (Keith) Fish wrote: Stephen Froehlich wrote: After doing a Life with Qmail installation, I'd like to add all of the appropriate entries to the default MANPATH. Where is the default MANPATH set, and what should I add besides /var/qmail/man? Thanks, Stephen Froehlich You probably would have been better off making a symlink from /var/qmail/man to /usr/local/man before doing `make setup check` on the source; but you can add additional parameters to your MANPATH by either placing them in ~/.bashrc (for a single user) or /etc/profile (for all users). -- Nick (Keith) Fish Network Engineer Triton Technologies, Inc. -- -- Lukas Beeler [EMAIL PROTECTED] Homepage: http://www.projectdream.org --
Re: Man Pages
* Nick (Keith) Fish [EMAIL PROTECTED] [010630 13:51]: Stephen Froehlich wrote: After doing a Life with Qmail installation, I'd like to add all of the appropriate entries to the default MANPATH. Where is the default MANPATH set, and what should I add besides /var/qmail/man? You probably would have been better off making a symlink from /var/qmail/man to /usr/local/man before doing `make setup check` on the source; but you can add additional parameters to your MANPATH by either placing them in ~/.bashrc (for a single user) or /etc/profile (for all users). Assuming everyone is running bash... However, if you want to catch it for all shells, add it to /etc/man.config (or wherever your OS puts it). /pg -- Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED] --- * Not that I have tested it - I just wrote the code and hope it works. * * Real programmers don't test: they assume it works the first time, * * and anyway, what do you think beta-testers are for? -Linus Torvalds * (Sent by [EMAIL PROTECTED] Roger Wolff)
Re: Man pages
Well.. exporting MANPATH did not work well for me, something just didn't work right. However, editing /etc/man.config and putting an extra MANPATH line in there for qmail did. The proper thing to do is to put /var/qmail/bin in PATH, then MANPATH automatically gets modified to include /var/qmail/man. No need to fiddle with the man conf file. Make sure though that the formatted pages do not get installed ( in /var/qmail/man/cat?). Otherwise nonroot users will not be able to read the man pages after a while. Setting the MANPATH should work under RH 6.*---it was not working on earlier versions. Adam tells me that the whole man pages business does not work under Debian at all. Mate
Re: Man pages
What command is supposed to install the man pages for qmail? After setup, all the .0 files are in my source dir, but they have not been moved to the man dirs or added to the indexes. [...] god, this was the question of the year. thx Steve :}} this is sth which isn't explained anywhere (if it was, i wasn't able to see it) and also i'd like to know which ones the right directories are. "make setup check" or sth else should copy them to their proper places, i think. love, peace etc, dd
Re: Man pages
dd [EMAIL PROTECTED] wrote: god, this was the question of the year. thx Steve :}} this is sth which isn't explained anywhere (if it was, i wasn't able to see it) Well, it's explained in "Life with qmail": http://Web.InfoAve.Net/~dsill/lwq.html#man-pages -Dave
RE: Man pages
"Steve Kapinos" [EMAIL PROTECTED] wrote: Why does qmail use its own dir tho? Every other app I install drops to the overall /usr/man dirs. "Why doesn't qmail crap all over my system like every other app I install?" Hmm... -Dave
Re: Man pages
On Nov 16 1999, dd wrote: god, this was the question of the year. thx Steve :}} this is sth which isn't explained anywhere (if it was, i wasn't able to see it) and also i'd like to know which ones the right directories are. "make setup check" or sth else should copy them to their proper places, i think. Humm... Are you *really* sure that they weren't copied to /var/qmail/man/cat{1,5,7,8}??? In the source tree of qmail, please read the file hier.c. Its last lines consist of a batch of c function calls which actually copy many files, including the preformatted man pages. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: Man pages
On Nov 16 1999, Russell Nelson wrote: Their proper place is /var/qmail/man. Add it to your MANPATH. That's why MANPATH exists. Actually, in systems that support it (Debian's slink has it broken, Debian's potato has got it right), the cleanest way of using /var/qmail/man that I know of is to just let the users update their PATH variable and tell the mandb suite to map /var/qmail/bin to /var/qmail/man, for purposes of manpages. Here is an excerpt from my system's manpath.config: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MANPATH_MAP /var/qmail/bin /var/qmail/man MANDB_MAP /var/qmail/man /var/qmail/man - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Also, under Debian, the files with .0 extensions (catmans built by Dan's make) are completely ignored by man. Now, here is a question: is Debian broken in this respect? []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: Man pages
they are in /var/qmail/man You'll probably need to adjust your MANPATH At 07:30 PM 11/15/99 , you wrote: What command is supposed to install the man pages for qmail? After setup, all the .0 files are in my source dir, but they have not been moved to the man dirs or added to the indexes. Are they supposed to be installed during 'make setup check'? -Steve
RE: man pages?
do you have your MANPATH environment variable set to include /var/qmail/man? -Original Message- From: Edward Castillo-Jakosalem [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 09, 1999 3:59 PM To: [EMAIL PROTECTED] Subject: man pages? Good day to all! I am just wondering why I have no man pages for qmail. I did not have any problem whith the installation. The man pages just won't come up. Just keeps saying no manual entry... Anyone please help. Regards, [EMAIL PROTECTED]
Re: man pages?
Hey, I overlooked that one. Thanks a lot! Lyndon Griffin wrote: do you have your MANPATH environment variable set to include /var/qmail/man? -Original Message- From: Edward Castillo-Jakosalem [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 09, 1999 3:59 PM To: [EMAIL PROTECTED] Subject: man pages? Good day to all! I am just wondering why I have no man pages for qmail. I did not have any problem whith the installation. The man pages just won't come up. Just keeps saying no manual entry... Anyone please help. Regards, [EMAIL PROTECTED]
Re: man pages and rpm
Mate Wierdl writes: Just a warning to rpm makers: at least under RH 6.0, the stuff in the cat directories get gzipped, and then ordinary users cannot view those man pages anymore. I do not really know what the heck is going on: $ man qmail-command -rwxr-sr-x 1 root man 32320 Apr 9 19:26 /usr/bin/man man expects stuff in cat to be writeable by the man group. My RPMs only installs the nroff source. Formatted man pages are a waste of space. I also gzip nroff source whenever possible. Qmail is already messy enough, so I don't bother in this case. -- Sam