summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lptcontrol/lptcontrol.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless mode argument to open().ssouhlal2005-01-251-1/+1
| | | | | Reported by: Liam J. Foy <liamfoy@gmail.com> Approved by: grehan (mentor)
* General overhaul:schweikh2004-10-011-41/+52
| | | | | | | | | - Makefile: WARNS=6 - man page: sort options, better xrefs, informative BUGS section - C source: proper option parsing, use printer control (.ctl) device, removed heaps of bit rot, style(9) cleanup, WARNS=6 cleanup. Prodded by: joerg
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-021-1/+1
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Constify, add a prototype, and set WARNS=2.dd2001-06-241-2/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* use _PATH_DEValfred2000-07-141-1/+1
|
* <machine/lpt.h> does not exist anymore. use <dev/ppbus/lptio.h> now.peter2000-05-191-1/+1
| | | | Forgotten by: obrien
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add -e option and change unit to device access in lptcontrol.8nsouch1999-02-141-22/+7
| | | | | | Change unit to device access in lptcontrol.c. Now usage is lptcontrol -i | -p | -e [-d /dev/lpt?]
* Major ppbus commit with:nsouch1999-01-101-3/+7
| | | | | | | | | | | | | | | | | | | + ECP parallel port chipset FIFO detection + DMA+FIFO parallel I/O handled as chipset specific + nlpt updated in order to use the above enhanced parallel I/O. Use 'lptcontrol -e' to use enhanced I/O + Various options documented in LINT + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for an overview of the IEEE1284 standard + Detection of PnP parallel devices at boot + Read capability added to nlpt driver to get IEEE1284 compliant printer status with a simple 'cat /dev/lpt0' + IEEE1284 peripheral emulation added to BYTE mode. Two computers may dialog according to IEEE1284 signaling method. See PERIPH_1284 option and /sys/dev/ppbus/ppi.c All this code is supposed to provide basic functions for IEEE1284 programming. ppi.c and nlpt.c may act as examples.
* Use err(3).charnier1997-09-251-20/+15
|
* 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.
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Make it possible to run lptcontrol on a printer port which does notcsgr1994-09-031-17/+37
| | | | | | | | | | | | | | | | | actually have a printer connected or online: - MAKEDEV: remove all signs of lpa add lpctl? devices (minor # = unit + 128) - usr.sbin/Makefile add lptcontrol - sys/i386/isa/lpt.c implement the LP_BYPASS flag: when a unit is opened with this flag set, the printer is not primed, and no check is made to see that the printer is online. This can only be used to pass ioctls. (giving us /dev/lpctl?) - lptcontrol.c use /dev/lpctl? (LP_BYPASS) -f flag removed, -u flag added - lptcontrol.8 document changes in lptcontrol rewrite using mandoc macros Submitted by: Geoff.
* Bring in lptcontrol from 1.1.5.1csgr1994-09-031-0/+93
Submitted by: Geoff
OpenPOWER on IntegriCloud