home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / bbs / programs / amiga / pastex13.lha / DVIPS / dvips5519.lha / dvips / paths.h < prev    next >
C/C++ Source or Header  |  1993-09-04  |  2KB  |  88 lines

  1. /*
  2.  *   OUTPATH is where to send the output.  If you want a .ps file to
  3.  *   be created by default, set this to "".  If you want to automatically
  4.  *   invoke a pipe (as in lpr), make the first character an exclamation
  5.  *   point or a vertical bar, and the remainder the command line to
  6.  *   execute.
  7.  */
  8. #define OUTPATH ""
  9. /*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
  10. /*
  11.  *   Names of config and prologue files:
  12.  */
  13. #if defined MSDOS || defined OS2
  14. #define DVIPSRC "dvips.ini"
  15. #else
  16. #ifdef VMCMS  /* IBM: VM/CMS */
  17. #define DVIPSRC "dvips.profile"
  18. #else
  19. #ifdef MVSXA  /* IBM: MVS/XA */
  20. #define DVIPSRC "dvips.profile"
  21. #else
  22. #define DVIPSRC ".dvipsrc"
  23. #endif  /* IBM: VM/CMS */
  24. #endif
  25. #endif
  26.  
  27. #define HEADERFILE "tex.pro"
  28. #define CHEADERFILE "texc.pro"
  29. #define PSFONTHEADER "texps.pro"
  30. #define IFONTHEADER "finclude.pro"
  31. #define SPECIALHEADER "special.pro"
  32. #define COLORHEADER "color.pro"  /* IBM: color */
  33. #define CROPHEADER "crop.pro"
  34. #define PSMAPFILE "psfonts.map"
  35. #ifndef CONFIGFILE
  36. #define CONFIGFILE "config.ps"
  37. #endif
  38.  
  39. /* arguments to fopen */
  40. #define READ            "r"
  41.  
  42. /* directories are separated in the path by PATHSEP */
  43. /* DIRSEP is the char that separates directories from files */
  44. #ifdef AMIGA
  45. #define READBIN        "r"    /* AmigaDOS doesn't care */
  46. #define PATHSEP         ','
  47. #define DIRSEP        '/'
  48. #else
  49. #ifdef __THINK__
  50. #define READBIN        "rb"    /* Macintosh OS will use binary mode */
  51. #define PATHSEP         ',' /* use same syntax as VMS */
  52. #define DIRSEP        ':'
  53. #else
  54. #if defined MSDOS || defined OS2
  55. #define READBIN        "rb"    /* MSDOS and OS/2 must use binary mode */
  56. #define PATHSEP         ';'
  57. #define DIRSEP        '\\'
  58. #else
  59. #ifdef VMS
  60. #define READBIN        "rb"    /* VMS must use binary mode */
  61. #define PATHSEP         ','
  62. #define DIRSEP        ':'
  63. #else
  64. #ifdef VMCMS /* IBM: VM/CMS */
  65. #define READBIN         "rb" /* VMCMS must use binary mode */
  66. #define PATHSEP         ' '
  67. #define DIRSEP          ' '
  68. #else
  69. #ifdef MVSXA /* IBM: MVS/XA */
  70. #define READBIN         "rb" /* MVSXA must use binary mode */
  71. #define PATHSEP         ':'
  72. #define DIRSEP          '.'
  73. #else
  74. #define READBIN        "r"    /* UNIX doesn't care */
  75. #define PATHSEP         ':'
  76. #define DIRSEP          '/'
  77. #endif  /* IBM: VM/CMS */
  78. #endif
  79. #endif
  80. #endif
  81. #endif
  82. #endif
  83.  
  84. extern void error() ;
  85.  
  86. /* paths are all in the Makefile; by not supplying defaults, we force
  87.    the installer to set them up. */
  88.