zsh-users
 help / color / mirror / code / Atom feed
From: "Peter A. Castro" <doctor@fruitbat.org>
To: zzapper <david@tvis.co.uk>
Cc: zsh-users@sunsite.dk
Subject: Re: zftp bit of a dark horse?
Date: Mon, 2 Aug 2004 12:36:04 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0408021212310.17694@ming.fruitbat.org> (raw)
In-Reply-To: <i8ssf0p0h3s1l72j704ho8r9bp0kh7b6lk@4ax.com>

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 <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood


  parent reply	other threads:[~2004-08-02 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21 13:38 zzapper
2004-07-21 13:56 ` Peter Stephenson
2004-07-21 14:38 ` DervishD
2004-08-02 19:36 ` Peter A. Castro [this message]
2004-08-05 21:29   ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408021212310.17694@ming.fruitbat.org \
    --to=doctor@fruitbat.org \
    --cc=david@tvis.co.uk \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).