freebsd-dev/usr.sbin/lpr
Garance A Drosehn 004c9c5da2 Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows
one to see what files would be removed *if* an 'lpc clean' is done.  'tclean'
will remove no files, and is therefore not a privileged command.  Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them).  They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.

The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved.  For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.

Reviewed by:	freebsd-print@bostonradio.org  freebsd-audit@FreeBSD.org
MFC after:	2 weeks
2001-06-25 02:05:03 +00:00
..
chkprintcap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
common_source Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
filters Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
filters.ru moved to koi2alt 1999-09-23 02:54:44 +00:00
lp beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lpc Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows 2001-06-25 02:05:03 +00:00
lpd Add two new options for lpd: -c will log all connection-errors to syslog, 2001-06-25 01:45:25 +00:00
lpq Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpr Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lprm Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lptest Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
pac Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
SMM.doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Add a comment pointing to the freebsd-print@bostonradio.org mailing list. 2001-03-12 02:13:08 +00:00
Makefile.inc IPv6 support for lpr. 2000-12-16 18:06:09 +00:00