Subject: LED fun [Re: change the default console color]
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Staffan =?iso-8859-1?Q?Thom=E9n?= <duck@multi.fi>
List: netbsd-users
Date: 03/29/2004 07:57:07
--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[ Original text by Lubomir Sedlacik indented ]
> On Fri, Mar 26, 2004 at 09:39:24PM +0100, Stefan Schumacher wrote:
> >=20
> > Much more 31337 is building a binary counter with PC keyboard-LEDs and
> > wsconsctl ;-)
> >=20
> > for i in 8 4 1 5 2 6 3 7=20
> >   do wsconsctl -w ledstate=3D$i 1>/dev/null; sleep 0.5=20
> > done;
>=20
> how l33t is this, then? ;)
>=20
> while :; do
>   for v in 4 5 7 3 2 8 2 3 7 5 4 0; do
>     wsconsctl -w ledstate=3D$v >/dev/null
>     case $v in 0) t=3D7;;
>                8) t=3D2;;
>                *) t=3D07;;
>     esac && sleep 0.$t
>   done
> done
>=20
> (i think especially Staffan will like it :)

 Gee, I'll have to get a netbsd box with a keyboard now... :-)

--=20
Staffan Thom=E9n
     GPG key: 1024D/7C7E2EF8
 Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8


--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAZ6yjEbvWbnx+LvgRAjdoAJ9Cxv49KYbTMe6dsnDiwtqcNAk+pwCeJ1M7
JYyH+VT7+w+6pzMic3/VfL8=
=YfzG
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--