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.

Your terminal lack the ability...

Old posts that have not been replied to for several years.
Locked
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

I've made a tcl wich uses Lynx to dump a webpage and store it on my computer.
When the eggdrop is launched by botchk , I've an error:
"Your terminal lack the ability to clear the screen or position the cursor."
the botck is launched by crontab with my account, and the directory in which I write the file is owned by Nobody and its mode are 666
When I launch the eggdrop using ./eggdrop bot.conf, I've not any trouble.
Who can help me with that?
G
Glip

Post by Glip »

Lynx is terminal based web browser. You get into trouble when trying use it without controling terminal. I suggest you to use wget instead.
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

I suggest you to use wget instead.
Someone can help me using wget in a script?
I never use it and I'm affraid I don't know how it works :sad:
t
tajson

Post by tajson »

lynx is using ncurses, probably why it refuses to run.

Read the wget man page, it has alot of features wich you should consider. A shame you haven't used wget - it rock!


User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

ok, I've installed wget, but I can't understand how to make the same than [linx -preparsed -dump url] whith it...
if NE1 has a script that I could use as an example, I'll thx him a lot :smile:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You would use wget to download the file, then you need to open the file and read it in.

You could allways use the http package that comes with tcl.
Locked