zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: PATCH: ztcp
Date: Sun, 9 Sep 2001 20:06:49 -0400	[thread overview]
Message-ID: <20010909200649.A17535@dman.com> (raw)
In-Reply-To: <1010909233033.ZM22139@candle.brasslantern.com>; from schaefer@brasslantern.com on Sun, Sep 09, 2001 at 11:30:33PM +0000

> It lets you choose a specific fd to which to assign the descriptor, rather
> than having to take whatever you get.  In POSIX emulation mode, fds > 9
> can't [*] be redirected to/from, so it's important to be able to specify
> a known-free number.

I had imagined that you could do something like 'exec 9<&$REPLY'
if you wanted to pick the fd.  Unfortunately this doesn't
update the session table.

> Incidentally, I did mention your objection to /dev/tcp/portname on the
> shell mailing list, but the response was that several unix variants have
> already implemented /dev/tcp/* as special files, so the shell would only
> be emulating that interface on platforms that don't support it, much as
> zsh already does with /dev/fd/.

Hmm.  Is there a spec yet, or is bash just the reference implementation?


  reply	other threads:[~2001-09-10  0:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-08 21:07 Clint Adams
2001-09-09 18:31 ` Bart Schaefer
2001-09-09 22:01   ` Clint Adams
2001-09-09 23:30     ` Bart Schaefer
2001-09-10  0:06       ` Clint Adams [this message]
2001-09-10 11:09         ` Oliver Kiddle
2001-09-10 15:20           ` Clint Adams
2001-09-10 15:37             ` Clint Adams
2001-09-10  6:15 ` Module dependencies issue still open Borsenkow Andrej
2001-09-10 10:58   ` Peter Stephenson

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=20010909200649.A17535@dman.com \
    --to=clint@zsh.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@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).