Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 11
  1. #1
    mickey79 is offline True Defiance
    Join Date
    Aug 2004
    Location
    4th Floor, Above Glory, Beneath Deviance.
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    "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!"

  2. #2
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,586
    Thanks
    22
    Thanked 193 Times in 188 Posts
    Hmm... would 'apropos man' give anything for you?
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    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 | G's corner | Photos | @ Plus+ and Game Center

  3. #3
    artov is offline Registered User
    Join Date
    Mar 2005
    Posts
    365
    Thanks
    0
    Thanked 15 Times in 14 Posts
    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".

  4. #4
    mickey79 is offline True Defiance
    Join Date
    Aug 2004
    Location
    4th Floor, Above Glory, Beneath Deviance.
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @ 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!"

  5. #5
    Giaguara's Avatar
    Giaguara is offline Chmod 760
    Join Date
    Nov 2002
    Location
    ~
    Posts
    9,586
    Thanks
    22
    Thanked 193 Times in 188 Posts
    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/ ?
    Mac Mini Server | MacBook Pro | iPhone | Other Macs + a bunch of iPods, Newtons and other toys
    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 | G's corner | Photos | @ Plus+ and Game Center

  6. #6
    artov is offline Registered User
    Join Date
    Mar 2005
    Posts
    365
    Thanks
    0
    Thanked 15 Times in 14 Posts
    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
    "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.

  7. #7
    mickey79 is offline True Defiance
    Join Date
    Aug 2004
    Location
    4th Floor, Above Glory, Beneath Deviance.
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!"

  8. #8
    artov is offline Registered User
    Join Date
    Mar 2005
    Posts
    365
    Thanks
    0
    Thanked 15 Times in 14 Posts
    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).

 

 
Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •