home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / UE311H.ZIP / EPATH.H < prev    next >
Text File  |  1991-09-04  |  2KB  |  124 lines

  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. NOSHARE CONST char *pathname[] =
  9.  
  10. #if    AMIGA
  11. {
  12.     ".emacsrc",
  13.     "emacs.hlp",
  14.     "",
  15.     "sys:c/",
  16.     "sys:t/",
  17.     "sys:s/",
  18.     "c:/",
  19.     ":t/",
  20.     ":s/"
  21. };
  22. #endif
  23.  
  24. #if    TOS
  25. {
  26.     "emacs.rc",
  27.     "emacs.hlp",
  28.     "\\",
  29.     "\\bin\\",
  30.     "\\util\\",
  31.     ""
  32. };
  33. #endif
  34.  
  35. #if    FINDER
  36. {
  37.     "emacs.rc",
  38.     "emacs.hlp",
  39.     "/bin",
  40.     "/sys/public",
  41.     ""
  42. };
  43. #endif
  44.  
  45. #if    MSDOS
  46. {
  47.     "emacs.rc",
  48.     "emacs.hlp",
  49.     "\\sys\\public\\",
  50.     "\\usr\\bin\\",
  51.     "\\bin\\",
  52.     "\\",
  53.     ""
  54. };
  55. #endif
  56.  
  57. #if OS2
  58. {
  59.         "emacs.rc",
  60.         "emacs.hlp",
  61.         "C:\\OS2\\SYSTEM\\",
  62.         "C:\\OS2\\DLL\\",
  63.         "C:\\OS2\\BIN\\",
  64.         "C:\\OS2\\",
  65.         "\\",
  66.         ""
  67. };
  68. #endif
  69.  
  70. #if    V7 | BSD | USG | SMOS | HPUX | XENIX | SUN | AVIION
  71. {
  72.     ".emacsrc",
  73.     "emacs.hlp",
  74.     "/usr/local/",
  75.     "/usr/lib/",
  76.     ""
  77. };
  78. #endif
  79.  
  80. #if    VMS
  81. {
  82.     "emacs.rc",
  83.     "emacs.hlp",
  84.     "MICROEMACS$LIB:",
  85.     "SYS$LOGIN:",
  86.     "",
  87.     "sys$sysdevice:[vmstools]"
  88. };
  89. #endif
  90.  
  91. #if WMCS
  92. {
  93.     "emacs.rc",
  94.     "emacs.hlp",
  95.     "",
  96.     "sys$disk/syslib.users/"
  97. };
  98. #endif
  99.  
  100. #if AOSVS
  101. /*
  102.     NOTE: you must use the Unix style pathnames here!
  103. */
  104. {
  105.     "emacs.rc",
  106.     "emacs.hlp",
  107.     "",
  108.     "/macros/",
  109.     "/help/"
  110. };
  111. #endif
  112.  
  113. #if MPE
  114. {
  115.     "emacsrc",
  116.     "emacshlp",
  117.     ".pub",
  118.     ".pub.sys",
  119.     ""
  120. };
  121. #endif /* MPE */
  122.  
  123. #define    NPNAMES    (sizeof(pathname)/sizeof(char *))
  124.