Skip to content

Commit 6d228c5

Browse files
committed
Add :VK where needed, remove where not needed.
Replace a few instances of sleep with :VK to get a * prompt. Running :VK after making a link is no longer needed.
1 parent ec59924 commit 6d228c5

File tree

8 files changed

+8
-32
lines changed

8 files changed

+8
-32
lines changed

build/basics.tcl

+2-7
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ patch_its_and_go
44
pdset
55

66
respond "*" ":login db\r"
7-
sleep 1
7+
type ":vk\r"
88

99
# Normally we'd save the old ITS as OITS, but since it was used for
1010
# bootstrapping with another configuration, it's no longer any use.
11-
type ":delete .;@ its\r"
11+
respond "*" ":delete .;@ its\r"
1212

1313
# The new ITS is now canonical.
1414
respond "*" ":rename .;@ nits, .;@ its\r"
15-
sleep 1
1615

1716
respond "*" ":midas sysbin;_syseng;dump\r"
1817
dump_switches
@@ -117,13 +116,9 @@ expect ":KILL"
117116
respond "*" ":midas sysbin;_sysen2;find\r"
118117
expect ":KILL"
119118
respond "*" ":link sys;ts find,sysbin;find bin\r"
120-
type ":vk\r"
121119
respond "*" ":link sys;ts fi,sys;ts find\r"
122-
type ":vk\r"
123120
respond "*" ":link sys;ts comb,sys;ts find\r"
124-
type ":vk\r"
125121
respond "*" ":link sys2;ts lf,sys;ts find\r"
126-
type ":vk\r"
127122

128123
respond "*" ":midas sys;ts dskuse_syseng;dskuse\r"
129124
expect ":KILL"

build/dm.tcl

-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ expect ":KILL"
1313

1414
# Gun down dead demons.
1515
respond "*" ":link taa; pwfile 999999, sysen1; pwfile >\r"
16-
type ":vk\r"
1716
respond "*" ":midas sysbin;_sysen2; gunner\r"
1817
expect ":KILL"
1918
respond "*" ":link sys; atsign gunner, sysbin; gunner bin\r"
20-
type ":vk\r"
2119

2220
# Line printer unspooler demon.
2321
respond "*" ":midas sys; atsign unspoo_sysen1; unspoo\r"
@@ -41,11 +39,9 @@ expect ":KILL"
4139
respond "*" ":midas survey; atsign surgiv_surgiv\r"
4240
expect ":KILL"
4341
respond "*" ":link sys; atsign surgiv, survey;\r"
44-
type ":vk\r"
4542

4643
# Survey sender demon.
4744
respond "*" ":link sys; atsign sursnd, survey;\r"
48-
type ":vk\r"
4945

5046
# Login program.
5147
respond "*" ":midas sysbin;_syseng; booter\r"
@@ -72,4 +68,3 @@ respond "*" ":kill\r"
7268
respond "*" ":kill\r"
7369
mkdir "(init)"
7470
respond "*" ":link (init); as hactrn, sys2; ts shell\r"
75-
type ":vk\r"

build/ka10/include.tcl

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ proc make_dskdmp {} {
117117
# Paper tape DSKDMP. This is used for booting ITS.
118118
respond "*" $emulator_escape
119119
punch_tape "$out/dskdmp.rim"
120-
type ":midas ptp:_system;dskdmp\r"
120+
type ":vk\r"
121+
respond "*" ":midas ptp:_system;dskdmp\r"
121122
dskdmp_switches "Y"
122123
expect ":KILL"
123124
}

build/ka10/processor.tcl

-3
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,14 @@ expect ":KILL"
2525

2626
# Name Dragon
2727
respond "*" ":link syseng;tvkbd rooms, sysen2;\r"
28-
type ":vk\r"
2928
respond "*" ":midas sysbin;_sysen2;namdrg\r"
3029
expect ":KILL"
3130
respond "*" ":link channa;rakash namdrg, sysbin; namdrg bin\r"
32-
type ":vk\r"
3331

3432
# STUFF
3533
respond "*" ":midas sys1;ts stuff_sysen2;stuff\r"
3634
expect ":KILL"
3735
respond "*" ":link channa;rakash tvfix, sys1; ts stuff\r"
38-
type ":vk\r"
3936

