[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.
- Re: Tramp and conversion of \r\n into \n, (continued)
- Re: Tramp and conversion of \r\n into \n, Eli Zaretskii, 2021/08/05
- Re: Tramp and conversion of \r\n into \n, Stefan Monnier, 2021/08/05
- Re: Tramp and conversion of \r\n into \n, Michael Albinus, 2021/08/05
- Re: Tramp and conversion of \r\n into \n, Stefan Monnier, 2021/08/05
- Re: Tramp and conversion of \r\n into \n, Michael Albinus, 2021/08/06
- Re: Tramp and conversion of \r\n into \n, Stefan Monnier, 2021/08/06
- Re: Tramp and conversion of \r\n into \n, Michael Albinus, 2021/08/07
- Re: Tramp and conversion of \r\n into \n, Stefan Monnier, 2021/08/07
- PTYs vs. pipes for subprocesses [was: Tramp and conversion of \r\n into \n], tomas, 2021/08/08
- Re: Tramp and conversion of \r\n into \n,
Michael Albinus <=
- Re: Tramp and conversion of \r\n into \n, Michael Albinus, 2021/08/12
- Re: Tramp and conversion of \r\n into \n, Michael Albinus, 2021/08/13
Re: Tramp and conversion of \r\n into \n, Thomas Ross, 2021/08/07