Results 1 to 10 of 10

Thread: lynx man page

  1. #1


    Member Since
    Mar 04, 2012
    Posts
    5
    lynx man page
    installed lynx. When I run it in Terminal it runs fine. But, when I enter the command 'man lynx' it says it has no manual entry. Yet the folder that contains all the files that I compiled to install lynx has a man page named: lynx.man . I can open the file with an app called ManOpen . but where do I put this file so that it opens in Terminal when i type 'man lynx' ?

  2. #2

    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    You need to add it to your MANPATH so that the man command knows where to look for it.

    Code:
    export MANPATH=$MANPATH:/path/to/manfolder
    And if you don't know about this already, Homebrew makes installing CL apps way easier if they have it in their repositories.
    One command and it downloads/compiles/installs and your done!
    Homebrew ? MacPorts driving you to drink? Try Homebrew!
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

  3. #3


    Member Since
    Mar 04, 2012
    Posts
    5
    man page
    so I would enter in Terminal:

    export MANPATH=$MANPATH:/Documents


    The Documents folder is where I have the lynx.man file.

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,740
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    The man page should have been installed when you executed "make install." Did you install it or just build it?

    Here's another recommendation for Homebrew - it's free, simple and quick.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5


    Member Since
    Mar 04, 2012
    Posts
    5
    in terminal I changed to the folder that contained all the lynx stuff
    then I ran

    . /configure

    it did its thing and then I ran

    make

    then I ran

    sudo make install

    everything went find lynx was installed but like I said, if I run 'man lynx'
    i get 'no manual entry for lynx'
    this is my manpath:
    usr/share/man:/usr/X11/man:/Users/steveray/Documents

    and I'm still getting 'no manual entry for lynx'

    yet /Users/steveray/Documents is where the lynx.man file is located.

    should i copy the lynx.man file to usr/share/man ?

  6. #6

    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    Well, the script does install the man file, to /usr/local/man/man1
    I have added it to my man paths but it still errors out.
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,740
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    I installed it through Homebrew and the man page works fine here. Maybe you could consider installing it that way.

    Looking at the makefile, it would appear that it is placing the man page in the man1 folder as you'd expect. Interestingly however, I don't even have a MANPATH variable set and it works fine here:
    Code:
    ~/Downloads/lynx2-8-7 :: /usr/libexec/path_helper -s
    PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.6/bin"; export PATH;
    It makes me wonder what Homebrew has done in the background.

    EDIT: The only man path I have set is /usr/X11/share/man (for X11 stuff) in my /etc/manpaths.d/ folder. However, Lynx's man page is not there. I'll do a quick search and see what I come up with.

    EDIT 2: Well, I can't find lynx's man page. Hmmm....
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8

    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    OP: Moving the man file to the /usr/share/man/man1 folder will make it work.

    I tried to get man to load the manfile from the default install location. You can specifty the path where man has to look for the manfile with man -M /usr/local/man/man1/ lynx but even then it didn't load it.
    I must be overlooking something huge here…
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

  9. #9

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,740
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by McYukon View Post
    I must be overlooking something huge here…
    You and me both.

    I'm intrigued to know why the man page wasn't installed in the right location. What is the output of the following:
    Code:
    sudo find / -name lynx.1 -print
    By the way, I found out where Homebrew installs man pages (/usr/local/share/man/man1/).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  10. #10

    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    The Lynx source man file location, /usr/local/man/man1/lynx.1
    Homebrew man file location, /usr/local/share/man/man1/lynx.1
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to fix Lynx
    By ipadsandmac in forum OS X - Operating System
    Replies: 0
    Last Post: 09-29-2012, 11:41 AM
  2. Page in/Page out ratio high, while lots of free Ram unused
    By David3nk0 in forum OS X - Operating System
    Replies: 8
    Last Post: 09-02-2011, 12:52 AM
  3. Google search engine showing/home page instead of index page
    By jacklondon in forum Web Design and Hosting
    Replies: 12
    Last Post: 03-24-2010, 12:56 AM
  4. Lynx Browser problem
    By Liam in forum OS X - Apps and Games
    Replies: 0
    Last Post: 11-10-2008, 03:49 AM
  5. Please help me debug page (just load a web page in windows IE)
    By giulio in forum Web Design and Hosting
    Replies: 6
    Last Post: 07-01-2007, 04:44 PM

Posting Permissions

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