zsh-workers
 help / color / mirror / code / Atom feed
* Zsh Not resetting stdin O_NONBLOCK on Solaris
@ 1996-09-09 18:15 Greg J. Badros
  1996-09-12 13:08 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Greg J. Badros @ 1996-09-09 18:15 UTC (permalink / raw)
  To: zsh-workers


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-09-12 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-09 18:15 Zsh Not resetting stdin O_NONBLOCK on Solaris Greg J. Badros
1996-09-12 13:08 ` Peter Stephenson

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).