I am using Lynx on Windows Vista. I need to go through a proxy server to connect to the internet.
I cannot find the option to specify the proxy settings for Lynx :(
migrated from stackoverflow.com Sep 30 '09 at 1:26
This question came from our site for professional and enthusiast programmers.
I couldn't figure out how to edit my original post nor could I figure out how to reply to your comment. So i am just going to respond with another answer.
There are two common methods for setting windows environment variables:
Through the Control Panel
I would follow this link for instructions (its pretty easy): http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/environment_variables.mspx?mfr=true
Through the Command line
To get to the command line Click on:
Start > Run... > Type 'cmd' > Enter
In the new black command line type:
I would make sure your
If your proxy is http://proxy.com then set http_proxy to that.
I only use Windows XP so someone else will have to tell you how to set environment variables in Windows Vista.
I know in XP you go to the DOS prompt (Start>Run>cmd) and then type the command
@lazer you can edit the environment variables in Control Panel, System, Advanced, Environment Variables.
To the original question, if your Lynx binary uses a batch file (for the stylesheet etc...) you can set the http proxy in the batch file.
Or set it system wide in the control panel.
I use this with a batch file below to browse TOR with Polipo. It's great when you want to use TOR but don't want to launch your bloat browser or have a slower computer.
My batch file to launch TOR + Polipo is below:
My modifications to the polipo.conf file that is used in the above batch file is below:
The rest of the options are already correct in the default file that comes with the Polipo Proxy. If you want to access the TOR network from all computers on your home LAN, change this parameter from 127.0.0.1 to your LANs ip range:
allowedClients = 127.0.0.1, 192.168.1.0/24