delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/04/05:45:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 4 Mar 2004 11:47:40 +0100
From: Olaf =?iso-8859-1?Q?F=F6llinger?= <Olaf DOT Foellinger AT sesa DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: 256 colors for bash/rxvt-2.7.10-4 ?
Message-ID: <20040304104740.GC1944@bln.sesa.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <256199726 DOT 20040304113527 AT gmx DOT de>
Mime-Version: 1.0
In-Reply-To: <256199726.20040304113527@gmx.de>
X-Request-PGP: http://www.foellinger.de/olaf.foellinger.asc
User-Agent: Mutt/1.5.6i

On Thu, Mar 04, 2004 at 11:35:27AM +0100, Mikka wrote:
> Hi list,
> 
> according to rumors, the current build of the rxvt package enables 256
> colour support, at least I was able to do some sort of
> 
> ,-----[ .Xdefaults extract ]-----
> | Rxvt*cursorColor: GreenYellow
> | Rxvt*color1:      OrangeRed
> `-------------------
> 
> settings in my .Xdefaults file.
> Now, I can't figure out how to use those predefined colorX values for my
> prompt settings, PS1, PS2, ... etc.

I've played a little bit while searching the answer to your question and
came to the following result:

Set the following values in .Xdefaults.

$ cat .Xdefaults
Rxvt*color0:    #000000
Rxvt*color1:    #A80000
Rxvt*color2:    #00A800
Rxvt*color3:    #A8A800
Rxvt*color4:    #0000A8
Rxvt*color5:    #A800A8
Rxvt*color6:    #00A8A8
Rxvt*color7:    #A8A8A8

Rxvt*color8:    #000054
Rxvt*color9:    #FF0054
Rxvt*color10:   #00FF54
Rxvt*color11:   #FFFF54
Rxvt*color12:   #0000FF
Rxvt*color13:   #FF00FF
Rxvt*color14:   #00FFFF
Rxvt*color15:   #FFFFFF

Now we have defined 16 Colours out of 256. These 16 colours can now be
used in rxvt refering to them by name(colorX) or number.

I would gladly see how to use more than 16 colours in rxvt.
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019