On Mon, 27 Mar 2000, sang kim wrote:
> > Does anybody knows any other way preferably in Java or Javascript
> > so that I don't need to worry about porting to different platform?
>
> > I thought you wanted a scripting solution as a user, not as
> > a page author?
>
> I maybe wrong, but problem I see with expect or kermit is
> once I leave lynx, I will loose session information.
That depends on the kind of "session information": if it is something
kept in cookies, lynx can save it between sessions. If it is something
that appears on the screen, you can extract it with expect or kermit
etc. (after going through the learning curve), or dump it to a file and
process it later.
I don't know how you think Java or JavaScript would make this easier.
> For example, for web pages protected with userID and password
> I need to stay on with lynx. Here is exactly what I want to do.
> 1. login to broker account.
> 2. get uptodate account information.
> 3. get messages only for account holders.
> 4. wait one day
> 5. repeat 1-4
> ....
So far (and without more information), I don't see anything for which
you would need to script a lynx session. It seems you could do all
that with non-interactive lynx invocations (-dump our -source) from
shell scripts.
Klaus