image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 24th, 2007, 02:46 PM
True Defiance
 
Join Date: Aug 2004
Location: 4th Floor, Above Glory, Beneath Deviance.
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
mickey79 is on a distinguished road
"No manual entry for <command>"

Ave,

My man pages seem to have vanished!! No matter what I try to man, i get nothing but:

"No manual entry for <command>"

I have MacPorts installed, so i did "sudo port install man" to install latest man pages, which it did ... but it didn't make any difference. I can't get man to pull up anything!!

Any suggestions?
__________________

"To err is Human,
To blame it on someone else, is even more Human.
To get away with it, is Tha Bomb!"
Reply With Quote
  #2  
Old July 25th, 2007, 01:55 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 7,734
Thanks: 2
Thanked 22 Times in 22 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Hmm... would 'apropos man' give anything for you?
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #3  
Old July 26th, 2007, 01:08 PM
Registered User
 
Join Date: Mar 2005
Posts: 208
Thanks: 0
Thanked 2 Times in 2 Posts
artov is on a distinguished road
Check what manpath program shows. For me, it shows

/sw/share/man:/usr/share/man:/usr/X11R6/man:/opt/local/man

Check the directories listed. Also, you might like to run Disk Utility's "Verify Disk Permissions".
Reply With Quote
  #4  
Old July 27th, 2007, 03:57 PM
True Defiance
 
Join Date: Aug 2004
Location: 4th Floor, Above Glory, Beneath Deviance.
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
mickey79 is on a distinguished road
@ Giaguara:
"apropos man" first prints "WARNING: terminal is not fully functional" and then a whole bunch of different commands. Lots & lots of them.

@ artov:
manpath prints "/opt/local/man:/usr/share/man:/usr/local/man:/usr/local/share/man:/opt/local/share/man"
Already did "Verify Disk Permissions", didn't help.

I've checked lots of directories - including the ones that manpath prints. I find directories called "man" in all these directories - with further subdirectories in them. However, "man <command>" for example "man ls" still gives the same - "No manual entry for <command>".

__________________

"To err is Human,
To blame it on someone else, is even more Human.
To get away with it, is Tha Bomb!"
Reply With Quote
  #5  
Old July 28th, 2007, 06:28 AM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 7,734
Thanks: 2
Thanked 22 Times in 22 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Hm. I get for manpath /sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
Any idea why yours links to /opt/ ?
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #6  
Old July 28th, 2007, 09:31 AM
Registered User
 
Join Date: Mar 2005
Posts: 208
Thanks: 0
Thanked 2 Times in 2 Posts
artov is on a distinguished road
The command man actually executes a pipe of commands. If I set the environment variable PAGER to some funny value, I get the pipe printed:

% PAGER=foo man ls
sh: line 1: foo: command not found
man: No such file or directory
Failed to open the message catalog man on the path NLSPATH=<none>

Error executing formatting or display command.
System command (cd /usr/share/man && /usr/bin/tbl /usr/share/man/man1/ls.1 | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | foo) exited with status 32512.
No manual entry for ls


The commands in the pipe are:

- tbl: converts tables in manual pages to Troff commands
- groff: converts Troff text to ascii text
- foo: value of the PAGER environment value

The PAGER environment variable contains name of the command that shows text files. I guess it is normally "less" or "more". Since you said that you get
Quote:
"WARNING: terminal is not fully functional"
, it might be that your current viewer is not functional.

So you see: one command in the pipe failed, but the error message said that the man page was not found.
Reply With Quote
  #7  
Old July 30th, 2007, 10:56 AM
True Defiance
 
Join Date: Aug 2004
Location: 4th Floor, Above Glory, Beneath Deviance.
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
mickey79 is on a distinguished road
Although that got a little confusion, It did begin to make sense after a few concentrated reads. You might be on the right direction - only Question is - how to fix it?

Is there anyway to reinstall "Terminal" app in itself? Or perhaps reinstall "man" with all it's dependencies?

Not sure.

Quote:
Originally Posted by artov View Post
The command man actually executes a pipe of commands. If I set the environment variable PAGER to some funny value, I get the pipe printed:

% PAGER=foo man ls
sh: line 1: foo: command not found
man: No such file or directory
Failed to open the message catalog man on the path NLSPATH=<none>

Error executing formatting or display command.
System command (cd /usr/share/man && /usr/bin/tbl /usr/share/man/man1/ls.1 | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | foo) exited with status 32512.
No manual entry for ls


The commands in the pipe are:

- tbl: converts tables in manual pages to Troff commands
- groff: converts Troff text to ascii text
- foo: value of the PAGER environment value

The PAGER environment variable contains name of the command that shows text files. I guess it is normally "less" or "more". Since you said that you get
, it might be that your current viewer is not functional.

So you see: one command in the pipe failed, but the error message said that the man page was not found.
__________________

"To err is Human,
To blame it on someone else, is even more Human.
To get away with it, is Tha Bomb!"
Reply With Quote
  #8  
Old July 31st, 2007, 07:25 AM
Registered User
 
Join Date: Mar 2005
Posts: 208
Thanks: 0
Thanked 2 Times in 2 Posts
artov is on a distinguished road
Quote:
Originally Posted by mickey79 View Post
Although that got a little confusion, It did begin to make sense after a few concentrated reads. You might be on the right direction - only Question is - how to fix it?

Is there anyway to reinstall "Terminal" app in itself? Or perhaps reinstall "man" with all it's dependencies?

Not sure.
I use iTerm instead of Terminal; mainly because it is semi transparent and has multi-tabs. It claims to be full VT100 emulator, so you might like to check it. If you still get the terminal error messages, then check the PAGER (and VISUAL) enviroment variables. After that, you should check man program (but I do not know how to reinstall it, sorry).
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:28 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.