lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev DOS bug report - no fix (PDCurses build) (PATCH)


From: Doug Kaufman
Subject: Re: lynx-dev DOS bug report - no fix (PDCurses build) (PATCH)
Date: Sat, 17 Apr 1999 07:18:37 -0700 (PDT)

On Sun, 11 Apr 1999, I wrote:

> I wanted to report to the list two (probably related) bugs in the
> PDCurses build of the DOS port of lynx. These are not found in the
> SLang port. I don't know where the problem arises, in PDCurses itself
> or in the way lynx interacts.
> 
> 1. When exiting with CTRL-C or CTRL-BREAK, the system BREAK is not
> reset to the value present before lynx was executed. It is always ON.
> BREAK is reset properly with a normal exit.
> 
> 2. When exiting with CTRL-BREAK, but not with CTRL-C, the packet
> driver can not terminate properly, requiring a reboot to clear it from
> memory (tested with DOSPPP only).

This turns out to be a problem with the DOS PDCurses port. The error was
actually introduced by me in 1997. I'll be forwarding a bug report to
the PDCurses list. This patch should fix it for lynx. I also put in an
update on WATTCP code availability.
                               Doug

--- lynx2-8-2/INSTALLATION      Tue Mar 30 09:10:38 1999
+++ lynx2-8-2/INSTALLATION.new  Sat Apr 17 05:34:38 1999
@@ -676,14 +676,16 @@
     zlib.h and zconf.h in the include subdirectory.
 
     In addition to the files in the Lynx distribution, you will need a
-    curses package and a TCP package.  You can use PDCurses (available at
+    curses package and a TCP package. You can use PDCurses (available at
     "http://www.lightlink.com/hessling/";) and the DJGPP port of WATTCP
     (available in two different versions at "ftp://neonatal.sm.med.ic.ac.uk/";
-    and in "http://www.fdisk.com/doslynx/wlynx/source/djgpp.zip";). You
-    can also use slang ("ftp://space.mit.edu/pub/davis/slang";) as your
-    curses library.  You need to compile these before you go any further.
-    If you wish to use PDCurses 2.3, you need to first apply the
-    following patch:
+    and in "http://www.fdisk.com/doslynx/wlynx/source/djgpp.zip";).
+    A patched copy of the version from the neonatal site is also
+    available from "http://www.rahul.net/dkaufman/tcplibdj.zip"; or
+    "ftp://ftp.rahul.net/pub/dkaufman/tcplibdj.zip";. You can also use slang
+    ("ftp://space.mit.edu/pub/davis/slang";) as your curses library. You need
+    to compile these before you go any further. If you wish to use PDCurses
+    2.3, you need to first apply the following patch:
 
 *** curses.h   Thu Jul  9 19:38:28 1998
 --- curses.h.new       Sat Aug 15 11:02:08 1998
@@ -697,6 +699,25 @@
   #define getch()                 wgetch(stdscr)
   #define getmaxx(w)              (w)->_maxx
   #define getmaxy(w)              (w)->_maxy
+*** dos/pdckbd.c       Sat Jul 12 17:10:12 1997
+--- dos/pdckbd.c.new   Thu Apr 15 20:52:16 1999
+***************
+*** 443,449 ****
+               _watch_breaks();
+  #else
+  # ifdef GO32
+!      (void*)signal(SIGINT,(setting ? SIG_DFL : SIG_IGN));
+  /*   __djgpp_set_ctrl_c(setting);*/
+       setcbrk(setting);
+  # else
+--- 443,449 ----
+               _watch_breaks();
+  #else
+  # ifdef GO32
+! /*   (void*)signal(SIGINT,(setting ? SIG_DFL : SIG_IGN)); */
+  /*   __djgpp_set_ctrl_c(setting);*/
+       setcbrk(setting);
+  # else
 
     If you have trouble applying the patch, we recommend that you use the
     "patch" program,
__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]