set HTTP_PROXY = http://username:pass...@example.com:port
and likewise for HTTPS. Remember that your password for the proxy isout in the open, so it might be worth deleting or overwriting thosesettings.