1. 22 May, 1993 1 commit
  2. 20 May, 1993 1 commit
    • Jim Blandy's avatar
      Some more changes from Michael K. Johnson for Linux. · 161aa2f8
      Jim Blandy authored
      	* s/template.h: Mention that you should #define HAVE_TERMIO or
      	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
      	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
      	tcsetpgrp to *pgid; it's just a status value.
      	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
      	systems using XFree386, and perhaps is inappropriate in general.
      	* m/intel386.h: #undefine the integer size macros, since the Linux
      	<values.h> file #defines them itself.
      	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
      	fails, fall back on ULIMIT_BREAK_VALUE.
      	* process.c: Linux needs the WAITTYPE, etc. definitions.
      	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
      	no need to use SYSV names.
      	* s/linux.h: New file.
      161aa2f8
  3. 19 May, 1993 3 commits
  4. 16 May, 1993 1 commit
  5. 15 May, 1993 1 commit
  6. 29 Apr, 1993 1 commit
  7. 30 Mar, 1993 2 commits
    • Jim Blandy's avatar
      New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the · 5437e9f9
      Jim Blandy authored
      	equivalent of /dev/null, and the suffixes used by executable
      	files.  This is simple, and helps people porting Emacs to other
      	operating systems.
      	* process.h (NULL_DEVICE): Give this a default value.
      	* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
      	(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
      	* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
      	Use NULL_DEVICE instead of "/dev/null".
      5437e9f9
    • Jim Blandy's avatar
      Rename int-to-string to number-to-string, since it can handle · f2980264
      Jim Blandy authored
      	floating-point as well as integer arguments.  subr.el defines the
      	former as an alias for the latter.
      	* data.c (Fnumber_to_string): Renamed from Fint_to_string.
      	(wrong_type_argument): Adjust caller.
      	(syms_of_data): Adjust defsubr.
      	* fns.c (concat): Adjust caller.
      	* lisp.h (Fnumber_to_string): Adjust extern declaration.
      	* mocklisp.c (Finsert_string): Adjust caller.
      	* process.c (status_message): Adjust caller.
      f2980264
  8. 25 Mar, 1993 1 commit
  9. 20 Mar, 1993 1 commit
  10. 17 Mar, 1993 2 commits
  11. 15 Mar, 1993 1 commit
  12. 11 Mar, 1993 1 commit
  13. 22 Feb, 1993 1 commit
    • Jim Blandy's avatar
      * process.c: Make sure we don't miss processes exiting, by having · 6be429b1
      Jim Blandy authored
      	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.
      6be429b1
  14. 18 Feb, 1993 1 commit
  15. 14 Jan, 1993 1 commit
    • Jim Blandy's avatar
      * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as · 1dc77cc3
      Jim Blandy authored
      	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.
      1dc77cc3
  16. 12 Dec, 1992 1 commit
    • Jim Blandy's avatar
      Give subprocess creation a way to find a valid current directory · 1e30af70
      Jim Blandy authored
      	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.
      1e30af70
  17. 06 Dec, 1992 1 commit
  18. 16 Nov, 1992 1 commit
    • Jim Blandy's avatar
      * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c: · b0310da4
      Jim Blandy authored
      	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.
      b0310da4
  19. 07 Nov, 1992 1 commit
  20. 31 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * process.c: (status_convert): Declare this to return a · f9738840
      Jim Blandy authored
      	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.
      f9738840
  21. 03 Oct, 1992 1 commit
  22. 23 Sep, 1992 1 commit
    • Jim Blandy's avatar
      * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX] · 63528b78
      Jim Blandy authored
      	(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.
      63528b78
  23. 20 Sep, 1992 1 commit
  24. 29 Aug, 1992 1 commit
  25. 22 Aug, 1992 1 commit
  26. 19 Aug, 1992 1 commit
    • Jim Blandy's avatar
      * process.c (process_send_signal): Don't send SIGTSTP if the · 0ad77c54
      Jim Blandy authored
      	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.
      0ad77c54
  27. 22 Jul, 1992 1 commit
  28. 19 Jul, 1992 1 commit
  29. 16 Jul, 1992 1 commit
  30. 13 Jul, 1992 1 commit
  31. 05 Jun, 1992 1 commit
  32. 19 May, 1992 1 commit
  33. 18 May, 1992 1 commit
  34. 10 May, 1992 1 commit
  35. 01 May, 1992 1 commit
  36. 24 Apr, 1992 1 commit