home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / comm / term23_1.lha / Install < prev    next >
Text File  |  1992-05-08  |  2KB  |  127 lines

  1. ;    $VER: Install international 2.1 (8.5.92)
  2.  
  3. .BRA {
  4. .KET }
  5.  
  6. Set Default "Work:term"
  7.  
  8. Lab Start
  9.  
  10. Echo "Please select the drawer to install the"
  11. Echo "`term' main program in."
  12. Echo "Drawer (<Return> = $Default) ? " NoLine
  13.  
  14. UnSet Drawer
  15.  
  16. Set >NIL: Drawer ?
  17.  
  18. If "$Drawer" EQ "*$Drawer"
  19.     Set Drawer $Default
  20. EndIf
  21.  
  22. Set StartPath $Drawer
  23.  
  24. FailAt 21
  25.  
  26. Assign >NIL: ${Drawer} Exists
  27.  
  28. If FAIL
  29.     FailAt 10
  30.  
  31.     If NOT EXISTS $Drawer
  32.         FailAt 21
  33.  
  34.         MakeDir "$Drawer"
  35.  
  36.         If FAIL
  37.             Echo "*NCould not create drawer $Drawer!"
  38.  
  39.             FailAt 10
  40.  
  41.             Skip Back Start
  42.         EndIf
  43.     EndIf
  44.  
  45.     :C/UpdateIcon "$Drawer" Add
  46.  
  47.     Set Temp "$Drawer/"
  48.  
  49.     Set Drawer $Temp
  50.  
  51.     UnSet Temp
  52. EndIf
  53.  
  54. Copy term(.info|%) "$Drawer" Quiet
  55.  
  56. :C/UpdateIcon ${Drawer}term Update
  57.  
  58. Echo "*NDo you wish to have the program documentation"
  59. Echo "files installed" NoLine
  60.  
  61. Ask " (y / n)?"
  62.  
  63. If WARN
  64.     Copy #?.doc#? ${Drawer} Quiet
  65.     :C/UpdateIcon ${Drawer}#?.doc Update Replace :c/MuchMore DefaultTool MuchMore
  66.     Copy :C/MuchMore ${Drawer}
  67. EndIf
  68.  
  69. Echo "*NDo you wish to have the special fonts required"
  70. Echo "by `term' installed" NoLine
  71.  
  72. Ask " (y / n)?"
  73.  
  74. If WARN
  75.     Copy Fonts Fonts: All Quiet
  76. EndIf
  77.  
  78. Echo "*NDo you wish to have the XPR-libraries required for"
  79. Echo "data transfer installed" NoLine
  80.  
  81. Ask " (y / n)?"
  82.  
  83. If WARN
  84.     Copy XPR_Libs/#?.library Libs: Quiet
  85. EndIf
  86.  
  87. Echo "*NDo you wish to have the documentation files associated"
  88. Echo "with the XPR-libraries installed" NoLine
  89.  
  90. Ask " (y / n)?"
  91.  
  92. If WARN
  93.     Copy XPR_Libs/#?.do#? ${Drawer} Quiet
  94.     :C/UpdateIcon ${Drawer}#?.do? Update Replace :c/MuchMore DefaultTool MuchMore
  95.     Copy :C/MuchMore ${Drawer}
  96. EndIf
  97.  
  98. Echo "*N`term' supports external terminal emulation"
  99. Echo "libraries which can be used instead of the"
  100. Echo "builtin terminal emulation routines. Although"
  101. Echo "not necessarily required they are a useful"
  102. Echo "enhancement. Do you wish to have the libraries"
  103. Echo "installed" NoLine
  104.  
  105. Ask " (y / n)?"
  106.  
  107. If WARN
  108.     Copy XEM_Libs/#?.library Libs: Quiet
  109.     Copy XEM_Libs/Env Env: All Quiet
  110.     Copy XEM_Libs/Env EnvArc: All Quiet
  111. EndIf
  112.  
  113. Echo "*NIf installed, `term' will use a special library"
  114. Echo "which helps to share the serial device driver"
  115. Echo "between concurrent applications. Do you wish to"
  116. Echo "have it installed" NoLine
  117.  
  118. Ask " (y / n)?"
  119.  
  120. If WARN
  121.     Copy Extra_Libs/OwnDevUnit.library Libs:
  122. EndIf
  123.  
  124. Echo "*NInstallation finished. `term' can now be found"
  125. Echo "in the *"$StartPath*" drawer. Select the close"
  126. Echo "gadget in the top left window corner to continue."
  127.