summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/paths.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/dvipsk/paths.h
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/paths.h')
-rw-r--r--Build/source/texk/dvipsk/paths.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/Build/source/texk/dvipsk/paths.h b/Build/source/texk/dvipsk/paths.h
new file mode 100644
index 00000000000..c0bdf2466d6
--- /dev/null
+++ b/Build/source/texk/dvipsk/paths.h
@@ -0,0 +1,84 @@
+/* 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
+
+/* paths are all in the Makefile; by not supplying defaults, we force
+ the installer to set them up. */
+#endif /* ! KPATHSEA */