Re: Controlling external hardware via lpt0

2004-08-03 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Aug 2004 01:34, Fernando Gleiser wrote: > The problem is, I can't even open the paralel port for writing, it > always fails with EBUSY. /dev/lpt0 expects a printer to be connected (you can open /dev/lpt0.ctl but this is not what you should

Re: Proper code style regarding hexadecimal case

2004-08-03 Thread Coleman Kane
Typically, I have used the lowercase formatting. Much of the code I work with has gone for the lowercase format as well. Typically setting something to 0x reads like yelling and stands out in the source, since keywords are all lowercase and most var/function names are as well. As an aside,

Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote: >>> My whole console is flooded with messages like these: >>> >>> "ipfw: install_state: entry already present, done" >>> >>> Is there a known patch? >> >> I just took a look at the code: >> >> if (q != NULL) { /* should never occur */ >> if (last_log != time_second) { >>

Re: Controlling external hardware via lpt0

2004-08-03 Thread Nicolas Rachinsky
* Fernando Gleiser <[EMAIL PROTECTED]> [2004-08-03 13:04 -0300]: > I need to control some external hardware with a small program in > FreeBSD. I thought about using the 8 data bits of the parallel port > for sending the control bits to the hardware. > The hardware is a very simple combinational lo

Re: Controlling external hardware via lpt0

2004-08-03 Thread Frank Nobis
Am 3. Aug 2004 um 18:04 schrieb Fernando Gleiser: Is there anything I'm missing? Are there a "programming and using the parallel port in FreeBSD" guide? You should try the ppi(4) driver. See the EXAMPLE section of the man page for details how to send single bytes to the port. Gruß Frank -

Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Mark wrote: > Bill Moran wrote: > >> How about using skipto instead of allow? Thus, if it passes the >> first one, it can just skipto the next rule to be checked. i.e.: >> >> ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32 >> ipfw add 12 allow tcp from any to me 25 setup limi

Controlling external hardware via lpt0

2004-08-03 Thread Fernando Gleiser
First, I apologize if this isn't the right place for asking this things I need to control some external hardware with a small program in FreeBSD. I thought about using the 8 data bits of the parallel port for sending the control bits to the hardware. The hardware is a very simple combinational lo

Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote: > How about using skipto instead of allow? Thus, if it passes the > first one, it can just skipto the next rule to be checked. i.e.: > > ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32 > ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4 > > Th

Re: FreeBSD and MySQL - mysqld eats CPU alive

2004-08-03 Thread somethrowawayaddy
On Sat, 31 Jul 2004, adp wrote: > I recently posted the following message to MySQL discussion list. The > response there, and the one I keep finding on Google, is that this is a > long-standing issue betweeen FreeBSD and MySQL. For me this has been > happening since FreeBSD 4.4. I had that proble

Virus intercepted

2004-08-03 Thread hackers
A message you sent to <[EMAIL PROTECTED]> contained Worm.SomeFool.X and has not been delivered. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"