PDA

View Full Version : Man pages show EMPTY



Joker777
1st May 2005, 04:30 PM
When-ever i want to see ANY man page, it shows an empty space. When i try to page up it shows a bunch of
~
~
~
tildas, just like in the empty vi file. I checked my man pages directory, it seems to contain a lot of directories with
a lot of .tar.gz files in them. Has anyone had any idea on how to solve this problem.
I am using Fedora 2 , with 2.6.8-1.521 kernel, and all of the upgrades.

tejas
1st May 2005, 04:48 PM
Do a man -w.

See what it there in your man path by the above command.

You can reset this by man -M path.

If you are desperate, use 'info', instead of man

do an:
info man

to get exactly what I'm talking about

Joker777
1st May 2005, 07:24 PM
Ok, man -w shows: /usr/kerberos/man:/usr/local/share/man:/usr/share/man/en:/usr/share/man:/usr/X11R6/man:/usr/java/j2sdk1.4.2_05/man:/usr/local/man
man -M path shows :What manual page do you want?, and does not reset the path. But i think that my path is OK, please check that!

tejas
2nd May 2005, 03:53 AM
Now, see if all of the man pages are in the folder included in the path.

Find a particular man file. ex, my 'glob' man file is in /usr/share/man/en/man7/
Remove the /en/man7 so that it is the same as your path

Try directly calling it
man -M /usr/share/man/ glob

If that doesn't work, see if you can run info

Joker777
4th May 2005, 04:17 AM
Same thing : it shows an empty page!
:(

tejas
4th May 2005, 03:05 PM
Look inside the file /usr/share/man/man8/mount.8.gz [man file of mount, use whereis to find otherewise]

see if id does contain instructions for using the mount statement.

Maybe the data it is reading from has been removed

Joker777
4th May 2005, 09:29 PM
The file /usr/share/man/man8/mount.8.gz exists. I opened it in a file-roller, then opened mount.8 in internal viewer, and seems like everything is in place, i could see all the man page in some docbook or troff format (whichever all that formatting statements belong to), BUT man mount STILL gives me an EMPTY page!!!! GRRRR..... :( :( :(

Joker777
4th May 2005, 09:30 PM
Do u know how to check and maybe change the man pages PAGER. Lest say from LESS to MORE????

tejas
5th May 2005, 05:03 AM
You no what, I am lost on your problem. The last thing I can think of is downloading and installing the latest man from RPMS

http://www.pbone.net/index.php3/stat/4/idpl/1562033/com/man-1.5o1-6.i386.rpm.html
http://www.pbone.net/index.php3/stat/4/idpl/1562157/com/man-1.5o1-6.x86_64.rpm.html

Good Luck. Post how it works out.

tejas
5th May 2005, 05:05 AM
Did you try running
$ info mount

Does that also show a blank page?

Try this also
$ man -M /usr/share/man/man8/ mount
or
$ man -M /usr/share/man/man8/ mount.8.gz

[not just man -M /usr/share/man]

tejas
5th May 2005, 05:09 AM
Wait, I got one last idea. [Why do I always get them after announcing defeat?]

Someone posted about the program that reads the man pages [|more or |less],
try this
$ man mount > file

This should copy the man document to file

$cat file

and see if your man document was copied there.

If this works, try man mount | more, and man mount | less,

and see if either work

Joker777
5th May 2005, 05:11 AM
info mount works perfect, in fact i have been using info a lot lately, so info is working, its man that shows empty

[andrey@MATRIX andrey]$ man -M /usr/share/man/man8/ mount
No manual entry for mount
[andrey@MATRIX andrey]$ man -M /usr/share/man/en/man8/ mount8.gz
No manual entry for mount8.gz
[andrey@MATRIX andrey]$ man -M /usr/share/man/en/man8/ mount.8.gz
No manual entry for mount.8.gz
[andrey@MATRIX andrey]$ man -M /usr/share/man/en/man8/ mount
No manual entry for mount
[andrey@MATRIX andrey]$

Joker777
5th May 2005, 05:13 AM
Nope unfortunately, man mount > file produces an empty file :( :( :(

tejas
5th May 2005, 05:36 AM
This means that, for some reason, man is not reading the files at all.

The problem is not that the program used to display the man pages [usually |less] isn't functioning properly

I'm guessing that if you try a
$man <some-crap-here>

you get a
No manual entry for <same-crap-here>

This means your man path is set correctly

the man pager is set by man -p

run a
$man -d mount

and see if you can figure out the output

but, I think you may need to reinstall man

And you still haven't told me if the
$ info mount

works

artklein
5th May 2005, 05:55 AM
Hi,

I suggest trying to view a man page, directly, by typing the following:

man /usr/share/man/man8/mount.8.gz

If there are and error messages please post them here.

Also you might want to check to see if the following commands run correctly:

less --help
groff --help
gunzip --help
nroff --help

If this doesn't work and there are no error messages I suggest downloading the man rpm package and reinstalling it by typing the following:

su -
rpm -e --nodeps man
rpm -Uvh man*rpm
exit

Joker777
5th May 2005, 06:06 AM
I did :), INFO MOUNT WORKS PERFECT
I already have the latest man*.rpm package,
Reinstalling doesnt do anything :(

Joker777
5th May 2005, 06:09 AM
[andrey@MATRIX andrey]$ man blahblaH
No manual entry for blahblaH
[andrey@MATRIX andrey]$

Joker777
5th May 2005, 06:22 AM
The only way that i have found for me to view man pages is to:
1: Open Konqueror.
2: In the address bar type: #mount - to get man page for mount INSIDE Konqueror
##mount - to get info page for mount INSIDE Konqueror
man:/ - to get man pages index
info:/ - to get info pages index

artklein
5th May 2005, 06:44 AM
In a console shell type:

strace man mount 2> error

This will create a file with the strace information placed in the file error.

Open it with a text editor and look for any major errors. Or if you want to attatch here it to a post I'll compare it to one I do. It should only be about 20 KB in size.