home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / c / unix < prev    next >
Text File  |  1977-12-31  |  3KB  |  88 lines

  1. ; This script is executed from your S:User-Startup script in order to
  2. ; set up the ADE environment.  All assigns are made relative to "ADE:",
  3. ; which has to be assigned prior to running this script.  This would
  4. ; normally be done like:
  5. ;
  6. ;       assign ADE: archive:bartek/a-nix
  7. assign ADE: cd_rom:a_nix
  8. ;    execute ADE:Sys/S/ADE-Startup
  9.  
  10. ; Check to see if we have already run this script once, and if so, simply
  11. ; exit.  We might try to run it more than once, if for example the user
  12. ; reruns the install script in order to change some metatool prefs.
  13.  
  14. if EXISTS ram:ADE-datestamp
  15.   skip END
  16. else
  17.   date >ram:ADE-datestamp
  18. endif
  19.  
  20. ; Tools should search LOCAL: for files that may have been added to 
  21. ; supplement the standard ADE environment, to account for the case 
  22. ; where it is impossible to add these files directly to the ADE:
  23. ; tree (such as when it is located on a CD-ROM)
  24. ;
  25. ; If no LOCAL: is already defined, supply a default assignment to T:,
  26. ; which we know exists.  This assignment can be overridden in the
  27. ; user's User-Startup script, either by defining it before calling
  28. ; this script, or redefining it afterwards.
  29.  
  30. assign LOCAL: exists >NIL:
  31. if WARN
  32.   assign LOCAL: T:
  33. endif
  34.  
  35. ; Make assigns for ADE things, like general binaries, manual pages,
  36. ; info files, etc.  We try to keep these to an absolute minimum!
  37.  
  38. assign BIN:    ADE:bin
  39. assign USR:    ADE:
  40. if EXISTS ADE:var
  41.   assign VAR:    ADE:var
  42. endif
  43. assign ETC:    ADE:etc
  44. assign INFO:    ADE:info
  45. assign MAN:    ADE:man
  46. assign TMP:    T:
  47. path ADE:bin  ADD
  48.  
  49. ; Add various directories under ADE: that supplement the normal
  50. ; system logical defines, like "LIBS:", "L:", "DEV:", etc.
  51. ; We have to have C: in here if we want the Workbench to notice
  52. ; anything in BIN:, or have them available from any CLIs already
  53. ; running.
  54.  
  55. assign C:    ADE:bin        ADD
  56. assign DEVS:    ADE:Sys/Devs    ADD
  57. assign LIBS:    ADE:Sys/Libs    ADD
  58. assign L:    ADE:Sys/L    ADD
  59. assign S:    ADE:Sys/S    ADD
  60.  
  61. ; Assign GNU: to ADE: for backwards compatibility.  This will be
  62. ; removed at some point in the future.
  63.  
  64. ;assign GNU:    ADE:    
  65.  
  66. ; Mount the ixpipe: device
  67.  
  68. mount IXPIPE: from DEVS:MountList.IXPIPE
  69.  
  70. ; Install GNU Emacs version 18.59
  71. ;   Assign GNUEmacs: so emacs can find it's files.
  72. ;   Cancel any system supplied alias for emacs.
  73. ;   Use the emacs specific shell since bin:sh (PD ksh) causes a crash
  74. ;     when you try to use it under emacs.
  75.  
  76. if EXISTS ADE:lib/emacs/18.59
  77.   assign GNUemacs: ADE:lib/emacs/18.59
  78.   unalias emacs
  79.   setenv ESHELL GNUemacs:etc/sh
  80. endif
  81.  
  82. ; Install Matt Dillon's fifo library, for emacs and others.
  83. ; Note that it must be able to find LIBS:fifo.library when run.
  84.  
  85. run <nil: >nil: ADE:Sys/L/fifo-handler
  86.  
  87. LAB END
  88.