rlogin, ssh choke on \r
Glynn Clements
glynn at gclements.plus.com
Mon Jul 17 17:09:37 EDT 2006
Jerry James wrote:
> > The bug does not occur if `comint-inhibit-carriage-motion' is not
> > `nil'. And this value is not output by `report-emacs-bug'.
> >
> > The `comint' version is upstream one.
>
> This is a feature, not a bug. As the Emacs NEWS file explains it:
>
> ------------------------------------------------------------------------
> *** Comint now by default interprets some carriage-control characters.
> Comint now removes CRs from CR LF sequences, and treats single CRs and
> BSs in the output in a way similar to a terminal (by deleting to the
> beginning of the line, or deleting the previous character,
> respectively). This is achieved by adding `comint-carriage-motion' to
> the `comint-output-filter-functions' hook by default.
> ------------------------------------------------------------------------
Ick. It should be up to the user to add comint-carriage-motion, IMHO.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the XEmacs-Beta
mailing list