zsh-workers
 help / color / mirror / code / Atom feed
From: "Karl E. Vogel" <vogelke@c17mis.wpafb.af.mil>
To: acs@world.std.com
Cc: sverre@research.nokia.com, zsh-workers@math.gatech.edu
Subject: Re: zsh: read with timeout?
Date: Sat, 11 Nov 1995 19:05:34 -0500	[thread overview]
Message-ID: <199511120005.TAA00574@a_69s.wpafb.af.mil> (raw)

>> On Thu, 09 Nov 1995 08:37:57 -0500, 
>> acs@world.std.com said:

      [Is there a way to give the read-command (in zsh) a timeout-value?]

V> I don't know of any way to get zsh to do this.  I would get expect from
V> ftp.cme.nist.gov:/pub/expect.  It's really designed to handle timeouts
V> and make decisions based on returned values, and..... all kinds of neat
V> stuff.

   Check out "grabchars" in comp.sources.misc volume 12.  It's intended for
   use in shell scripts where you might want a timeout, default answer, or
   restricted set of allowed answers for a given prompt.

-- 
Karl Vogel                                        vogelke@c17mis.wpafb.af.mil
Control Data Systems, Inc.           ASC/YCOA, Wright-Patterson AFB, OH 45433


             reply	other threads:[~1995-11-12  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-12  0:05 Karl E. Vogel [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-11-09  8:18 Sverre Slotte
1995-11-09 13:37 ` Vinnie Shelton

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=199511120005.TAA00574@a_69s.wpafb.af.mil \
    --to=vogelke@c17mis.wpafb.af.mil \
    --cc=acs@world.std.com \
    --cc=sverre@research.nokia.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).