[comp.emacs] Synchronous communication

harrison@software.ORG (Tim Harrison) (11/19/88)

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