summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
AgeCommit message (Collapse)Author
1998-08-03Set SO_REUSEADDR on printer/tcp service (port 515); csapuntz@clearviewtech.comTodd C. Miller
1998-06-28Treat a printer as remote iff RM is not us or RP is set and it doesn't match theAngelos D. Keromytis
current printer;dwmalone@maths.tcd.ie
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-04-22buf mishandling; rotel@indigo.ieTheo de Raadt
1998-02-27be more paranoid.Theo de Raadt
By the way, the lp* tools are in need of a full test sometime in the next two weeks. I want to hear from someone who is running all of them that they work 100% fine. I do not own a printer, so I'm going to rely on someone out there to take care of this..
1998-02-15Use keepalives as the protocol never notices if a networked printerNiklas Hallqvist
dies.
1997-10-05be more paranoid; based on problem report by mhpower@MIT.EDUTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-09Use setlogin("") instead of setlogin(user) since target user is daemon.Todd C. Miller
1997-09-09Use setlogin(2).Todd C. Miller
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-27use sendmail -tTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-25restore traditional "all" keyword option - see lpc(8)grr
1997-07-24inet_aton() returns 0 on error, not -1.Todd C. Miller
1997-07-231 byte oflows; millertTheo de Raadt
1997-07-231 byte oflow; Don.Lewis@tsc.tdk.comTheo de Raadt
1997-07-21careful about unlink; oliverTheo de Raadt
1997-07-20careful with usernames; oliverTheo de Raadt
1997-07-20careful with link paths; oliverTheo de Raadt
1997-07-19Wall cleanup; people running lpd should test!Theo de Raadt
1997-07-18Be extra careful when unlinking data file to only remove a file isTodd C. Miller
it is in the current dir and df*. From imp@openbsd.org.
1997-07-17WallTheo de Raadt
1997-07-17proto ksearch/msearchTheo de Raadt
1997-07-17unistd.hTheo de Raadt
1997-07-17fix XrTheo de Raadt
1997-07-17Change a strcpy() -> strncpy() because I'm paranoid.Todd C. Miller
1997-07-16crank dfname/tfname; freebsdTheo de Raadt
1997-07-09Fix strncat(3) usage.Todd C. Miller
1997-07-08BUFSIZ -> MAXPATHLEN and strcat -> strncat.Todd C. Miller
1997-06-23It is not a reasonable default behavior to abort a printout because of itskstailey
size now that there's PostScript[tm].
1997-06-21fix -a synopsis typo; joerg@freebsdTheo de Raadt
1997-06-20add newline to messagekstailey
1997-06-20I wasted a lot of paper because of the way that printcap mx is handled.kstailey
I don't even have an mx in my printcap, the default is too small, a 45 page PostScript file with some images should not barf because of the default mx. I will deal with this in a better way later.
1997-06-02lpd has no support for specifying port option; sounds silly anyways; ↵Theo de Raadt
tinguely@plains.NoDak.edu
1997-04-04when mktemp() is hard to fix, use 10 XTheo de Raadt
1997-01-17Add OpenBSD tags (was in wrong dir for previous commit)Todd C. Miller
1997-01-17Add OpenBSD tagsTodd C. Miller
1997-01-17Possible buf oflow.Todd C. Miller
1997-01-17OpenBSD tagsTodd C. Miller
1997-01-17possible oflowTodd C. Miller
1997-01-06add -r switch for onlcr translationMichael Shalayeff
1996-12-20initialize name; is this the right hack?Theo de Raadt
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-05inverted logicTheo de Raadt
1996-11-05lpr suite uses getcap(3) so this is never used!Todd C. Miller
1996-11-04Remove dead code as pointed out by bitblt. Also nuke the gross #defines,Todd C. Miller
making things printcap specific (we don't use the old termcap code anyway...) We should really just use getcap(3).
1996-11-04Don't use access(2) -- from Theo.Todd C. Miller
1996-11-03Improve portability by using ANSI/POSIX interfaces when possible.Todd C. Miller
1996-10-31buf oflows pendantryTodd C. Miller