diff options
| author | Richard M. Stallman | 1994-05-08 22:24:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-08 22:24:11 +0000 |
| commit | 61cb81625eb951e2f119cb9e5fc73a34607736f9 (patch) | |
| tree | 92c75d2da770b86f98d78a056ecb4229ed7ffe5e | |
| parent | 70b5dc25a16bd0405df79247834301315b14a862 (diff) | |
| download | emacs-61cb81625eb951e2f119cb9e5fc73a34607736f9.tar.gz emacs-61cb81625eb951e2f119cb9e5fc73a34607736f9.zip | |
*** empty log message ***
| -rw-r--r-- | lispref/processes.texi | 34 |
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}). | |||
| 80 | argument which specifies where the standard output from the program will | 82 | argument which specifies where the standard output from the program will |
| 81 | go. If @var{buffer-or-name} is @code{nil}, that says to discard the | 83 | go. If @var{buffer-or-name} is @code{nil}, that says to discard the |
| 82 | output unless a filter function handles it. (@xref{Filter Functions}, | 84 | output unless a filter function handles it. (@xref{Filter Functions}, |
| 83 | and @ref{Streams, Reading and Printing}.) Normally, you should avoid | 85 | and @ref{Read and Print}.) Normally, you should avoid having multiple |
| 84 | having multiple processes send output to the same buffer because their | 86 | processes send output to the same buffer because their output would be |
| 85 | output would be intermixed randomly. | 87 | intermixed 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 | ||
| 284 | a synchronous subprocess are text or binary. Text data requires | ||
| 285 | translation 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 | ||
| 290 | subprocess, and @code{binary-process-output} applies to output received | ||
| 291 | from it. A non-@code{nil} value means the data is non-text; @code{nil} | ||
| 292 | means the data is text, and calls for conversion. | ||
| 293 | |||
| 294 | @defvar binary-process-input | ||
| 295 | If this variable is @code{nil}, convert newlines to CRLF sequences in | ||
| 296 | the input to a synchronous subprocess. | ||
| 297 | @end defvar | ||
| 298 | |||
| 299 | @defvar binary-process-output | ||
| 300 | If this variable is @code{nil}, convert CRLF sequences to newlines in | ||
| 301 | the 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 |