home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / vmspascal.zip / vxinst.com < prev    next >
Text File  |  1988-08-16  |  4KB  |  100 lines

  1. $    set noon
  2. $    set nover
  3. $ !
  4. $ !    Command file to compile and install Kermit on a VAX/VMS system.
  5. $ !    Note:  Please examine comments marked by *****, they will describe
  6. $ !    modifications necessary to install kermit for your system.  After
  7. $ !    running install, be sure to modify systartup.com, and sylogin.com.
  8. $ !
  9. $ !    Author: Bruce W. Pinn
  10. $ !    Site:   University of Toronto Computing Services
  11. $ !    Date:   May 31, 1983
  12. $ !
  13. $ !    Modified: Philip Murton 
  14. $ !    Date:   Sept. 18, 1984
  15. $ !
  16. $ !    Added 'hex' file.    
  17. $ !
  18. $    on control_y then goto fini
  19. $    sysdisk := f$logical("SYS$DISK")
  20. $    kermitdirect := 'f$directory()
  21. $    defuic := 'f$user()
  22. $    write sys$output " "
  23. $    write sys$output "        Kermit-VMS Install Procedure"
  24. $    write sys$output " "
  25. $    inquire answer " Rebuild from sources? (YES or no)"
  26. $    if answer .eqs. "" then goto Build_Source
  27. $    if answer then goto Build_Source
  28. $    inquire answer " Build from HEX file? (YES or no)"
  29. $    if answer .eqs. "" then goto HEX_file
  30. $    if answer then goto HEX_file
  31. $    goto Install
  32. $ Build_Source:
  33. $    inquire answer " Do you have a PASCAL Compiler? (YES or no)"
  34. $    if answer .eqs. "" then goto Create_Kermit
  35. $    if answer then goto Create_Kermit
  36. $ HEX_file:
  37. $    write sys$output " "
  38. $    write sys$output " Creating Kermit.exe from Kermit.hex"
  39. $    write sys$output "     (Fortran used for this)"
  40. $    write sys$output " "
  41. $    @hex
  42. $    goto Install
  43. $ Create_Kermit:
  44. $    set prot=(s:rwed,g:rwed,o:rwed,w:re)/default
  45. $    @pas
  46. $    @fort
  47. $    @link
  48. $ Finished_Comp:
  49. $    inquire answer " Install Kermit-VMS on the system? (YES or no)"
  50. $    if answer .eqs. "" then goto install
  51. $    if answer then goto install
  52. $    goto Fini
  53. $ Install:
  54. $    set proc/priviledge=(cmk,sysprv,sysnam,log_io)
  55. $    set uic [1,4]
  56. $    write sys$output " Installing image, and defining system logical names."
  57. $    copy kermit.exe sys$system:kermit.exe
  58. $ !******
  59. $ !    Modify terminal list for your site. (ie. replace terminal list with a
  60. $ !    list of terminals that you will be using for out-dialing from your
  61. $ !    VAX).  List should appear as follows:
  62. $ !        assign/system "_TTA1: _TTA2: _TTA3:" kermit$rem0
  63. $ !******
  64. $    assign/system {terminal list} kermit$rem0
  65. $ !******
  66. $ !    Replicate the following line once for each terminal in your terminal
  67. $ !    list.  Replace {AAAAA} with one terminal in list.  (ie. for above
  68. $ !    example :
  69. $ !    set terminal _TTA1:/PERM/NOMODEM/NOEIGHT/NOAUTOBAUD/ALTYPEAHD
  70. $ !    set terminal _TTA2:/PERM/NOMODEM/NOEIGHT/NOAUTOBAUD/ALTYPEAHD
  71. $ !    set terminal _TTA3:/PERM/NOMODEM/NOEIGHT/NOAUTOBAUD/ALTYPEAHD
  72. $ !******
  73. $    set terminal {AAAAAA} /PERM/NOMODEM/NOEIGHT/NOAUTOBAUD/HOST/TTSYNC -
  74.                 /ALTYPEAHD
  75. $ !******
  76. $ !    Modify kermit directory to reflect the locations where kermit source
  77. $ !    is held.  For example :
  78. $ !    assign/system DRA0:[KERMIT] kermdir:
  79. $ !******
  80. $    assign/system {kermit directory} kermdir:
  81. $    assign/system kermdir:kermit.txt kermithlp:
  82. $    mcr install
  83. SYS$SYSTEM:KERMIT.EXE/PRIV=(SYSPRV,ALTPRI,PSWAPM)
  84. $    write sys$output " Please insert the following lines into your system"
  85. $    write sys$output " startup file (ie. SYSTARTUP.COM) :"
  86. $    write sys$output "    $ assign/system ""{terminal list}"" kermit$rem0
  87. $    write sys$output "    $ assign/system sys$help:kermit.hlp kermithlp:"
  88. $    write sys$output "    $ mcr install
  89. $    write sys$output "    SYS$SYSTEM:KERMIT.EXE/PRIV=(SYSPRIV,ALTPRI,PSAWPM)
  90. $    write sys$output " "
  91. $    write sys$output " Also insert the following lines in your system wide"
  92. $    write sys$output " login file :"
  93. $    write sys$output "    $ assign 'f$logical("SYS$OUTPUT")' kermit$local
  94. $    write sys$output "    $ kermit := $sys$system:kermit.exe"
  95. $ Fini:
  96. $    if "''defuic'" .nes. "" then set uic 'defuic
  97. $    set process/priv=(nocmk,nosysprv,nolog_io,nosysnam)
  98. $    set on
  99. $    exit
  100.