DragonFly BSD
DragonFly submit List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

patches for tcsh's built in kill(1) and manpages


From: Emiel Kollof <coolvibe@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 11:04:17 +0200

Hi,

Attached are some patches for contrib/tcsh that teaches the built-in
kill command in tcsh about SIGCKPT and SIGCKPTEXIT. The built-in
kill in tcsh seems to override /bin/kill.

Also, a patch (to be applied in lib/) to add the signals to
libc/gen/signal.3 and libcr/gen/signal.3

Cheers,
Emiel

-- 
Index: sh.init.c
===================================================================
RCS file: /home/dcvs/src/contrib/tcsh/sh.init.c,v
retrieving revision 1.1
diff -u -u -r1.1 sh.init.c
--- sh.init.c	17 Jun 2003 02:47:07 -0000	1.1
+++ sh.init.c	23 Oct 2003 19:52:31 -0000
@@ -477,6 +477,20 @@
 # endif /* !SIGPOLL || SIGPOLL != SIGIO */
 #endif /* SIGIO */
 
+#ifdef SIGCKPT
+    if (mesg[SIGCKPT].pname == NULL) {
+	mesg[SIGCKPT].iname = "CKPT";
+	mesg[SIGCKPT].pname = CSAVS(2, 34, "Checkpoint and continue");
+    }
+#endif /* SIGCKPT */
+
+#ifdef SIGCKPTEXIT
+    if (mesg[SIGCKPTEXIT].pname == NULL) {
+	mesg[SIGCKPTEXIT].iname = "CKPTEXIT";
+	mesg[SIGCKPTEXIT].pname = CSAVS(2, 35, "Checkpoint and eXit");
+    }
+#endif /* SIGCKPTEXIT */
+
 #ifdef SIGURG
     if (mesg[SIGURG].pname == NULL) {
 	mesg[SIGURG].iname = "URG";
@@ -1067,4 +1081,5 @@
 	mesg[SIGXRLG3].pname = CSAVS(2, 108, "exeeded RLG3 limit");
     }
 #endif /* SIGXRLG3 */
+
 }
Index: libc/gen/signal.3
===================================================================
RCS file: /home/dcvs/src/lib/libc/gen/signal.3,v
retrieving revision 1.2
diff -u -u -r1.2 signal.3
--- libc/gen/signal.3	17 Jun 2003 04:26:42 -0000	1.2
+++ libc/gen/signal.3	23 Oct 2003 20:08:41 -0000
@@ -132,6 +132,8 @@
 .It Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
 .It Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
 .It Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
+.It Dv SIGCKPT Ta "checkpoint process" Ta "Checkpoint"
+.It Dv SIGCKPTEXIT Ta "terminate process" Ta "Checkpoint and exit"
 .El
 .Pp
 The
Index: libcr/gen/signal.3
===================================================================
RCS file: /home/dcvs/src/lib/libcr/gen/signal.3,v
retrieving revision 1.2
diff -u -u -r1.2 signal.3
--- libcr/gen/signal.3	17 Jun 2003 04:26:42 -0000	1.2
+++ libcr/gen/signal.3	23 Oct 2003 20:09:41 -0000
@@ -132,6 +132,8 @@
 .It Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
 .It Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
 .It Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
+.It Dv SIGCKPT Ta "checkpoint process" Ta "Checkpoint"
+.It Dv SIGCKPTEXIT Ta "terminate process" Ta "Checkpoint and exit"
 .El
 .Pp
 The


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]