I don't know if this qualifies as a bug, or if it should wait until
after the release. It turns out that the WATT-32 "sock_init()" code
also installs a signal handler for SIGINT. This was positioned in
LYMain.c so that the lynx signal handler was replaced by the WATT-32
handler. The following patch moves sock_init() so that the lynx signal
handler is the default again.
                          Doug

--- lynx2-8-3/src/LYMain.c      Thu Apr 13 18:39:32 2000
+++ lynx2-8-3/src/LYMain.c.new  Tue Apr 18 22:46:48 2000
@@ -1832,6 +1832,20 @@
     set_vms_keys();
 #endif /* VMS */
 
+#if defined (__DJGPP__)
+    if (watt_debug)
+      dbug_init();
+    sock_init();
+
+    __system_flags =
+       __system_emulate_chdir        |  /* handle `cd' internally */
+       __system_handle_null_commands |  /* ignore cmds with no effect */
+       __system_allow_long_cmds      |  /* handle commands > 126 chars  */
+       __system_use_shell            |  /* use $SHELL if set */
+       __system_allow_multiple_cmds  |  /* allow `cmd1; cmd2; ...' */
+       __system_redirect;               /* redirect internally */
+#endif  /* __DJGPP__ */
+
     /* trap interrupts */
     if (!dump_output_immediately)
 #ifndef NOSIGHUP
@@ -1997,20 +2011,6 @@
        StrAllocCopy(MBM_A_subbookmark[0], bookmark_page);
        StrAllocCopy(MBM_A_subdescript[0], MULTIBOOKMARKS_DEFAULT);
     }
-
-#if defined (__DJGPP__)
-    if (watt_debug)
-      dbug_init();
-    sock_init();
-
-    __system_flags =
-       __system_emulate_chdir        |  /* handle `cd' internally */
-       __system_handle_null_commands |  /* ignore cmds with no effect */
-       __system_allow_long_cmds      |  /* handle commands > 126 chars  */
-       __system_use_shell            |  /* use $SHELL if set */
-       __system_allow_multiple_cmds  |  /* allow `cmd1; cmd2; ...' */
-       __system_redirect;               /* redirect internally */
-#endif  /* __DJGPP__ */
 
 #if !defined(VMS) && defined(SYSLOG_REQUESTED_URLS)
     LYOpenlog (syslog_txt);

__ 
Doug Kaufman
Internet: [EMAIL PROTECTED]

Reply via email to