summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpd/modes.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix about 90-100 warnings one gets when trying to compile lpr&friendsgad2001-06-121-5/+3
| | | | | | | | | | | | with BDECFLAGS on, mainly by adding 'const' to parameters in a number of routine declarations. While I'm at it, ANSI-fy all of the routine declarations. The resulting object code is exactly the same after this update as before it, with the exception of one unavoidable change to lpd.o on freebsd/alpha. Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c Reviewed by: /sbin/md5, and no feedback from freebsd-audit
* Fix a number of warnings that come up when compiling with BDECFLAGS.gad2001-03-161-7/+7
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix additional warnings. Remove -Werror, since some people have complainedwollman1998-09-111-1/+3
| | | | | | | about it. PR: 7886 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> (partially)
* Mega lpd/lpd upgrade, part I:wollman1997-12-021-2/+4
| | | | | | | | | | | | | | | - Get rid of a lot of the static variables which were shared by many routines and programs in the suite. - Create an abstract interface to the printcap database, so that other retrieval and iteration mechanisms could be developed (e.g., YP, Hesiod, or automatic retrieval from a trusted server). - Give each capability a human-readable name in addition to the historic two-character one. - Otherwise generally clean up a lot of dark corners. Many still remain. - When submitting jobs, use the official login name record (from getlogin()) if there is one, rather than reverse-mapping the uid. More to come...
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Makefile: Add new modes.c file to list of objects.sef1996-04-031-0/+232
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
OpenPOWER on IntegriCloud