Bug 27747

Summary: [PATCH] leave.1 manpage erratum
Product: Documentation Reporter: Gerhard Sittig <Gerhard.Sittig>
Component: Books & ArticlesAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gerhard Sittig 2001-05-29 18:00:02 UTC
The leave(1) manpage states that the program ignores several
signals while the program actually doesn't.

Fix: Apply the following patch to the manpage.



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.--YmVMRK6QZVAE7jvfX8wAg4ck8tTFQx7F6aEqBQKm8eiKJO3g
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
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)
Comment 1 dima 2001-05-29 23:25:35 UTC
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
>
Comment 2 dd freebsd_committer freebsd_triage 2001-05-30 03:39:57 UTC
State Changed
From-To: open->analyzed

Committed to -current, thanks! 


Comment 3 dd freebsd_committer freebsd_triage 2001-05-30 03:39:57 UTC
Responsible Changed
From-To: freebsd-doc->dd

My MFC reminder.
Comment 4 dd freebsd_committer freebsd_triage 2001-06-04 00:58:01 UTC
State Changed
From-To: analyzed->closed

MFC'd