This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 256 colors for bash/rxvt-2.7.10-4 ?


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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]