home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / code / microema.sit / src / epath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-06-09  |  975 b   |  87 lines  |  [TEXT/Earl]

  1. /*    EPATH:    This file contains certain info needed to locate the
  2.         MicroEMACS files on a system dependant basis.
  3.  
  4.                                     */
  5.  
  6. /*    possible names and paths of help files under different OSs    */
  7.  
  8. #ifdef maindef
  9. char *_pathname[] =
  10.  
  11. #if    AMIGA
  12. {
  13.     ".emacsrc",
  14.     "emacs.hlp",
  15.     "",
  16.     "sys:c/",
  17.     "sys:t/",
  18.     "sys:s/",
  19.     "c:/",
  20.     ":t/",
  21.     ":s/"
  22. };
  23. #endif
  24.  
  25. #if    ST520
  26. {
  27.     "emacs.rc",
  28.     "emacs.hlp",
  29.     "\\",
  30.     "\\bin\\",
  31.     "\\util\\",
  32.     ""
  33. };
  34. #endif
  35.  
  36. #if    FINDER
  37. {
  38.     "emacs.rc",
  39.     "emacs.hlp",
  40.     "/bin",
  41.     "/sys/public",
  42.     ""
  43. };
  44. #endif
  45.  
  46. #if    MSDOS
  47. {
  48.     "emacs.rc",
  49.     "emacs.hlp",
  50.     "\\sys\\public\\",
  51.     "\\usr\\bin\\",
  52.     "\\bin\\",
  53.     "\\",
  54.     ""
  55. };
  56. #endif
  57.  
  58. #if    V7 | BSD | USG
  59. {
  60.     ".emacsrc",
  61.     "emacs.hlp",
  62.     "/usr/local/",
  63.     "/usr/lib/",
  64.     ""
  65. };
  66. #endif
  67.  
  68. #if    VMS
  69. {
  70.     "emacs.rc",
  71.     "emacs.hlp",
  72.     "",
  73.     "sys$sysdevice:[vmstools]"
  74. };
  75. #endif
  76.  
  77. #define NPNAMES (sizeof(_pathname)/sizeof(char *))
  78. int npnames = NPNAMES;
  79. char **pathname = _pathname;
  80.  
  81. #else
  82. extern char **pathname;
  83. extern int npnames;
  84. #define NPNAMES npnames;
  85. #endif
  86.  
  87.