From: "Oliver Kiddle" <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: ztcp
Date: Mon, 10 Sep 2001 12:09:26 +0100 (BST) [thread overview]
Message-ID: <20010910110926.21520.qmail@web9305.mail.yahoo.com> (raw)
In-Reply-To: <20010909200649.A17535@dman.com>
--- Clint Adams <clint@zsh.org> wrote: >
>
> 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.
I think it is better as Bart suggested with the option to specify a
choice of fd because for everything else, you need to manage fd numbers
yourself.
What might be quite useful though is some sort of special variable
which would generate an unused fd number so you can do something like:
ztcp -u ${fd:=$NEWFD} host:port
and then use $fd thereafter for the file descriptor.
> > Incidentally, I did mention your objection to /dev/tcp/portname on
> the
> > shell mailing list, but the response was that several unix variants
>
> Hmm. Is there a spec yet, or is bash just the reference
implementation?
I doubt there will be any spec for quite some time. I also doubt that
bash or any other particular shell will be declared the reference
implementation though any new feature will need at least one
implementation.
Oliver
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
next prev parent reply other threads:[~2001-09-10 11:09 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
2001-09-10 11:09 ` Oliver Kiddle [this message]
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=20010910110926.21520.qmail@web9305.mail.yahoo.com \
--to=okiddle@yahoo.co.uk \
--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).