zsh-workers
 help / color / mirror / code / Atom feed
From: "Greg J. Badros" <gjb@cs.duke.edu>
To: zsh-workers@math.gatech.edu
Subject: Zsh Not resetting stdin O_NONBLOCK on Solaris
Date: Mon, 9 Sep 1996 14:15:32 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SOL.3.93.960909140556.25727A-100000@moa.cs.duke.edu> (raw)


Using zsh-3.0.0 on Solaris, if I start a program that sets non-blocking
input on stdin (using fcntl with O_NONBLOCK), and I then exit that program
using SIGINT (Ctrl-C), zsh doesn't seem to reset stdin back to blocking
input for future programs that the shell runs (though zle works fine).
cat reports

cat: input error on standard input: Resource temporarily unavailable

I can get around this problem with a simple C program to reset stdin
to blocking mode (turns off the O_NONBLOCK bit flag with fcntl). Is this a
bug?  Has this been fixed by any patches that are around?
Thanks
Greg


             reply	other threads:[~1996-09-09 19:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-09 18:15 Greg J. Badros [this message]
1996-09-12 13:08 ` 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=Pine.SOL.3.93.960909140556.25727A-100000@moa.cs.duke.edu \
    --to=gjb@cs.duke.edu \
    --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).