Mercurial > hg > xemacs-beta
comparison src/process.c @ 278:90d73dddcdc4 r21-0b37
Import from CVS: tag r21-0b37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:31:29 +0200 |
parents | c5d627a313b1 |
children | 7df0dd720c89 |
comparison
equal
deleted
inserted
replaced
277:cfdf3ff11843 | 278:90d73dddcdc4 |
---|---|
79 #endif | 79 #endif |
80 | 80 |
81 /* t means use pty, nil means use a pipe, | 81 /* t means use pty, nil means use a pipe, |
82 maybe other values to come. */ | 82 maybe other values to come. */ |
83 Lisp_Object Vprocess_connection_type; | 83 Lisp_Object Vprocess_connection_type; |
84 | |
85 /* Read comments to DEFVAR of this */ | |
86 int windowed_process_io; | |
84 | 87 |
85 #ifdef PROCESS_IO_BLOCKING | 88 #ifdef PROCESS_IO_BLOCKING |
86 /* List of port numbers or port names to set a blocking I/O mode. | 89 /* List of port numbers or port names to set a blocking I/O mode. |
87 Nil means set a non-blocking I/O mode [default]. */ | 90 Nil means set a non-blocking I/O mode [default]. */ |
88 Lisp_Object network_stream_blocking_port_list; | 91 Lisp_Object network_stream_blocking_port_list; |
2009 then a pipe is used in any case. | 2012 then a pipe is used in any case. |
2010 The value takes effect when `start-process' is called. | 2013 The value takes effect when `start-process' is called. |
2011 */ ); | 2014 */ ); |
2012 Vprocess_connection_type = Qt; | 2015 Vprocess_connection_type = Qt; |
2013 | 2016 |
2017 DEFVAR_BOOL ("windowed-process-io", &windowed_process_io /* | |
2018 Enables input/ouptut on standard handles of a windowed process. | |
2019 When this variable is nil (the default), XEmacs does not attempt to read | |
2020 standard output handle of a windowed process. Instead, the process is | |
2021 immediately marked as exited immediately upon successful launching. This is | |
2022 done because normal windowed processes do not use stadnard I/O, as they are | |
2023 not connected to any console. | |
2024 | |
2025 When launching a specially crafted windowed process, which expects to be | |
2026 launched by XEmacs, or by other program which pipes its standard input and | |
2027 output, this variable must be set to non-nil, in which case XEmacs will | |
2028 treat this process just like a console process. | |
2029 | |
2030 NOTE: You should never set this variable, only bind it. | |
2031 | |
2032 Only Windows processes can be "windowed" or "console". This variable has no | |
2033 effect on UNIX processes, because all UNIX processes are "console". | |
2034 */ ); | |
2035 windowed_process_io = 0; | |
2036 | |
2014 #ifdef PROCESS_IO_BLOCKING | 2037 #ifdef PROCESS_IO_BLOCKING |
2015 DEFVAR_LISP ("network-stream-blocking-port-list", &network_stream_blocking_port_list /* | 2038 DEFVAR_LISP ("network-stream-blocking-port-list", &network_stream_blocking_port_list /* |
2016 List of port numbers or port names to set a blocking I/O mode with connection. | 2039 List of port numbers or port names to set a blocking I/O mode with connection. |
2017 Nil value means to set a default(non-blocking) I/O mode. | 2040 Nil value means to set a default(non-blocking) I/O mode. |
2018 The value takes effect when `open-network-stream-internal' is called. | 2041 The value takes effect when `open-network-stream-internal' is called. |