Commit graph

47 commits

Author SHA1 Message Date
Andreas Schwab 55a2e19e03 [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
_BSD_SOURCE, the latter is always defined.
1999-01-04 12:10:38 +00:00
Andreas Schwab 4c571d0903 Add prototypes. 1997-11-25 13:44:34 +00:00
Richard M. Stallman e0b5b76c4e (GETPGRP_NO_ARG): If Glibc 2.1 or later,
don't define this if _BSD_SOURCE is defined.
1997-04-09 05:57:50 +00:00
Richard M. Stallman ab9ba9ea19 Comment changes. 1996-09-16 01:20:20 +00:00
Miles Bader afcaa5036f Delete spurious period from last change. 1996-07-02 16:25:41 +00:00
Richard M. Stallman 281bbdfb6a (GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__. 1996-06-29 05:04:29 +00:00
Karl Heuer c3ff76c42a [__GNU_LIBRARY__]: #include <sys/ioctl.h>. 1996-05-21 14:43:54 +00:00
Erik Naggum 3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman 1bf61ff9f8 Comment change. 1995-06-14 23:18:50 +00:00
Richard M. Stallman 8e0ecd77a5 Change AIX conditional around HFNKEYS to AIXHFT. 1994-12-10 07:45:45 +00:00
Richard M. Stallman 378ac3148e Have just one conditional to include unistd.h.
Test NEED_UNISTD_H, not AIX and IRIX4.
(UNISTD_H_INCLUDED): Don't define or test this.
1994-11-28 17:59:41 +00:00
Richard M. Stallman 101adcb531 Test DOS_NT, not MSDOS. 1994-11-01 08:41:25 +00:00
Roland McGrath c9b67b7b03 [__GNU_LIBRARY__]: Include <termios.h>. 1994-05-11 22:15:20 +00:00
Karl Heuer 3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman 92ea836df1 Check for INCLUDED_FCNTL already defined. 1994-04-12 03:25:32 +00:00
Richard M. Stallman b65e3dd79e (INCLUDED_FCNTL): Define, if include fcntl.h. 1994-03-30 18:51:54 +00:00
Richard M. Stallman c7040669fa (EMACS_TTY_TABS_OK): Alternate definition if no TABDLY. 1994-02-17 03:21:36 +00:00
Richard M. Stallman 8e99c732db [MSDOS]: don't #include <sgtty.h>. We haven't got it.
Declare dummy main field.  Don't ever use TABs.
1994-01-08 09:18:53 +00:00
Richard M. Stallman 75bb67502d (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
1993-11-23 10:41:27 +00:00
Richard M. Stallman 7f6d476fb9 [BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP,
FLUSHO and PENDIN.
1993-11-15 09:25:17 +00:00
Richard M. Stallman 727b007cb2 (EMACS_GETPGRP): New macro hides argument passing to
system getpgrp.  Reinstate some semblance of control over this
macros behaviour by paying attention to GETPGRP_NO_ARG.
1993-11-10 20:03:25 +00:00
Brian Fox 9825c716ad If POSIX and HAVE_UNISTD_H are defined, and unistd.h hasn't already
been included, include it.
1993-10-05 01:29:54 +00:00
Richard M. Stallman c62e995865 Handle NO_TERMIO in principal HAVE_TERMIOS case. 1993-08-10 21:22:44 +00:00
Jim Blandy eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman d2d846a3d1 Add NO_TERMIO conditional. 1993-06-07 23:40:04 +00:00
Richard M. Stallman 3580badc18 [HAVE_TERMIOS _AIX _I386]: Include termios before termio. 1993-05-30 21:32:18 +00:00
Richard M. Stallman 5ab57b9f0a [IRIX4]: Include unistd.h. 1993-05-30 19:12:55 +00:00
Jim Blandy d04e8e46ab * systty.h (CDISABLE): #undef it before re-#defining it. 1993-05-29 20:46:03 +00:00
Jim Blandy c39d651c96 * systty.h: Always terminate comments, to avoid confusion. 1993-05-27 05:35:48 +00:00
Jim Blandy 50b8cf6032 * systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
we have those structures, but *don't* define them if we have
	TERMIOS, whose functions take care of those parameters; that
	screws up AIX.
	(struct emacs_tty): Test those symbols, instead of the ioctl
	commands.
	* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
	init_sys_modes): Same.
1993-05-27 02:12:20 +00:00
Jim Blandy c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy 8243aa4e84 * systty.h [SYSV_PTYS]: #include <sys/types.h>. Francesco
Potorti` <pot@fly.CNUCE.CNR.IT> says it's necessary on his
	machine, and it should be harmless.
1993-05-21 23:47:10 +00:00
Jim Blandy 161aa2f8d8 Some more changes from Michael K. Johnson for Linux.
* 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.
1993-05-20 02:14:56 +00:00
Jim Blandy 0674a1f946 Some changes from Michael K. Johnson for Linux.
* 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
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.

	* systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
1993-05-19 22:01:21 +00:00
Jim Blandy 1334b321d6 * sysdep.c (reset_sys_modes): Test the return value of
EMACS_SET_TTY properly.
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
	values.
1993-05-18 22:45:29 +00:00
Jim Blandy c2e4f49a68 * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
functions in sysdep.c.
	* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
1993-05-04 02:39:05 +00:00
Richard M. Stallman 372d3c2eca [NO_PTY_H]: Don't include pty.h. 1993-03-29 04:34:46 +00:00
Jim Blandy 210b2b4f05 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-19 17:28:14 +00:00
Richard M. Stallman 2182d45996 Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
(struct emacs_tty): Separate the struct decl
from the EMACS_..._TTY... macro definitions.
Use HAVE_TCATTR to decide whether to use `struct termios'.
1993-03-10 05:34:06 +00:00
Jim Blandy 1aaaff21ef * systty.h [HAVE_TERMIOS]: Include fcntl.h. 1993-02-22 14:51:39 +00:00
Jim Blandy a04c953598 * systty.h: Doc fix.
* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
	Added VMS changes from Roland Roberts.
1992-11-16 00:55:34 +00:00
Richard M. Stallman 2102829e7d entered into RCS 1992-09-12 07:45:15 +00:00
Jim Blandy bd3073920f *** empty log message *** 1992-08-29 02:14:58 +00:00
Jim Blandy ef15f270db *** empty log message *** 1992-08-19 03:54:51 +00:00
Jim Blandy ffd56f97cf *** empty log message *** 1992-05-18 08:14:41 +00:00
Jim Blandy 4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy d0d6b7c506 Initial revision 1992-03-14 20:40:04 +00:00