aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in previous change.Richard M. Stallman1993-03-171-1/+1
|
* (Fprocess_send_eof): Make sure proc is running.Richard M. Stallman1993-03-171-0/+7
|
* (wait_reading_process_input): New option to waitRichard M. Stallman1993-03-151-39/+14
| | | | | till a given cons cell has a non-nil car. Delete vipc conditionals.
* * process.c (process_send_signal): In the TERMIOS code for sendingJim Blandy1993-03-111-3/+5
| | | | | | | | control characters to processes, don't try to return Qnil; just return. * process.c [! subprocesses] (wait_reading_process_input): Remember to re-enable polling for input.
* * process.c: Make sure we don't miss processes exiting, by havingJim Blandy1993-02-221-18/+65
| | | | | | | | | | | | the sigchld handler clear *input_available_clear_time. (wait_reading_process_input): Check for process activity after setting the timeout and calling set_waiting_for_input. (sigchld_handler): If the process which has exited is one we care about, clear *input_available_clear_time. * process.c (process_send_signal): Use TERMIOS functions in preference to BSD ioctls. Some systems attempt to provide the BSD functions for backward compatibility, and get it wrong.
* * process.c (Fstart_process): Jimb's change of December 11Michael I. Bushnell1993-02-181-1/+1
| | | | | | had a misplaced paren. This only became apparent because of jimb's change on February 8 to Fexpand_file_name. * callproc.c (Fcall_process): Ditto.
* * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked asJim Blandy1993-01-141-3/+3
| | | | | | | | | | | | | garbaged whenever it goes from invisible to visible. * dispextern.h (frame_garbaged): Move extern declaration from here... * frame.h (frame_garbaged): ... to here. The FRAME_SAMPLE_VISIBILITY macro uses it now, and this seems to be just as modular. Make a new page, just for this and message_buf_print. (struct frame): Doc fix for the `visible' field. * process.c: #include "frame.h" instead of "dispextern.h"; the only thing we care about from it is the frame_garbaged declaration. * ymakefile: Note dependency change.
* Give subprocess creation a way to find a valid current directoryJim Blandy1992-12-121-12/+30
| | | | | | | | | | | | | | | | for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do.
* Tue Dec 1 23:42:25 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)Jim Blandy1992-12-061-1/+2
| | | | * process.c (wait_reading_process_input): Doc fix.
* * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:Jim Blandy1992-11-161-27/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added VMS changes from Roland Roberts. * process.c (read_process_output): Save, widen, insert the process output, and then restore the restriction if inserting text outside the visible region. * process.c (Fstart_process): Establish an unwind-protect to remove PROC from the process list if an error occurs while starting it. (start_process_unwind): New function to help with that. (create_process): There's no need to explicitly call remove_process if the fork fails; the record_unwind_protect in Fstart_process will take care of it. * process.c (wait_reading_process_input): Test the C preprocessor symbol "ultrix", not "__ultrix__" to see if we should ignore ENOMEM errors from select. * process.c (process_send_signal): On systems which have both the TIOCGETC and TCGETA ioctls, just use the former. * s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS. * process.c (process_send_signal): Put all the code for sending signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS. Decide whether to use the Berkeley-style or SYSV-style ioctls by seeing which ioctl commands are #defined. * process.c (process_send_signal): Doc fix.
* * process.c [SYSV]: Don't include <termios.h>, <termio.h>, orJim Blandy1992-11-071-8/+2
| | | | | | <fcntl.h>. (process_send_signal): Don't try to send SIGTSTP unless SIGTSTP is defined.
* * process.c: (status_convert): Declare this to return aJim Blandy1992-10-311-13/+12
| | | | | | | | | | | | Lisp_Object at the top of the file. (decode_status): Don't untag XCONS (tem)->cdr before storing it in tem; tem is a Lisp_Object, too. (process_send_signal): Declare this to be static void. Don't return Qnil; nobody cares. (sigchld_handler): Use XFASTINT to manipulate p->infd. * process.c (pty_process): Variable deleted; it's no longer used. (syms_of_process): Don't initialize it.
* * process.c (wait_reading_process_input): If the select returnsJim Blandy1992-10-031-0/+6
| | | | ENOMEM, treat that like EINTR under Ultrix.
* * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX]Jim Blandy1992-09-231-0/+2
| | | | | | | (create_process): #if 0 out the code which sets the child's handler for SIGCHLD to sigchld; the code which gives sigchld its value has been diked out under these CPP symbols, so this should be diked out too.
* (Faccept_process_output): Initialize useconds.Richard M. Stallman1992-09-201-0/+2
|
* * process.c: Include "systty.h", not "systerm.h".Jim Blandy1992-08-291-1/+1
|
* (WCOREDUMP): Define only if not defined.Richard M. Stallman1992-08-221-1/+8
| | | | (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
* * process.c (process_send_signal): Don't send SIGTSTP if theJim Blandy1992-08-191-3/+4
| | | | | | | | | | | | | system doesn't have that facility. * process.c: [USG5] Don't include <fcntl.h>. [USG] Don't bother including termios, termio, or fcntl; systerm.h takes care of all that. Remove the "mis;tak-+;;" line from the code; apparently this section of code does get used. * process.c (wait_reading_process_input): Put comments around text following #endif.
* entered into RCSJim Blandy1992-07-221-15/+14
|
* *** empty log message ***Richard M. Stallman1992-07-191-23/+6
|
* *** empty log message ***Jim Blandy1992-07-161-7/+17
|
* *** empty log message ***Jim Blandy1992-07-131-6/+6
|
* *** empty log message ***Joseph Arceneaux1992-06-051-1/+1
|
* *** empty log message ***Jim Blandy1992-05-191-34/+42
|
* *** empty log message ***Jim Blandy1992-05-181-54/+30
|
* *** empty log message ***Jim Blandy1992-05-101-4/+1
|
* *** empty log message ***Jim Blandy1992-05-011-15/+33
|
* *** empty log message ***Jim Blandy1992-04-241-3/+7
|
* *** empty log message ***Jim Blandy1992-04-011-1/+1
|
* *** empty log message ***Jim Blandy1992-03-181-10/+174
|
* Initial revisionJim Blandy1992-03-141-0/+2887