changeset 3472:6f05f6e83e94

(wait_for_termination): Fix sigpause in POSIX_SIGNALS case. (init_sys_modes): Disable VLNEXT char. Also VWERASE, VREPRINT, VDISCARD. (sys_suspend): Handle GETPGRP_NO_ARG.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Jun 1993 05:22:19 +0000
parents 0b6fc4c47891
children e1d043cb2f1a
files src/sysdep.c
diffstat 1 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri Jun 04 05:21:01 1993 +0000
+++ b/src/sysdep.c	Fri Jun 04 05:22:19 1993 +0000
@@ -346,7 +346,7 @@
 	  sigunblock (sigmask (SIGCHLD));
 	  break;
 	}
-      sigpause (sigmask (SIGCHLD));
+      sigpause (SIGEMPTYMASK);
 #else /* not POSIX_SIGNALS */
 #ifdef HAVE_SYSV_SIGPAUSE
       sighold (SIGCHLD);
@@ -567,7 +567,11 @@
 #else
 #ifdef SIGTSTP
 
+#ifdef GETPGRP_NO_ARG
+  EMACS_KILLPG (getpgrp (), SIGTSTP);
+#else
   EMACS_KILLPG (getpgrp (0), SIGTSTP);
+#endif
 
 #else /* No SIGTSTP */
 #ifdef USG_JOBCTRL /* If you don't know what this is don't mess with it */
@@ -1031,6 +1035,18 @@
 #ifdef VDSUSP /* Some systems have VDSUSP, some have V_DSUSP.  */
       tty.main.c_cc[VDSUSP] = CDISABLE;
 #endif /* VDSUSP */
+#ifdef VLNEXT
+      tty.main.c_cc[VLNEXT] = CDISABLE;
+#endif /* VLNEXT */
+#ifdef VREPRINT
+      tty.main.c_cc[VREPRINT] = CDISABLE;
+#endif /* VREPRINT */
+#ifdef VWERASE
+      tty.main.c_cc[VWERASE] = CDISABLE;
+#endif /* VWERASE */
+#ifdef VDISCARD
+      tty.main.c_cc[VDISCARD] = CDISABLE;
+#endif /* VDISCARD */
 #endif /* mips or HAVE_TCATTR */
 #ifdef AIX
 #ifndef IBMR2AIX