From owner-freebsd-bugs Sat Dec 7 04:00:06 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA23154 for bugs-outgoing; Sat, 7 Dec 1996 04:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA23143; Sat, 7 Dec 1996 04:00:02 -0800 (PST) Date: Sat, 7 Dec 1996 04:00:02 -0800 (PST) Message-Id: <199612071200.EAA23143@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: bin/2139: /usr/sbin/lpc cannot clean queues Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/2139; it has been noted by GNATS. From: J Wunsch To: nate@mt.sri.com Cc: ted@emerald.plymouth.edu, freebsd-gnats-submit@freebsd.org Subject: Re: bin/2139: /usr/sbin/lpc cannot clean queues Date: Sat, 7 Dec 1996 12:44:24 +0100 (MET) As Nate Williams wrote: > Apparently, lpc is doing the 'documented' feature. From the manpage: > > clean { all | printer } > Remove any temporary files, data files, and control files that > cannot be printed (i.e., do not form a complete printer job) from > the specified printer queue(s) on the local machine. > > So, it won't 'clean' any jobs that are complete. From my memory, older > BSD implementations had 'clean' wiping out everything. > > In any case, I prefer the latter vs. the current implementation, but I'm > not going to shove it into our tree w/out further support. Perhaps the man page should hint that ``lprm [-Pprinter] -'', executed by the superuser, cleans all complete jobs. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)