From: Helmut Eller <eller.helmut@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Carriage return and process-send-string
Date: Thu, 08 Dec 2016 09:25:21 +0100 [thread overview]
Message-ID: <m2a8c6ddzi.fsf@gmail.com> (raw)
In-Reply-To: CA+T2Sh3=1GXE7T5R=EOq9ivm8NjRfKq7F6PqBMCWKhxNgHEkZQ@mail.gmail.com
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
prev parent reply other threads:[~2016-12-08 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 7:57 Carriage return and process-send-string Vibhav Pant
2016-12-08 8:25 ` Helmut Eller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a8c6ddzi.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.