From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 14:47:13 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 482C516A41F for ; Wed, 31 Aug 2005 14:47:13 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C9943D55 for ; Wed, 31 Aug 2005 14:47:12 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.52 (FreeBSD)) id 1EATrl-000OOX-VR; Wed, 31 Aug 2005 15:47:05 +0100 Date: Wed, 31 Aug 2005 15:47:05 +0100 From: Ceri Davies To: Matthew Seaman , questions@FreeBSD.org Message-ID: <20050831144705.GB69728@submonkey.net> Mail-Followup-To: Ceri Davies , Matthew Seaman , questions@FreeBSD.org References: <20050830153242.GA74299@submonkey.net> <20050831134138.GD9292@lack-of-gravitas.thebunker.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <20050831134138.GD9292@lack-of-gravitas.thebunker.net> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.10i Sender: Ceri Davies Cc: Subject: Re: Setting HTTP_PROXY for all users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 14:47:13 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 31, 2005 at 02:41:39PM +0100, Matthew Seaman wrote: > 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. > >=20 > > 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: > >=20 > > :setenv=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net:3128:\ > >=20 > > :setenv=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net\:3128:\ > >=20 > > :setenv=3DHTTP_PROXY=3D"www-cache.private.submonkey.net:3128":\ > >=20 > > Is there a way to do this, or should I just throw this in /etc/profile > > and /etc/csh.cshrc instead? >=20 > \c generates a colon. Documented in getcap(3) Thanks; I could have sworn I read that manpage too! Cheers, Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDFcLpocfcwTS3JF8RAhfXAJwILjkzm8F+wI3hjF5E+Z/Aq7aC7QCfWgZD tiUsYSgvVqUFhVy1yEPsdpM= =j1vi -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--