home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Recent / dev / gg / ixenv.lha / gg-startup next >
Text File  |  2001-06-04  |  3KB  |  108 lines

  1. assign gg: sys:gg
  2. ; This script is executed from your S:User-Startup script in order to
  3. ; set up the Geek Gadgets environment.  All assigns are made relative
  4. ; to "GG:", which has to be assigned prior to running this script.
  5. ; This would normally be done like:
  6. ;
  7. ;  assign GG: <root of installed Geek Gadgets binary tree>
  8. ;  execute GG:Sys/S/GG-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. ;stack 50000
  15. ;assign inet: h0:internet/amitcp
  16. assign ade: gg:
  17. setenv TERM amiga-f
  18. setenv PS1=$PWD>
  19. if EXISTS ram:GG-datestamp
  20.   skip END
  21. else
  22.   date >ram:GG-datestamp
  23. endif
  24.  
  25. ; Tools should search LOCAL: for files that may have been added to 
  26. ; supplement the standard Geek Gadgets environment, to account for
  27. ; the case where it is impossible to add these files directly to
  28. ; the GG: tree (such as when it is located on a CD-ROM)
  29. ;
  30. ; If no LOCAL: is already defined, supply a default assignment to T:,
  31. ; which we know exists.  This assignment can be overridden in the
  32. ; user's User-Startup script, either by defining it before calling
  33. ; this script, or redefining it afterwards.
  34.  
  35. assign LOCAL: exists >NIL:
  36. if WARN
  37.   assign LOCAL: gg:
  38. endif
  39.  
  40. ; Make assigns for Geek Gadgets things, like general binaries,
  41. ; manual pages, info files, etc.  We try to keep these to an
  42. ; absolute minimum!
  43.  
  44. assign BIN: GG:bin
  45. assign SBIN: GG:sbin
  46. ;assign USR: GG:usr
  47. assign USR: GG:
  48. assign VAR:  GG:var
  49. assign HOME: gg:home
  50. assign ETC: GG:etc
  51. assign INFO:   GG:info
  52. assign MAN: GG:man
  53. assign TMP: t:
  54. assign SHARE: gg:share
  55. ;assign X11R6.3: gg:usr/x11r6.3
  56. path BIN: ADD
  57. path SBIN: ADD
  58. ;path GG:lib/gcc-lib/m68k-amigaos/egcs-2.91.66
  59. ;path GG:usr/X11R6.3/bin
  60.  
  61. assign include: gg:include
  62. assign libexec: gg:libexec
  63. assign lib: gg:lib
  64. ;assign libx11: gg:usr/x11r6.3/lib/x11
  65. assign etc: gg:etc
  66. assign inet: gg:inet
  67.  
  68.  
  69. ; Add various directories under GG: that supplement the normal
  70. ; system logical defines, like "LIBS:", "L:", "DEV:", etc.
  71. ; We have to have C: in here if we want the Workbench to notice
  72. ; anything in BIN:, or have them available from any CLIs already
  73. ; running.
  74.  
  75. assign C:   GG:bin      ADD
  76. ;assign DEVS:   GG:Sys/Devs ADD
  77. ;assign LIBS:   GG:Sys/Libs ADD
  78. ;assign L:   GG:Sys/L ADD
  79. ;assign S:   GG:Sys/S ADD
  80.  
  81. ; Assign GNU: to GG: for backwards compatibility.  This will be
  82. ; removed at some point in the future.
  83.  
  84. assign GNU:   GG:   
  85.  
  86. ; Mount the ixpipe: device
  87.  
  88. mount IXPIPE: from DEVS:MountList.IXPIPE
  89.  
  90. ; Install GNU Emacs version 18.59
  91. ;   Assign GNUEmacs: so emacs can find it's files.
  92. ;   Cancel any system supplied alias for emacs.
  93. ;   Use the emacs specific shell since bin:sh (PD ksh) causes a crash
  94. ;     when you try to use it under emacs.
  95.  
  96. ;if EXISTS GG:lib/emacs/18.59
  97. ;  assign GNUemacs: GG:lib/emacs/18.59
  98. ;  unalias emacs
  99. ;  setenv ESHELL GNUemacs:etc/sh
  100. ;endif
  101.  
  102. ; Install Matt Dillon's fifo library, for emacs and others.
  103. ; Note that it must be able to find LIBS:fifo.library when run.
  104.  
  105. run <nil: >nil: L:fifo-handler
  106.  
  107. LAB END
  108.