aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 884dc176b..485901fcd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -55,6 +55,10 @@
#include <winsock2.h>
#endif
+#ifdef __NOVELL_LIBC__
+#include <screen.h>
+#endif
+
#ifdef TIME_WITH_SYS_TIME
/* We can include both fine */
#include <sys/time.h>
@@ -379,8 +383,13 @@ static void help(void)
" -#/--progress-bar Display transfer progress as a progress bar",
NULL
};
- for(i=0; helptext[i]; i++)
+ for(i=0; helptext[i]; i++) {
puts(helptext[i]);
+#ifdef __NOVELL_LIBC__
+ if (i && ((i % 23) == 0))
+ pressanykey();
+#endif
+ }
}
struct LongShort {
@@ -3450,6 +3459,9 @@ int main(int argc, char *argv[])
res = operate(&config, argc, argv);
free_config_fields(&config);
+#ifdef __NOVELL_LIBC__
+ pressanykey();
+#endif
#ifdef VMS
if (res > CURL_LAST) res = CURL_LAST; /* If CURL_LAST exceeded then */
return (vms_cond[res]|vms_show); /* curlmsg.h is out of sync. */