aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-08 22:24:11 +0000
committerRichard M. Stallman1994-05-08 22:24:11 +0000
commit61cb81625eb951e2f119cb9e5fc73a34607736f9 (patch)
tree92c75d2da770b86f98d78a056ecb4229ed7ffe5e
parent70b5dc25a16bd0405df79247834301315b14a862 (diff)
downloademacs-61cb81625eb951e2f119cb9e5fc73a34607736f9.tar.gz
emacs-61cb81625eb951e2f119cb9e5fc73a34607736f9.zip
*** empty log message ***
-rw-r--r--lispref/processes.texi34
1 files changed, 31 insertions, 3 deletions
diff --git a/lispref/processes.texi b/lispref/processes.texi
index 26fd5e8be00..4d89ed41fd1 100644
--- a/lispref/processes.texi
+++ b/lispref/processes.texi
@@ -35,6 +35,8 @@ This function returns @code{t} if @var{object} is a process,
35@menu 35@menu
36* Subprocess Creation:: Functions that start subprocesses. 36* Subprocess Creation:: Functions that start subprocesses.
37* Synchronous Processes:: Details of using synchronous subprocesses. 37* Synchronous Processes:: Details of using synchronous subprocesses.
38* MS-DOS Subprocesses:: On MS-DOS, you must indicate text vs binary
39 for data sent to and from a subprocess.
38* Asynchronous Processes:: Starting up an asynchronous subprocess. 40* Asynchronous Processes:: Starting up an asynchronous subprocess.
39* Deleting Processes:: Eliminating an asynchronous subprocess. 41* Deleting Processes:: Eliminating an asynchronous subprocess.
40* Process Information:: Accessing run-status and other attributes. 42* Process Information:: Accessing run-status and other attributes.
@@ -80,9 +82,9 @@ Expansion}).
80argument which specifies where the standard output from the program will 82argument which specifies where the standard output from the program will
81go. If @var{buffer-or-name} is @code{nil}, that says to discard the 83go. If @var{buffer-or-name} is @code{nil}, that says to discard the
82output unless a filter function handles it. (@xref{Filter Functions}, 84output unless a filter function handles it. (@xref{Filter Functions},
83and @ref{Streams, Reading and Printing}.) Normally, you should avoid 85and @ref{Read and Print}.) Normally, you should avoid having multiple
84having multiple processes send output to the same buffer because their 86processes send output to the same buffer because their output would be
85output would be intermixed randomly. 87intermixed randomly.
86 88
87@cindex program arguments 89@cindex program arguments
88 All three of the subprocess-creating functions have a @code{&rest} 90 All three of the subprocess-creating functions have a @code{&rest}
@@ -275,6 +277,32 @@ inputinput@point{}
275@end smallexample 277@end smallexample
276@end defun 278@end defun
277 279
280@node MS-DOS Subprocesses
281@section MS-DOS Subprocesses
282
283 On MS-DOS, you must indicate whether the data going to and from
284a synchronous subprocess are text or binary. Text data requires
285translation between the end-of-line convention used within Emacs
286(a single newline character) and the convention used outside Emacs
287(the two-character sequence, CRLF).
288
289 The variable @code{binary-process-input} applies to input sent to the
290subprocess, and @code{binary-process-output} applies to output received
291from it. A non-@code{nil} value means the data is non-text; @code{nil}
292means the data is text, and calls for conversion.
293
294@defvar binary-process-input
295If this variable is @code{nil}, convert newlines to CRLF sequences in
296the input to a synchronous subprocess.
297@end defvar
298
299@defvar binary-process-output
300If this variable is @code{nil}, convert CRLF sequences to newlines in
301the output from a synchronous subprocess.
302@end defvar
303
304 @xref{Files and MS-DOS}, for related information.
305
278@node Asynchronous Processes 306@node Asynchronous Processes
279@section Creating an Asynchronous Process 307@section Creating an Asynchronous Process
280@cindex asynchronous subprocess 308@cindex asynchronous subprocess