aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (exec_sentinel, read_process_output):Richard M. Stallman1995-10-091-2/+10
| | | | Call record_asynch_buffer_change only if caller is reading kbd input.
* (read_process_output, exec_sentinel): CallRichard M. Stallman1995-08-081-8/+6
| | | | | | record_asynch_buffer_change after any eval. Don't call prepare_menu_bars. (wait_reading_process_input): Don't call prepare_menu_bars.
* Maybe include net/errno.h.Richard M. Stallman1995-08-021-0/+3
|
* (Fstart_process): Don't expand the file name before trying openp.Richard M. Stallman1995-07-251-2/+1
|
* (keyboard_bit_set): Fix one-off in loop end.Karl Heuer1995-07-171-1/+1
|
* (Fstart_process): Expand PROGRAM.Richard M. Stallman1995-07-071-1/+8
| | | | Error if it is a directory.
* (Fopen_network_stream): Sleep 1 sec before connect retry.Richard M. Stallman1995-06-251-0/+4
|
* (sigchld_handler): Change XSETFASTINT to XSETINT.Richard M. Stallman1995-06-191-2/+2
|
* (status_notify): Undo May 18 change.Richard M. Stallman1995-06-141-77/+74
| | | | Set update_tick at the beginning not at end.
* [!subprocesses]: Include sysselect.h.Karl Heuer1995-06-081-0/+1
|
* (create_process, send_process): Add volatile qualifiers.Karl Heuer1995-05-261-8/+14
| | | | (wait_reading_process_input) [both versions]: Cast args of select.
* (status_notify): If Vprocess_alist changes withinKarl Heuer1995-05-181-70/+75
| | | | the loop, do the whole loop again.
* (wait_reading_process_input): Pass arg in new call to set_waiting_for_input.Richard M. Stallman1995-05-071-1/+1
|
* (wait_reading_process_input): Don't call prepare_menu_bars.Richard M. Stallman1995-05-061-6/+6
| | | | Clear waiting_for_input around calling redisplay_preserve_echo_area.
* (list_processes_1): Cast XFASTINT for passing to sprintf.Richard M. Stallman1995-05-051-1/+1
|
* (create_process): Don't reference pty_name if !HAVE_PTYS.Karl Heuer1995-04-281-5/+14
|
* (create_process): Don't abort if can't reopenRichard M. Stallman1995-04-241-3/+8
| | | | pty_name in the child. Exit the child instead.
* (create_process): Set PROCESS's tty_name to Qnil when !PTY_FLAG,Roland McGrath1995-04-111-1/+1
| | | | so Fprocess_tty_name returns nil for pipes as its docstring says.
* (read_process_output_error_handler)Richard M. Stallman1995-04-071-2/+2
| | | | (exec_sentinel_error_handler): Fsleep_for wants two args.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (Fsignal_process): SIGCODE is a symbol, not a string.Karl Heuer1995-03-281-1/+1
|
* (Fsignal_process): Allow signal names as well as numbers.Richard M. Stallman1995-03-281-7/+119
|
* (exec_sentinel, read_process_output): If running filterRichard M. Stallman1995-03-031-6/+15
| | | | or sentinel changes the local map, call record_asynch_buffer_change.
* (Fstart_process): Make process marker point into proc buf.Richard M. Stallman1995-02-141-3/+8
|
* (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
|