Date: Mon, 2 Dec 1996 21:40:02 -0800 (PST) From: Nate Williams <nate@mt.sri.com> To: freebsd-bugs Subject: Re: bin/2139: /usr/sbin/lpc cannot clean queues Message-ID: <199612030540.VAA10169@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2139; it has been noted by GNATS.
From: Nate Williams <nate@mt.sri.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612030540.VAA10169>
