lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev prompt fix for #14


From: Leonid Pauzner
Subject: lynx-dev prompt fix for #14
Date: Fri, 5 Jun 1998 17:07:37 +0400 (MSD)

DISP_PARTIAL logic was occusionally disabled. sorry.




diff -u old/lymainlo.c ./lymainlo.c
--- old/lymainlo.c      Fri Jun  5 01:36:18 1998
+++ ./lymainlo.c        Fri Jun  5 16:59:42 1998
@@ -509,12 +509,17 @@
                 *  be moved to #fragment later after download completed, but
                 *  only if user did not mess screen up by scrolling before...
                 *  So fall down to old behavior here.
-                *  Also we should avoid displaying 'd'ownloaded files
-                *  since they are not supposed to be shown on the screen.
-                *  (actually we may get 'curdoc' displayed from the first 
page...)
+                *
+                *  Also, on some circumstance, you may see current document
+                *  moved temporarily to the first page
+                *  while transferring the new document:
+                *  f.e. if you do 'd'ownload
+                *  you may see this _before_ "Downloaders Menu",
+                *  there are other cases also. This is NOT fixed yet,
+                *  we should initialize it properly above
+                *  or disable below (preferrable). - LP
                 */
-               if (display_partial && (strchr(newdoc.address, '#')==NULL) &&
-                           (strncmp(newdoc.address, "LYNXDOWNLOAD:", 13)==0))
+               if (display_partial && (strchr(newdoc.address, '#')==NULL))
                        display_partial = TRUE;
                else
                        display_partial = FALSE;
diff -u old/lydownlo.c ./lydownlo.c
--- old/lydownlo.c      Sun May 24 23:41:44 1998
+++ ./lydownlo.c        Fri Jun  5 16:59:48 1998
@@ -599,7 +599,7 @@

 /*
  *  LYdownload_options writes out the current download choices to
- *  a file so that the user can select printers in the same way that
+ *  a file so that the user can select downloaders in the same way that
  *  they select all other links.  Download links look like:
  *  LYNXDOWNLOAD://Method=<#>/File=<STRING>/SugFile=<STRING>
  */
diff -u old/lymain.c ./lymain.c
--- old/lymain.c        Fri Jun  5 01:36:16 1998
+++ ./lymain.c  Fri Jun  5 16:59:46 1998
@@ -2808,10 +2808,12 @@
       "number_links",  SET_ARG,                &number_links,
       "force numbering of links"
    ),
+#ifdef DISP_PARTIAL
    PARSE_SET(
       "partial",       TOGGLE_ARG,             &display_partial,
       "display partial pages while downloading"
    ),
+#endif
    PARSE_FUN(
       "pauth",         NEED_FUNCTION_ARG,      pauth_fun,
       "=id:pw\nauthentication information for protected proxy server"



reply via email to

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