Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 17:58:09 +0200
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/27747: [PATCH] leave.1 manpage erratum
Message-ID:  <20010529175809.N253@speedy.gsinet>

next in thread | raw e-mail | index | archive | help

>Number:         27747
>Category:       docs
>Synopsis:       [PATCH] leave.1 manpage erratum
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 29 10:00:02 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010529175809.N253>