From owner-freebsd-bugs Sun Jan 13 17: 0:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9402837B41D for ; Sun, 13 Jan 2002 17:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0E104F25605; Sun, 13 Jan 2002 17:00:04 -0800 (PST) (envelope-from gnats) Received: from vega.dmnshq.net (vega.dmnshq.net [194.19.34.94]) by hub.freebsd.org (Postfix) with SMTP id 6466437B400 for ; Sun, 13 Jan 2002 16:55:18 -0800 (PST) Received: (from tds@localhost) by vega.dmnshq.net (8.11.6/8.9.3) id g0DNou105408; Mon, 14 Jan 2002 00:50:56 +0100 (CET) (envelope-from tds) Message-Id: <200201132350.g0DNou105408@vega.dmnshq.net> Date: Mon, 14 Jan 2002 00:50:56 +0100 (CET) From: Svein Skogen Reply-To: Svein Skogen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/33851: Problems with FETCH(1) manpage Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33851 >Category: bin >Synopsis: Problems with FETCH(1) manpage >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 13 17:00:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Svein Skogen >Release: FreeBSD 4.5-RC i386 >Organization: >Environment: System: FreeBSD vega.dmnshq.net 4.5-RC FreeBSD 4.5-RC #18: Fri Jan 11 01:10:36 CET 2002 root@vega.dmnshq.net:/usr/obj/usr/src/sys/VEGA i386 There seems to be a mismatch between the syntax in the man-page of fetch, and the actual syntax accepted by libfetch. The problem is related to the handling of proxies. according to the man page, assuming that my proxy is a squid running on default port, the correct syntax would be: HTTP_PROXY=proxy.my.net and this would automtically use http for protocol to proxy, port 3128, and send ftp-requests through the http-proxy. However, I have discovered that the only way to achieve this, is to set the following: FTP_PROXY=http://proxy.my.net:3128 HTTP_PROXY=http://proxy.my.net:3128 I believe this to be a documentation bug, and not a library fault. //Svein Skogen (tds-dmns@efnet) >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message