A number of scripts on my system are relying on lynx which in turn can't pass through my proxy. More specifically, lynx successfully picks up the global proxy settings except the user id and password fields, suggesting to use -pauth on the command line instead:
lynx -pauth=proxyuserid:proxypass
Which I can't easily do because lynx is called indirectly. But then how should I do it, to apply these settings globally, for all lynx invocations? A configuration file -- couldn't find anything about proxy authorization. A bash shell wrapper under the same name lynx invoking the actual lynx with -pauth - somehow I can't make it work.
Update. I have environment variables fully describing proxy, e.g.
http_proxy=http://userid:pass@proxyserver:port
from which Lynx correctly reads off the proxy server and port correctly, but not the user/pass fields for some reason (unlike wget for example).
Therefore, I'm now using a lynx wrap script as follows:
envproxy=${http_proxy%@*}
/usr/bin/lynx -pauth=${envproxy:7} "$@"
lynxcalled from the scripts? How isPATHset for the scripts that calllynx. Maybewgetorcurlcould be used instead oflynx.http :// user:pw@urlsyntax?parse_authentication()appears to look for a colon to delimit a password.