You are not logged in.

#1 2008-10-19 00:56:54

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

[SOLVED] Where are all of the Man pages?

On my system, man-pages do not exist for many things e.g.  bash commands like ls, rm, cp & cd are missing?

The directory /usr/man/ has the following folders: man1, 3, 4, 5, 7, 8

It would seem that at least numbers 2 & 6 are missing.

I have reinstalled the man utility (though it already worked) & man-pages, though it doesn't give me access to the bash commands that I know man pages exist for.

Any ideas?

Last edited by handy (2008-10-19 03:49:01)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#2 2008-10-19 00:58:34

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Where are all of the Man pages?

Have you been living under a rock ? smile
You need to have this in your /etc/profile:

unset MANPATH

The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-10-19 01:10:16

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: [SOLVED] Where are all of the Man pages?

Are you saying 'man bash' shows nothing or are you just going by the fact that it's not in /usr/man?  If the latter, that's because those man pages are in /usr/share/man..

Last edited by creslin (2008-10-19 03:09:17)


ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.

Offline

#4 2008-10-19 02:54:24

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

moljac024 wrote:

Have you been living under a rock ? smile
You need to have this in your /etc/profile:

unset MANPATH

No I don't live under a rock, & I can't read man-pages that I want, to further educate myself. roll

This is what I have that relates to man in /etc/profile

export MANPATH="/usr/man:/usr/X11R6/man"

I put unset MANPATH into the /etc/profile which has had no effect after a logout.

If I type unset MANPATH followed by enter, followed by man ls I get the man-page for ls

Last edited by handy (2008-10-19 03:00:16)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#5 2008-10-19 03:02:18

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [SOLVED] Where are all of the Man pages?

Did you get rid of the "export MANPATH" statement first?

Offline

#6 2008-10-19 03:14:04

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

creslin wrote:

Are you saying 'man bash' shows nothing or are you just going by the fact that it's not in usr/man?  If the latter, that's because those man pages are in /usr/share/man..

Man ls, cd, cp, rm & the like do not show. 

Following the post above I can get them to show only by first entering the command unset MANPATH at the Terminal prompt, after which any commands I require are available.  If I close that terminal & start a new one I can not access these commands without first entering unset MANPATH.

Which is now entered in my /etc/profile/ but it has no noticeable effect.

Though since having entered unset MANPATH, one way or another there are now man-pages that existing where they did  not before, so perhaps they were extracted into these directories.


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#7 2008-10-19 03:15:29

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

SamC wrote:

Did you get rid of the "export MANPATH" statement first?

No, I am trying to interpret & do what I'm told! lol

I'm only as good as my instructions at the moment.

Thanks wink

Last edited by handy (2008-10-19 03:41:16)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#8 2008-10-19 03:40:30

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

I rebooted, &  now man is working as it should, thank moljack & SamC, between the two of you it works now. cool


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#9 2008-10-19 08:54:32

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: [SOLVED] Where are all of the Man pages?

handy wrote:

Which is now entered in my /etc/profile/ but it has no noticeable effect.

/etc/profile is read by the login shells only. So you could have got the desired effect w/o a reboot by doing either:

su -

OR...

konsole --ls  #starting it as a login shell

Offline

#10 2008-10-19 10:10:28

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

Onwards wrote:
handy wrote:

Which is now entered in my /etc/profile/ but it has no noticeable effect.

/etc/profile is read by the login shells only. So you could have got the desired effect w/o a reboot by doing either:

su -

OR...

konsole --ls  #starting it as a login shell

What I needed to know was not just the line to add & where, which first answer told me, but also the line to delete, which second useful answer told me. I had logged out after adding the line, & decided after the removing the offending line that I will reboot for good measure!

Thanks for your confirmation that a logout would have done the job. smile


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#11 2008-10-19 12:14:31

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED] Where are all of the Man pages?

This was the .pacnew merge I referred to way back when, which fixed man page functionality, handy. wink

Offline

#12 2008-10-19 12:53:57

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: [SOLVED] Where are all of the Man pages?

You may have noticed by my absence from the Arch forum for some months, that I have just been using.  & since I went from Gnome to Openbox I've not changed anything.  Then I got into changing both of my Arch installs & the sky fell on me! lol

Last edited by handy (2008-10-19 12:54:40)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#13 2008-10-19 12:57:27

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] Where are all of the Man pages?

lol awesome. this fixes my man pages.

I'd been ignoring this for a while and running man via sudo...

Offline

#14 2008-10-19 16:42:37

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED] Where are all of the Man pages?

iphitus wrote:

I'd been ignoring this for a while and running man via sudo...

O! You naughty, naughty boy.. wink

Offline

#15 2008-10-27 12:34:51

Frots
Member
Registered: 2008-10-02
Posts: 57

Re: [SOLVED] Where are all of the Man pages?

iphitus wrote:

lol awesome. this fixes my man pages.

I'd been ignoring this for a while and running man via sudo...

+1 roll

Offline

Board footer

Powered by FluxBB