mirror of
https://github.com/PDP-10/its.git
synced 2026-03-27 02:24:15 +00:00
Now, KA, DB, and KL systems will set their IP address to the value of the IP make variable. They wiil correctly define a host table entry for their machine. They will correctly set up .mail.;names >. They will correctly configure COMSAT for networking. The resulting systems should allow COMSAT to come up, and with appropriate IMP configuration in the "run" scripts to perform inbound and output IP network requests.
62 lines
1.0 KiB
Bash
Executable File
62 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
#Defaults.
|
|
VT52=${VT52:--B -b 9600}
|
|
TEK=${TEK:--b9600}
|
|
|
|
EXIT=:
|
|
trap "" QUIT INT TERM
|
|
|
|
started() {
|
|
EXIT="$EXIT;stop $1 $2"
|
|
trap "$EXIT" EXIT
|
|
echo "$1 started, pid $2"
|
|
}
|
|
|
|
stop() {
|
|
echo -n "Stopping $1... "
|
|
kill "$2" 2> /dev/null
|
|
sleep 2
|
|
kill -9 "$2" 2> /dev/null
|
|
echo "OK"
|
|
}
|
|
|
|
vt52() {
|
|
(sleep 2; tools/vt05/vt52 $VT52 telnet localhost 10018 >vt52.log 2>&1) &
|
|
started "VT52" "$!"
|
|
}
|
|
|
|
tek() {
|
|
(sleep 2; tools/tek4010/tek4010 $TEK telnet localhost 10017 >tek.log 2>&1) &
|
|
started "Tektronix" "$!"
|
|
}
|
|
|
|
chaosnet() {
|
|
(sleep 2; tools/cbridge/cbridge -c build/cbridge.conf >cbridge.log 2>&1) &
|
|
started "Chaosnet bridge" "$!"
|
|
}
|
|
|
|
help() {
|
|
cat <<EOF
|
|
This start script takes several command line arguments:
|
|
|
|
help - Display this help text.
|
|
vt52 - Start a VT52 emulator.
|
|
tek - Start a Tektronix 4010 emulator.
|
|
chaosnet - Start a local Chaosnet.
|
|
|
|
EOF
|
|
|
|
touch out/pdp10-kl/nohelp
|
|
}
|
|
|
|
test -f out/pdp10-kl/nohelp || help
|
|
|
|
while test -n "$1"; do
|
|
"$1"
|
|
shift
|
|
done
|
|
|
|
tools/sims/BIN/pdp10-kl out/pdp10-kl/run
|
|
exit 0
|