emacs-devel
[Top][All Lists]
Advanced

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

Re: Carriage return and process-send-string


From: Helmut Eller
Subject: Re: Carriage return and process-send-string
Date: Thu, 08 Dec 2016 09:25:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Thu, Dec 08 2016, Vibhav Pant wrote:

> (process-send-string proc
>     (format "Content-Length: 0\r\n\r\n")
>
> ends up sending
>
> read(0, "Content-Length: 0\n", 8192)  = 17

That's the receiving side, not the sender.

Are you using a subprocess or a socket?  A subprocess can go through a
PTY which can do all sorts of translations on the receiving side.

Helmut




reply via email to

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