home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / VILE327.ZIP / VILE327.TAR / vile3.27 / epath.h < prev    next >
C/C++ Source or Header  |  1992-12-14  |  2KB  |  108 lines

  1. /*    EPATH:    This file contains certain info needed to locate the
  2.         MicroEMACS files on a system dependent basis.
  3.  
  4.                                     */
  5.  
  6. /*    possible names and paths of help files under different OSs    */
  7.  
  8. /*
  9.  * $Log: epath.h,v $
  10.  * Revision 1.6  1992/11/19  08:58:06  foxharp
  11.  * added HELP_LOC support -- set in makefile, as alternate place to put vile.hlp
  12.  *
  13.  * Revision 1.5  1992/08/20  23:40:48  foxharp
  14.  * typo fixes -- thanks, eric
  15.  *
  16.  * Revision 1.4  1992/03/19  23:16:33  pgf
  17.  * ifdef fix
  18.  *
  19.  * Revision 1.3  1991/08/07  11:51:32  pgf
  20.  * added RCS log entries
  21.  *
  22.  * revision 1.2
  23.  * date: 1991/06/26 09:43:03;
  24.  * added trailing slash on some file search paths
  25.  * ----------------------------
  26.  * revision 1.1
  27.  * date: 1990/09/21 10:25:08;
  28.  * initial vile RCS revision
  29.  */
  30.  
  31. /* first two entries are default startup and help files, the rest are
  32.     possible places to look for them */
  33.  
  34. char *pathname[] =
  35.  
  36. #if    AMIGA
  37. {
  38.     ".vilerc",
  39.     "vile.hlp",
  40.     "",
  41.     "sys:c/",
  42.     "sys:t/",
  43.     "sys:s/",
  44.     ":c/",
  45.     ":t/",
  46.     ":s/"
  47. };
  48. #endif
  49.  
  50. #if    ST520
  51. {
  52.     "vile.rc",
  53.     "vile.hlp",
  54.     "\\",
  55.     "\\bin\\",
  56.     "\\util\\",
  57.     ""
  58. };
  59. #endif
  60.  
  61. #if    FINDER
  62. {
  63.     "vile.rc",
  64.     "vile.hlp",
  65.     "/bin/",
  66.     "/sys/public/",
  67.     ""
  68. };
  69. #endif
  70.  
  71. #if    MSDOS
  72. {
  73.     "vile.rc",
  74.     "vile.hlp",
  75.     "\\sys\\public\\",
  76.     "\\usr\\bin\\",
  77.     "\\bin\\",
  78.     "\\",
  79.     ""
  80. };
  81. #endif
  82.  
  83. #if    UNIX
  84. {
  85.     ".vilerc",
  86.     "vile.hlp",
  87.     "/usr/local/",
  88.     "/usr/lib/",
  89.     "/usr/local/bin/",
  90.     "/usr/local/lib/",
  91. #ifdef HELP_LOC
  92.     HELP_LOC,
  93. #endif
  94.     ""
  95. };
  96. #endif
  97.  
  98. #if    VMS
  99. {
  100.     "vile.rc",
  101.     "vile.hlp",
  102.     "",
  103.     "sys$sysdevice:[vmstools]"
  104. };
  105. #endif
  106.  
  107. #define    NPNAMES    (sizeof(pathname)/sizeof(char *))
  108.