summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Collapse)Author
2010-02-18Each .Bk must be closed by .Ek.Ingo Schwarze
Found by and unbreaking the build with mandoc(1). OK jmc@
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2009-12-29replace a few remaining UNIX terms with .Ux macros; this diffIgor Sobrado
completes the changes from Oct 22.
2009-10-29it is possible specifying more than one printer concurrently; useIgor Sobrado
.Op macros for options instead of hardcoding brackets; remove a few superfluous .Ar macros before ellipsis; "usage:" is lower case; while here, apply some spacing tweaks. tweaked by jmc@ for a synopsis with too many arguments. ok jmc@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-03-03spacesKevin Steves
2008-09-02be more careful in checking disk space; ok millertTheo de Raadt
2008-05-26cgetstr(3) can also return 2 so handle that. Also restructre things a bitOtto Moerbeek
to get rid of the flag var. ok deraadt@ fgsch@
2008-05-22Comparing string literals does not work as the author expected.Otto Moerbeek
From Adam Majer (debian maintaner); looks correct fgs@
2008-04-15- make it clear that hosts.lpd follows the same syntax that hosts.equiv(5)Antoine Jacoutot
inputs from jmc@ "looks ok" beck@ (similar older diff), "fine by me" jmc@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-05remove code for -W, argument now a no-op; ok millert@Kevin Steves
2007-05-03Deprecate the -W flag; it has been the default for years now.Todd C. Miller
Joint effort with stevesk@ and jmc@
2007-05-01remove #ifndef SUN_LEN; ok millert@Kevin Steves
2007-05-01use warn() vs. perror() for consistency; ok millert@Kevin Steves
2007-04-08I have an HP LaserJet (P2015dn) whose LPR implementation may not endKevin Steves
the send queue state command stream with '\n'; check for this case and print '\n' if needed. Without this you may see something like: $ lpq queue empty$ ok millert@
2007-04-07KNF, spaces; ok millert@Kevin Steves
2007-04-07trailing "\n" not needed in fatal(); ok millert@Kevin Steves
2007-03-16remove unused variable; ok millert@Kevin Steves
2007-03-13typos in comments; ok millert@Kevin Steves
2007-03-06tidy up synopsis, usage(), and options list; from Igor SobradoJason McIntyre
2007-02-16sort options; from Igor SobradoJason McIntyre
2007-02-16sync synopsis and usage(); from Igor SobradoJason McIntyre
2007-02-16sort options and sync usage(); from Igor SobradoJason McIntyre
2007-02-12kill extra word;Jason McIntyre
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from ↵Theo de Raadt
Tamas TEVESZ; ok millert
2006-10-11use SEEK_SET; chl@tuxfamily.orgTheo de Raadt
2006-04-08Plug memory leak when nitems == 0.Ray Lai
From NetBSD from Coverity CID 1752. OK jaredy@
2005-11-12use asprintf instead; dhill@mindcry.orgTheo de Raadt
2005-07-17document that clients need dns entries;Jason McIntyre
from martin crossley, pr #4293; ok krw@, millert@
2005-04-28add vsnprintf error checking. ok cloder@ millert@Moritz Jodeit
2005-03-25Use the return value from getopt() instead of optopt in non-errorJared Yanovich
cases since optopt is not set in these cases, and it is not required by POSIX that it should be. ok millert otto
2004-12-16default wait time for dead server connection is 300 seconds, not 120.Moritz Jodeit
ok millert@, henning@
2004-11-17NI_WITHSCOPEID is no more.Jun-ichiro itojun Hagino
2004-09-30Avoid a segfault if only whitespace characters are entered at theTodd C. Miller
lpc> prompt and fix an off by one when splitting a line into an argument vector. Based on a patch from Patrick Latifi. OK otto@
2004-09-28Simpler loop to free queue items. OK otto@Todd C. Miller
2004-09-28Fix leaks in error paths. from Patrick Latifi. ok millert@Otto Moerbeek
2004-05-10Do not always print banner page.Otto Moerbeek
ok henning@ millert@
2004-04-14Pass the job name to the input filter via the -j flag. Some filtersTodd C. Miller
(like foomatic) expect to be able to pass information from lpr via the job name. OK beck@
2004-04-13Treat 'o' format files (PostScript) from MacOS 10.1 the same as 'l',Todd C. Miller
not 'f', since PostScript can contain binary data. From FreeBSD.
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
handler below. millert@ ok
2004-02-01add paper.txt target;Jason McIntyre
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-16safer realloc. deraadt okJun-ichiro itojun Hagino
2003-09-26realloc fixes; ok deraadt millertPeter Valchev
2003-09-03plug mem leaks, pr3425 from patrick latifi. ok deraadt@Ted Unangst
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.