Subject: Re: wscons and color preferences
To: None <netbsd-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 02/09/2004 04:20:38
--zx4FCpZtqtKETZ7O
Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW"
Content-Disposition: inline


--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Christian Biere wrote:
> I've attached a small shell script which shows all possible combinations
> and also the history and future of NetBSD.

Who'd have thunk it...

--=20
Christian

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=colors
Content-Transfer-Encoding: quoted-printable

#! /bin/sh

colortable() {
	BG=3D0
	while [ $BG -lt 8 ]; do {
		tput AB $BG
		FG=3D0=09
		while [ $FG -lt 8 ]; do {
			tput AF $FG
			echo -n NetBSD $FG.$BG
			FG=3D$(($FG + 1))
		} done
		echo
		BG=3D$(($BG + 1))
	} done
	tput oc op
}

tput me
echo Normal colors:
colortable
tput md
echo Bold colors:
colortable

# vi: set ts=3D2:

--ew6BAiZeqk4r7MaW--

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

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

iD8DBQFAJvyG0KQix3oyIMcRAp90AKCM5loZpJjbEsPGYsCSQnaqA8KRgACeIHRU
9k53Jd8jKzRUWZCYMcVw5Og=
=4y6S
-----END PGP SIGNATURE-----

--zx4FCpZtqtKETZ7O--