lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Proposed patch (DOS related)


From: Leonid Pauzner
Subject: Re: lynx-dev Proposed patch (DOS related)
Date: Sat, 10 Oct 1998 16:04:34 +0400 (MSD)

>      * From: Nelson Henry Eric <address@hidden>
>> >> (LYNX_CFG_FILE from autoconf seems to be a best candidate on UNIX).
>>    ^^^^^^^^^^^^^ I suppose this file may be modified slightly,
>>                  not exactly as from distribution. But it
>>                  (almost) definitely exist and complete.

> Am I misunderstanding what LYNX_CFG_FILE is?  I don't understand why you
> say it need be "complete".  If I do not modify the code to point to the

LYNX_CFG_FILE is one that defined by autoconf or userdefs.h (if you do not
use autocunf). The code Doug was objecting at work as following:
if you was compiled with autoconf it use symbol LYNX_CFG_FILE
as a path for "complete" lynx.cfg file for info page...
"Complete" means the comments does not removed.
You do _not_ need any lynx.cfg in lynx_help/ is you compile with autoconf.

And lynx_cfg_file - one that defined on statup via environment or -cfg= switch.
This file usually in home dir and its contents may vary dramatically
in general case.

DOS/WINDOWS do not supposed to have a fixed directory structure
so they do not have default path in LYNX_CFG_FILE.
It was proposed by me **for those platforms only** to suggest
putting a copy of lynx.cfg in lynx_help/ dir, as was clearly
described in CHANGES.  Other suggestions always welcome,
but please read docs first.


> complete distribution lynx.cfg on my http server, when I go to the `='Info
> page, then [2]compile time settings, then [1]your lynx.cfg, then
> distribution's [1]lynx.cfg, I display a file that is 662/83884th the
> size of the distribution one.  This happens because I switch a minimal
> lynx.cfg for the distribution one before running ./configure.

>> > annotated lynx.cfg, it could be set to point to "http://www.slcc.edu/lynx/
>> > current/lynx2-8-1/lynx.cfg", much as the default help points to "http://
> [...]
>> I was thinking of it. If someone use lynx_help from remote http:// source
>> but not from local files - lynx.cfg will be found currently
>> if located in lynx_help directory. But we should care

> I beg that you do not recommend putting it in lynx_help.  Please _copy_ it
> into lynx_doc/samples, ONLY when "make install-doc" is done.

see above.

Tom, please add this patch for those on UNIX
who builds without autoconf if any.


diff -u old/lyreadcf.c ./lyreadcf.c
--- old/lyreadcf.c      Thu Oct  1 10:49:22 1998
+++ ./lyreadcf.c        Sat Oct 10 15:58:32 1998
@@ -1237,7 +1237,7 @@

        LYforce_no_cache = TRUE;  /* don't cache this doc */

-#if defined(HAVE_CONFIG_H) || defined(VMS)
+#if defined(HAVE_CONFIG_H) || defined(VMS) || defined(UNIX)
        StrAllocCopy(temp, LYNX_CFG_FILE);
 #else
        StrAllocCopy(temp, helpfilepath); /* FIXME: no absolute path */



reply via email to

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