From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 01:52:38 2003 Return-Path: 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 4790E16A4B3 for ; Sun, 28 Sep 2003 01:52:38 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 120F743FE1 for ; Sun, 28 Sep 2003 01:52:36 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8S8qKfs076302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Sep 2003 09:52:21 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h8S8qKBC076301; Sun, 28 Sep 2003 09:52:20 +0100 (BST) (envelope-from matthew) Date: Sun, 28 Sep 2003 09:52:19 +0100 From: Matthew Seaman To: "Jukka A. Ukkonen" Message-ID: <20030928085219.GA7813@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Jukka A. Ukkonen" , freebsd-questions@freebsd.org References: <3326.62.78.135.6.1064731627.squirrel@office.mawit.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <3326.62.78.135.6.1064731627.squirrel@office.mawit.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: [Fwd: Support for default passive ftp mode in fetch] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 08:52:38 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 28, 2003 at 09:47:07AM +0300, Jukka A. Ukkonen wrote: > To be really efficient I tried to send the following message to "core-tea= m" > which obviously failed. So, here is the same minor change proposal sent > to freebsd-questions. I hope some of the people who can take appropriate > action are on this list. That's not efficiency, that's bothering 3 extremely busy people with something that is very unlikely to be anything close to their particular interests within the FreeBSD sources. Please don't do that. The approved method of putting forward such enhancements is to file a problem report using send-pr(1), and maybe a follow up e-mail to one of the FreeBSD mailing lists. If you have problems getting your system to send e-mail via send-pr(1), then feel free to ask here or search the archives of this mailing list (http://freebsd.rambler.ru/ is probably the best place). In any case, fetch(1) already obeys the FTP_PASSIVE_MODE environment variable. See in the fetch(1) man page where it says: All environment variables mentioned in the documentation for the fetch= (3) library are supported. Then look at fetch(3) [ie. type 'man 3 fetch' as just saying 'man fetch' will get you the fetch(1) man page again] and you'll see: ENVIRONMENT FETCH_BIND_ADDRESS Specifies a hostname or IP address to which sockets used for outgoing connections will be bound. FTP_LOGIN Default FTP login if none was provided in the URL. FTP_PASSIVE_MODE If set to anything but `no', forces the FTP code to use passive mode. FreeBSD is like that: whenever you think of a really neat little enhancement, it always pays to double check, as chances are it already works that way... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/dqFDdtESqEQa7a0RAkBlAJwJWfFFrS23yWXTTPgqmhk3mWir1QCff6jQ yqZdfDaMyPcanz3azEntDnE= =IMoM -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--