Source-Changes-HG archive

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

[src/trunk]: src/bin/kill kill is built-in to more than just csh(1).



details:   https://anonhg.NetBSD.org/src/rev/664431c615f1
branches:  trunk
changeset: 971839:664431c615f1
user:      kre <kre%NetBSD.org@localhost>
date:      Wed May 06 09:07:15 2020 +0000

description:
kill is built-in to more than just csh(1).
While here, add missing Xr sh 1 (which was previously needed, moreso now)
and also include STOP and CONT in the list of common signals.

diffstat:

 bin/kill/kill.1 |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 07248c7e58f6 -r 664431c615f1 bin/kill/kill.1
--- a/bin/kill/kill.1   Wed May 06 07:25:26 2020 +0000
+++ b/bin/kill/kill.1   Wed May 06 09:07:15 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kill.1,v 1.28 2017/04/22 23:01:36 christos Exp $
+.\"    $NetBSD: kill.1,v 1.29 2020/05/06 09:07:15 kre Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -120,10 +120,19 @@
 ALRM (alarm clock)
 .It 15
 TERM (software termination signal)
+.It 17
+STOP (non-catchable, non-ignorable, causes process to temporarily stop,
+after which it can later be resumed using
+.Dv SIGCONT )
+.It 19
+CONT (stopped proceses resume execution)
 .El
 .Pp
 .Nm
-is a built-in to
+is a built-in to most shells,
+including
+.Xr sh 1
+and
 .Xr csh 1 ;
 it allows job specifiers of the form ``%...'' as arguments
 so process id's are not as often used as
@@ -131,6 +140,8 @@
 arguments.
 See
 .Xr csh 1
+or
+.Xr sh 1
 for details.
 .Sh DIAGNOSTICS
 .Ex -std
@@ -139,6 +150,7 @@
 .Xr pgrep 1 ,
 .Xr pkill 1 ,
 .Xr ps 1 ,
+.Xr sh 1 ,
 .Xr kill 2 ,
 .Xr sigaction 2 ,
 .Xr signal 7



Home | Main Index | Thread Index | Old Index