From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 13:41:42 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 E3DC016A41F for ; Wed, 31 Aug 2005 13:41:42 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBC943D45 for ; Wed, 31 Aug 2005 13:41:41 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id D197E976F9; Wed, 31 Aug 2005 14:41:40 +0100 (BST) Received: from lack-of-gravitas.thebunker.net (localhost [127.0.0.1]) by lack-of-gravitas.thebunker.net (8.13.4/8.13.4) with ESMTP id j7VDfekn052224; Wed, 31 Aug 2005 14:41:40 +0100 (BST) (envelope-from matthew@lack-of-gravitas.thebunker.net) Received: (from matthew@localhost) by lack-of-gravitas.thebunker.net (8.13.4/8.13.4/Submit) id j7VDfdqx052223; Wed, 31 Aug 2005 14:41:39 +0100 (BST) (envelope-from matthew) Date: Wed, 31 Aug 2005 14:41:39 +0100 From: Matthew Seaman To: Ceri Davies , questions@FreeBSD.org Message-ID: <20050831134138.GD9292@lack-of-gravitas.thebunker.net> Mail-Followup-To: Matthew Seaman , Ceri Davies , questions@FreeBSD.org References: <20050830153242.GA74299@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vni90+aGYgRvsTuO" Content-Disposition: inline In-Reply-To: <20050830153242.GA74299@submonkey.net> User-Agent: Mutt/1.5.10i 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 13:41:43 -0000 --vni90+aGYgRvsTuO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? \c generates a colon. Documented in getcap(3) Cheers, Matthew --=20 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 --vni90+aGYgRvsTuO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iQCVAwUBQxWzkpr7OpndfbmCAQLSYgP+OnnEgVwTWqGLb63eeMbRneAAyEmG4YrN DAVxJKho9zSGGHZwgiiXEGb/bQP2TuaX60ABal6T4M9fxHzNnA1XRCk64mNR0sY1 YW61xslvKVBAS7ouezuyo5XeKZpUYyGLZh1X327Wob44uFHY/PzgEAvxOhOUdgna Qr6wlL3gois= =vQtq -----END PGP SIGNATURE----- --vni90+aGYgRvsTuO--