[Simh] UNS: scripting simh

Davis Johnson davis at frizzen.com
Tue Oct 19 08:30:44 EDT 2010


I use expect to automate Interdata diagnostics. It works well, this 
isn't too far from what it is designed for. I'll attach some files tonight.

Brad Parker wrote:

> I have not done this, but I have wanted to...
>
> Have you tried using "expect"?
>
> -brad
>
> On Oct 18, 2010, at 2:46 PM, Tim Newsham wrote:
>
>> Hi,
>>   slightly unusual task -- I'm interested in scripting a
>> simh session where I send input to simh's guest as well
>> as occasionally to simh itself (ie. ^E followed by some commands).
>> (My primary target is simh running in unix).
>> I tried the obvious -- sending data to simh over a pipe
>> connected to its stdin, but it does not seem to work well.
>> I even tried slowing down the input stream ... no luck
>> even with very simple tasks (ie. enter "unix" at the "@"
>> prompt, then enter "root" at the "login:" prompt).
>>
>> Has anyone done anything like this?  Any recommendations?
>>
>> Tim Newsham | www.thenewsh.com/~newsham 
>> <http://www.thenewsh.com/%7Enewsham> | thenewsh.blogspot.com 
>> <http://thenewsh.blogspot.com>
>> _______________________________________________
>> Simh mailing list
>> Simh at trailing-edge.com <mailto:Simh at trailing-edge.com>
>> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
> Brad Parker
> Heeltoe Consulting
> 781-483-3101
> http://www.heeltoe.com
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Simh mailing list
>Simh at trailing-edge.com
>http://mailman.trailing-edge.com/mailman/listinfo/simh
>




More information about the Simh mailing list