On Oct 2, 2004, at 4:03 PM, Patrick Finnegan wrote:
On Saturday 02 October 2004 14:13, Stan Barr wrote:
> Hi,
>
> ben franchuk <bfranchuk(a)jetnet.ab.ca> said:
>> Why don't you get one of the 'floppy' linux systems and build simh
>> to run from that.
Will simh fit on a floppy? Surely the disk images won't.
Also AFAIK simh won't support a real console terrminal on a serial
port, which was part of my requirement.
Sure it will, just start it like:
getty -in -l /usr/bin/pdp11 ttyS0 9600 vt100
(getty syntax will vary depending on the getty that's installed on your
machine. The syntax above works with "agetty" as distributed with
Debian GNU/Linux).
Or you can just run a normal getty on your serial port, and log into
the
*nix via the serial port and run simh.
So, if you felt creative, you could do:
getty -in -l /usr/local/bin/pdp11-script.sh ttyS0 9600 vt100
sleep 10 # or whatever you feel like
getty -in -l /usr/local/bin/telnet-script.sh ttyS1 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS2 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS3 9600 vt100
sleep 1
getty -in -l /usr/local/bin/telnet-script.sh ttyS4 9600 vt100
sleep 1
# repeat as necessary
And have a pdp11-script.sh which sets up and runs simh appropriately,
and a telnet-script.sh like:
#!/bin/sh
telnet localhost 10000
...assuming that you have port 10000 as the TCP port you gave to simh
for connections to your simulated DZ11.
If you are not running a normal telnet daemon, I wonder if you could
tell
simh to take port 20(? telnet's normal port)
It would probably be ok just to have simh use the console port, or to
have it
start with screen in the background ( KB0: would then be "secure"
behind a root login )
Hmmm, fun.
I'm tempted to cook up a small Linux/simh image that'll do this.
Pat
--
Purdue University ITAP/RCS ---
http://www.itap.purdue.edu/rcs/
The Computer Refuge ---
http://computer-refuge.org