aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* (wait_reading_process_input, both versions): Don't callRichard M. Stallman1994-03-201-3/+3
| | | | redisplay_preserve_echo_area unless do_display.
* (create_process): Skip the ioctl if fd is -1.Karl Heuer1994-03-181-1/+1
|
* (Fstart_process): GCPRO some things.Karl Heuer1994-03-181-10/+15
|
* (Fget_buffer_process): Fix typo in comment.Karl Heuer1994-03-141-1/+1
|
* (get_process): Allow arg to be a buffer object.Karl Heuer1994-03-121-13/+23
|
* (send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF beforeRoland McGrath1994-03-081-1/+1
| | | | trying to use fpathconf.
* (chan_process, Vprocess_alist): No longer static.Richard M. Stallman1994-03-021-2/+2
|
* Include unistd.h.Richard M. Stallman1994-03-021-3/+28
| | | | | (pty_max_bytes): New variable. (send_process): Send an eof after each pty_max_bytes bytes.
* (sys_siglist): Protect decl with #ifndef SYS_SIGLIST_DECLARED.Roland McGrath1994-02-111-0/+2
|
* (Fprocess_kill_without_query): Doc fix.Richard M. Stallman1994-02-081-1/+1
|
* (sigchld_handler, status_message): Handle a NULL in sys_siglist.Richard M. Stallman1994-01-141-4/+23
|
* (read_process_output): Supply second arg to unbind_to.Richard M. Stallman1994-01-111-2/+2
| | | | (exec_sentinel): Likewise.
* (create_process): Set line discipline only if pty_flag.Richard M. Stallman1994-01-101-6/+7
|
* Don't declare sys_nerr.Roland McGrath1994-01-091-4/+6
| | | | | | Don't declare sys_errlist unless #ifdef VMS. Declare strerror instead. (wait_reading_process_input): Call strerror instead of using sys_errlist.
* Comment changes.Richard M. Stallman1994-01-091-4/+4
|
* (read_process_output): Use clip_to_bounds when movingRichard M. Stallman1994-01-011-1/+1
| | | | to the process marker.
* (create_process) [NTTYDISC]: Set the tty line discipline.Richard M. Stallman1993-12-251-1/+9
|
* (Fopen_network_stream): Turn off SIGIO while connecting.Richard M. Stallman1993-12-241-0/+17
|
* (Fprocess_status): Use get_process, not Fget_process.Richard M. Stallman1993-12-231-19/+24
| | | | | | | | | | | | [BROKEN_O_NONBLOCK]: Undefine O_NONBLOCK. (create_process): Delete SYSV4_PTYS code. (deactivate_process): Likewise. (create_process) [SET_CHILD_PTY_PGRP]: Do ioctls to set the pgrp of the pty. (wait_reading_process_input): Call prepare_menu_bars.
* (deactivate_process) [SVR4_PTYS]: If subtty is not nil, close it.Richard M. Stallman1993-12-231-0/+4
|
* (create_process): Do setpgrp for USG regardless of IRIX.Richard M. Stallman1993-11-251-2/+2
| | | | (process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
* (Fdelete_process): Fix paren error.Richard M. Stallman1993-11-241-1/+1
|
* (wait_reading_process_input):Richard M. Stallman1993-11-231-47/+53
| | | | | | | | | | | | | | | | | | | | | Use -1 to mean wait_channel is empty. Start process loop with descriptor 0 if keyboard_descriptor is not 0. (make_process): Initialize descriptors to -1. (Fdelete_process): -1 means empty, in infd. (deactivate_process): Likewise. (process_send_signal): Likewise. (kill_buffer_processes): Likewise. (sigchld_handler): Likewise. (status_notify): Likewise. (close_process_descs): Likewise. (create_process): Likewise. (Fopen_network_stream): Likewise. (send_process): Likewise. (Fprocess_send_eof): Likewise. Use XINT when closing outfd. (Fset_process_filter): Use XINT to get infd value. (wait_reading_process_input): Likewise. (wait_reading_process_input): When bypassing select, clear Available.
* (IN_ADDR, NUMERIC_ADDR_ERROR): New macros (two versions).Richard M. Stallman1993-11-131-2/+11
| | | | (Fopen_network_stream): Use them.
* (get_process): Add `static' to definition.Richard M. Stallman1993-11-131-1/+1
|
* [TERM]: Include client.h.Richard M. Stallman1993-11-041-0/+13
| | | | (Fopen_network_stream): Handle TERM.
* (Fopen_netwrok_stream): Cast arg to inet_addr to (char *).Brian Fox1993-10-251-1/+1
|
* (status_notify): Don't read from process if filter is t.Richard M. Stallman1993-10-221-1/+7
| | | | (Fset_process_filter): Set or clear bit in input_wait_mask when nec.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (keyboard_descriptor): New variable.Richard M. Stallman1993-09-081-16/+35
| | | | | | (wait_reading_process_input, init_keyboard): Use it. Also call change_input_fd. (change_keyboard_wait_descriptor): New function.
* Include syswait.h.Richard M. Stallman1993-08-151-68/+5
| | | | | (wait_reading_process_input): Exit without waiting if wait_for_cell is already non-nil.
* (wait_reading_process_input): Undo last two changes:Richard M. Stallman1993-07-281-2/+7
| | | | when wait_for_cell, do not check the keyboard.
* (Fprocess_status): Use Fget_process, to avoid errorRichard M. Stallman1993-07-241-3/+1
| | | | if unknown process name.
* (Fget_buffer_process): Delete doc string fromRichard M. Stallman1993-07-221-13/+17
| | | | second alternative definition.
* (wait_reading_process_input): If wait_for_cell, do callRichard M. Stallman1993-07-091-2/+3
| | | | swallow_events and do_pending_window_change when appropriate.
* (wait_reading_process_input): Do include the keyboardRichard M. Stallman1993-07-021-9/+11
| | | | in the select, if read_kbd was a cons cell.
* (wait_reading_process_input): Use SIGIO only if defined.Richard M. Stallman1993-06-291-0/+2
|
* Changes for Irix 4.0, tested this time:Jim Blandy1993-06-181-1/+1
| | | | | | | | | | | | | | | | * s/irix4-0.h: Get rid of our fake definitions for setpgrp and getpgrp. * callproc.c (Fcall_process): Go ahead and use the USG calling convention for setpgrp. * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help separate-source-directory compilation. * emacs.c (shut_down_emacs): Some USG systems #define EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and non-USG. * process.c [IRIX] (create_process): Don't put child in process group zero before opening the tty; Irix is like USG in this regard.
* * callproc.c (Fcall_process, child_setup): If IRIX is #defined,Jim Blandy1993-06-171-2/+2
| | | | | | call setpgrp with arguments, even if USG is #defined. * process.c [IRIX] (create_process): Don't call setpgrp before opening the pty. Call it after doing the TIOCNOTTY ioctl.
* (start_process_unwind): Use XINT.Richard M. Stallman1993-06-121-1/+1
|
* (read_process_output): Don't deactivate the mark.Richard M. Stallman1993-06-111-21/+2
| | | | Do restore Vdeactivate_mark, so that no one else deactivates it.
* Typo.Jim Blandy1993-06-101-1/+1
|
* * process.c (sigchld_handler): Add cast, to avoid warnings on Linux.Jim Blandy1993-06-091-1/+1
| | | | | (Fopen_network_stream): Cast the second argument to connect, to avoid warnings on any system that provides prototypes for connect.