Date: Wed, 31 Aug 2005 14:41:39 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ceri Davies <ceri@submonkey.net>, questions@FreeBSD.org Subject: Re: Setting HTTP_PROXY for all users Message-ID: <20050831134138.GD9292@lack-of-gravitas.thebunker.net> In-Reply-To: <20050830153242.GA74299@submonkey.net> References: <20050830153242.GA74299@submonkey.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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=www-cache.private.submonkey.net:3128:\
>
> :setenv=HTTP_PROXY=www-cache.private.submonkey.net\:3128:\
>
> :setenv=HTTP_PROXY="www-cache.private.submonkey.net:3128":\
>
> 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)
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor
School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253 Kent, CT14 0JL UK
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iQCVAwUBQxWzkpr7OpndfbmCAQLSYgP+OnnEgVwTWqGLb63eeMbRneAAyEmG4YrN
DAVxJKho9zSGGHZwgiiXEGb/bQP2TuaX60ABal6T4M9fxHzNnA1XRCk64mNR0sY1
YW61xslvKVBAS7ouezuyo5XeKZpUYyGLZh1X327Wob44uFHY/PzgEAvxOhOUdgna
Qr6wlL3gois=
=vQtq
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050831134138.GD9292>
