(comint-carriage-motion, comint-output-filter):