diff options
author | Charles A. Roelli <charles@aurox.ch> | 2018-12-22 17:14:36 +0100 |
---|---|---|
committer | Charles A. Roelli <charles@aurox.ch> | 2018-12-22 17:14:36 +0100 |
commit | 24ddea074a2e61f7accde60cdf941ba67b1ce82a (patch) | |
tree | 478dd0169c6f2cec90deb772c0ddac0670e94143 /doc | |
parent | 29310168310e807d289e789a1134df95c366d133 (diff) | |
download | emacs-24ddea074a2e61f7accde60cdf941ba67b1ce82a.tar.gz |
Improve process doc. with respect to handling of large input (Bug#33191)
* src/process.c (Fprocess_send_region, Fprocess_send_string):
Document that process input longer than the process input
buffer may be split into bunches. Remove an outdated
reference to a 500 character split boundary.
* doc/lispref/processes.texi (Asynchronous Processes): Remove
mention of "stray character injections" in PTY processes. See
also the comment about ICANON in src/sysdep.c, function
child_setup_tty.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/processes.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index e7d61bd5faa..623be09cc63 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -604,10 +604,9 @@ these features. However, for subprocesses used by Lisp programs for internal purposes (i.e., no user interaction with the subprocess is required), where significant amounts of data need to be exchanged between the subprocess and the Lisp program, it is often better to use -a pipe, because pipes are more efficient, and because they are immune -to stray character injections that ptys introduce for large (around -500 byte) messages. Also, the total number of ptys is limited on many -systems, and it is good not to waste them unnecessarily. +a pipe, because pipes are more efficient. Also, the total number of +ptys is limited on many systems, and it is good not to waste them +unnecessarily. @defun make-process &rest args This function is the basic low-level primitive for starting |