summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/paths.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
commit487ca4806cc046076293cf6cc5fbba0db282bac7 (patch)
tree847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/dvipsk/paths.h
parenta3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff)
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/paths.h')
-rw-r--r--Build/source/texk/dvipsk/paths.h86
1 files changed, 86 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..acf5d78becc
--- /dev/null
+++ b/Build/source/texk/dvipsk/paths.h
@@ -0,0 +1,86 @@
+/*
+ * 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 */