From owner-freebsd-hackers Sat Oct 2 22:47:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id C658714DD0 for ; Sat, 2 Oct 1999 22:47:17 -0700 (PDT) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 16957 invoked by uid 374); 3 Oct 1999 05:49:34 -0000 Date: Sun, 3 Oct 1999 07:49:34 +0200 From: Barry Irwin To: Matthias Buelow Cc: hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: your mail Message-ID: <19991003074934.C47240@rucus.ru.ac.za> References: <19991003072219.F728@altair.mayn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991003072219.F728@altair.mayn.de> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun 1999-10-03 (07:22), Matthias Buelow wrote: > Bcc: > Subject: Re: FTP directory listing with ftpio(3) and fetch(3) > Reply-To: > In-Reply-To: > > > BTW.. although risking to be off-topic by miles, I always liked the way > how NetBSD's ftp(1) (since 1.4 or so) implemented http and ftp URL > fetching and thus eliminated the need for a fetch(1) command. > Couldn't the FreeBSD ftp(1) be enhanced that way, [ObTopic, slime slime] > to use fetch(3) for that purpose? This is where a useful tool like wget comes into play. Wget can be pretty much used as an automated replacement for fetch, or FTP URL retrieval. Can also be plugged into the whole ports system so that it can retrieve the ports data packages. > > I'd really love to have yet another superfluous userland tool like > fetch(1) go away, especially because it collides in namespace with > another fetch program and the functionality could be very well > integrated with the ftp utility. Personally, I find fetch(1) a bad idea. > root@rucus:~# ls -lad `which fetch` -r-xr-xr-x 1 root wheel 35300 Jun 11 22:10 /usr/bin/fetch root@rucus:~# ls -lad `which wget` -r-xr-xr-x 1 root wheel 103240 Dec 23 1998 /usr/local/bin/wget root@rucus:~# ls -lad `which ftp` -r-xr-xr-x 3 root wheel 72312 Jun 11 22:10 /usr/bin/ftp as this shows fetch is a far more leightweight implementation. Important when considering its use in systems like picobsd, or other small projects. The whole *nix philosophy is to have a myrid of tools that all do a job, and the joy/pain, comes in the blending, and linking of these tools together in order to perform a complex task. Barry -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message