From tds@vega.dmnshq.net  Sun Jan 13 16:55:19 2002
Return-Path: <tds@vega.dmnshq.net>
Received: from vega.dmnshq.net (vega.dmnshq.net [194.19.34.94])
	by hub.freebsd.org (Postfix) with SMTP id 6466437B400
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <tds@vega.dmnshq.net>
Reply-To: Svein Skogen <tds@vega.dmnshq.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Problems with FETCH(1) manpage
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33851
>Category:       bin
>Synopsis:       Problems with FETCH(1) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 13 17:00:04 PST 2002
>Closed-Date:    Mon Jan 14 06:10:34 PST 2002
>Last-Modified:  Mon Jan 14 06:10:37 PST 2002
>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:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: cjc 
Responsible-Changed-When: Mon Jan 14 00:45:24 PST 2002 
Responsible-Changed-Why:  
Over to fetch(1) maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33851 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Mon Jan 14 06:10:34 PST 2002 
State-Changed-Why:  
The man page is correct. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33851 
>Unformatted:
