From 28f713c75a7b98b7aa82f53c06cd559ef976c6d4 Mon Sep 17 00:00:00 2001 From: Eric Swenson Date: Sat, 18 Nov 2023 10:52:38 -0800 Subject: [PATCH] Don't use XXFILE to build Zork. Updated zork.tcl to no longer use XXFILE to either compile or load/save zork. XXFILE seems too brittle and doesn't function consistently. --- build/zork.tcl | 90 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 82 insertions(+), 8 deletions(-) diff --git a/build/zork.tcl b/build/zork.tcl index 3b5c325c..bc26fc39 100644 --- a/build/zork.tcl +++ b/build/zork.tcl @@ -11,12 +11,86 @@ respond "*" ":link sys1;ts zork, sys; ts rbye\r" mkdir "cfs" -respond "*" ":xxfile lcf;comp log_lcf;comp xxfile\r" -expect -timeout 6000 "Job XXFILE interrupted: .VALUE;" -type "\033p" -expect ":KILL" - -respond "*" ":xxfile lcf;zork log_lcf;zork xxfile\r" -expect "Job XXFILE interrupted: .VALUE;" -type "\033p" +respond "*" ":pcomp\r" +respond "T" "" +respond "LCF" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":assem \"lcf;tell >\" \"lcf;tell nbin\"\r" +respond "Is this assembly for TENEX?" "n" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +expect -timeout 900 "Job PCOMP wants the TTY" +type "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":pcomp\r" +respond "T" "" +respond "DONE" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "\">" +respond "Job PCOMP wants the TTY" "p" +respond "\"So you re-owned me, eh? I'm done anyway.\"" "" +respond ":KILL" ":mudsav;mud55\r" +respond "LISTENING-AT-LEVEL 1 PROCESS 1" "" +type "" +respond "LCF" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" "" +respond "\"DONE\"" ">" +respond "T" "%% ,ERRH>" +type ">>>" +respond "#HANDLER #SUBR" "%% ,CTRL-S>>>" +type "" +type "" +type "" +type ">" +type "" expect ":KILL"