zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Peter Stephenson <pws@cambridgesiliconradio.com>
Cc: Zsh hackers list <zsh-workers@sunsite.auc.dk>
Subject: Re: Fw: poor man's wget
Date: Tue, 30 May 2000 16:57:14 +0100 (BST)	[thread overview]
Message-ID: <E12woOI-0006Eb-00@crucigera.fysh.org> (raw)
In-Reply-To: <0FVD007CJOL1JJ@la-la.cambridgesiliconradio.com> from Peter Stephenson at "May 30, 2000 04:05:25 pm"

Peter Stephenson wrote:
>> > { echo GET /; echo; cat; } <>/dev/tcp/www.server.com/80

Having the shell give pathnames magic semantics that the rest of the
OS doesn't is evil and rude.  That sort of feature should be done in a
user-space filesystem.

>This could be done without much difficulty by simplifying zftp_open and
>wiring the code into the existing redirection stuff.  Unfortunately no-one
>else apart from Zefram has shown much interest in the network stuff, so
>it's unlikely to happen any time soon.

Hmm.  I do have some future plans for a shell module that would do
generic socket stuff of this nature (using a more rational syntax),
though, as you say, it's unlikely to happen any time soon.

>You could probably then rewrite most if not all of zftp as shell functions.

Yes.

-zefram


      reply	other threads:[~2000-05-30 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-30 12:35 Andrej Borsenkow
2000-05-30 15:05 ` Peter Stephenson
2000-05-30 15:57   ` Zefram [this message]

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=E12woOI-0006Eb-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=pws@cambridgesiliconradio.com \
    --cc=zsh-workers@sunsite.auc.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).