From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 14:54:46 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F3C216A41F; Wed, 31 Aug 2005 14:54:46 +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 0C20443D46; Wed, 31 Aug 2005 14:54:45 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.52 (FreeBSD)) id 1EATzB-000Lgr-8q; Wed, 31 Aug 2005 15:54:45 +0100 Date: Wed, 31 Aug 2005 15:54:45 +0100 From: Ceri Davies To: Giorgos Keramidas Message-ID: <20050831145445.GC69728@submonkey.net> Mail-Followup-To: Ceri Davies , Giorgos Keramidas , Matthew Seaman , freebsd-current@freebsd.org References: <20050830153242.GA74299@submonkey.net> <20050831134138.GD9292@lack-of-gravitas.thebunker.net> <20050831135319.GB88117@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" Content-Disposition: inline In-Reply-To: <20050831135319.GB88117@orion.daedalusnetworks.priv> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.10i Sender: Ceri Davies Cc: Matthew Seaman , freebsd-current@freebsd.org Subject: Re: Setting HTTP_PROXY for all users X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 14:54:46 -0000 --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 31, 2005 at 04:53:19PM +0300, Giorgos Keramidas wrote: > ## Thread moved here from -questions. >=20 > On 2005-08-31 14:41, Matthew Seaman wro= te: > >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=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net:3128:\ > >> > >> :setenv=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net\:3128:\ > >> > >> :setenv=3DHTTP_PROXY=3D"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) >=20 > Hmmm, I think this should also be documented in the login.conf file, > with a comment and a pointer to getcap(3) manpage. Any objections to > the following patch? Looks good. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDFcS1ocfcwTS3JF8RAriiAKCKGV/euCLHAR1+/aQ7pOvUaxvvwgCgonwz 4+cTOasHsaNfN37BENU0n3s= =2j1E -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--