[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Re: gettidy.sh v0.2 (was: try again through table munger)
From: |
Klaus Weide |
Subject: |
lynx-dev Re: gettidy.sh v0.2 (was: try again through table munger) |
Date: |
Tue, 15 Dec 1998 10:22:02 -0600 (CST) |
On Tue, 15 Dec 1998, Daniel Dardailler wrote:
[kw:]
> > I have already put together a script with instructions, for
> > calling Dave Raggett's HTML TIDY. It should be easy to change
> > for a different filter.
>
> I'm trying it out and I get a
> Configuration file /usr/local/lib/lynx.cfg is not available
> error when I do
>
> > # o Test whether you can access the following URL with Lynx:
> > # <lynxcgi://localhost/PATH/TO/gettidy.sh?/xxhttp://lynx.browser.org>
>
> Indeed I don't have a /usr/local/lib/lynx.cfg, and I tried -cfg,
> LYNX_CFG, LYNX_CFG_FILE, without success (lynx works fine otherwise,
> but maybe something in the lynxcgi logic assumes you have a site wide
> cfg file)
>
> > # Additional flags that should always be used.
> > # LYNX_FLAGS="-cfg=/path/to/your/lynx.cfg" might be a good idea.
>
> Also tried that one.
That's strange, at least one of those should have had some effect (even
if -cfg= parsing was somehow broken in your version - I remember there
were some problems like that at some point).
LYNX_CFG should work as environment variable. LYNX_CFG_FILE is #define'd
when lynx is compiled (userdefs.h).
Maybe the script is executing a different lynx binary than "your" lynx?
Have you given the full path as LYNX= in the script?
If you set DEBUG=YES in the script, you should see a lot of stuff.
If even that doesn't work, try -trace for the main lynx. Let us know
what shows up.
Klaus