Hey Hugo, Thanks for the info!
I don't think that the rest of the list got the reply because "[EMAIL PROTECTED]" wasn't in one of the recipient fields. I don't know why the list doesn't include it. Regards, W. D. At 05:40 6/19/2004, [EMAIL PROTECTED], wrote: >Hey, > >I got this working, but only with a x-based program. I pkg_add'ed X and >started a small session with a xterm to be able to run this program (name >is xleds). For the interested guys, here is the script: > >ipfw-visual.sh: > >#!/bin/sh >tail -f /var/log/ipfw.log | \ > awk ' >$0 ~ /ICMP/ { >system("sh /scripts/scrlock"); >} >$0 ~ /TCP/ { >system("sh /scripts/numlock"); >} >$0 ~ /UDP/ { >system("sh /scripts/capslock"); >} >' > >all the /scripts/*lock consist of the following: > >#/bin/sh >xleds num >#sleep 0.05 >xleds num > >Change num for caps or scrl. I moved xleds to /usr/local/bin so don't need >a path. You can find this xleds thing easily on google :-) > >Initially I added a sleep delay, but when much traffic was being blocked >continuously it would keep on blinking the light a lot of time after >(because of the sleep delay), so later I removed this. > > > >Regards, > >Hugo >> At 14:08 6/18/2004, [EMAIL PROTECTED], wrote: >>>hey, >>> >>>I've been trying to find a program on the ports that allows me to change >>>the state of the keyboard LEDs. I want to put the keyboard on the room >>>wall and make a script to call a program which makes leds blink according >>>to the kind of traffic being blocked on the firewall. I want a program >>>like: >>> >>>blink 1 - blinks num lock >>>blink 2 - blinks caps lock >>>blink 3 - blinks scroll lock >>> >>>If there isn't such a program on the ports, perhaps someone with the >>>knowledge to write this program could do it ? I don't touch C for many >>>many years and couldn't find any function to do this. >>> >>>Any help appreciated! :-) >>> >>>Regards, >>> >>>Hugo >> >> Hugo, >> >> This sound insane, but very cool. Please let us know if you >> can get it to work. If FreeBSD has Linux emulation: >> http://www.Google.com/search?q=keyboard+kylix+%22num+lock%22+%22caps+lock%22 >> >> Start Here to Find It Fast!™ -> >> http://www.US-Webmasters.com/best-start-page/ >> $8.77 Domain Names -> http://domains.us-webmasters.com/ >> >> _______________________________________________ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > > >-- >www.6s-gaming.com Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"