Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!mailrus!tut.cis.ohio-state.edu!husc6!bbn!rochester!PT.CS.CMU.EDU!IUS1.CS.CMU.EDU!edw From: edw@IUS1.CS.CMU.EDU (Eddie Wyatt) Newsgroups: comp.unix.wizards Subject: Re: Obscure UNIX question Message-ID: <1151@PT.CS.CMU.EDU> Date: 17 Mar 88 22:29:52 GMT References: <12472@brl-adm.ARPA> Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 19 In article <12472@brl-adm.ARPA>, VAF@score.stanford.edu (Vince Fuller) writes: > I want to > be able to read output from the PTY until the child blocks for input. Is there > any way for me to detect that the child process has done this (blocked for > input)? man 2 wait x x x x x x x -- Eddie Wyatt e-mail: edw@ius1.cs.cmu.edu