From owner-freebsd-hackers Fri Sep 24 2:53:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp1.kolumbus.fi (smtp1.kolumbus.fi [193.229.0.36]) by hub.freebsd.org (Postfix) with ESMTP id 9DBEE14FF4 for ; Fri, 24 Sep 1999 02:53:54 -0700 (PDT) (envelope-from jsalomaa@saunalahti.fi) Received: from kone (kh78u1hel.dial.kolumbus.fi [193.229.15.78]) by smtp1.kolumbus.fi (8.9.0/8.9.0) with ESMTP id MAA23400; Fri, 24 Sep 1999 12:53:46 +0300 (EET DST) Date: Fri, 24 Sep 1999 12:53:54 +0300 (EEST) From: Jaakko Salomaa X-Sender: jsalomaa@kone.kala.net To: "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG Subject: Re: A new package fetching utility, pkg_get In-Reply-To: <4002.938143298@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 23 Sep 1999, Jordan K. Hubbard wrote: > > I had the idea from Debian Linux's atp-get utility, which my friend > > praised a lot. The source tarball can be fetched from the following URL: > > http://www.saunalahti.fi/~jsalomaa/pkg_get.tar.gz > > This is quite interesting and I'm looking at it now. Just one quick > question though - why did you "roll your own" ftp I/O handling instead > of simply using fetch(3) or ftpio(3)? Well, it uses fetch(1) to fetch the packages, but to be honest, I did not know about fetch(3) and ftpio(3). But these look like a better way to do the directory listing - I'll switch to them ASAP. And also, because I try to learn to become a better C programmer as a by-product, I sometimes make things stoopidly just to see if I could make them work that way ;-p (this wasn't the case this time, however.) May you live long and prosper. Jaakko Salomaa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message