*BSD News Article 27400


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!nigel.msen.com!max.cybernet.com!jbell
From: jbell@max.cybernet.com (J. Shan Bell)
Newsgroups: comp.os.386bsd.questions
Subject: [FreeBSD] read/write error to non-blocking ptys
Date: 14 Feb 1994 17:12:30 GMT
Organization: Msen, Inc. -- Ann Arbor, Michigan
Lines: 16
Distribution: world
Message-ID: <2jobdu$la@nigel.msen.com>
NNTP-Posting-Host: 192.245.33.3
Keywords: pty, FreeBSD

	Can anyone confirm this problem and/or suggest a work
around?  While either reading from or writing to file descriptors
that belong to non-blocking ptys I get "Resource temporarily
unavailable" (errno == EAGAIN).  The problem does not occur is
I'm using a tty or if the operation is not non-blocking.
	If this is a problem with the tty driver, then I would
be willing to debug it with some direction.  I really need this
ability.

thanks,
shan

-- 
J. Shan Bell                         Cybernet Systems Corporation
shan@cybernet.com                        Research and Development
(313) 668-2567                                      Ann Arbor, MI