[Please CC me - I'm not subscribedto lynx-dev.]
I have a command script that logs into a server and then fills a form.
It takes nearly 10 seconds to complete, because lynx sleeps after showing
each information message.
The attached path causes lynx to continue immediately after showing a
message if a command script is being executed.
-- v --
[EMAIL PROTECTED]
--- src/LYStrings.c.ORIG2 Fri Jun 28 08:58:50 2002
+++ src/LYStrings.c Fri Jun 28 08:59:34 2002
@@ -5636,7 +5636,7 @@
#ifdef EXP_CMD_LOGGING
PRIVATE FILE *cmd_logfile;
-PRIVATE FILE *cmd_script;
+FILE *cmd_script;
PUBLIC void LYOpenCmdLogfile ARGS2(
int, argc,
--- src/HTAlert.c.ORIG Fri Jun 28 08:57:41 2002
+++ src/HTAlert.c Fri Jun 28 09:00:34 2002
@@ -1015,7 +1015,8 @@
return (result);
}
-#define okToSleep() (!crawl && !traversal && LYCursesON)
+extern FILE* cmd_script;
+#define okToSleep() (!crawl && !traversal && LYCursesON && !cmd_script)
/*
* Sleep for the given message class's time.