[Simh] Feature request

Mark Pizzolato - Info Comm Mark at infocomm.com
Sun Dec 7 07:42:51 EST 2014


On Saturday, December 06, 2014 at 10:08 PM, Peter Svensson wrote:
> On 2014-12-07 02:03, Timothe Litt wrote:
> > On 06-Dec-14 19:16, Mark Pizzolato - Info Comm wrote:
> >>
> >> After a little more thought, I realize that although this (using
> >> '#!/usr/bin/vax' ) will work for basic legacy simh scripts, several
> >> of the new simh command features won't work (i.e. GOTO, Conditional
> >> trapping via ON, SHIFT, etc.).  The issue here is that when a
> >> simulator is invoked this way, commands are coming from stdin and not a
> simh command file which does support these other commands.
> Hi,
> 
> I am not sure I understand the issue here. The shebang ("#!") makes the
> shell execute the remainder of that line and pass the path to the script as the
> final argument. At least that is true on any system I have worked on. Where
> does the stdin come into the picture?
> 
> I feel I am missing something here.

You did not miss anything.  I did not understand how this was implemented.  Sorry.  

So, my comment about some commands not being available was incorrect.  There is absolutely no problem here.

- Mark



More information about the Simh mailing list