I tried to do a "curl" on my MacBook laptop on my LAN behind my corporate web proxy server (Squid) and realized bash doesn't honor OS X's proxy settings. <BR><BR>I had to configure my bash environment ...
You probably don't have one, you probably want to edit .bash_profile but I believe bash honors the .profile as well. Either way they go in the root of your home directory.