Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote: > Anne Wilson wrote: > > >For the comfort of my eyes I wanted to read man pages in konqueror, but > >got the error > > > >No man page matching to iptables found. You can extend the search path by > >setting the environment variable MANPATH before starting KDE. > > > >I tried to set the variable - probably doing it completely wrong, but I've > >clearly screwed up $PATH. > > > >[EMAIL PROTECTED] anne]# $PATH > >bash: > >/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin: > >No such file or directory > > > >I presume there's a text file somewhere that I can edit to clean this up? > > > >Anne > > > > > There are a couple of problems here. The first is that PATH and MANPATH > are not the same. The second is that $PATH is a shell varable that you > set, or is set for you when you log in. You can defind a shell varable > in a couple of ways. > > VARABLE="some value" > PATH=$PATH:$HOME/bin > > What happens when you use $PATH, $HOME or any of the other shell > varables in a command line is that the value of the varable is used when > processing the command. When you type $PATH on the command line, you > were in effect trying to run the command: [ snip ] > > Now, as far as you not being to read the IP tables man page, I can not > check on what pakage the man page is part of at the moment, but if noone > else fills in that part of the answer, then I will get back to you later > on it. Anne, Mikkel, Does man iptables work from command-line?
Mikkel mentioned this a couple weeks ago, may help some: <qoute> The directoryies /sbin, /usr/sbin and /usr/local/sbin are not normaly in a user's path. They are in root's path when you log in as root, or when you "su -" to root. Normaly, when you do "su" instead of "su -", you keep the same path. But in Mandrake 10.1, when ever root opens a shell, the path is set to fixed path by /root/.bashrc. So you may want to check the .bashrc file in /root to be sure it is correct. </qoute> root's path here is the same as yours Anne: [EMAIL PROTECTED] #> echo $PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin $> whereis iptables iptables: /sbin/iptables /lib/iptables /usr/share/man/man8/iptables.8.bz2 $> rpm -q --whatprovides /usr/share/man/man8/iptables.8.bz2 iptables-1.2.9-7.1.101mdk I don't have a $MANPATH environment variable here .. but checked and configuration for manpages is here: /etc/man.config also ran man -d will show debugging and -w shows where the manpage is located $> man -dw iptables Reading config file /etc/man.config found man directory /usr/share/man found man directory /usr/X11R6/man found man directory /usr/local/man found man directory /usr/kerberos/man found man directory /usr/man found manpath map /bin --> /usr/share/man found manpath map /sbin --> /usr/share/man found manpath map /usr/bin --> /usr/share/man found manpath map /usr/sbin --> /usr/share/man found manpath map /usr/local/bin --> /usr/local/man found manpath map /usr/local/sbin --> /usr/local/man found manpath map /usr/X11R6/bin --> /usr/X11R6/man found manpath map /usr/bin/X11 --> /usr/X11R6/man found manpath map /usr/bin/mh --> /usr/share/man found manpath map /usr/kerberos/bin --> /usr/kerberos/man found manpath map /usr/kerberos/sbin --> /usr/kerberos/man using /usr/bin/less -isrR as pager path directory /sbin is in the config file adding /usr/share/man/en to manpath adding /usr/share/man to manpath path directory /usr/sbin is in the config file path directory /bin is in the config file path directory /usr/bin is in the config file path directory /usr/X11R6/bin is in the config file adding /usr/X11R6/man to manpath path directory /usr/local/bin is in the config file path directory /usr/local/sbin is in the config file path directory /usr/games is not in the config file but there is a man directory nearby adding /usr/man to manpath path directory /usr/lib/jre-1.4.2_05/bin is not in the config file and we found no man directory nearby path directory is not in the config file and we found no man directory nearby path directory /home/ricks/bin is not in the config file and we found no man directory nearby adding mandatory man directories /usr/share/man/man8/iptables.8.bz2 Some places to look .. hope that helps .. ;) -- RickS gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61 ======================================================== "Praise does wonders for the sense of hearing." -- Bits & Pieces
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
