Lynx 2-8-7 A simple text web browser

Browsers, email, chat, etc.
Message
Author
User avatar
xorg
Posts: 64
Joined: Sat 09 May 2009, 08:35
Location: Greece
Contact:

Lynx 2-8-7 A simple text web browser

#1 Post by xorg »

Hello.For those who like console I made a pet of Lynx 2-8-7 (simple text web browser).
Source from: http://linux.softpedia.com/get/Internet ... 6350.shtml
(This package has been made on puppy linux 4.1 retro and may not work in other puppies.For any problems write on this topic)
[url=http://xorg-john.dyndns.org/files/PETs/]My Pets[/url]
[url=http://xorg-john.dyndns.org//files/Wallpapers/]My Wallpapers[/url]
[img]http://i27.tinypic.com/sywbkn.png[/img]

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#2 Post by enhu »

works on lucid puppy. thanks

Shep
Posts: 878
Joined: Sat 08 Nov 2008, 07:55
Location: Australia

#3 Post by Shep »

Works on dpup 484. :roll: 8) Thanks.

I'll point out for the benefit of others, that lynx handles news://
URLs, so you can connect to your newsserver and read or post
to usenet groups, whereas that other text browser, elinks does not
read news groups. (It pretends to, but actually passes the job across
to lynx, provided you have lynx available.) I have previously posted
about this on another thread somewhere.

Agnishom
Posts: 23
Joined: Mon 19 Aug 2013, 12:17
Location: /dev/null

#4 Post by Agnishom »

Why do I keep getting this error?

Code: Select all

 libssl.so.0: cannot open shared object file: No such file or directory

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

Cause you need either libssl or the appropriate symlink.

Do it right though and go for the full score:

Code: Select all

ldd /usr/bin/lynx

Agnishom
Posts: 23
Joined: Mon 19 Aug 2013, 12:17
Location: /dev/null

#6 Post by Agnishom »

I copied libssl0.9.8 as libssl0 and it seems to be working.

What is ldd?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

*In* a word- indispensable!

Pelo

lynx 2.8.7 the pet is loaded

#8 Post by Pelo »

Lynx is a default browser on angel Linux. not the only one, happily ! :twisted:
The more difficult, the more you like.
Who will be the last survivor of Linux ? non-english speaking people are eliminated, :D But i speak english a petit bit !
help here ! secours

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

Alert!! unable to connect to remote host

#9 Post by schober »

I installed the 2,8,7 i486 version using the package manager. I then ran the programme and got the above message for 20secs then the window closed
I'm on wary 5.3
How do I get lynx working?

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#10 Post by Keef »

Have a look in the lynx.cfg file in /etc/lynx

Line 96 is

Code: Select all

STARTFILE:http://lynx.isc.org/
The link is no longer valid. Just change this to an URL of your choice - or a local file.
Lynx will close if there is not a valid web address or file to open.

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#11 Post by schober »

I have'nt got a etc/lynx directory and Pfind can't find a lynx.cfg file
Using lynx at the console works eg
lynx http://www.mcdep.com/index.htm

Any suggestions?

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#12 Post by Galbi »

I have a lynx.cfg under /etc

Try opening a console and

Code: Select all

#geany /etc/lynx. [TAB] [TAB] (tap twice the TAB key)
What happens?
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#13 Post by Keef »

My bad...

Should be /usr/etc/lynx.cfg

I downloaded the lynx pet from the Wary repo and unpacked it.

Launching from CLI with an URL will override the lynx.cfg and works as expected.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#14 Post by tallboy »

You can start lynx with

Code: Select all

lynx /
.
I have /usr/local/etc/lynx.cfg and /usr/local/etc/lynx.lss for color setup in my Lucid 5.2.8.7, plus the small option-file /root/.lynxrc, which can save the options made when you press o in the lynx window. The files were installed at those locations, the lynx.cfg describe another path, just forget that!
The lynx.cfg file is massive, you can set up lynx to be an incredible tool! Read the manual in /usr/local/man/man.1/lynx.1 before attempting to modify it. If you don't have a good local manpage-reader, use this command to read man-pages with lynx:

Code: Select all

man2html /usr/local/man/man1/lynx.1 | lynx -stdin
I have used lynx for many years, but mainly as a file browser; it is superfast with only the arrow keys to navigate through the hierarchy of files. You can set it up to activate other programs to read files or view graphics.
Take a look at these posts where I describe how I use lynx:
http://www.murga-linux.com/puppy/viewto ... 137#839137

One option you probably want right away, is the ability to view dot-files. You first have to activate it in lynx.cfg, to be able to set it as an option. Another sensible setting in lynx.cfg is STARTFILE, just set it to /.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#15 Post by schober »

Thanks for the interest
I do indeed have the /usr/etc/lynx.cfg file
I made the change to STARTFILE and lynx behaves as expected!

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#16 Post by tallboy »

Sounds like success!
Do you use lynx as a regular browser, or just as a file browser like I do?
True freedom is a live Puppy on a multisession CD/DVD.

schober
Posts: 34
Joined: Fri 29 May 2015, 12:00

#17 Post by schober »

I use lynx to download website text without the html junk
lynx -dump "url" | some filters > file

I tried "lynx /root/my-applications" command, using it as a file browser
Yes! It's surprisingly fast. Much better than using ROX and then Geany. It can open txt files in the lynx window and pdf's with the pdf viewer; jpg's unfortunately need the xli script
Very useful if you want to find a text file but can't quite remember where you put it or what it was called!

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#18 Post by tallboy »

schober wrote:I use lynx to download website text without the html junk
lynx -dump "url" | some filters > file
Nice, I'll remember that, I usually use Print preview and print to a .pdf file. (Uhh, I don't really have to remember it, I use the simple, excellent and old-fashioned NoteCase to archive Linux and Puppy tips! :D )
schober wrote:Yes! It's surprisingly fast. Much better than using ROX and then Geany.
It often surprises me that many users look for flashy design and lots of functions in the latest applications, instead of fine-tuning a simple and fast application like lynx, that actually works! Before I found Puppylinux, I experimented with all Debian terminal-only programs, to try to build my own compact Linux, and lynx was one program I used all the time.

Tip: If you download and read info-files or man-pages from your own PC, instead of reading man-pages online, there is an application named Pinfo that works just like lynx! If the info-page in question is not found, it switches automatically to read the man-page instead, if that exists. In info-files, the options to a command, or examples, is listed as links - often several levels deep, and those links are followed just like lynx, using the same arrow keys. You'll find an explanation to any option immediatly!

Many years ago, I made the IT-dept. at the Uni install Pinfo to the Linux servers (which also held all available info and man-pages), and I used it all the time. My favorite command was 'Pinfo libc', to open the massive C library consisting of several hundred pages, were all the functions and expressions and examples were internal links. Talk about finding an answer to a programming question quickly! People refused to believe me, until they actually tried Pinfo themselves! :lol:

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#19 Post by step »

@tallboy thanks for the pinfo suggestion. I made a package for Fatdog64-720. Linked as +Packages in my sig.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#20 Post by tallboy »

Great! Please look through the Pinfo activation script, it expects a man-page reader that first tries to open internal files instead of those online. I actually have a problem finding a 'normal' old-fashioned reader to my Lucid 5.2.8.7. The modernized Pinfo version may handle that problem differently. I have a massive Debian at my home PC, and there Pinfo is an essential tool.

BTW, schober: lynx make no dump if the page is https. :(
True freedom is a live Puppy on a multisession CD/DVD.

Post Reply