From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id FAA00435 for ; Tue, 10 Sep 1996 05:00:53 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA17277; Mon, 9 Sep 1996 14:19:21 -0400 (EDT) Resent-Date: Mon, 9 Sep 1996 14:19:21 -0400 (EDT) X-Authentication-Warning: moa.cs.duke.edu: gjb owned process doing -bs Date: Mon, 9 Sep 1996 14:15:32 -0400 (EDT) From: "Greg J. Badros" To: zsh-workers@math.gatech.edu Subject: Zsh Not resetting stdin O_NONBLOCK on Solaris Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"pfIju3.0.tD4.e-5Do"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2115 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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