summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
Commit message (Collapse)AuthorAgeFilesLines
* "appeared in 4.2BSD.." changed to "appeared in 4.2BSD."alex1996-07-271-1/+1
|
* Correct the Unix programmer's error #1: "char c = getc();".joerg1996-07-171-2/+4
| | | | | | Closes PR # bin/1386: lpf Text Filter does not w... Submitted by: andreas@marvin.RoBIN.de
* People ask in Usenet, how to configure remoteprinting successfullywosch1996-06-012-1/+3
| | | | | | | having a hosts.lpd(5) manpage and some references to it from within lpd(8) might help here. Close PR docs/1277 Submitted by: andreas@knobel.gun.de (Andreas Klemm)
* Convert the option parser to use getopt(3). This makes it morejoerg1996-05-112-87/+89
| | | | | | | | | | | | orthogonal with the rest of the system (you can now use either -PPS or -P PS), and makes the parser more intelligible. The only drawback is that the old semantics for the -i flag in case a non-numeric argument is following are no longer fully supported (only if -i is the very last arg at all), since getopt(3) doesn't support the discticnction between numeric and non-numeric arguments. Make lpr also understand dashes as input pseudo filenames. This finally makes lp(1) fully comply with Posix.2.
* Clean out the BUGS section/comments now that our lpr has a betterjoerg1996-05-112-21/+2
| | | | option parsing.
* Cleanup.joerg1996-05-0918-1041/+20
| | | | | | | | | The removed files are no longer needed, they are actually labelled as ``Use only if you are not 4.4BSD''. (Yeah, the ol' crufty printcap.c is really gone!) Properly declare all external objects in files ending in .h, as opposed to embed them into files ending in .c.
* Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's reallyjoerg1996-05-0512-206/+421
| | | | | | | | | | | | surprising how many trivial errors there have been... :-) Some more cleanup is needed, but i'd like to separate the Lite2 changes from other work, that's why this goes into a different commit. People with serial printers should see whether i have broken the stty- style printcap options (i hope not). Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
* Fix my botched 4.4Lite2 import, and revert these files to their HEADjoerg1996-05-052-17/+16
| | | | versions.
* This commit was generated by cvs2svn to compensate for changes in r15637,joerg1996-05-059-46/+728
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor-branch import of the 4.4BSD-Lite2 code for lpr. There arejoerg1996-05-0516-137/+964
| | | | | | | | | | | | | | | | several bugfixes in it that are worth considering. Don't be alarmed about the import conflicts... Obtained from: 4.4BSD-Lite2
* | Correct some man page xrefs, and some other minor changes to bring somempp1996-04-083-10/+9
| | | | | | | | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* | Correct some cross references and some path names.mpp1996-04-061-2/+2
| |
* | Makefile: Add new modes.c file to list of objects.sef1996-04-035-57/+497
| | | | | | | | | | | | | | | | | | | | printjob.c: Use termios instead of sgtty structs and ioctls; remove support for fs/fc/xs/xc capabilities, and replace them with the ms capability (stty-like words, instead of octal bit patterns). modes.c: Modified from stty's file, parses comma-seperated list of tty modes (e.g., "cs8,-paren,-opost"). Reviewed by: rgrimes, joerg
* | Remove definitions and declarations for FS, FC, XS, XC variables, andsef1996-04-032-8/+2
| | | | | | | | | | | | replace them with MS char* variable. Reviewed by: rgrimes, joerg
* | printcap.5: Remove fs,fc,xs,xc capability, and replace them with the mssef1996-04-031-5/+3
| | | | | | | | | | | | capability Reviewed by: rgrimes, joerg
* | Correct a bunch of man page cross references and generallympp1996-02-111-3/+3
| | | | | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* | Mention a bug in lpd that causes a core dump if a request is made forjoerg1996-01-071-0/+10
| | | | | | | | | | | | a file format where no filter is assigned. Pointed out by: Richard_Pontefract@vos.stratus.com
* | Fix a longstanding bug in `lpr -r'. I used alloca() instead ofjkh1995-10-051-0/+1
| | | | | | | | | | malloc(), but the change is fundamentally Chris's. Submitted by: Chris Stenton <jacs@gnome.co.uk>
* | Initialize the group list so that any filter programs that arempp1995-09-022-2/+18
| | | | | | | | run by lpd are not run with root's groups.
* | Remove the comment about the broken getopts(1) in our /bin/sh.joerg1995-08-061-6/+1
| |
* | The other day someone brought me an old Apple Laserwriter II with a serialwpaul1995-07-312-0/+4
| | | | | | | | | | | | | | interface set at 57600 baud, and I found out the hard way that lpd doesn't know about speeds greater than 38400, even though <sys/ttydev.h> also permits 57600 and 115200 baud. Fix this by adding B57600 and B115200 to the 'bauds' table. (The Apple printer worked properly once I did this, BTW. :)
* | Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-251-1/+1
| | | | | | | | specified in the top level Makefiles.
* | lpr uses access(2) to determine if the parent directory of the filetorstenb1995-07-171-3/+23
| | | | | | | | | | | | | | is writeable (by the real uid). if it is, lpr assumes that the file can be unlinked. lpr does not check for directories with S_ISVTX set Reviewed by: dima
* | pac had a grudge against usernames starting with 't', because of a typo.peter1995-07-171-1/+1
| | | | | | | | | | | | Reviewed by: Submitted by: Kenji Tomita Obtained from:
* | Remove trailing whitespace.rgrimes1995-05-3011-35/+35
| |
* | Close PR:jkh1995-04-272-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | >Number: 368 >Category: bin >Synopsis: Lpd doesn't log errors after failed exec >Description: If an exec done by lpd fails, nothing is sent to the system log indicating what went wrong. This is because lpd closes all of the file descriptors before doing the exec, thus closing the syslog file descriptor in the process. [Fix applied] Submitted by: pritc003@maroon.tc.umn.edu
* | Add missing ${.CURDIR}ache1995-01-241-1/+1
| |
* | Implementing the "lp" command.joerg1995-01-233-0/+215
| | | | | | | | | | | | This command is required to exist in terms of compatibility with the Posix 1003.2 specification. It actually invokes the lpr service with the proper options.
* | Add "lp" to list of subdirs.joerg1995-01-231-1/+1
| |
* | Use the "-F" option to /bin/pr now that we have it (thanks to Posix).joerg1995-01-082-4/+6
| | | | | | | | | | | | This helps for printers that tend to get out of sync. (For the cautious folks: we used to have it in 1.1.5, too. But GNU pr used "-f" for it.)
* | Submitted by: Ollivier ROBERTats1995-01-041-1/+1
| | | | | | | | | | Wrong description where the printer socket lives. Changed from /dev/printer to /var/run/printer. Bug report submitted by Ollivier ROBERT.
* | Fixed a typo: /usr/sbin/lpd* to /usr/sbin/lpd as the name of the daemon.ats1994-12-111-1/+1
| |
* | Get rid of update. Make man page installation work with our schemewollman1994-08-057-3/+7
| | | | | | | | (and rename a few in the process).
* | BSD 4.4 Lite Share Sourcesrgrimes1994-05-301-0/+288
| |
* | This commit was generated by cvs2svn to compensate for changes in r1553,rgrimes1994-05-2650-0/+10940
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-2650-0/+10940
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-264-0/+2840
OpenPOWER on IntegriCloud