From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: `read -t' tests for available input before reading.
Date: Mon, 26 Jun 2000 22:29:25 +0100 [thread overview]
Message-ID: <E136gRa-000800-00.2000-06-26-22-29-26@cmailg3.svr.pol.co.uk> (raw)
In-Reply-To: ""Bart Schaefer""'s message of "Mon, 26 Jun 2000 15:33:56 -0000." <1000626153356.ZM25846@candle.brasslantern.com>
"Bart Schaefer" wrote:
> On Jun 26, 3:54pm, Peter Stephenson wrote:
> } Subject: PATCH: `read -t' tests for available input before reading.
> }
> } I implemented this because I need it for a set of commands [...]
>
> May I suggest that the read_poll() helper function belongs somewhere
> other than in builtin.c ? Perhaps in utils.c where other tty mucking
> is located? (Not that utils.c itself isn't getting a bit large.)
I've put it it utils.c, where it needs an extra argument since readfd isn't
accessible, but it's otherwise unchanged, so I haven't posted it.
The patch seems to work on Linux, so I hope not too much tinkering will be
necessary. I'm now fighting here with endless
There are insecure directories, continue [ny]? y
messages, as predicted by Bart.
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@CambridgeSiliconRadio.com
Web: http://www.pwstephenson.fsnet.co.uk
prev parent reply other threads:[~2000-06-26 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-26 14:54 Peter Stephenson
2000-06-26 15:33 ` Bart Schaefer
2000-06-26 21:29 ` Peter Stephenson [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=E136gRa-000800-00.2000-06-26-22-29-26@cmailg3.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--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).