Subject: Re: change the default console color
To: Staffan Thomen <duck@multi.fi>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 03/29/2004 03:26:17
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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;

how l33t is this, then? ;)

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

(i think especially Staffan will like it :)

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

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

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

iD8DBQFAZ3s5iwjDDlS8cmMRAnYOAJ9K5z/7nnqV0Il9FOno8XgKlHzgcwCeNvml
0+RENbVtgCEIHgyUUK8r6eM=
=mTox
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--