delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/08/09:42:59

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: Mon, 8 Mar 2004 15:44:57 +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: <20040308144457.GB1772@bln.sesa.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <649659476 DOT 20040306140409 AT gmx DOT de>
Mime-Version: 1.0
In-Reply-To: <649659476.20040306140409@gmx.de>
X-Request-PGP: http://www.foellinger.de/olaf.foellinger.asc
User-Agent: Mutt/1.5.6i

On Sat, Mar 06, 2004 at 02:04:09PM +0100, Mikka wrote:
> Hi Olaf,
> 
> You wrote:
> > Set the following values in .Xdefaults.
> > [...]
> >
> > 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.
> 
> Okay, building Rxvt*color references in .Xdefaults works fine.
> However, I can't find any hint in a documentation or (web) tutorial how

Where is this tutorial ?

> to point to these values within a prompt definition.
> Let's say, I've got the following prompt:
> 
> I want the path section to be "GreenYellow" (#ADFF2F), and the
> "mikka AT machine" part being rendered "OrangeRed" (#FF4500).
> In my .Xdefaults I set:
> 
> Rxvt*background:    #111111
> Rxvt*backspacekey:  ^H
> Rxvt*boldFont:      Andale Mono-14
> Rxvt*color0:        #111111
> Rxvt*color1:        GreenYellow
> Rxvt*color2:        LightGray
> Rxvt*color3:        OrangeRed
> Rxvt*color4:        White
> ...
> Rxvt*cursorColor:   GreenYellow
> 
> The values "GreenYellow" and "OrangeRed" are definitely accepted by
> rxvt, so I assume these settings are valid.

From where do you know this ? Where is a complete list of these colour
settings?

> $TERM is set to "rxvt" (also tried it with "cygwin") - dunno whether
> that matters - but how to refer correctly to the .Xdefaults colour
> values?
> 
> $color(0), ... $color(15) ?
> $color0, ... $color15 ?
> $Rxvt*color0, ... $Rxvt*color15 ?

rxvt -fg 2 -bg 14 works for me.
 
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