instal.doc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  1. REDUCE INSTALLATION GUIDE
  2. FOR THE DECSYSTEMS 10 AND 20
  3. Version 3.0
  4. by
  5. Anthony C. Hearn
  6. The Rand Corporation
  7. Santa Monica, CA 90406 USA
  8. April 1983
  9. ABSTRACT
  10. This guide describes the DECSYSTEM REDUCE distribution tape and procedures for
  11. installing, testing and maintaining REDUCE on a DECSYSTEM 10 or 20 running
  12. TOPS-10 or TOPS-20.
  13. Rand Publication CP79(4/83)
  14. Copyright (c) 1983 The Rand Corporation
  15. _T_A_B_L_E__O_F__C_O_N_T_E_N_T_S
  16. 1. INTRODUCTION ........................................................ 1
  17. 2. DESCRIPTION OF THE DECSYSTEM REDUCE DISTRIBUTION TAPE ............... 1
  18. 3. INSTALLING REDUCE ................................................... 1
  19. 3.1 Assembly of the LISP Interpreter .......................... 2
  20. 3.2 Assembly of REDUCE ........................................ 3
  21. 3.3 Making REDUCE Accessible to Users ......................... 4
  22. 4. PRINTING DOCUMENTS .................................................. 4
  23. 5. TESTING REDUCE ...................................................... 4
  24. 6. RUNNING REDUCE PROGRAMS ............................................. 5
  25. 7. WORKING WITH MINIMAL DISK SPACE ..................................... 5
  26. 8. REBUILDING REDUCE FASL FILES ........................................ 6
  27. 9. PROGRAM REGISTRATION ................................................ 6
  28. 10. INQUIRIES AND REPORTING OF ERRORS .................................. 7
  29. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 1
  30. 1. _I_N_T_R_O_D_U_C_T_I_O_N
  31. This guide describes the DECSYSTEM REDUCE distribution tape and procedures for
  32. installing, testing and maintaining REDUCE on a DECSYSTEM 10 or 20 running
  33. TOPS-10 or TOPS-20. The distributed version of REDUCE requires at least 140
  34. pages of memory in order to run effectively.
  35. The job times given in this guide are for a DECSYSTEM 2060T running REDUCE
  36. with a 230 page memory partition. The following adjustment factors for other
  37. machines have been found to apply.
  38. KA-10 6.7 2040 3.3
  39. KI-10 3.3 KL-10 1.0
  40. These factors are however approximate and will vary according to machine con-
  41. figuration and memory speeds.
  42. 2. _D_E_S_C_R_I_P_T_I_O_N__O_F__T_H_E__D_E_C_S_Y_S_T_E_M__R_E_D_U_C_E__D_I_S_T_R_I_B_U_T_I_O_N__T_A_P_E
  43. The distribution tape is in DUMPER (BACKUP) format and recorded in interchange
  44. mode at a density of 1600 bpi. The files are organized into groups with the
  45. following structure:
  46. DOC REDUCE documents, all with an extension DOC, including:
  47. instal.doc Installation instructions (i.e., this
  48. document)
  49. reduce.doc REDUCE User's Manual
  50. sl.doc Standard LISP Report
  51. sldec.doc Manual for Standard LISP on DECSYSTEM
  52. 10 and 20
  53. tops10.doc System specific operation notes.
  54. tops20.doc
  55. EXE reduce.exe, the REDUCE executable file.
  56. FASL Fast loading LISP files for loading REDUCE functions, all
  57. with the extension FAP.
  58. SRC MACRO and RLISP sources for creating LISP and REDUCE.
  59. These files have the extensions MAC, RED and SL.
  60. UTIL Macro Interpreted Command facility scripts for building
  61. REDUCE, etc.
  62. XMPL REDUCE examples, tests, demonstrations and the interactive
  63. lessons. The lessons have names LESS1 through LESS7 with
  64. no extension. Other such files have the extension TST.
  65. 3. _I_N_S_T_A_L_L_I_N_G__R_E_D_U_C_E
  66. To install REDUCE, you need to create a directory for the REDUCE file system.
  67. A good name for this under TOPS-20 is <reduce>, which will be used to describe
  68. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 2
  69. it from now on. Connect to this directory, mount the tape and give the fol-
  70. lowing commands:
  71. TMOUNT MTA: MYTAPE:/REELID:name of tape
  72. DUMPER (or R BACKUP on TOPS-10 machines)
  73. TAPE MYTAPE
  74. INTERCHANGE
  75. DEN 1600
  76. RESTORE *.*
  77. EXIT
  78. This will retrieve all the files on the tape, and requires approximately the
  79. following pages of disk space, in 512K bytes:
  80. DOC 200
  81. EXE 200
  82. FASL 330
  83. SRC 500
  84. UTIL 10
  85. XMPL 60
  86. ----
  87. total 1300
  88. If you are running on a computer using Release 4 or later of TOPS-20, and no
  89. source updates are necessary, then you are now ready to run REDUCE and its
  90. supporting Standard LISP system. In this case, you can proceed to the section
  91. "Making REDUCE Accessible to Users". Otherwise you must assemble the Standard
  92. LISP interpreter and build the REDUCE executable file as described in the fol-
  93. lowing sub-sections.
  94. 3.1 _A_s_s_e_m_b_l_y__o_f__t_h_e__L_I_S_P__I_n_t_e_r_p_r_e_t_e_r
  95. To assemble the Standard LISP interpreter, the following two steps are neces-
  96. sary:
  97. 1) Using a suitable editor, look for the line "OPSYS is set here" in the
  98. file LISP.MAC. This is approximately 400 lines from the beginning of
  99. the file. Change the following lines to give OPSYS the appropriate
  100. value for your system. These values are:
  101. OPSYS==-1 TOPS-20 (the default)
  102. OPSYS==0 TOPS-10
  103. OPSYS==1 TENEX
  104. 2) Build the LISP execute file LISP.EXE by the following sequence of
  105. commands:
  106. LOAD LISP
  107. SAVE (or SAVE LISP 12 under TOPS-10)
  108. This assembly takes about 60 seconds to complete on the DECSYSTEM 2060
  109. described earlier.
  110. If this assembly is done on a machine running the TOPS-20AN (Arpanet) monitor,
  111. a message "Multiply defined global symbol CLOSE" may be printed. This is due
  112. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 3
  113. to the presence of a JSYS CLOSE in the TCP/IP enhancements that conflicts with
  114. the LISP function CLOSE in the assembler. This conflict causes no harm, and
  115. can therefore be ignored.
  116. 3.2 _A_s_s_e_m_b_l_y__o_f__R_E_D_U_C_E
  117. In the following narrative, user input is shown in lower case and system out-
  118. put in upper case. Except where noted, user input terminates with a carriage
  119. return.
  120. For TOPS-10, the following sequence of commands is used:
  121. .as dsk: sys:
  122. DSK ASSIGNED
  123. .r lisp 70
  124. ALLOCATE? y
  125. SYS: <cr>
  126. FWDS=7000<space>
  127. BPS.=100000<space>
  128. SPDL=600<space>
  129. RPDL=600<space>
  130. HASH=475<space>
  131. STANDARD LISP (APRIL 1983)
  132. *(setq fislsize 1500)
  133. 1500
  134. *(load rlisp rend alg1 alg2 rend2 entry)
  135. NIL
  136. *(excise)
  137. T
  138. *(quit)
  139. .save reduce
  140. REDUCE SAVED
  141. For TOPS-20, the following sequence is used:
  142. @def sys: <reduce>,sys:
  143. @lisp
  144. ALLOCATE? y
  145. CORE (K): 60<space>
  146. SYS: <space>
  147. FWDS=12000<space>
  148. SPDL=600<space>
  149. RPDL=600<space>
  150. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 4
  151. HASH=475<space>
  152. STANDARD LISP (APRIL 1983)
  153. *(load rlisp rend alg1 alg2 rend2 entry)
  154. NIL
  155. *(excise)
  156. T
  157. *(quit)
  158. @save reduce
  159. REDUCE.EXE.1 SAVED
  160. This assembly takes about 10 seconds.
  161. For those systems that support the Macro Interpreted Commands facility, the
  162. file group UTIL contains a number of files that can be used to facilitate the
  163. building process. In particular, the files mkred1.mic and mkred2.mic can be
  164. used to perform the above assembly for TOPS-10 and TOPS-20 respectively. For
  165. example, to build REDUCE under TOPS-20, you would say
  166. do mkred2
  167. 3.3 _M_a_k_i_n_g__R_E_D_U_C_E__A_c_c_e_s_s_i_b_l_e__t_o__U_s_e_r_s
  168. In order to make REDUCE accessible to them, users should be instructed to
  169. include <reduce> in their SYS: pathname by a system command such as
  170. def sys: <reduce>,sys:
  171. Alternatively, the file reduce.exe and the files in the group FASL (i.e.,
  172. those with the extension fap) should be moved to a SYS: directory. The FASL
  173. files must be moved since they are needed during REDUCE runs.
  174. 4. _P_R_I_N_T_I_N_G__D_O_C_U_M_E_N_T_S
  175. A number of documents relating to the assembly and running of LISP and REDUCE
  176. are included in the file group DOC. The documents are pagenated and formatted
  177. with standard ASCII control characters and may therefore be printed by stan-
  178. dard printing programs. A maximum page length of 60 lines is assumed. Note
  179. also that the left margin offset must be supplied by the user.
  180. 5. _T_E_S_T_I_N_G__R_E_D_U_C_E
  181. To test the REDUCE installation, the following job should be run:
  182. Under TOPS-10: Under TOPS-20:
  183. .r reduce 140 @reduce
  184. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 5
  185. REDUCE 3.0, 15-Apr-83 REDUCE 3.0, 15-Apr-83
  186. *in "reduce.tst"; *core 70;
  187. *in "reduce.tst";
  188. This requires about 25 seconds on the DEC 2060 as described above. If the out-
  189. put is directed to a file (by a command such as "out out;"), this time is
  190. reduced to about 16 seconds.
  191. Other programs for testing the REDUCE system assembly may also be found in the
  192. file group XMPL.
  193. 6. _R_U_N_N_I_N_G__R_E_D_U_C_E__P_R_O_G_R_A_M_S
  194. Once reduce.exe has been placed on the user's search path, REDUCE is simply
  195. invoked with its name:
  196. reduce
  197. REDUCE will respond with a banner line and then prompt for the first line of
  198. input:
  199. reduce 3.0, 15-Apr-83 ...
  200. 1:
  201. Prototypical instructions for using the TOPS-10 and TOPS-20 versions of REDUCE
  202. are available as the files tops10.doc and tops-20.doc respectively. You
  203. should edit the appropriate version to reflect your site-specific implementa-
  204. tion before issuing it to users. See also the REDUCE User's Manual for
  205. further details.
  206. 7. _W_O_R_K_I_N_G__W_I_T_H__M_I_N_I_M_A_L__D_I_S_K__S_P_A_C_E
  207. Many of the REDUCE system files are not necessary for the running of REDUCE.
  208. In situations where disk space is at a premium, the following files may be
  209. deleted from disk:
  210. -all files in the groups DOC, SRC, UTIL and XMPL,
  211. -the files alg1.fap, alg2.fap, entry.fap, rend.fap, rend2.fap and
  212. rlisp.fap from the file group FASL.
  213. Although the file groups DOC and XMPL are not necessary, it is advisable to
  214. leave at least the REDUCE manual, TOP-10 or TOPS-20 operating instructions and
  215. the REDUCE interactive lessons on-line for users.
  216. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 6
  217. 8. _R_E_B_U_I_L_D_I_N_G__R_E_D_U_C_E__F_A_S_L__F_I_L_E_S
  218. Because of its organization into independently compilable modules, the current
  219. REDUCE system is fairly easy to maintain. If any source updates are necessary,
  220. they can be incorporated into the appropriate files using a convenient editor.
  221. Once any of the system source files have been updated, it is necessary to
  222. rebuild the equivalent fast loading modules in order to utilize the changes.
  223. The following job will achieve this:
  224. .r reduce 140 (or "reduce" under TOPS-20)
  225. REDUCE 3.0, 15-Apr-83 ...
  226. *core 70; (TOPS-20 only)
  227. *symbolic;
  228. *faslout <filename>;
  229. <system message>
  230. *in "<filename>.red"$
  231. *faslend;
  232. where <filename> is the name of the source file (eg, alg1).
  233. A MIC script is also available for this purpose. This is called as follows:
  234. do mkfas1 <filename> (TOPS-10)
  235. or
  236. do mkfas2 <filename> (TOPS-20).
  237. If the modules ALG1, ALG2, ENTRY, FEND, FISL, REND, REND2 or RLISP have been
  238. changed, then the REDUCE execute file must be rebuilt (see the section "Assem-
  239. bly of REDUCE"). Since all other modules are loaded on demand, one simply
  240. needs to ensure that the updated FASL files are on the appropriate directory
  241. to complete the update.
  242. 9. _P_R_O_G_R_A_M__R_E_G_I_S_T_R_A_T_I_O_N
  243. After installing REDUCE, fill out the accompanying registration form and send
  244. to:
  245. Dr. Anthony C.Hearn
  246. The Rand Corporation
  247. 1700 Main Street
  248. Santa Monica, CA 90406
  249. Telephone (213) 393-0411.
  250. This should be done so that you can be advised direct of any changes which are
  251. made to the system. Persons receiving REDUCE from sources other than the
  252. REDUCE Installation Guide for DECSYSTEMS 10 and 20 Page 7
  253. Rand Corporation are particularly requested to follow this procedure. The
  254. test time requested on the registration form is the time printed by the final
  255. call of SHOWTIME in the output from the test described in the section "Testing
  256. REDUCE".
  257. 10. _I_N_Q_U_I_R_I_E_S__A_N_D__R_E_P_O_R_T_I_N_G__O_F__E_R_R_O_R_S
  258. Any enquiries regarding the assembly or operation of REDUCE should also be
  259. directed to the above address. Suspected errors should be accompanied by
  260. the relevant job output and a copy of the input source.
  261. REDUCE REGISTRATION FORM
  262. After installing REDUCE, please fill out this form and send to the address
  263. listed at the bottom. This should be done so that you can be advised direct
  264. of any changes made to the system. Persons receiving REDUCE from sources
  265. other than the Rand Corporation are particularly requested to follow this
  266. procedure.
  267. Contact Person ______________________________________________ Date__________
  268. Title ______________________________________________
  269. Organization ______________________________________________
  270. Address ______________________________________________
  271. City, State ______________________________________________ Zip___________
  272. Telephone ______________________________________________ Ext___________
  273. Network Address______________________________________________
  274. (ARPANET, CSNET or UUCP, if available)
  275. COMPUTER DESCRIPTION
  276. Vendor ___________ Model _____________ Operating System _________________
  277. Equivalent, if not DECSYSTEM, IBM or VAX ___________________________________
  278. TIMING
  279. Please indicate the test time as printed by the final call of SHOWTIME in the
  280. output from the installation test described in the section "Testing REDUCE",
  281. of the REDUCE Installation Guide. Also give the total system time, region
  282. (virtual) and real system memory available, if known and applicable.
  283. Time ___________ Total System Time ___________ Region ___________
  284. Real System Memory ___________
  285. Please also write on the back of this form any comments you may have about the
  286. installation procedure, and system documentation and performance.
  287. If you would like to be listed in a published registry of REDUCE system
  288. holders, please check here ___.
  289. Mail this completed form to:
  290. Dr. Anthony C. Hearn
  291. The Rand Corporation
  292. 1700 Main Street
  293. Santa Monica, CA 90406