From Gerhard.Sittig@gmx.net  Tue May 29 09:58:10 2001
Return-Path: <Gerhard.Sittig@gmx.net>
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20])
	by hub.freebsd.org (Postfix) with SMTP id D51BE37B424
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 May 2001 09:58:09 -0700 (PDT)
	(envelope-from Gerhard.Sittig@gmx.net)
Received: (qmail 15607 invoked by uid 0); 29 May 2001 16:58:08 -0000
Received: from p3ee2160c.dip.t-dialin.net (HELO speedy.gsinet) (62.226.22.12)
  by mail.gmx.net (mail01) with SMTP; 29 May 2001 16:58:08 -0000
Received: (from sittig@localhost)
	by speedy.gsinet (8.8.8/8.8.8) id RAA00978
	for FreeBSD-gnats-submit@freebsd.org; Tue, 29 May 2001 17:58:09 +0200
Message-Id: <20010529175809.N253@speedy.gsinet>
Date: Tue, 29 May 2001 17:58:09 +0200
From: Gerhard Sittig <Gerhard.Sittig@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] leave.1 manpage erratum
X-Send-Pr-Version: 3.2

>Number:         27747
>Category:       docs
>Synopsis:       [PATCH] leave.1 manpage erratum
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 29 10:00:02 PDT 2001
>Closed-Date:    Sun Jun 3 16:58:01 PDT 2001
>Last-Modified:  Sun Jun 03 16:58:10 PDT 2001
>Originator:     Gerhard Sittig
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
System Defenestrators Inc.
>Environment:

-STABLE as well as -CURRENT (their src/usr.bin/leave directories
are identical -- modulo RCS Id macros).

>Description:

The leave(1) manpage states that the program ignores several
signals while the program actually doesn't.

>How-To-Repeat:

----- `man leave` snippet ---------------------------------------
  [ ... ]

     Leave ignores interrupts, quits, and terminates.  To get rid of it you
     should either log off or use `kill -s KILL' giving its process id.

SEE ALSO
  [ ... ]
----- `man leave` snippet ---------------------------------------

$ grep SIG usr.bin/leave/leave.c
$ grep signal usr.bin/leave/leave.c
$ 

(eyeballing the source proves the fact and simply kill(1)ing it
works perfectly with the default TERM)

>Fix:

Apply the following patch to the manpage.

Index: usr.bin/leave/leave.1
===================================================================
RCS file: /CVSREPO/FreeBSD/src/usr.bin/leave/leave.1,v
retrieving revision 1.4.2.2
diff -u -r1.4.2.2 leave.1
--- usr.bin/leave/leave.1	2001/03/06 12:52:45	1.4.2.2
+++ usr.bin/leave/leave.1	2001/05/12 14:23:59
@@ -32,7 +32,7 @@
 .\"	@(#)leave.1	8.3 (Berkeley) 4/28/95
 .\" $FreeBSD: src/usr.bin/leave/leave.1,v 1.4.2.2 2001/03/06 12:52:45 ru Exp $
 .\"
-.Dd April 28, 1995
+.Dd May 12, 2001
 .Dt LEAVE 1
 .Os
 .Sh NAME
@@ -85,9 +85,9 @@
 or
 .Pa .profile .
 .Pp
-.Nm Leave
-ignores interrupts, quits, and terminates.
-To get rid of it you should either log off or use
+To get rid of
+.Nm
+you should either log off or use
 .Ql kill \-s KILL
 giving its process id.
 .Sh SEE ALSO


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.
>Release-Note:
>Audit-Trail:

From: Dima Dorfman <dima@unixfreak.org>
To: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/27747: [PATCH] leave.1 manpage erratum 
Date: Tue, 29 May 2001 15:25:35 -0700

 Gerhard Sittig <Gerhard.Sittig@gmx.net> writes:
 > Index: usr.bin/leave/leave.1
 > ===================================================================
 > RCS file: /CVSREPO/FreeBSD/src/usr.bin/leave/leave.1,v
 > retrieving revision 1.4.2.2
 > diff -u -r1.4.2.2 leave.1
 > --- usr.bin/leave/leave.1	2001/03/06 12:52:45	1.4.2.2
 > +++ usr.bin/leave/leave.1	2001/05/12 14:23:59
 > @@ -32,7 +32,7 @@
 >  .\"	@(#)leave.1	8.3 (Berkeley) 4/28/95
 >  .\" $FreeBSD: src/usr.bin/leave/leave.1,v 1.4.2.2 2001/03/06 12:52:45 ru Exp
 >  $
 >  .\"
 > -.Dd April 28, 1995
 > +.Dd May 12, 2001
 
 This is not appropriate.  The document date should be changed only
 when *nontrivial* changes are made.  E.g., adding a new option is
 nontrivial, while fixing a spelling error, typo, or misconception is
 trivial.
 
 Other than that, this looks good.  I'll commit it later today.
 
 					Dima Dorfman
 					dima@unixfreak.org
 
 
 >  .Dt LEAVE 1
 >  .Os
 >  .Sh NAME
 > @@ -85,9 +85,9 @@
 >  or
 >  .Pa .profile .
 >  .Pp
 > -.Nm Leave
 > -ignores interrupts, quits, and terminates.
 > -To get rid of it you should either log off or use
 > +To get rid of
 > +.Nm
 > +you should either log off or use
 >  .Ql kill \-s KILL
 >  giving its process id.
 >  .Sh SEE ALSO
 > 
 > 
 > virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
 > Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
 > -- 
 >      If you don't understand or are scared by any of the above
 >              ask your parents or an adult to help you.
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-doc" in the body of the message
 > 
State-Changed-From-To: open->analyzed 
State-Changed-By: dd 
State-Changed-When: Tue May 29 19:39:57 PDT 2001 
State-Changed-Why:  
Committed to -current, thanks! 


Responsible-Changed-From-To: freebsd-doc->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Tue May 29 19:39:57 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27747 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dd 
State-Changed-When: Sun Jun 3 16:58:01 PDT 2001 
State-Changed-Why:  
MFC'd 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27747 
>Unformatted:
