comparison lispref/processes.texi @ 24951:7451b1458af1

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Jul 1999 02:15:13 +0000
parents dfac7398266b
children 467b88fab665
comparison
equal deleted inserted replaced
24950:39bac3b71db1 24951:7451b1458af1
691 @code{set-process-coding-system} to specify which coding system to use 691 @code{set-process-coding-system} to specify which coding system to use
692 (@pxref{Process Information}). Otherwise, the coding system comes from 692 (@pxref{Process Information}). Otherwise, the coding system comes from
693 @code{coding-system-for-write}, if that is non-@code{nil}; or else from 693 @code{coding-system-for-write}, if that is non-@code{nil}; or else from
694 the defaulting mechanism (@pxref{Default Coding Systems}). 694 the defaulting mechanism (@pxref{Default Coding Systems}).
695 695
696 Sometimes the system is unable to accept input for that process,
697 because the input buffer is full. When this happens, the send functions
698 wait a short while, accepting output from subprocesses, and then try
699 again. This gives the subprocess a chance to read more of its pending
700 input and make space in the buffer. It also allows filters, sentinels
701 and timers to run---so take account of that in writing your code.
702
696 @defun process-send-string process-name string 703 @defun process-send-string process-name string
697 This function sends @var{process-name} the contents of @var{string} as 704 This function sends @var{process-name} the contents of @var{string} as
698 standard input. The argument @var{process-name} must be a process or 705 standard input. The argument @var{process-name} must be a process or
699 the name of a process. If it is @code{nil}, the current buffer's 706 the name of a process. If it is @code{nil}, the current buffer's
700 process is used. 707 process is used.
745 @group 752 @group
746 (process-send-eof "shell") 753 (process-send-eof "shell")
747 @result{} "shell" 754 @result{} "shell"
748 @end group 755 @end group
749 @end smallexample 756 @end smallexample
757 @end defun
758
759 @defun process-running-child-p process
760 @tindex process-running-child-p process
761 This function will tell you whether a subprocess has given control of
762 its terminal to its own child process. The value is @code{t} if this is
763 true, or if Emacs cannot tell; it is @code{nil} if Emacs can be certain
764 that this is not so.
750 @end defun 765 @end defun
751 766
752 @node Signals to Processes 767 @node Signals to Processes
753 @section Sending Signals to Processes 768 @section Sending Signals to Processes
754 @cindex process signals 769 @cindex process signals