Setting HTTP_PROXY for all users

Matthew Seaman m.seaman at
Wed Aug 31 13:41:43 GMT 2005

On Tue, Aug 30, 2005 at 04:32:42PM +0100, Ceri Davies wrote:
> I want to set HTTP_PROXY for all users on my machine, and I'd like to do
> it in /etc/login.conf as then it's only in one place.
> However, I need to put a colon in for the port number and can't see how
> to escape it so that the entry doesn't get chopped off halfway through.
> None of these work:
> 	:setenv=HTTP_PROXY="":\
> Is there a way to do this, or should I just throw this in /etc/profile
> and /etc/csh.cshrc instead?

\c generates a colon.  Documented in getcap(3)



Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP:         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list