lynx-dev
[Top][All Lists]
Advanced

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

patch (was: Re: lynx-dev LYNXCFG:, LYNXCOMPILEOPTS:)


From: Leonid Pauzner
Subject: patch (was: Re: lynx-dev LYNXCFG:, LYNXCOMPILEOPTS:)
Date: Fri, 19 Nov 1999 16:14:47 +0300 (MSK)

19-Nov-99 02:51 Klaus Weide wrote:
> On Fri, 19 Nov 1999, Philip Webb wrote:

>> 991117 Henry Nelson wrote:
>> >> Well, I can typ 'g lynxcfg:', maybe that's good enough...
>> > Remove the "maybe", and you have my sentiments.
>>

Well, reading the thread I guess the following will be OK:

- remove "your lynx.cfg"/"compiletime settings" from '='Info Page
- Lynx_Users_Guide.html#lynx.cfg  now have a note on 'g lynxcfg:'
- lynxcompileopts: now became a link from lynxcfg:

[comment: both lynxcfg: and LYNXCFG: works, hope it wouldn't be hard to
enter the url manually for an interested user if old-style option menu
is the case. Futher documenting of 'g lynxcompileopts:' seems excessive.]


diff -u old/lynx_use.htm ./lynx_use.htm
--- old/lynx_use.htm    Thu Nov 18 14:18:54 1999
+++ ./lynx_use.htm      Fri Nov 19 15:44:52 1999
@@ -2649,8 +2649,8 @@

 <p>To see the current lynx.cfg state you may press <em>'o'</em> key
 for <em>Options Menu</em> and follow <em>check your lynx.cfg</em> link
-near the bottom; alternatively, you may also press <em>'='</em> key
-for <em>Lynx Information Page</em> and follow a link from there near the top.
+near the bottom; alternatively, you may press <em>'g'</em>
+and type in <em>lynxcfg:</em> internal URL.

 <p>However, for those who have a restricted account many Lynx features
 may be disabled by the system administrator, you probably will not see
diff -u old/lyreadcf.c ./lyreadcf.c
--- old/lyreadcf.c      Thu Nov 18 14:20:24 1999
+++ ./lyreadcf.c        Thu Nov 18 19:15:44 1999
@@ -2056,6 +2056,14 @@
                             gettext("for more comments."));
            }

+#if defined(HAVE_CONFIG_H) && !defined(NO_CONFIG_INFO)
+    if (!no_compileopts_info) {
+       fprintf(fp0, "%s <a href=\"LYNXCOMPILEOPTS:\">%s</a>\n\n",
+               SEE_ALSE,
+               COMPILE_OPT_SEGMENT);
+    }
+#endif
+
     /** a new experimental link ... **/
            if (user_mode == ADVANCED_MODE)
                fprintf(fp0, "  <a href=\"LYNXCFG://reload\">%s</a>\n",
@@ -2131,11 +2139,6 @@

        BeginInternalPage (fp0, CONFIG_DEF_TITLE, NULL);
        fprintf(fp0, "<pre>\n");
-
-       fprintf(fp0, "%s %s<a href=\"LYNXCFG:\"> lynx.cfg</a> %s\n\n",
-                    SEE_ALSO,
-                    YOUR_SEGMENT,
-                    RUNTIME_OPT_SEGMENT);

        fprintf(fp0, "\n%s<br>\n<em>config.cache</em>\n", 
AUTOCONF_CONFIG_CACHE);
        for (n = 0; n < TABLESIZE(config_cache); n++) {
diff -u old/lyreadcf.h ./lyreadcf.h
--- old/lyreadcf.h      Tue Apr 13 03:39:16 1999
+++ ./lyreadcf.h        Thu Nov 18 19:04:24 1999
@@ -49,6 +49,6 @@

 extern int lynx_cfg_infopage PARAMS((document *newdoc));
 extern int lynx_compile_opts PARAMS((document *newdoc));
-extern void reload_read_cfg NOPARAMS; /* not implemented yet, in LYMain.c */
+extern void reload_read_cfg NOPARAMS; /* implemented in LYMain.c */

 #endif /* LYREADCFG_H */
diff -u old/lyshowin.c ./lyshowin.c
--- old/lyshowin.c      Wed Sep 29 05:40:40 1999
+++ ./lyshowin.c        Fri Nov 19 15:26:06 1999
@@ -88,16 +88,6 @@
                 (LYNX_RELEASE ? LYNX_WWW_HOME     : LYNX_WWW_DIST),
                 (LYNX_RELEASE ? REL_VERSION       : DEV_VERSION) );

-#if defined(HAVE_CONFIG_H) && !defined(NO_CONFIG_INFO)
-    if (!no_compileopts_info) {
-       fprintf(fp0, " - <a href=\"LYNXCOMPILEOPTS:\">%s</a>\n",
-               COMPILE_OPT_SEGMENT);
-    } else
-#endif
-    if (!no_lynxcfg_info) {
-       fprintf(fp0, " - <a href=\"LYNXCFG:\">%s lynx.cfg</a>\n",
-               YOUR_SEGMENT);
-    }
     fprintf(fp0, "</h1>\n");  /* don't forget to close <h1> */


diff -u old/lyutils.c ./lyutils.c
--- old/lyutils.c       Thu Nov 18 14:20:30 1999
+++ ./lyutils.c Thu Nov 18 15:15:38 1999
@@ -17,7 +17,6 @@

 #include <LYMainLoop.h>
 #include <LYKeymap.h>
-#include <LYSearch.h>

 #ifdef __DJGPP__
 #include <go32.h>




reply via email to

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