summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-10-17 19:59:48 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-10-17 19:59:48 +0000
commita955402139ba46da5c8d7fd2cbf441b6fbfbe56b (patch)
treec68766100bfb4872be8d2b697206476191c67494
parent6d45fe9c514b1daec4167375c3f4c4af329f7025 (diff)
Use the AT&T UNIX macros.
-rw-r--r--bin/cat/cat.15
-rw-r--r--sbin/dump/dump.85
-rw-r--r--usr.bin/look/look.15
-rw-r--r--usr.bin/wc/wc.17
-rw-r--r--usr.sbin/lpr/lpd/lpd.823
5 files changed, 26 insertions, 19 deletions
diff --git a/bin/cat/cat.1 b/bin/cat/cat.1
index 4e37568db6a..a9cfb31ef83 100644
--- a/bin/cat/cat.1
+++ b/bin/cat/cat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cat.1,v 1.14 1999/08/16 18:40:00 aaron Exp $
+.\" $OpenBSD: cat.1,v 1.15 1999/10/17 19:59:45 aaron Exp $
.\" $NetBSD: cat.1,v 1.12 1995/09/27 05:38:55 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -188,7 +188,8 @@ are extensions to the specification.
.Sh HISTORY
A
.Nm
-utility appeared in Version 1 AT&T UNIX.
+utility appeared in
+.At v1 .
.Sh BUGS
Because of the shell language mechanism used to perform output
redirection, the command
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index d6173981d8f..4478023abb8 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dump.8,v 1.20 1999/07/04 18:59:38 aaron Exp $
+.\" $OpenBSD: dump.8,v 1.21 1999/10/17 19:59:45 aaron Exp $
.\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -418,4 +418,5 @@ for the operator running
.Sh HISTORY
A
.Nm
-command appeared in Version 6 AT&T UNIX.
+command appeared in
+.At v6 .
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1
index 1cee52c29b7..b59c171c501 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: look.1,v 1.4 1999/06/05 01:21:32 aaron Exp $
+.\" $OpenBSD: look.1,v 1.5 1999/10/17 19:59:45 aaron Exp $
.\" $NetBSD: look.1,v 1.3 1994/12/23 01:10:59 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -104,4 +104,5 @@ This was incorrect and the current man page matches the historic
implementation.
.Sh HISTORY
.Nm
-appeared in Version 7 AT&T Unix.
+appeared in
+.At v7 .
diff --git a/usr.bin/wc/wc.1 b/usr.bin/wc/wc.1
index 53f905d04f8..e64c7abf4d1 100644
--- a/usr.bin/wc/wc.1
+++ b/usr.bin/wc/wc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wc.1,v 1.5 1999/02/02 03:44:07 millert Exp $
+.\" $OpenBSD: wc.1,v 1.6 1999/10/17 19:59:47 aaron Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -133,3 +133,8 @@ The
.Nm wc
utility conforms to
.St -p1003.2-92 .
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.At v1 .
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index 9a0d06d5319..96c08f8693d 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lpd.8,v 1.8 1999/06/05 22:17:17 aaron Exp $
+.\" $OpenBSD: lpd.8,v 1.9 1999/10/17 19:59:44 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,7 +43,7 @@
.Nm lpd
.Op Fl l
.Sh DESCRIPTION
-.Nm lpd
+.Nm
is the line printer daemon (spool area handler) and is normally invoked
at boot time from the
.Xr rc 8
@@ -59,13 +59,11 @@ transfer files to the spooling area, display the queue,
or remove jobs from the queue. In each case, it forks a child to handle
the request so the parent can continue to listen for more requests.
.Pp
-Available options:
+The options are as follows:
.Bl -tag -width Ds
.It Fl l
-The
-.Fl l
-flag causes
-.Nm lpd
+Cause
+.Nm
to log valid requests received from the network. This can be useful
for debugging purposes.
.El
@@ -185,14 +183,14 @@ is invoked in a pipeline).
If a file cannot be opened, a message will be logged via
.Xr syslog 3
using the
-.Em LOG_LPR
+.Dv LOG_LPR
facility.
-.Nm lpd
+.Nm
will try up to 20 times
to reopen a file it expects to be there, after which it will
skip the file to be printed.
.Pp
-.Nm lpd
+.Nm
uses
.Xr flock 2
to provide exclusive access to the lock file and to prevent multiple
@@ -205,7 +203,7 @@ and contains two lines.
The first is the process ID of the daemon and the second is the control
file name of the current job being printed. The second line is updated to
reflect the current status of
-.Nm lpd
+.Nm
for the programs
.Xr lpq 1
and
@@ -242,4 +240,5 @@ but not under same administrative control
.Sh HISTORY
An
.Nm
-daemon appeared in Version 6 AT&T UNIX.
+daemon appeared in
+.At v6 .