comint-redirect-filter

comint-redirect-filter is a compiled Lisp function in `comint.el'.

(comint-redirect-filter ORIG-FILTER PROCESS INPUT-STRING)

Filter function which redirects output from PROCESS to a buffer or buffers.
The variable `comint-redirect-output-buffer' says which buffer(s) to
place output in.

INPUT-STRING is the input from the Comint process.

This function runs as a process filter, and does not need to be invoked by the
end user.