Date: Tue, 11 Apr 2000 23:03:49 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Gary Kline <kline@tera.com> Cc: freebsd-questions@freebsd.org Subject: Re: vidcontrol to set background... Message-ID: <20000411230349.E235@parish> In-Reply-To: <200004111715.KAA24595@tera.com>; from kline@tera.com on Tue, Apr 11, 2000 at 10:15:43AM -0700 References: <200004111715.KAA24595@tera.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 11, 2000 at 10:15:43AM -0700, Gary Kline wrote:
>
> Anybody know how to set the console (or vconsole) to a light background
> with dark type? `vidcontrol show' shows you various flavors of fg and
> bg, but I didn't find anything that worked. (I found some pretty
> interestly ugly combos, tho.... :)
>
Not sure exactly what you're asking here; you obviously know about
``vidcontrol <foreground> <background>''
This script shows a wider range of combinations:
#!/bin/sh
# Display ANSI colours.
#
esc="\033["
echo -e "\t 40\t 41\t 42\t 43\t 44 45\t46\t 47"
for fore in 30 31 32 33 34 35 36 37; do
line1="$fore "
line2=" "
for back in 40 41 42 43 44 45 46 47; do
line1="${line1}${esc}${back};${fore}m Normal ${esc}0m"
line2="${line2}${esc}${back};${fore};1m Bold ${esc}0m"
done
echo -e "$line1\n$line2"
done
> thanks for some ideas,
>
> gary
>
>
>
> --
> Gary Kline
> Cray Inc
> Seattle, Washington
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
...and on the eighth day God created UNIX
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000411230349.E235>
