home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8710 / vms-vi / 13 < prev    next >
Encoding:
Internet Message Format  |  1990-07-13  |  2.5 KB

  1. Path: uunet!husc6!necntc!ncoast!allbery
  2. From: gregg@a.cs.okstate.edu@mandrill.CWRU.Edu (Gregg Wonderly)
  3. Newsgroups: comp.sources.misc
  4. Subject: VI in TPU part 13/13
  5. Message-ID: <4862@ncoast.UUCP>
  6. Date: 13 Oct 87 02:56:33 GMT
  7. Sender: allbery@ncoast.UUCP
  8. Organization: Oklahoma State Univ., Stillwater
  9. Lines: 65
  10. Approved: allbery@ncoast.UUCP
  11. X-Archive: comp.sources.misc/8710/vms-vi/13
  12.  
  13. $ check=755981510
  14. $ on error then goto oops
  15. $ on severe_error then goto oops
  16. $ on warning then goto oops
  17. $ if f$search("VI.4") .nes. "" then goto assem
  18. $        write sys$output "I can't find VI.4, have you executed the comm
  19. and files to extract"
  20. $        write sys$output "each part of the VI.TPU source?"
  21. $        exit
  22. $ ASSEM:
  23. $ if f$search("SRC.DIR") .nes. "" then goto assem_1
  24. $    write sys$output "I can't find the [.SRC] directory, have you extracted
  25.  the other portions
  26. $    write sys$output "of the distribution yet?
  27. $    exit
  28. $ ASSEM_1:
  29. $ write sys$output "Assembling complete VI.TPU source file..."
  30. $ write sys$output "$ COPY VI.4 [.SRC]VI.TPU"
  31. $ copy VI.4 [.SRC]VI.TPU
  32. $ write sys$output "$ APPEND VI.4 [.SRC]VI.TPU"
  33. $ append VI.5 [.SRC]VI.TPU
  34. $ write sys$output "$ APPEND VI.5 [.SRC]VI.TPU"
  35. $ append VI.6 [.SRC]VI.TPU
  36. $ write sys$output "$ APPEND VI.6 [.SRC]VI.TPU"
  37. $ append VI.7 [.SRC]VI.TPU
  38. $ write sys$output "$ APPEND VI.7 [.SRC]VI.TPU"
  39. $ append VI.8 [.SRC]VI.TPU
  40. $ write sys$output "$ APPEND VI.8 [.SRC]VI.TPU"
  41. $ append VI.9 [.SRC]VI.TPU
  42. $ write sys$output "$ APPEND VI.9 [.SRC]VI.TPU"
  43. $ append VI.10 [.SRC]VI.TPU
  44. $ write sys$output "$ APPEND VI.10 [.SRC]VI.TPU"
  45. $ append VI.11 [.SRC]VI.TPU
  46. $ write sys$output "$ SET DEFAULT [.SRC]"
  47. $ set default [.SRC]
  48. $ write sys$output "VI source file assembled... Checking"
  49. $ checksum VI.TPU
  50. $ if checksum$checksum .ne. check then goto bad_check
  51. $ write sys$output "Checksum OK..."
  52. $ COMPILE:
  53. $ if f$search ("make.com") .nes. "" then goto domake
  54. $        write sys$output "I can't find [.SRC]make.com, perhaps you have
  55. n't extracted it yet?"
  56. $        set def [-]
  57. $        exit
  58. $ DOMAKE:
  59. $ write sys$output "$ @MAKE VI"
  60. $ @make VI
  61. $ type sys$input
  62. $ write sys$output -
  63.     f$fao("!/*** The VI TPU section file has been succesfully built ***!/")
  64.  
  65. $ DEF = F$ENVIRONMENT ("DEFAULT")
  66. $ TVI=="EDIT/TPU/SECTION=''DEF'VI.GBL"
  67. $ WRITE SYS$OUTPUT "$ SET DEFAULT [-]"
  68. $ SET DEF [-]
  69. $ EXIT
  70. $ bad_check:
  71. $ write sys$output f$fao ("Checksum of file failed, it may be damaged!/")
  72. $ write sys$output check," <> ",checksum$checksum
  73. $ write sys$output f$fao ("!/Proceeding with Compile, just in case it is not.!/
  74. ")
  75. $ goto compile
  76. $ oops:
  77. $  exit '$STATUS'
  78.