This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Lynx

Old posts that have not been replied to for several years.
Locked
r
rileyvrh
Voice
Posts: 13
Joined: Tue Jun 24, 2003 11:27 am
Location: orange texas
Contact:

Lynx

Post by rileyvrh »

Can someone explain to me what lynx is, and why some tcls i look at tell me i need lynx for the tcl to work?
Being a Coach Potato is All its cracked up to Be!!
User avatar
CrazyCat
Revered One
Posts: 1358
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

stop using bold when it's not usefull.
Lynx is a text-based web browser, and some tcls use it to get web pages.
It's an alternative to wget.

Some scripters (as myself) prefer using lynx than wget because lynx is always in linux distros.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

CrazyCat wrote:Some scripters (as myself) prefer using lynx than wget because lynx is always in linux distros.
nah, http.tcl and egghttp.tcl are to prefer imo. everything with exec (most ppl use it, only a few of them work with exec) are more vulnerable to timeouts and similar stuff.
User avatar
CrazyCat
Revered One
Posts: 1358
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

I didn't know these tcl, gonna try them :)
thanx
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

but : they dont do the parsing for you, you have to do this yourself
User avatar
CrazyCat
Revered One
Posts: 1358
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

yes, I've DL egghttp.tcl, it's ok to get some simple pages, but sometimes I need some lynx' functionnalities (especially -dump -preparsed).
But it's true that for a lot of tcls, it's more secure to use socks.
won't forget that now :)
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

nah, you dont need it, just check for ahref= and such html stuff...
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

And why don't you use the http library of TCL? :)
Once the game is over, the king and the pawn go back in the same box.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Maybe because the HTTP package does not work in non-blocking mode on earlier versions of eggdrop, egghttp is not as bloated as the http package with features one doesn't use anyway for simple webpage fetching, etc.. etc.. ?

Just a thought.
User avatar
CrazyCat
Revered One
Posts: 1358
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

caesar wrote:And why don't you use the http library of TCL?
because I'm used to make TCLs on demand for pple who have frequently a bad installation of tcl :)
So, I prefer use some tools I know they have :)
Locked