From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7507 invoked from network); 2 Aug 2004 19:38:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Aug 2004 19:38:40 -0000 Received: (qmail 34617 invoked from network); 2 Aug 2004 19:38:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Aug 2004 19:38:32 -0000 Received: (qmail 15068 invoked by alias); 2 Aug 2004 19:37:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7798 Received: (qmail 15058 invoked from network); 2 Aug 2004 19:37:47 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 2 Aug 2004 19:37:47 -0000 Received: (qmail 31743 invoked from network); 2 Aug 2004 19:35:49 -0000 Received: from ip-66-80-62-153.dsl.sca.megapath.net (HELO ripple.fruitbat.org) (66.80.62.153) by a.mx.sunsite.dk with SMTP; 2 Aug 2004 19:35:48 -0000 Received: (from daemon@localhost) by ripple.fruitbat.org (8.10.2/8.8.8/PAC-1.3) id i72JXZB06542; Mon, 2 Aug 2004 12:33:35 -0700 Received: from ming.fruitbat.org(192.168.1.2) by ripple.fruitbat.org via smap (V2.1/2.1+anti-relay+anti-spam) id xma006538; Mon, 2 Aug 04 12:32:54 -0700 Received: from ming.fruitbat.org (IDENT:202@ming.fruitbat.org [192.168.1.2]) by ming.fruitbat.org (8.12.10/8.10.2/PAC-1.6) with ESMTP id i72Ja4cn015003; Mon, 2 Aug 2004 12:36:08 -0700 Date: Mon, 2 Aug 2004 12:36:04 -0700 (PDT) From: "Peter A. Castro" To: zzapper cc: zsh-users@sunsite.dk Subject: Re: zftp bit of a dark horse? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On Wed, 21 Jul 2004, zzapper wrote: > Hi, Greetings, zapper, Long time no see :) > Why does zftp appear to be bit of a dark horse? > > In Cygwin it doesn't seem to be installed by default (although files are > there). I Googled for tutorials or example scripts and got very few hits. "installed" is a rather incorrect term to use. zftp, like all the other neat features of zsh, are "built" and packaged as part of the Cygwin distribution of zsh. zftp is "installed" along with the rest of zsh. Like many features of zsh, zftp simply isn't setup as "available" by default for Cygwin. This is done on purpose. Feature bloat is something I truely hate. Turning on features by default qualifies as such in my book. It's often trivial to enable such features (just an autoload away), but there's always a cost exacted by doing so. Often that cost is the startup speed of the shell. I'd much rather have only a few features (ie: those most likely used by all) to be enable by default and let the user decide what s/he wants there after. In the case of Windows, shell startup is already pretty slow. I'd rather let the user decide what other features are worth a little more startup wait. > Is it a relatively new feature? I've been looking for a really flexible > FTP client for ages, can't tell if zftp would fit the bill As others have already commented, it's not all that new a feature. It does have it's share of features/problems. But then so does FTP itself. The thing I really truely like about zftp is that it is *scriptable*. Writing pure FTP scripts is a real pain in the arse. Writing scipts to use zftp, by contrast, is more sensible and you can actually code some logic into the script to make decisions depending on what's at the remote site. Try doing that with the classic FTP client. I did consider providing a fully customized set of .z* files but it would really only reflect my tastes in environment. Since shell enviornments are truely a personal thing, I decided a minimalist approach was best. There's always the info and man pages as well as some other doc. Anyone picking up a new shell would likely start there and read about the wonders of the shell. Feel free to contribute more complex .z* files. I'm happy to host them on my website, at least for the Cygwin distribution, if you like. > Comment? > > zzapper (vim, cygwin, wiki & zsh) > -- > vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" > http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood