summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cpascal.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-22 23:51:34 +0000
committerKarl Berry <karl@freefriends.org>2008-03-22 23:51:34 +0000
commit8e3fcfa2798288409645156993f445737ca8266c (patch)
tree38cce6195ca39f1465f6f817cd8cff84d01609d5 /Build/source/texk/web2c/cpascal.h
parent5fc57d735ff0b4b36c8e52c697fd8d6a34f0fb38 (diff)
conditional prompt_file_name_help_msg
git-svn-id: svn://tug.org/texlive/trunk@7090 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cpascal.h')
-rw-r--r--Build/source/texk/web2c/cpascal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cpascal.h b/Build/source/texk/web2c/cpascal.h
index f930bcd6b5b..1a830596730 100644
--- a/Build/source/texk/web2c/cpascal.h
+++ b/Build/source/texk/web2c/cpascal.h
@@ -183,6 +183,22 @@ typedef unsigned char *pointertobyte;
/* TeX et al. have a variable free, but we also need the C routine. */
#define libcfree free
+
+/* We have a system-dependent prompt in tex.ch. We don't want it in the
+ string pool, since (now that the pools are compiled into the
+ binaries), that would make the .fmt unsharable. So go through this
+ circumlotion to print a C string. The lack of the closing ) is
+ intentional, since the code adds more text sometimes. Although the
+ eof character can be changed with stty or whatever, we're certainly
+ not going to try to extract the actual value from a terminal struct.
+ Anyone who is savvy enough to change it will not be confused. */
+#ifdef WIN32
+#define promptfilenamehelpmsg "(Press Enter to retry, or Control-Z to exit"
+#else
+#define promptfilenamehelpmsg "(Press Enter to retry, or Control-D to exit"
+#endif
+
+
/* Tangle removes underscores from names. Put them back for things that
are defined in C with _'s. */