Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: ztcp
- X-seq: zsh-workers 15771
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: ztcp
- Date: Sun, 9 Sep 2001 20:06:49 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1010909233033.ZM22139@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxx on Sun, Sep 09, 2001 at 11:30:33PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010908170712.A31748@xxxxxxxx> <1010909183141.ZM21909@xxxxxxxxxxxxxxxxxxxxxxx> <20010909180116.A16035@xxxxxxxx> <1010909233033.ZM22139@xxxxxxxxxxxxxxxxxxxxxxx>
> 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author