Forum Moderators: travelin cat

Message Too Old, No Replies

launching text browser from the terminal

         

trismegisto

3:37 pm on Feb 9, 2003 (gmt 0)

10+ Year Member



I’ve just downloaded and installed lynx for 10.2, but i can’t see an app icon to launch it, so i suppose it’s launched from the terminal, but i don’t know how to do it, and i can’t find a manual specific for os x.

Since i don’t want to do something in the terminal without knowing what i’m doing first, (last time i did i messed something and couldn’t fix it, i had to erase a whole partition) i decided to ask first.

Thanks in advance.

Nick_W

8:00 am on Feb 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FWIW on Linux you would just type lynx and hit enter...

Nick

bodine

3:28 pm on Feb 11, 2003 (gmt 0)

10+ Year Member



Depending on where it is installed, you should be able to just type "lynx" in the terminal and it will open. I think my version of OS X came with lynx. Did you have to install it, or did you want a newer version?

Just curious: Are you just wanting to browse? I started using it for a scripting thing I was doing, and then started using cURL--much better.

So, if it does not open when you type lynx ("Command not found" error), you will have to (1)move lynx to a directory where it knows to find it (known as PATH), or (2)add the directory of lynx to your PATH, or (3)use an absolute path, instead of just "lynx" (e.g., "/username/Hard Drive/Applications/Lynx/lynx").

To see which would be easiest to do, type this in the terminal: "sudo /usr/libexec/locate.updatedb"

(Don't type the quotes) That will update your locate database to include lynx. You will have to type your password because you are using sudo.

Then, type "locate lynx"

That will tell you where it is. Let us know the path where it is installed, and we can go from there...

added: We are looking for the one that says only "lynx" at the end, not "lynx.cfg", "lynx_doc", etc.