<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Bryan, the lines I wrote in my previous mail are not part of an EXPECT script, but SIMH commands which are intended to be put in the simulator ini file. Those specific lines work with RSTS 11, if you are going to run a different version you should modify them accordingly.<div><br></div><div>To start my simulators I use a shell script which runs GNU screen and launches each simulator in its own screen ‘window’. In the case of RSTS and TOPS-10, the simulator ini files (pdp11.ini and pdp10.ini) contain the EXPECT and SEND commands necessary to boot the operating systems (the rest of OSs don’t usually need any interaction at boot time).<br><br><div id="AppleMailSignature">Jordi Guillaumes Pons<div><br></div></div><div><br>El 18 gen 2018, a les 16:40, Bryan Davies <<a href="mailto:bryan.e.davies@gmail.com">bryan.e.davies@gmail.com</a>> va escriure:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-size:small">Many thanks to all for the advice.   Unfortunately I'm still not quite there.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have written an Expect script which runs Simh and sure enough responds to the startup prompts.  Unfortunately after it completes the terminal isn't interactive anymore.  Oddly it still echoes characters to the screen but with no response - either from RSTS or Rasbian.   If I open another Terminal, PS shows me the pdp11 emulator running as another process but tty1 is stuck in bash.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have included a fork and disconnect at the end of the script as suggested but to no effect.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Expect commands don't seem to work within Simh.  Should they?</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2018 at 09:59, Bryan Davies <span dir="ltr"><<a href="mailto:bryan.e.davies@gmail.com" target="_blank">bryan.e.davies@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I volunteer for a computer museum in Cambridge UK where we would much like to extend our mini-computer exhibit.   We want to set up a VT100 running RSTS/E for our visitors to use. As the system needs to start unattended I need it to boot up RSTS from power up.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have installed Simh on a Raspberry Pi B and connected the VT100 to the serial port ttyAMA0.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">While I can login to the Pi on the VT100 and boot the emulator manually, RSTS/E has a number of prompts within the boot dialogue (Date, Time etc) which need to be answered before it is possible for a User to login.  I have tried putting these responses in a Shell script, and while that 'works' insofar as the boot process completes, it doesn't return control to the terminal after the script ends.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can anyone advise how to do it?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Simh mailing list</span><br><span><a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a></span><br><span><a href="http://mailman.trailing-edge.com/mailman/listinfo/simh">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></span></div></blockquote></div></body></html>