From owner-freebsd-stable Tue Jan 2 14: 1:58 2001 From owner-freebsd-stable@FreeBSD.ORG Tue Jan 2 14:01:56 2001 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from redsheriff.com (eagle.imrworldwide.com [203.89.243.235]) by hub.freebsd.org (Postfix) with ESMTP id B04A637B400 for ; Tue, 2 Jan 2001 14:01:54 -0800 (PST) Received: from skua.burren.cx (devfw.imrworldwide.com [203.89.243.232]) by redsheriff.com (8.9.3/8.9.3) with ESMTP id JAA32980 for ; Wed, 3 Jan 2001 09:01:42 +1100 (EST) (envelope-from david@burren.cx) Received: (qmail 596 invoked from network); 2 Jan 2001 22:01:15 -0000 Received: from localhost.local2 (HELO burren.cx) (127.0.0.1) by localhost.local2 with SMTP; 2 Jan 2001 22:01:15 -0000 Sender: davidb@redsheriff.com Message-ID: <3A524FAB.77C814C0@burren.cx> Date: Wed, 03 Jan 2001 09:01:15 +1100 From: David Burren X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Vladimir V. Egorin" Cc: ian j hart , "stable@freebsd.org" Subject: Re: fetch problem References: <20010102132905.A15311@math.uic.edu> <3A5243C1.4314EDCB@freeloader.freeserve.co.uk> <20010102153722.A15840@math.uic.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Vladimir V. Egorin" wrote: >>> I've set >>> export FTP_PROXY=ftp://proxy_address:1080/ >>> export HTTP_PROXY=http://proxy_address:1080/ >>> I've also tried setting FTP_PASSIVE_MODE. > ian j hart wrote: >> setenv HTTP_PROXY proxy_address:1080 > This solves it. fetch works if FTP_PROXY is not set. Many thanks to > everyone for your replies and help. Unfortunately, over time different programs have looked for different env vars to control this. The setup I use that seems to work for everything is (translated to your example): export HTTP_PROXY=proxy_address:1080 export http_proxy=http://$HTTP_PROXY/ export ftp_proxy=$http_proxy If you were specifying $ftp_proxy to point to a joint FTP/HTTP proxy, you would typically specify that it should use "http" to talk to it. As you said, fetch works with just HTTP_PROXY. I think it's lynx which uses the other variables. I set them up a long time ago and everything just works. __ David Burren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message