lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev https addresses, accessible flight schedules


From: Hataguchi Takeshi
Subject: Re: lynx-dev https addresses, accessible flight schedules
Date: Mon, 1 Apr 2002 21:26:32 +0900 (JST)

On Sun, 31 Mar 2002, Fiber McGee wrote:

> Forwarded message from Thorsten Glaser <address@hidden>:
[snip]
> >I encountered the same problem, the screen not refreshing using the
> >cursor keys, on my win98SE box, however that was about a month or
> >so after I compiled the binary, which I did on a Win2k box, where
> >everything (including hotmail) went fine. I do not know why it breaks
> >under Win98SE, I think it maybe due to a terminal issue (I have no
> >environment variable called TERM and do not know to what to set it).

I had found a problem around refreshing on PDCurses2.5.  I'll wrote
the problem below, though I don't know whether it's same as yours or
not.

  1. start Lynx and show the bookmark page.
  2. move the cursor to the link which is linked to a big file.
  3. press Enter and Shift key *QUICKLY*.

If the file is big enough, the screen would be freezed until pressing
some key.  I tried the binary, which can be get from this site, on
Windows 98 Japanese Edition.

    http://mitglied.lycos.de/mirabilos/pub/

I wrote a patch for PDCurses to fix this problem and to compile with
Borland's compiler.
--
Takeshi Hataguchi
E-mail: address@hidden

diff -ru orig/PDCurses-2.5/pdcurses/refresh.c PDCurses-2.5/pdcurses/refresh.c
--- orig/PDCurses-2.5/pdcurses/refresh.c        Wed Jan 10 17:27:24 2001
+++ PDCurses-2.5/pdcurses/refresh.c     Mon Apr  1 20:30:26 2002
@@ -293,12 +293,14 @@
 
 /* if checking for typeahead, bail out here if any is found */
    
+#if 0
    if (SP->refrbrk && (SP->cbreak || SP->raw_inp)) 
    {
       rc = PDC_breakout();
       if(rc)
          return( OK );
    }
+#endif
 
    if (curscr->_clear)
       PDC_clr_update(curscr);
diff -ru orig/PDCurses-2.5/win32/bccwin32.mak PDCurses-2.5/win32/bccwin32.mak
--- orig/PDCurses-2.5/win32/bccwin32.mak        Mon Nov 26 17:59:14 2001
+++ PDCurses-2.5/win32/bccwin32.mak     Mon Apr  1 20:31:02 2002
@@ -12,8 +12,8 @@
 # Change these for your environment...
 #
 
################################################################################
-PDCURSES_HOME          =c:\curses
-CC_HOME                =f:\apps\bc4
+PDCURSES_HOME          =..
+CC_HOME                =c:\app\Borland\bcc55
 
################################################################################
 # Nothing below here should required changing.
 
################################################################################
@@ -38,19 +38,20 @@
 
 !if $d(DEBUG)
 CFLAGS  = -N -v -y -DPDCDEBUG
-LDFLAGS = /c /v /s /l /e
+#LDFLAGS = /c /v /s /l /e
+LDFLAGS = /c /v /s /l /e -L"c:\app\Borland\Bcc55\lib"
 !else
 CFLAGS  =  -O
-LDFLAGS = 
+LDFLAGS = -L"c:\app\Borland\Bcc55\lib"
 !endif
 
 CPPFLAGS       = -I$(PDCURSES_HOME) -I$(CCINCDIR)
 
 CCFLAGS                = -c -Tpe -w32 $(CFLAGS) $(CPPFLAGS)
 
-LINK           = tlink32
+LINK           = ilink32
 
-CCLIBS         
=$(CCLIBDIR)\bidsf.lib+$(CCLIBDIR)\import32.lib+$(CCLIBDIR)\cw32.lib
+CCLIBS         =$(CCLIBDIR)\import32.lib+$(CCLIBDIR)\cw32.lib
 STARTUP        =$(CCLIBDIR)\c0x32.obj
 
 LIBEXE         = tlib /C /E
@@ -246,8 +247,8 @@
        $(CC) $(CCFLAGS) -o$@ $(srcdir)\window.c
 
 
-pdcclip.obj: $(srcdir)\pdcclip.c $(PDCURSES_HEADERS)
-       $(CC) $(CCFLAGS) -o$@ $(srcdir)\pdcclip.c
+pdcclip.obj: $(osdir)\pdcclip.c $(PDCURSES_HEADERS)
+       $(CC) $(CCFLAGS) -o$@ $(osdir)\pdcclip.c
 
 pdcdebug.obj: $(srcdir)\pdcdebug.c $(PDCURSES_HEADERS)
        $(CC) $(CCFLAGS) -o$@ $(srcdir)\pdcdebug.c
@@ -284,22 +285,22 @@
 #------------------------------------------------------------------------
 
 firework.exe:  firework.obj $(LIBCURSES)
-       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS);
+       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS)
 
 newdemo.exe:   newdemo.obj $(LIBCURSES)
-       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS);
+       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS)
 
 ptest.exe:     ptest.obj $(LIBCURSES) $(LIBPANEL)
        $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBPANEL)+$(LIBCURSES)+$(CCLIBS);
 
 testcurs.exe:  testcurs.obj $(LIBCURSES)
-       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS);
+       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS)
 
 tuidemo.exe:   tuidemo.obj tui.obj $(LIBCURSES)
-       $(LINK) $(LDFLAGS) $(STARTUP)+$*+tui,$*,,$(LIBCURSES)+$(CCLIBS);
+       $(LINK) $(LDFLAGS) $(STARTUP)+$*+tui,$*,,$(LIBCURSES)+$(CCLIBS)
 
 xmas.exe:      xmas.obj $(LIBCURSES)
-       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS);
+       $(LINK) $(LDFLAGS) $(STARTUP)+$*,$*,,$(LIBCURSES)+$(CCLIBS)
 
 
 firework.obj: $(demodir)\firework.c $(PDCURSES_CURSES_H)
diff -ru orig/PDCurses-2.5/win32/pdcdisp.c PDCurses-2.5/win32/pdcdisp.c
--- orig/PDCurses-2.5/win32/pdcdisp.c   Wed Jan 10 17:30:46 2001
+++ PDCurses-2.5/win32/pdcdisp.c        Mon Apr  1 20:30:26 2002
@@ -107,12 +107,14 @@
       }
       WriteConsoleOutput(hConOut, ci, bufSize, bufPos, &sr);
 
+#if 0
       if (SP->refrbrk && (SP->cbreak || SP->raw_inp)) 
       {
          rc = PDC_breakout();
          if (rc)
             break;
       }
+#endif
    }
    return( OK );
 }
@@ -476,12 +478,14 @@
    curscr->_firstch[lineno] = _NO_CHANGE;
    curscr->_lastch[lineno] = _NO_CHANGE;
    
+#if 0
    if (SP->refrbrk && (SP->cbreak || SP->raw_inp)) 
    {
       rc = PDC_breakout();
       if (rc)
          return(TRUE);
    }
+#endif
    return(FALSE);
 }
 

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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