summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex/filename.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/filename.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/filename.w7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/filename.w b/Build/source/texk/web2c/luatexdir/tex/filename.w
index b797f04d761..9f9557b32d6 100644
--- a/Build/source/texk/web2c/luatexdir/tex/filename.w
+++ b/Build/source/texk/web2c/luatexdir/tex/filename.w
@@ -232,6 +232,11 @@ char *pack_job_name(const char *s)
ready for another attempt at file opening.
@c
+#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
char *prompt_file_name(const char *s, const char *e)
{
int k; /* index into |buffer| */
@@ -256,6 +261,8 @@ char *prompt_file_name(const char *s, const char *e)
print_err(prompt);
if ((strcmp(e, ".tex") == 0) || (strcmp(e, "") == 0))
show_context();
+ if (strcmp(s, "input file name") == 0)
+ tprint_nl(promptfilenamehelpmsg);
tprint_nl("Please type another ");
tprint(s);
if (interaction < scroll_mode)