Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ncoast!allbery From: gregg@a.cs.okstate.edu@mandrill.CWRU.Edu (Gregg Wonderly) Newsgroups: comp.sources.misc Subject: VI in TPU part 13/13 Message-ID: <4862@ncoast.UUCP> Date: Mon, 12-Oct-87 22:56:33 EDT Article-I.D.: ncoast.4862 Posted: Mon Oct 12 22:56:33 1987 Date-Received: Wed, 14-Oct-87 06:31:28 EDT Sender: allbery@ncoast.UUCP Organization: Oklahoma State Univ., Stillwater Lines: 65 Approved: allbery@ncoast.UUCP X-Archive: comp.sources.misc/8710/vms-vi/13 $ check=755981510 $ on error then goto oops $ on severe_error then goto oops $ on warning then goto oops $ if f$search("VI.4") .nes. "" then goto assem $ write sys$output "I can't find VI.4, have you executed the comm and files to extract" $ write sys$output "each part of the VI.TPU source?" $ exit $ ASSEM: $ if f$search("SRC.DIR") .nes. "" then goto assem_1 $ write sys$output "I can't find the [.SRC] directory, have you extracted the other portions $ write sys$output "of the distribution yet? $ exit $ ASSEM_1: $ write sys$output "Assembling complete VI.TPU source file..." $ write sys$output "$ COPY VI.4 [.SRC]VI.TPU" $ copy VI.4 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.4 [.SRC]VI.TPU" $ append VI.5 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.5 [.SRC]VI.TPU" $ append VI.6 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.6 [.SRC]VI.TPU" $ append VI.7 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.7 [.SRC]VI.TPU" $ append VI.8 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.8 [.SRC]VI.TPU" $ append VI.9 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.9 [.SRC]VI.TPU" $ append VI.10 [.SRC]VI.TPU $ write sys$output "$ APPEND VI.10 [.SRC]VI.TPU" $ append VI.11 [.SRC]VI.TPU $ write sys$output "$ SET DEFAULT [.SRC]" $ set default [.SRC] $ write sys$output "VI source file assembled... Checking" $ checksum VI.TPU $ if checksum$checksum .ne. check then goto bad_check $ write sys$output "Checksum OK..." $ COMPILE: $ if f$search ("make.com") .nes. "" then goto domake $ write sys$output "I can't find [.SRC]make.com, perhaps you have n't extracted it yet?" $ set def [-] $ exit $ DOMAKE: $ write sys$output "$ @MAKE VI" $ @make VI $ type sys$input $ write sys$output - f$fao("!/*** The VI TPU section file has been succesfully built ***!/") $ DEF = F$ENVIRONMENT ("DEFAULT") $ TVI=="EDIT/TPU/SECTION=''DEF'VI.GBL" $ WRITE SYS$OUTPUT "$ SET DEFAULT [-]" $ SET DEF [-] $ EXIT $ bad_check: $ write sys$output f$fao ("Checksum of file failed, it may be damaged!/") $ write sys$output check," <> ",checksum$checksum $ write sys$output f$fao ("!/Proceeding with Compile, just in case it is not.!/ ") $ goto compile $ oops: $ exit '$STATUS'