Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 1995 12:22:44 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Gary Clark II <gclarkii@freefall.cdrom.com>
Cc:        freebsd-current@freefall.cdrom.com
Subject:   sysctl (lpt control)
Message-ID:  <9508011622.AA17282@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199508010145.SAA00586@freefall.cdrom.com>
References:  <199508010145.SAA00586@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 31 Jul 1995 18:45:50 +1700 (PDT), Gary Clark II <gclarkii@freefall.cdrom.com> said:

> How hard would it be to add the ability to turn printer poll mode
> off and on via a sysctl variable?  Or could we add it to sysconfig?
> I see this question ALL of the time.

The devconf mechanism was specifically designed to perform this task.
However, the current implementation leaves something to be desired.
For the moment, I think the best way to perform this operation is to
create a `lptcontrol' script that opens the device and does an
ioctl().

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508011622.AA17282>