Re: man question
On 2007-03-19 11:46, Monah Baki [EMAIL PROTECTED] wrote: Hi all, I have a machine running freebsd 6.2 stable FreeBSD 6.2-STABLE #5: Sat Mar 17 15:15:14 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 If I issue man ifconfig for example, at the end of the man I get the following: FreeBSD 6.1February 27, 2006 FreeBSD 6.1 How can I fix it to say 6.2 instead of 6.1 You are probably looking at a 'cached' copy of the preformatted manpage. The preformatted, cached copies of the manpages live in the `/usr/share/man/cat?' directories. You can verify that it is indeed this cached copy that you are reading with: $ man -w ifconfig If you see something like this: $ man -w ifconfig /usr/share/man/man8/ifconfig.8.gz $ Then you are not using a cached, preformatted copy. If, on the other hand, you see something like: $ man -w ifconfig /usr/share/man/cat8/ifconfig.8.gz (source: /usr/share/man/man8/ifconfig.8.gz) $ then it's a preformatted copy that you are going to read. You can safely remove all the preformatted manpage copies, with: bash# cd /usr/share/man bash# find cat? \! -type d | xargs rm HTH, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man question
On Thu, Jan 22, 2004 at 12:30:55AM +0100, Didier Wiroth typed: Hi, I've compiled and installed software by my own in this directory: /home/me/custom/ In this directory I have the following directories and subdirectories: /home/me/custom/man /home/me/custom/man/man1 /home/me/custom/man/man8 The man8 and man1 directory contains some .8 and .1 man files. For example /home/me/custom/man/man8/logrotate.8 When I enter: man 8 logrotate I get: No entry for logrotate in section 8 of the manual or man logrotate: No manual entry for logrotate What do I have to do, to be able to use/view those man files, only ME? I don't want to modif manpath.config (as this is a global configuration file)? Look at the manpath(1) manpage. If you add /home/me/custom to your $PATH, /home/me/custom/man will be automatically added to your search path. Ruben thx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man question
On Thu, Jan 22, 2004 at 12:30:55AM +0100, Didier Wiroth wrote: Hi, I've compiled and installed software by my own in this directory: /home/me/custom/ In this directory I have the following directories and subdirectories: /home/me/custom/man /home/me/custom/man/man1 /home/me/custom/man/man8 The man8 and man1 directory contains some .8 and .1 man files. For example /home/me/custom/man/man8/logrotate.8 When I enter: man 8 logrotate I get: No entry for logrotate in section 8 of the manual or man logrotate: No manual entry for logrotate What do I have to do, to be able to use/view those man files, only ME? I don't want to modif manpath.config (as this is a global configuration file)? setenv MANPATH `manpath`:/home/me/custom/man Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: man question
Didier Wiroth [EMAIL PROTECTED] writes: Hi, I've compiled and installed software by my own in this directory: /home/me/custom/ In this directory I have the following directories and subdirectories: /home/me/custom/man /home/me/custom/man/man1 /home/me/custom/man/man8 The man8 and man1 directory contains some .8 and .1 man files. For example /home/me/custom/man/man8/logrotate.8 When I enter: man 8 logrotate I get: No entry for logrotate in section 8 of the manual or man logrotate: No manual entry for logrotate What do I have to do, to be able to use/view those man files, only ME? I don't want to modif manpath.config (as this is a global configuration file)? Quite simple. From man man: -M path Specify an alternate manpath. By default, man uses manpath(1) (which is built into the man binary) to determine the path to search. This option overrides the MANPATH envi- ronment variable. and MANPATH If MANPATH is set, its value is used as the path to search for manual pages. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man question
On Thu, 22 Jan 2004, Didier Wiroth wrote: What do I have to do, to be able to use/view those man files, only ME? I don't want to modif manpath.config (as this is a global configuration file)? set shell environment variable MANPATH to include your directories. Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]