emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and conversion of \r\n into \n


From: Michael Albinus
Subject: Re: Tramp and conversion of \r\n into \n
Date: Sun, 08 Aug 2021 16:25:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I guess if we wanted to more faithfully simulate a pipe, we'd have to
> send the process input via something like a base64 decoder and get the
> output via a base64 encoder: this way not only stdin/stdout is a pipe but
> we can protect ourselves from the way ttys can mess with some bytes (as
> seen in this thread) and also overcome some of the limits of some ttys
> when sending "large" amounts of data at a time (IIRC on some systems
> this can either freeze the tty or the tty may insert extra chars like
> ^A or some such; my memory says the macOS kernel was such a culprits
> some years ago).
>
> The cure way be worse than the disease, tho.

Yes.

Maybe we could play with "stty raw", when
(tramp-)process-connection-type is nil or 'pipe.

>         Stefan

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]