lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev feeding input to lynx-ssl on stdin?


From: Thomas Dickey
Subject: Re: lynx-dev feeding input to lynx-ssl on stdin?
Date: Sat, 23 Jun 2001 13:53:16 -0400
User-agent: Mutt/1.2.5i

On Thu, Jun 21, 2001 at 11:03:48PM -0700, address@hidden wrote:
> On or about 21 Jun, 2001, Harland Christofferson
> <address@hidden> 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
> <address@hidden>
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]