1. 11 Jun, 1993 1 commit
    • Jim Blandy's avatar
      Interact properly with shells lacking job control (sh, rc, es...) · 9ae8f997
      Jim Blandy authored
      	* sysdep.c [BSD] (inherited_pgroup): New variable.
      	(narrow_foreground_group, widen_foreground_group): New functions.
      	(init_sys_modes): Call narrow_foreground_group.
      	(reset_sys_modes): Call widen_foreground_group.
      	* emacs.c [BSD] (inherited_pgroup): Add extern declaration.
      	[BSD] (main): Set inherited_pgroup, and put ourselves in our own
  2. 03 Jun, 1993 1 commit
  3. 02 Jun, 1993 1 commit
  4. 30 May, 1993 1 commit
  5. 29 May, 1993 1 commit
  6. 28 May, 1993 1 commit
  7. 22 May, 1993 1 commit
  8. 19 May, 1993 1 commit
    • Jim Blandy's avatar
      Some changes from Michael K. Johnson for Linux. · 00eaaa32
      Jim Blandy authored
      	* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
      	#defined.  That lets the system provide it, if it has it.
      	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
      	given us a definition already.
      	* syssignal.h (sys_sigpause): Fix argument in prototype.
      	* sysdep.c (init_signals): The masks are called empty_mask and
      	full_mask, not signal_empty_mask and signal_full_mask.
      	(signal_handler_t): Moved ....
      	* syssignal.h: ... to here.
      	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
      	* emacs.c (main): Don't try to establish signal handlers for
      	SIGBUS and SIGSYS unless they're actually #defined.
  9. 06 May, 1993 1 commit
  10. 04 May, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and · 4b163808
      Jim Blandy authored
      	':' elsewhere, just have it default to ':' if not #defined, and
      	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
      	* s/vms.h (SEPCHAR): #define this to be ','.
      	* s/template.h (SEPCHAR): Mention this.
      	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
      	* s/mach2.h: copied from the Emacs 18.59 distribution.
      	Don't define NO_REMAP, define START_FILES as
      	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
      	default `-lm -lc' (there is no libc on the NeXT).
      	* ymakefile (STARTFILES): Allow config.h to set this value even if
      	ORDINARY_LINK is defined.
      	* unexnext.c: Fix subdirectories for the machine dependent include
      	files for NeXTStep 3.0; #include <mach/mach.h> and
      	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
      	(getsectbyname): Remove prototype for this; the system #include
      	files take care of that.
      	(malloc_cookie): New variable.
      	(unexec_doit): Set malloc_cookie to the result returned by
      	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
      	get the value set when we dumped and pass it to malloc_jumpstart.
      	* systime.h: The NeXT has a timezone function.
  11. 31 Mar, 1993 1 commit
    • Jim Blandy's avatar
      Put interrupt input blocking in a separate file from xterm.h. · 9ac0d9e0
      Jim Blandy authored
      	This isn't specific to X, and it allows us to avoid #including
      	xterm.h in files that don't really have anything to do with X.
      	* blockinput.h: New file.
      	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
      	(x_input_blocked, x_pending_input): Deleted; there are analogs
      	in blockinput.h called interrupt_input_blocked and
      	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
      	New variables, used by the macros in blockinput.h.
      	* xterm.c: #include blockinput.h.
      	(x_input_blocked, x_pending_input): Deleted.
      	(XTread_socket): Test and set interrupt_input_blocked and
      	interrupt_input_pending instead of the old variables.
      	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
      	#include blockinput.h.
      	* eval.c: #include blockinput.h instead of xterm.h.
      	* keyboard.c: #include blockinput.h.
      	(input_poll_signal): Just test
      	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
      	Block the processing of interrupt input while we're manipulating the
      	malloc heap.
      	* alloc.c: (xfree): New function, to make it easy to free things
      	(xmalloc, xrealloc): Block X input while doing the deed.
      	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
      	instead of free.
      	(uninterrupt_malloc): New function, to install input-blocking
      	hooks into the GNU malloc routines.
      	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
      	on startup.
      	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
      	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
      	Use xmalloc instead of malloc; don't bother to check if out of
      	memory here.
      	(Fgarbage_collect): Call xrealloc instead of realloc.
      	* buffer.c: Use xmalloc and xfree instead of malloc and free;
      	don't bother to check if out of memory here.
      	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
      	calls to ralloc routines.
      	* insdel.c: Same.
      	* lisp.h (xfree): New extern declaration.
      	* xfaces.c (xfree): Don't #define this to be free; use the
      	definition in alloc.c.
      	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
      	xmenu.c, xterm.c: Use xfree instead of free.
      	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
      	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
      	and malloc.
      	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
      	while runing them.  #include blockinput.h.
      	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
      	of free and malloc.  BLOCK_INPUT around routines which we know
      	will call malloc.
      	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
      	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
      	these depend on blockinput.h.
  12. 28 Mar, 1993 1 commit
  13. 22 Mar, 1993 1 commit
  14. 20 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (Finvocation_name): New function. · 59653951
      Jim Blandy authored
      	(Vinvocation_name): New variable.
      	(init_cmdargs): Set it.
      	(syms_of_emacs): defsubr Finvocation_name, staticpro and
      	initialize Vinvocation_name.
      	* lisp.h (Vinvocation_name): New extern declaration.
      	* xterm.c (invocation_name): Variable deleted; use
      	Vinvocation_name now.
      	(x_text_icon, x_term_init): Use Vinvocation_name now instead of
      	(x_term_init): Don't initialize invocation_name.
      	(syms_of_xterm): Don't initialize or staticpro invocation_name.
      	* xfns.c (invocation_name): Remove extern declaration for this.
      	[HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
      	[not HAVE_X11] (Fx_get_default): Same.
  15. 11 Mar, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (__do_global_ctors, __do_global_ctors_aux, · a90538cb
      Jim Blandy authored
      	__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
      	define these if ORDINARY_LINK is #defined; in that case, the
      	standard linking procedure will find definitions for these.
      	* emacs.c (main): SIGIOT isn't defined on all systems; don't set
      	its signal handler unless it is.
  16. 23 Feb, 1993 1 commit
  17. 22 Feb, 1993 1 commit
  18. 26 Jan, 1993 1 commit
  19. 14 Jan, 1993 1 commit
    • Jim Blandy's avatar
      * emacs.c (shut_down_emacs): New function. · 40be253a
      Jim Blandy authored
      	(fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
      	* xterm.c (x_connection_closed): Call shut_down_emacs instead of
      	Fkill_emacs; the latter will try to perform operations on the X
      	server and die a horrible death.
      	* lisp.h (shut_down_emacs): Add extern declaration for it.
  20. 23 Oct, 1992 1 commit
  21. 11 Oct, 1992 2 commits
  22. 06 Oct, 1992 1 commit
  23. 01 Oct, 1992 1 commit
  24. 23 Sep, 1992 1 commit
  25. 14 Sep, 1992 1 commit
  26. 03 Sep, 1992 1 commit
  27. 02 Sep, 1992 1 commit
  28. 31 Aug, 1992 1 commit
  29. 29 Aug, 1992 1 commit
  30. 19 Aug, 1992 1 commit
  31. 12 Aug, 1992 1 commit
  32. 17 Jul, 1992 1 commit
  33. 13 Jul, 1992 1 commit
  34. 30 Jun, 1992 1 commit
  35. 10 May, 1992 1 commit
  36. 01 May, 1992 1 commit
  37. 18 Mar, 1992 1 commit
  38. 20 Feb, 1992 1 commit
  39. 16 Jan, 1992 1 commit