<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 18, 2018 at 2:59 AM, 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 style="font-size:small"><br></div><div 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.<br></div><div style="font-size:small"><br></div><div style="font-size:small">Can anyone advise how to do it?</div><div style="font-size:small"></div></div></blockquote></div><br></div><div class="gmail_extra">SIMH has a send/expect feature pair which could probably express the solution. See page 14 and 15 of the SIMH manual.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">If this feature isn't powerful enough to do what you want, you can use the tool that doubtless inspired these features, <a href="https://wiki.tcl.tk/201">Expect</a>. You can run SIMH under Expect until you reach the interactive point, then <a href="https://www.safaribooksonline.com/library/view/exploring-expect/9781565920903/ch17s05.html">disconnect from the SIMH process</a>, allowing the terminal to control it.</div></div>