1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 13:41:30 -08:00
Commit graph

127 commits

Author SHA1 Message Date
Richard M. Stallman
d430ee71cc (wait_reading_process_input):
Clear waiting_for_user_input_p before returning.
1994-08-19 07:23:05 +00:00
Richard M. Stallman
5e7e1da2fe (create_process): Set default handling for SIGINT, etc.
(wait_reading_process_input): Fix previous change.
1994-07-31 00:00:24 +00:00
Richard M. Stallman
e86bf40805 (wait_reading_process_input): If wait_for_cell,
do check for keyboard input and handle it.
1994-07-27 00:12:59 +00:00
Richard M. Stallman
5f0929a7f9 [!HAVE_H_ERRNO]: Declare h_errno.
(Fopen_network_stream): Set h_errno to 0 initially.
1994-07-25 20:47:57 +00:00
Richard M. Stallman
616da37c08 (Fopen_network_stream): Retry gethostbyname after TRY_AGAIN failure. 1994-07-19 19:35:43 +00:00
Richard M. Stallman
6545aadab7 (Qlast_nonmenu_event): New variable.
(syms_of_process): Set it up.
(read_process_output, exec_sentinel): Bind it to t around filter.
1994-07-13 03:52:05 +00:00
Richard M. Stallman
4556b700ea (send_process): Major rewrite.
Don't put in a C-d unless a single line is too long.
Read process input whenever output gets stuck.
Relocate BUF if we read input.  New arg OBJECT.
Fprocess_send_region, Fprocess_send_string, process_send_signal)
(Fprocess_send_eof): Pass new arg OBJECT.
1994-06-25 22:35:28 +00:00
Richard M. Stallman
343f4114c3 (Fprocess_status): Return nil for process name that has no process. 1994-06-17 13:40:33 +00:00
Karl Heuer
3081bf8d25 (create_process): Set input_wait_mask before forking. 1994-06-15 00:24:54 +00:00
Richard M. Stallman
d33a00f212 (Fprocess_send_eof): Doc fix. 1994-06-14 19:46:00 +00:00
Richard M. Stallman
e1ab4959f3 (kill_buffer_processes): For net conn, use Fdelete_process. 1994-06-01 20:36:08 +00:00
Richard M. Stallman
fe45da4e02 (create_process): Get a pty for any non-nil Vprocess_connection_type value. 1994-05-30 10:19:16 +00:00
Richard M. Stallman
4458f5554d (create_process): Don't complain about error from TIOCSETD. 1994-05-21 07:28:57 +00:00
Richard M. Stallman
44ade2e949 (Fopen_network_stream): Call bind_polling_period; later unbind the binding.
(POLL_FOR_INPUT): Define, if appropriate.
1994-05-13 08:31:05 +00:00
Karl Heuer
8fb3cf6481 (exec_sentinel): Don't deactivate the mark. Check for asynch buffer switch. 1994-05-11 04:04:03 +00:00
Richard M. Stallman
d0adf46f86 (process_send_signal): If PREFER_VSUSP, use VSUSP instead of VSWTCH. 1994-05-09 03:30:55 +00:00
Richard M. Stallman
8b4d685f01 (wait_reading_process_input): Don't call prepare_menu_bars
unless we are going to redisplay for a garbaged frame.
(read_process_output): Call prepare_menu_bars if waiting for input.
(exec_sentinel): Call prepare_menu_bars if waiting for input.
1994-05-06 06:39:48 +00:00
Richard M. Stallman
7ce486180b (create_process): Undo April 19 setsid change. 1994-05-02 04:07:06 +00:00
Paul Reilly
cf32fea0cd (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on HAVE_BROKEN_INET_ADDR. 1994-04-30 23:28:10 +00:00
Richard M. Stallman
e333e8646b (Fopen_network_stream): Retry the connect if EADDRINUSE. Ignore EISCONN. 1994-04-30 06:05:51 +00:00
Richard M. Stallman
6311cf580d (create_process): If vfork fails, close forkin and forkout. 1994-04-28 04:35:39 +00:00
Karl Heuer
9bcf8ec6d3 (create_process) [HAVE_TERMIOS && LDISC1]: Use tcsetattr. 1994-04-26 21:17:19 +00:00
Richard M. Stallman
ab01d0a826 (create_process): Use child_setup_tty only if pty_flag. 1994-04-24 03:10:24 +00:00
Richard M. Stallman
13a72104de (create_process): Use SETUP_SLAVE_PTY only if pty_flag. 1994-04-24 03:06:55 +00:00
Richard M. Stallman
7d0e672ed4 (max_process_desc): New variable.
(wait_reading_process_output): Don't look for process output
beyond that many bits.
(create_process, Fopen_network_stream, deactivate_process): Update it.
(init_process): Initialize it.
1994-04-23 05:18:09 +00:00
Richard M. Stallman
51632cc823 (send_process): If fpathconf fails, use 250. 1994-04-21 19:54:28 +00:00
Richard M. Stallman
39e9ebcd7f (create_process): Call setsid only if pty_flag. 1994-04-20 03:49:47 +00:00
Richard M. Stallman
aafadd9f17 (create_process): Fix previous change. 1994-04-18 17:40:25 +00:00
Richard M. Stallman
5029e0e016 (create_process): Test TIOCSETD along with NTTYDISC. 1994-04-16 07:26:19 +00:00
Richard M. Stallman
396df3227d (Fset_process_window_size): New function. 1994-04-12 15:11:58 +00:00
Richard M. Stallman
1cac1fffd2 (send_process): Test pty_flag field for nil, not 0. 1994-04-12 04:39:34 +00:00
Karl Heuer
d72534bad1 (read_process_output): If buffer changes, record that fact. 1994-04-08 05:58:12 +00:00
Karl Heuer
e6194ffc49 Fix typos in comments. 1994-03-29 04:57:16 +00:00
Karl Heuer
2e4149a838 (status_notify): Use assignment, not initialization. 1994-03-25 00:40:16 +00:00
Richard M. Stallman
5164ee8e40 (wait_reading_process_input, both versions): Don't call
redisplay_preserve_echo_area unless do_display.
1994-03-20 01:16:55 +00:00
Karl Heuer
ff773a4e16 (create_process): Skip the ioctl if fd is -1. 1994-03-18 00:23:47 +00:00
Karl Heuer
3b639868ce (Fstart_process): GCPRO some things. 1994-03-18 00:12:41 +00:00
Karl Heuer
51ab806af8 (Fget_buffer_process): Fix typo in comment. 1994-03-14 21:48:09 +00:00
Karl Heuer
1619761daf (get_process): Allow arg to be a buffer object. 1994-03-12 03:13:20 +00:00
Roland McGrath
5d69474126 (send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before
trying to use fpathconf.
1994-03-08 06:53:48 +00:00
Richard M. Stallman
41f3aa98d1 (chan_process, Vprocess_alist): No longer static. 1994-03-02 23:35:11 +00:00
Richard M. Stallman
93b4f69974 Include unistd.h.
(pty_max_bytes): New variable.
(send_process): Send an eof after each pty_max_bytes bytes.
1994-03-02 22:50:31 +00:00
Roland McGrath
a86928f70c (sys_siglist): Protect decl with #ifndef SYS_SIGLIST_DECLARED. 1994-02-11 02:52:17 +00:00
Richard M. Stallman
f2d2dbfe1c (Fprocess_kill_without_query): Doc fix. 1994-02-08 07:26:28 +00:00
Richard M. Stallman
b97ad9eabe (sigchld_handler, status_message): Handle a NULL in sys_siglist. 1994-01-14 14:17:12 +00:00
Richard M. Stallman
2ea6d56151 (read_process_output): Supply second arg to unbind_to.
(exec_sentinel): Likewise.
1994-01-11 05:49:41 +00:00
Richard M. Stallman
afc549fd99 (create_process): Set line discipline only if pty_flag. 1994-01-10 18:13:39 +00:00
Roland McGrath
b062d1fe44 Don't declare sys_nerr.
Don't declare sys_errlist unless #ifdef VMS.
Declare strerror instead.
(wait_reading_process_input): Call strerror instead of using sys_errlist.
1994-01-09 23:06:40 +00:00
Richard M. Stallman
a0e4d3f399 Comment changes. 1994-01-09 12:16:26 +00:00
Richard M. Stallman
53aad33f8a (read_process_output): Use clip_to_bounds when moving
to the process marker.
1994-01-01 15:12:52 +00:00