home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / full_cat21 / _datafile_ / _run < prev    next >
Encoding:
Text File  |  1994-08-26  |  2.2 KB  |  71 lines

  1. | !Run file for the Datafile catalogue.
  2. |
  3. | fully copyrighted programme:
  4. |
  5. | (c) Dirk-Willem van Gulik,
  6. |     Enschede, The Netherlands
  7. |     14 November 1992
  8. |
  9. | This is a restricted  1.12 release
  10. | #marked: 1-009-.43 
  11. | Not to be copied, lent, sold, hired, duplicated,
  12. | distributed without prior written consent from
  13. | the author. 
  14. |
  15. | This is NOT PD, NOT ShareWare, NOT FreeWare
  16. set DataFile+$data <obey$dir>.cdata
  17. set DataFile+$dir <obey$dir>
  18.  
  19. set Xref$server <obey$dir>.!RunImage
  20. set Xref$serverdir <obey$dir>
  21.  
  22. | Load the ArcFS module ....
  23. | this is used to read the archived catalogue,
  24. | consult programmers/reference manual for 
  25. | information about the underlying principles
  26. |
  27.  
  28.   RMensure ArcFS 0.30 IF "<ARCFS$DIR>"="" THEN ERROR 1 No ArcFS can be found
  29.   RMensure ArcFS 0.30 RMLOAD <ARCFS$DIR>.ArcFSMod
  30.   RMensure ArcFS 0.30 ERROR 1 Cannot find 0.30 or higher version of ArcFS
  31. |                               
  32.   CloseArchive
  33.   OpenArchive <obey$dir>.cdata
  34.   set DataFile+$Data  arcfs#cdata:$
  35.  
  36. | For all those HD/Menon loving people..
  37. iconsprites <obey$dir>.!Sprites
  38.  
  39. | Here, the version of your windowmanager is checked. If it is
  40. | below 3.00 a programme 'interf_load' will be run. This programme
  41. | will search for the interface manager in several places, without
  42. | returning an error if it cannot find a decent version.
  43. |
  44. | You can comment them out if you have ro 3.00 or above.
  45. |  set old off
  46. |  rmensure WindowManager 3.00 set old on
  47. |  IF "<old>"="on" then rmensure interfacemanager 2.00 /<obey$dir>.intrf_load
  48. |  unset old
  49.  
  50. | If you want to be really sure that the interface module is loaded,
  51. | and to get an error if not, replace that last line with something
  52. | like this :
  53. | rmensure interfacemanager 2.00 rmload system:modules.interface
  54.  
  55. | check out carefully, not too sure for 1 Mb machines
  56. | with small memory chunks, on 'machine-hang' increase
  57. | to 64k. (With older BASICs, down to 32k has reported to
  58. | work ..!)
  59. |
  60. | Flag's..
  61. |   -D      overide 'drag-a-sprite' bit in CMOS ram, i.e.
  62. |           always try to use fancy drag sprite
  63. |   -F      use fancy fonts
  64. |
  65. wimpslot -min 150k -max 150k
  66. set flags "-F -D "
  67. rmensure utilitymodule 3.10 set flags ""
  68. run <xref$server> <flags> -C <DataFile+$dir>.!Config  -MAX 1300k
  69.