On Mon, 20 Mar 2000, Michael Warner wrote:

> AddParam/EndParam seems to get carried away with quoting when
> fed, via EXTERNAL, a URL containing a "?".

Yes, it seems so.

> I have this line in lynx.cfg:
> 
> EXTERNAL:http:${HOME}/bin/lynx -nopause -blink -cfg=~/lib/lynx.cfg %s:TRUE
> 
> When I hit "." on this URL:
> 
> http://www.feedmag.com/feature/cx306_master.html?alert
> 
> the resulting trace is:

> LYSystem(${HOME}/bin/lynx -nopause -blink -cfg=~/lib/lynx.cfg 
>''"'"'http://www.feedmag.com/feature/cx306_master.html?alert'"'"'')

For comparison, doing the same with dev.18 based code works right.
(I had to take out -blink, since this one isn't compiled with slang.)
The equivalent lines from Lynx.trace are

User message: ${HOME}/bin/lynx -nopause -cfg=~/lib/lynx.cfg 
'http://www.feedmag.com/feature/cx306_m
aster.html?alert'
stop_curses: done.
LYSystem(${HOME}/bin/lynx -nopause -cfg=~/lib/lynx.cfg 
'http://www.feedmag.com/feature/cx306_master
.html?alert')
start_curses: done.

[...]
> back where I started.  It sounds laborious, but I think it works
> pretty slick in practice.  If anybody can suggest a more direct
> method, I'm interested.

You may want to add -child.

   Klaus

Reply via email to