Operating System - HP-UX
1836401 Members
2361 Online
110100 Solutions
New Discussion

man page percent indicator absent

 
SOLVED
Go to solution
selcuk_1
Advisor

man page percent indicator absent

I am using HP-UX B.11.11 U 9000/800.

when I display a man page, I could not see the percent indicatior at the left bottom.

It just says "standard input". when I press p key (to say explicitly, I want to see percent ) man says "Don't know length of file (press RETURN)"

How can I see the percent of a displaed man page.. ?

TIA
search for the meaning
6 REPLIES 6
Eric Antunes
Honored Contributor

Re: man page percent indicator absent

Hi,

I have the same behaviour.

You can set PAGER before using man:

#export PAGER="pg -c"

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Keith Bryson
Honored Contributor

Re: man page percent indicator absent

I'm not sure, but I think that you only normally get the man-page percentage when displaying it for the first time (because catman is creating and showing the formatted page for the first time). Subsequent mans on that page directly use that formatted page and the percentage banner disappears....

HTH - Keith
Arse-cover at all costs
Keith Bryson
Honored Contributor

Re: man page percent indicator absent

To prove a point, if you remove the /usr/share/man/cat{sectionname}.Z/{manpage}.{sectionname} file, the % figure re-appears for one-time only, until catman re-creates the removed file:

For example

man ndd
rm /usr/share/man/cat1m.Z/ndd.1m
man ndd # % figure shows
man ndd # % figure not there now....!

I'm not suggesting you do this each time though!!!

Keith
Arse-cover at all costs
Bill Hassell
Honored Contributor
Solution

Re: man page percent indicator absent

As mentioned, a formatted man page (in the cat*Z directories) won't show the percentage. You can fix this by simply removing the cat*Z directories in /usr/man/share as in:

rm -rf /usr/share/man/cat*Z

Now, every man page will be formatted when used , the % value will be shown and when done, the result is thrown away. This has a small advantage and disadvantage: advantage is that less space is needed for the man pages but disadvantage is slower man page response.

You may never use man again once you use vi to read (and search) man pages. I've attached a script called viman.


Bill Hassell, sysadmin
selcuk_1
Advisor

Re: man page percent indicator absent

I am strange to pg so I prefer man default behaviour..

I have already removed cat*Z files. But behavior has not changed.. Now I suspect manX.z files

should I remove them too ..!

search for the meaning
selcuk_1
Advisor

Re: man page percent indicator absent

i could find no sol..
search for the meaning