From owner-freebsd-questions Mon Dec 20 16:56: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (Postfix) with ESMTP id 1425314EBF for ; Mon, 20 Dec 1999 16:56:03 -0800 (PST) (envelope-from myself@conterra.com) Received: from conterra.com (anonymous@dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.9.3/8.9.3) with ESMTP id TAA08853; Mon, 20 Dec 1999 19:55:59 -0500 (EST) Received: (from myself@localhost) by conterra.com (8.9.3/8.9.3) id TAA32468; Mon, 20 Dec 1999 19:53:45 -0500 (EST) (envelope-from myself) Date: Mon, 20 Dec 1999 19:53:45 -0500 From: "Donald J . Maddox" To: Mark Ovens Cc: Ben Smithurst , "Alexey N. Dokuchaev" , freebsd-questions Subject: Re: Colour manpages Message-ID: <19991220195344.A21265@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: <19991220175717.A1054@strontium.scientia.demon.co.uk> <19991221004329.A454@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991221004329.A454@marder-1>; from mark@dogma.freebsd-uk.eu.org on Tue, Dec 21, 1999 at 12:43:29AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Or, more simply, type: $ vidcontrol show :-) On Tue, Dec 21, 1999 at 12:43:29AM +0000, Mark Ovens wrote: > For a visual "list" of colour combinations, run this script (the > numbers along the top of the display are the bg colours and the ones > at the left are the fg colours): > > #!/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 > > > > HTH > > > -- > > Ben Smithurst | PGP: 0x99392F7D > > ben@scientia.demon.co.uk | key available from keyservers and > > | ben+pgp@scientia.demon.co.uk > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > "there's a long-standing bug relating to the x86 architecture > that allows you to install Windows too ;" > -Matthew D. Fuller > ________________________________________________________________ > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message