aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (process_tick, update_tick): Make non-static.Karl Heuer1995-01-251-3/+4
|
* #include sysselect.h instead of defining things by hand.Karl Heuer1995-01-231-20/+1
|
* Added code for automatically saving and restoring the match dataFrancesco Potortì1994-11-211-1/+8
| | | | when a filter or sentinel tries to modify it.
* (make_process): Use allocate_vectorlike and VECSIZE.Karl Heuer1994-11-161-11/+8
|
* (NETCONN_P, kill_buffer_processes): Use the new type-test macros.Karl Heuer1994-11-151-4/+3
|
* (create_process) [OSF1]: Use setpgid, not setpgrp.Richard M. Stallman1994-11-101-0/+4
|
* Use macros IS_ANY_SEP, IS_DIRECTORY_SEP,Richard M. Stallman1994-11-011-9/+60
| | | | | | | | | | | | | | | | | | | IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP. [WINDOWSNT]: Add includes. Don't define sys_siglist. (sigchld_handler): Work around bug in MS C compiler. (sigchld_handler) [WINDOWSNT]: Do not call signal. (signal_process) [WINDOWSNT]: Use win32_kill_process instead of kill. (read_process_output) [WINDOWSNT]: Use read_child_output instead of read. (create_process) [WINDOWSNT]: Use pipe_with_inherited_out and pipe_with_inherited_in. Use the pid returned by child_setup. Deal with not having vfork, Call register_child. (close_process_descs): Do nothing if WINDOWSNT. (proc_buffer_char): No longer static.
* (status_message): Add a cast.Richard M. Stallman1994-10-261-2/+4
| | | | (sigchld_handler): Add a cast.
* (list_processes_1): Print tty name.Karl Heuer1994-10-261-2/+9
|
* Handle multiple keyboard input descriptors.Richard M. Stallman1994-10-251-26/+86
| | | | | | | | | | | | | | | | | | | | (non_keyboard_wait_mask): New variable. (Fset_process_filter): Update non_keyboard_wait_mask (create_process, Fopen_network_stream, deactivate_process): (init_process, sigchld_handler): Likewise. (wait_reading_process_input): Maybe use non_keyboard_wait_mask. (add_keyboard_wait_descriptor): Renamed from change_keyboard_wait_descriptor. Clear the old descriptor's bit only the first call. (delete_keyboard_wait_descriptor): New function. (keyboard_bit_set): New function. (wait_reading_process_input): Use keyboard_bit_set. Start the loop over process descs from 0, and explicitly ignore non-process input descs. (init_process): Don't init keyboard_descriptor. (keyboard_descriptor): Variable deleted. (add_keyboard_wait_descriptor): Don't set keyboard_descriptor. (delete_keyboard_wait_descriptor): New function.
* (read_process_output): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-2/+2
|
* (make_process, list_processes_1, create_process, Faccept_process_output,Karl Heuer1994-10-041-14/+14
| | | | | wait_reading_process_input, read_process_output, send_process, sigchld_handler): Don't use XFASTINT as an lvalue.
* (make_process, create_process, Fopen_network_stream, deactivate_process,Karl Heuer1994-10-041-10/+10
| | | | | Faccept_process_output, Fprocess_send_eof): Use new accessor macros instead of calling XSET directly.
* (decode_status, Fprocessp, Fget_process, Fget_buffer_process, Fprocess_status,Karl Heuer1994-09-271-14/+14
| | | | | | Fprocess_exit_status, list_processes_1, Fstart_process, Fopen_network_stream, Faccept_process_output, wait_reading_process_input, sigchld_handler, status_notify): Use type test macros.
* (Fprocess_send_eof): Delete DID_REMOTE conditional.Richard M. Stallman1994-09-241-9/+0
|
* (exec_sentinel_error_handler): New function.Richard M. Stallman1994-09-231-9/+64
| | | | | | | | | | | | (exec_sentinel): Catch all errors in the sentinel. (read_process_output_error_handler): New function. (read_process_output_call): New function. (read_process_output): Catch and report errors in filters. (pty_name): Move it up; make it static. (create_process): Set the tty_name field. (Fprocess_tty_name): New function. (syms_of_process): defsubr it.
* (wait_reading_process_input):Richard M. Stallman1994-08-191-1/+6
| | | | Clear waiting_for_user_input_p before returning.
* (create_process): Set default handling for SIGINT, etc.Richard M. Stallman1994-07-311-2/+5
| | | | (wait_reading_process_input): Fix previous change.
* (wait_reading_process_input): If wait_for_cell,Richard M. Stallman1994-07-271-4/+1
| | | | do check for keyboard input and handle it.
* [!HAVE_H_ERRNO]: Declare h_errno.Richard M. Stallman1994-07-251-0/+7
| | | | (Fopen_network_stream): Set h_errno to 0 initially.
* (Fopen_network_stream): Retry gethostbyname after TRY_AGAIN failure.Richard M. Stallman1994-07-191-1/+9
|
* (Qlast_nonmenu_event): New variable.Richard M. Stallman1994-07-131-0/+6
| | | | | (syms_of_process): Set it up. (read_process_output, exec_sentinel): Bind it to t around filter.
* (send_process): Major rewrite.Richard M. Stallman1994-06-251-67/+111
| | | | | | | | 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.
* (Fprocess_status): Return nil for process name that has no process.Richard M. Stallman1994-06-171-1/+7
|
* (create_process): Set input_wait_mask before forking.Karl Heuer1994-06-151-4/+4
|
* (Fprocess_send_eof): Doc fix.Richard M. Stallman1994-06-141-1/+4
|
* (kill_buffer_processes): For net conn, use Fdelete_process.Richard M. Stallman1994-06-011-1/+1
|
* (create_process): Get a pty for any non-nil Vprocess_connection_type value.Richard M. Stallman1994-05-301-1/+1
|
* (create_process): Don't complain about error from TIOCSETD.Richard M. Stallman1994-05-211-2/+1
|
* (Fopen_network_stream): Call bind_polling_period; later unbind the binding.Richard M. Stallman1994-05-131-1/+19
| | | | (POLL_FOR_INPUT): Define, if appropriate.
* (exec_sentinel): Don't deactivate the mark. Check for asynch buffer switch.Karl Heuer1994-05-111-1/+8
|
* (process_send_signal): If PREFER_VSUSP, use VSUSP instead of VSWTCH.Richard M. Stallman1994-05-091-1/+1
|
* (wait_reading_process_input): Don't call prepare_menu_barsRichard M. Stallman1994-05-061-3/+9
| | | | | | 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.
* (create_process): Undo April 19 setsid change.Richard M. Stallman1994-05-021-1/+3
|
* (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on HAVE_BROKEN_INET_ADDR.Paul Reilly1994-04-301-2/+2
|
* (Fopen_network_stream): Retry the connect if EADDRINUSE. Ignore EISCONN.Richard M. Stallman1994-04-301-6/+16
|
* (create_process): If vfork fails, close forkin and forkout.Richard M. Stallman1994-04-281-1/+7
|
* (create_process) [HAVE_TERMIOS && LDISC1]: Use tcsetattr.Karl Heuer1994-04-261-0/+11
|
* (create_process): Use child_setup_tty only if pty_flag.Richard M. Stallman1994-04-241-1/+2
|
* (create_process): Use SETUP_SLAVE_PTY only if pty_flag.Richard M. Stallman1994-04-241-1/+4
|
* (max_process_desc): New variable.Richard M. Stallman1994-04-231-1/+19
| | | | | | | (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.
* (send_process): If fpathconf fails, use 250.Richard M. Stallman1994-04-211-0/+2
|
* (create_process): Call setsid only if pty_flag.Richard M. Stallman1994-04-201-5/+7
|
* (create_process): Fix previous change.Richard M. Stallman1994-04-181-1/+1
|
* (create_process): Test TIOCSETD along with NTTYDISC.Richard M. Stallman1994-04-161-1/+1
|
* (Fset_process_window_size): New function.Richard M. Stallman1994-04-121-0/+17
|
* (send_process): Test pty_flag field for nil, not 0.Richard M. Stallman1994-04-121-1/+1
|
* (read_process_output): If buffer changes, record that fact.Karl Heuer1994-04-081-0/+5
|
* Fix typos in comments.Karl Heuer1994-03-291-2/+2
|
* (status_notify): Use assignment, not initialization.Karl Heuer1994-03-251-4/+6
|