Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: axp-list@redhat.com
Subject: Re: red and blue swapped on Alpha?
Date: Mon, 6 Jul 1998 19:34:48 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.980706193135.22983A-100000@earth.terran.org> (raw)
In-Reply-To: <199807070120.VAA01949@boojum.cs.brown.edu>

On Mon, 6 Jul 1998, Tim Rowley wrote:

> B. James Phillippe wrote:
> > But, to retrack the original topic: anyone here using a ZLXp-E2 on
> > RedHat-5.1 Linux text console in 640x480 have their red and blue colors
> > swapped?
> 
> Perhaps... but all command-line tools I use output in shades of
> gray.  Got anything good for displaying a palette in console
> mode?

Sure, this is what I use to test it (but DIR_COLORS and dialog have the
same problem):

#!/bin/sh
# - colortest
echo "Showing ANSI colors..."
echo ^[[30mColor 30^[[0m
echo ^[[31mColor 31^[[0m
echo ^[[32mColor 32^[[0m
echo ^[[33mColor 33^[[0m
echo ^[[34mColor 34^[[0m
echo ^[[35mColor 35^[[0m
echo ^[[36mColor 36^[[0m
echo ^[[37mColor 37^[[0m
echo ^[[38mColor 38^[[0m
echo ^[[39mColor 39^[[0m
echo ^[[1\;30mColor 30^[[0m
echo ^[[1\;31mColor 31^[[0m
echo ^[[1\;32mColor 32^[[0m
echo ^[[1\;33mColor 33^[[0m
echo ^[[1\;34mColor 34^[[0m
echo ^[[1\;35mColor 35^[[0m
echo ^[[1\;36mColor 36^[[0m
echo ^[[1\;37mColor 37^[[0m
echo ^[[1\;38mColor 38^[[0m
echo ^[[1\;39mColor 39^[[0m

An excerpt from DIR_COLORS showing what's what:

# Attributes
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white

cheers,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


  reply	other threads:[~1998-07-07  2:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-02 20:04 red and blue swapped on Alpha? B. James Phillippe
1998-07-06 16:59 ` Jim Paradis
1998-07-06 18:09   ` B. James Phillippe
1998-07-06 22:03     ` Paul Tomblin
1998-07-06 23:41       ` B. James Phillippe
1998-07-07  1:20         ` Tim Rowley
1998-07-07  2:34           ` B. James Phillippe [this message]
1998-07-07  5:56             ` Tim Rowley
1998-07-07  7:28               ` B. James Phillippe
1998-07-07  6:04                 ` Jay.Estabrook
1998-07-07 15:22                   ` Tim Rowley
1998-07-07 15:49                 ` Tim Rowley
1998-07-07 12:28       ` Scott Serr
1998-07-07 15:20         ` Jim Paradis
1998-07-08  1:12           ` Bryan W. Headley
  -- strict thread matches above, loose matches on Subject: below --
1998-07-07 17:37 Tibbetts, Richard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox