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.
(fn PROCESS INPUT-STRING)