From 85642e6f37cb4f0544b05218eff569cd8061be96 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Tue, 13 May 2014 09:57:40 +0000 Subject: print the promptfilenamehelpmsg as usual tex also in lua(jit)tex git-svn-id: svn://tug.org/texlive/trunk@34005 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/ChangeLog | 5 +++++ Build/source/texk/web2c/luatexdir/tex/filename.w | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'Build') diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index e2dfd6982b3..dca6d3900b3 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,8 @@ +2014-05-13 Akira Kakuto + + * tex/filename.w: print the promptfilenamehelpmsg as usual tex + also in lua(jit)tex. + 2014-04-10 Taco Hoekwater * luatex.c: hardwire the compilation date, preventing the 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) -- cgit v1.2.3