lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV ac-0.24 and clearok


From: John E. Davis
Subject: LYNX-DEV ac-0.24 and clearok
Date: Sat, 17 May 1997 19:51:04 -0400

Hi,

   According to the curses man page, clearok is to be used when the
status of the display is unknown and it will cause the screen to be
completely redrawn upon refresh.  Unfortunately, this is happening in
situations where I see no reason for it and its use is defeating the
screen management optimization routines.  For example, connect to
www.altavista.com and select a Usenet search.  When the box that pops
up goes away, then screen will get redrawn unnecessarily.  Is there
any reason for the use of this function in the Forms code?  To be
quite honest, I see no reason for its use at all if the display is
properly managed.  Of course, if the user requests a redraw of the
screen then by all means clear the screen and redraw it.

Comments?

As a quick fix, I made the change:

--- LYCurses.c.orig     Sat May 17 17:23:19 1997
+++ LYCurses.c  Sat May 17 19:29:27 1997
@@ -54,7 +54,7 @@
 PUBLIC void LY_SLrefresh NOARGS
 {
     if (FullRefresh) {
-        SLsmg_touch_lines(0, LYlines);
+        /* SLsmg_touch_lines(0, LYlines); */
        FullRefresh = FALSE;
     }
     SLsmg_refresh();

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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