On Thu, Jun 21, 2001 at 11:03:48PM -0700, [EMAIL PROTECTED] wrote:
> On or about 21 Jun, 2001, Harland Christofferson
> <[EMAIL PROTECTED]> wrote:
>
> > I am trying to use a script and lynx-ssl to logon to
> > and navigate an ssl webserver. One attempt I have
> > tried follows:
>
> [...]
>
> > You may get the idea. At this point, I am trying to feed a
> > down-arrow, a username, a password, and a carrage-return.
>
> For a while now, there's been an under-documented feature that does what you
> want. Start lynx as:
>
man lynx:
-cmd_log=FILENAME
write keystroke commands and related information to
the specified file.
-cmd_script=FILENAME
read keystroke commands from the specified file.
You can use the data written using the -cmd_log
option. Lynx will ignore other information which
the command-logging may have written to the log-
file.
(not many of the command-line options are documented more than that)
> lynx -cmd_log=yourfile https://whatever.com/
>
> and do whatever it is you want automated. Your keystrokes will be logged to
> "yourfile". When and if you get to a point in the session where you'll want to
> take back control of lynx, I guess you'd have to "Q"uit lynx at that point, and
> then edit the log file to remove that "Q". I don't believe you can turn off
> keystroke logging from within lynx, the way you can trace logging.
>
> Then starting with:
>
> lynx -cmd_script=yourfile https://whatever.com/
>
> will replay your desired keystrokes.
>
> --
> Michael Warner
> <[EMAIL PROTECTED]>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]