4037
# IOELEV, PDP-11 doing I/O for the PDP-10 host.
4138
# The "AI" IOELEV, also known as CHAOS-11.

build/ks10/include.tcl

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ proc prepare_frontend {} {
8181
pdset
8282

8383
respond "*" ":login db\r"
84-
sleep 1
8584
type ":vk\r"
8685

8786
respond "*" ":midas sysbin;_kshack;ksfedr\r"

build/ks10/processor.tcl

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ expect ":KILL"
1919
respond "*" ":kshack;micro kshack;mcr 262=kshack;its,ks10,simple,flt,extend,inout,itspag,pagef\r"
2020
expect ":KILL"
2121
respond "*" ":copy kshack; mcr ram, .; ram ram\r"
22+
type ":vk\r"
2223

2324
# Update microcode on frontend filesystem.
24-
type ":ksfedr\r"
25+
respond "*" ":ksfedr\r"
2526
respond "!" "write\r"
2627
respond "Are you sure" "yes\r"
2728
respond "Which file" "ram\r"

build/mark.tcl

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ start_dskdmp_its
1515

1616
pdset
1717
respond "*" ":login db\r"
18-
sleep 1
18+
type ":vk\r"
1919

20-
type $emulator_escape
20+
respond "*" $emulator_escape
2121
mount_tape "$out/minsrc.tape"
2222

2323
type ":dump\r"

build/misc.tcl

-12
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,10 @@ respond "*" ":pdump .teco.; ts 335\r"
5252
respond "*" ":kill\r"
5353

5454
respond "*" ":link teach;teach emacs,emacs;teach emacs\r"
55-
type ":vk\r"
5655
respond "*" "teach\033\023"
5756
respond "*" ":emacs\r"
5857
expect ":KILL"
5958
respond "*" ":link sys2;ts teachemacs,emacs;tstch >\r"
60-
type ":vk\r"
6159

6260
# nsalv, timesharing version
6361
respond "*" ":midas sys1;ts nsalv_kshack;nsalv\r"
@@ -86,19 +84,12 @@ expect ":KILL"
8684
respond "*" ":midas sysbin;_sysen3;whoj\r"
8785
expect ":KILL"
8886
respond "*" ":link sys1;ts talk,sysbin;whoj bin\r"
89-
type ":vk\r"
9087
respond "*" ":link sys1;ts who,sysbin;whoj bin\r"
91-
type ":vk\r"
9288
respond "*" ":link sys1;ts whoj,sysbin;whoj bin\r"
93-
type ":vk\r"
9489
respond "*" ":link sys1;ts whom,sysbin;whoj bin\r"
95-
type ":vk\r"
9690
respond "*" ":link sys2;ts users,sysbin;whoj bin\r"
97-
type ":vk\r"
9891
respond "*" ":link sys1;ts w,sys1;ts who\r"
99-
type ":vk\r"
10092
respond "*" ":link sys2;ts u,sys2;ts users\r"
101-
type ":vk\r"
10293

10394
#Inter-Entity Communication
10495
respond "*" ":midas sysbin;_sysen2; iec\r"
@@ -1240,7 +1231,6 @@ respond "@" "imlac; ssv22 iml_sysbin; ssv22 bin\r"
12401231
respond "@" "\021"
12411232
expect ":KILL"
12421233
respond "*" ":link imlac; .prgm. normal, imlac; ssv22 iml\r"
1243-
type ":vk\r"
12441234

12451235
# Assemble SSV4.
12461236
respond "*" ":midas imlac; ts assv4_assv4\r"
@@ -1622,9 +1612,7 @@ expect ":KILL"
16221612
respond "*" ":midas rug;_loder\r"
16231613
expect ":KILL"
16241614
respond "*" ":link sys; ts nloder, rug; loder bin\r"
1625-
type ":vk\r"
16261615
respond "*" ":link sys1; ts mloder, rug; loder bin\r"
1627-
type ":vk\r"
16281616

16291617
# SITS.
16301618
cwd "sits"

0 commit comments

Comments
 (0)