zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: ptyread eating CPU on Cygwin
Date: Fri, 20 Oct 2000 11:55:53 +0400	[thread overview]
Message-ID: <000d01c03a6b$2b8b6040$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <200010200701.JAA01039@beta.informatik.hu-berlin.de>


>
> I even think about removin non-blocking ptys altogether -- and add
> allow `zpty -w' with a timeout, too.  Hm, the print builtin can't be
> given a timeout, but the -t option for it is still unused. Should we?
>

zpty -w with timeout is right stuff. I think, we better leave non-blocking
mode in - may be, there are some exotic cases when it may be useful. And in
case of non-bocking read with pattern add return code 'did not match' (it
cannot happen in case of blocking read without either EOF or timeout).

But we need better semantic for zpty -r then. Without pattern, how much
exactly should it read? A character at a time? A line?

-andrej


  reply	other threads:[~2000-10-20  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-20  7:01 Sven Wischnowsky
2000-10-20  7:55 ` Andrej Borsenkow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-23  7:59 Sven Wischnowsky
2000-10-19  8:45 Sven Wischnowsky
2000-10-19  9:49 ` Andrej Borsenkow
2000-10-19 14:24   ` Bart Schaefer
2000-10-18  9:04 Peter Stephenson
2000-10-18 11:30 ` PATCH: " Andrej Borsenkow
2000-10-18 15:55   ` Bart Schaefer
2000-10-18 16:44     ` Andrej Borsenkow

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='000d01c03a6b$2b8b6040$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --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).