lynx-dev
[Top][All Lists]
Advanced

[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: 
> >  <http://www.flora.org/lynx-dev/html/month0799/msg00098.html>.
> -- 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
RULE.

> 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/trst2.sh?http://*
> and  trst2.sh  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 trst2.sh 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"


   Klaus


reply via email to

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