summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/paths.h
blob: 8b7de41bcb54810f670f3c9e00ae8ea37aabde6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*   paths.h - public domain.
 *   OUTPATH is where to send the output.  If you want a .ps file to
 *   be created by default, set this to "".  If you want to automatically
 *   invoke a pipe (as in lpr), make the first character an exclamation
 *   point or a vertical bar, and the remainder the command line to
 *   execute.
 */
#define OUTPATH ""
/*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
/*
 *   Names of config and prologue files:
 */
#if defined MSDOS || defined OS2 || defined(ATARIST)
#define DVIPSRC "dvips.ini"
#else
#ifdef VMCMS  /* IBM: VM/CMS */
#define DVIPSRC "dvips.profile"
#else
#ifdef MVSXA  /* IBM: MVS/XA */
#define DVIPSRC "dvips.profile"
#else /* not IBM */
#define DVIPSRC "$HOME/.dvipsrc"
#endif  
#endif  /* IBM: VM/CMS */
#endif

#define HEADERFILE "tex.pro"
#define CHEADERFILE "texc.pro"
#define PSFONTHEADER "texps.pro"
#define IFONTHEADER "finclude.pro"
#define SPECIALHEADER "special.pro"
#define COLORHEADER "color.pro"  /* IBM: color */
#define CROPHEADER "crop.pro"
#define PSMAPFILE "psfonts.map"
#ifndef CONFIGFILE
#define CONFIGFILE "config.ps"
#endif
#ifdef HPS
#define HPSHEADER "hps.pro"
#endif
#ifndef KPATHSEA
/* arguments to fopen */
#define READ            "r"

/* directories are separated in the path by PATHSEP */
/* DIRSEP is the char that separates directories from files */
#ifdef __THINK__
#define READBIN		"rb"	/* Macintosh OS will use binary mode */
#define PATHSEP         ',' /* use same syntax as VMS */
#define DIRSEP		':'
#else
#if defined MSDOS || defined OS2 || defined(ATARIST) || defined(WIN32)
#define READBIN		"rb"	/* MSDOS and OS/2 must use binary mode */
#define PATHSEP         ';'
#define DIRSEP		'\\'
#define DEVICESEP       ':'
#else
#ifdef VMS
#define READBIN		"rb"	/* VMS must use binary mode */
#define PATHSEP         ','
#define DIRSEP		':'
#else
#ifdef VMCMS /* IBM: VM/CMS */
#define READBIN         "rb" /* VMCMS must use binary mode */
#define PATHSEP         ' '
#define DIRSEP          ' '
#else
#ifdef MVSXA /* IBM: MVS/XA */
#define READBIN         "rb" /* MVSXA must use binary mode */
#define PATHSEP         ':'
#define DIRSEP          '.'
#else
#define READBIN		"r"	/* UNIX doesn't care */
#define PATHSEP         ':'
#define DIRSEP          '/'
#endif  /* IBM: VM/CMS */
#endif
#endif
#endif
#endif

extern void error() ;

/* paths are all in the Makefile; by not supplying defaults, we force
   the installer to set them up. */
#endif /* ! KPATHSEA */