[Simh] [simh] scripting simh

Don North ak6dn at mindspring.com
Mon Oct 18 18:05:40 EDT 2010


Expect scripting works great for SIMH. I wrote an expect script that 
plays blackjack (as the human)
against a blackjack program (running as the dealer) on a SIMH PDP-8 
running FOCAL.

On 10/18/2010 1:33 PM, Nelson H. F. Beebe wrote:
> Tim Newsham asks today for advice on scripting simh.
>
> I strongly recommend using expect for your scripting application; it
> can do things like slowing down type-in, and randomizing the inter-key
> times to simulate human fingers.  Low-level programs often lack the
> input buffering capability to handle more than a few characters per
> second.
>
> See
>
> 	http://expect.nist.gov/
> 	http://sourceforge.net/projects/expect/
>
> for source downloads.  Some GNU/Linux distributions, SGI IRIX, and
> Solaris (in /opt/sfw/bin, which may or may not be installed) provide
> it as already-installed software.
>
> Another good possibility is the venerable kermit, which has extensive
> scripting control and character-set conversion capability in both
> directions:
>
> 	http://www.columbia.edu/kermit/
>
> -------------------------------------------------------------------------------
> - Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
> - University of Utah                    FAX: +1 801 581 4148                  -
> - Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
> - 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
> - Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
> -------------------------------------------------------------------------------
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>    




More information about the Simh mailing list