[Top][All Lists]

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

Re: lynx-dev TRST & lynxcgi

From: Klaus Weide
Subject: Re: lynx-dev TRST & lynxcgi
Date: Mon, 8 Nov 1999 04:14:01 -0600 (CST)

On Mon, 8 Nov 1999, Philip Webb wrote:
> 991107 Klaus Weide suggested: 
> >  <>.
> -- script snipt --
> thanx for trying, but after struggling to get Lynx to find the script,
> it appears to do nothing: there's a brief message `getting xhtml ... ',
> then another `getting html ... ', 

Either you are reporting them wrong, or you have other strange things
in your configuration.  Why would lynx say something about "xhtml"?

Perhaps you should try with a lynx.cfg completely empty except for the

> then the current screen remains
> (it's a list of reports, one of which contains the table i cited).
> yes, i did  setenv xhttp proxy , as reported by  setenv ;  lynx.cfg  has
                          ^ underscore?

>  RULE:Pass xhttp://* lynxcgi:/homes/purslow/tmp/*
> and  is in  ~/tmp  with universal execute permission;
> i tried deleting the first line (which i don't understand),
> but it made no difference to Lynx' reaction.

Which first line, the one with "#! /bin/sh" ?
If there is no sh in /bin (which would be extremely strange), modify
it to point to a shell, don't delete it.

> any further thoughts?

Yes, what does -trace say?

Run the by hand, as follows:
- set an environment variable QUERY_STRING to contain the http URL
  you want to look at.  That should be `setenv QUERY_STRING http://...'
  for you.
- Run it.
- You should see the HTML source, fixed up by the sed in the script,
  on the screen.
(- remove QUERY_STRING variable. `unsetenv QUERY_STRING'.)

Cut out all the sed stuff from the script to see whether the basic
mechanism works.  IOW make the script just contain the 2 lines

#! /bin/sh
lynx -mime_header "$QUERY_STRING"


reply via email to

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