Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!bbn!gateway!software.ORG!harrison From: harrison@software.ORG (Tim Harrison) Newsgroups: comp.emacs Subject: Synchronous communication Message-ID: <32512@bbn.COM> Date: 18 Nov 88 22:39:03 GMT Sender: news@bbn.COM Organization: BBN news/mail gateway Lines: 19 In GNU Emacs (I have 18.48 on an Apollo) is there a way to determine when a process has completed its output and is awaiting input? I seem to remember this being possible in Unipress Emacs, but I can't find a way to do it with GNU Emacs. I am trying to write a mode in which there is synchronous communication between Emacs and a process that is started by Emacs. By synchronous I mean that I would like to 1) send a command to the process 2) wait for the process to complete its output based on the command 3) "massage" the output, based on the command that was sent Using a filter function doesn't work, because it can't tell when the output has been completed (or can it?). -- Tim Harrison Software Productivity Consortium Phone: (703) 391-1742 1880 Campus Commons Drive, North CSnet: harrison@software.org Reston, Virginia 22091 ARPAnet: harrison@ajpo.sei.cmu.edu