diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-05 01:29:41 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-05 01:29:41 +0000 |
commit | 6267016edabf294ae427e2066c9fe93d015f849b (patch) | |
tree | b3c44c6071fcd5d121e63bd0b1fd6e5bc380b245 /usr.sbin/lpr/lprm | |
parent | 1805b94e6caa317d402e398fa06fa3d93d6827a0 (diff) |
more .Os cleansing
Diffstat (limited to 'usr.sbin/lpr/lprm')
-rw-r--r-- | usr.sbin/lpr/lprm/lprm.1 | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/usr.sbin/lpr/lprm/lprm.1 b/usr.sbin/lpr/lprm/lprm.1 index ecdf3909e4e..e52ce2b1cfd 100644 --- a/usr.sbin/lpr/lprm/lprm.1 +++ b/usr.sbin/lpr/lprm/lprm.1 @@ -33,7 +33,7 @@ .\" .Dd June 6, 1993 .Dt LPRM 1 -.Os BSD 4.2 +.Os .Sh NAME .Nm lprm .Nd remove jobs from the line printer spooling queue @@ -41,10 +41,10 @@ .Nm lprm .Op Fl P Ns Ar printer .Op Fl -.Op job # ... -.Op Ar user ... +.Op Ar job# Ar ... +.Op Ar user Ar ... .Sh DESCRIPTION -.Nm Lprm +.Nm lprm will remove a job, or jobs, from a printer's spool queue. Since the spooling directory is protected from users, using .Nm lprm @@ -62,7 +62,7 @@ Specify the queue associated with a specific (otherwise the default printer is used). .It Fl If a single -.Sq Fl +.Dq Fl is given, .Nm lprm will remove all jobs which a user @@ -91,22 +91,22 @@ program, e.g. .El .Pp If neither arguments or options are given, -.Nm Lprm +.Nm lprm will delete the currently active job if it is owned by the user who invoked .Nm lprm . .Pp -.Nm Lprm +.Nm lprm announces the names of any files it removes and is silent if there are no jobs in the queue which match the request list. .Pp -.Nm Lprm +.Nm lprm will kill off an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automatically restarted upon completion of file removals. .Sh ENVIRONMENT If the following environment variable exists, it is utilized by -.Nm lprm . +.Nm lprm : .Bl -tag -width PRINTER .It Ev PRINTER If the environment variable @@ -121,20 +121,22 @@ the default printer is assumed from .Sh FILES .Bl -tag -width /var/spool/*/lock/ -compact .It Pa /etc/printcap -Printer characteristics file. +printer characteristics file .It Pa /var/spool/* -Spooling directories. +spooling directories .It Pa /var/spool/*/lock -Lock file used to obtain the pid of the current -daemon and the job number of the currently active job. +lock file used to obtain the PID of the current +daemon and the job number of the currently active job .El .Sh SEE ALSO .Xr lpq 1 , .Xr lpr 1 , .Xr lpd 8 .Sh DIAGNOSTICS -.Dq Permission denied -if the user tries to remove files other than his own. +.Bl -tag -width Ds +.It Sy Permission denied +Printed if the user tries to remove files other than his own. +.El .Sh BUGS Since there are race conditions possible in the update of the lock file, the currently active job may be incorrectly identified. |