From owner-freebsd-bugs Mon Dec 2 21:40:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10190 for bugs-outgoing; Mon, 2 Dec 1996 21:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10169; Mon, 2 Dec 1996 21:40:02 -0800 (PST) Date: Mon, 2 Dec 1996 21:40:02 -0800 (PST) Message-Id: <199612030540.VAA10169@freefall.freebsd.org> To: freebsd-bugs Cc: From: Nate Williams Subject: Re: bin/2139: /usr/sbin/lpc cannot clean queues Reply-To: Nate Williams 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: Nate Williams To: ted@emerald.plymouth.edu Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/2139: /usr/sbin/lpc cannot clean queues Date: Mon, 2 Dec 1996 22:33:54 -0700 (MST) Ted Wisniewski writes: > > >Number: 2139 > >Category: bin > >Synopsis: /usr/sbin/lpc cannot clean queues > > >Description: > > /usr/sbin/lpc cannot be used to clean printer queues due to a logic > error. > > >How-To-Repeat: > > Stop a queue (lpc stop queuename) > send stuff to it (lpr -Pqueuname filename) > Clean the queue (lpc clean queuename) > > Stuff is not deleted. > > >Fix: 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. Nate