diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-10-17 19:59:48 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-10-17 19:59:48 +0000 |
commit | a955402139ba46da5c8d7fd2cbf441b6fbfbe56b (patch) | |
tree | c68766100bfb4872be8d2b697206476191c67494 /usr.sbin/lpr/lpd/lpd.8 | |
parent | 6d45fe9c514b1daec4167375c3f4c4af329f7025 (diff) |
Use the AT&T UNIX macros.
Diffstat (limited to 'usr.sbin/lpr/lpd/lpd.8')
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.8 | 23 |
1 files changed, 11 insertions, 12 deletions
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 . |