From owner-freebsd-questions Wed Apr 12 20:12:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tantalum.btinternet.com (tantalum.btinternet.com [194.73.73.80]) by hub.freebsd.org (Postfix) with ESMTP id 284F737BBA9 for ; Wed, 12 Apr 2000 20:11:05 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [62.6.102.58] (helo=parish.my.domain) by ruthenium.btinternet.com with esmtp (Exim 2.05 #1) id 12fTEU-0000PX-00; Wed, 12 Apr 2000 20:55:26 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id UAA00680; Wed, 12 Apr 2000 20:52:31 +0100 (BST) (envelope-from mark) Date: Wed, 12 Apr 2000 20:52:26 +0100 From: Mark Ovens To: Gary Kline Cc: freebsd-questions@freebsd.org Subject: Re: vidcontrol to set background... Message-ID: <20000412205226.B236@parish> References: <200004111715.KAA24595@tera.com> <20000411230349.E235@parish> <20000411192014.A25019@athena.sea.tera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000411192014.A25019@athena.sea.tera.com>; from kline@tera.com on Tue, Apr 11, 2000 at 07:20:14PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 11, 2000 at 07:20:14PM -0700, Gary Kline wrote: > On Tue, Apr 11, 2000 at 11:03:49PM +0100, Mark Ovens wrote: > > 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 '' > > > --What I tried after rebooting recently was something like > > # vidcontrol black white > > and that not working. Some others like `yellow blue' did > work, but then the directory listed by "ls -l" were invisible. > > Is there any reason that white | lightwhite won't work as a > console background? > Hmmm, works for me (I've just tried it to be certain). You have to do a clear(1) after the vidcontrol to repaint the current screen, but ls listings appear fine as black text on white (well greyish really) background. You can't use brightwhite (or bright-anything) as the background, only the foreground. What version of FreeBSD are you running? the syscons driver appears to have been completely re-written in 4.0? I'm on 4.0 BTW. > gary > > > > > > > > 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 > > > > -- > 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