Previous: Window Internals, Up: Object Internals [Contents][Index]
The fields of a process (for a complete list, see the definition of
struct Lisp_Process in process.h) include:
nameA string, the name of the process.
commandA list containing the command arguments that were used to start this
process. For a network or serial process, it is nil if the
process is running or t if the process is stopped.
filterA function used to accept output from the process.
sentinelA function called whenever the state of the process changes.
bufferThe associated buffer of the process.
pidAn integer, the operating system’s process ID. Pseudo-processes such as network or serial connections use a value of 0.
childpA flag, t if this is really a child process. For a network or
serial connection, it is a plist based on the arguments to
make-network-process or make-serial-process.
markA marker indicating the position of the end of the last output from this process inserted into the buffer. This is often but not always the end of the buffer.
kill_without_queryIf this is non-zero, killing Emacs while this process is still running does not ask for confirmation about killing the process.
raw_statusThe raw process status, as returned by the wait system call.
statusThe process status, as process-status should return it.
tickupdate_tickIf these two fields are not equal, a change in the status of the process needs to be reported, either by running the sentinel or by inserting a message in the process buffer.
pty_flagNon-nil if communication with the subprocess uses a pty;
nil if it uses a pipe.
infdThe file descriptor for input from the process.
outfdThe file descriptor for output to the process.
tty_nameThe name of the terminal that the subprocess is using,
or nil if it is using pipes.
decode_coding_systemCoding-system for decoding the input from this process.
decoding_bufA working buffer for decoding.
decoding_carryoverSize of carryover in decoding.
encode_coding_systemCoding-system for encoding the output to this process.
encoding_bufA working buffer for encoding.
inherit_coding_system_flagFlag to set coding-system of the process buffer from the
coding system used to decode process output.
typeSymbol indicating the type of process: real, network,
serial.
Previous: Window Internals, Up: Object Internals [Contents][Index]