On Wed, Aug 22, 2001 at 01:30:41PM +0100, Brendan Bispham wrote:

> But perhaps I can get a definitive answer to coloring the foreground...
>
> I've tried both .Xresources and editing xt5250 and it still comes up green. I
> dont want to recompile the c source because I have 3 different AS400s to
> connect to and I like 3 different colors so I dont mix them up.
>
> My xt5250 has -fg blue and my ~/Xresources (and Xdefaults) has:
> as400*foreground: Blue
> as400_color*foreground: Blue
> xt5250*foreground: Yellow
> xt5250_color*foreground: Yellow
> ..but the only effect of all this is the xterm thinks it's in Blue (eg
> Ctl-leftclick gives the menu in blue).

You can try to define the mapping of terminal colors to X-colors with
X-resources. You can even do this for 3 different resource class names
and switch theses with some changes in xt5250.

I have in my .Xresources:

xt5250*color0:                   seashell
xt5250*color1:                   #330000
xt5250*color2:                   #000000
xt5250*color3:                   #333300
xt5250*color4:                   #000033
xt5250*color5:                   #330033
xt5250*color6:                   #003333
xt5250*color7:                   black
xt5250*color8:                   green
xt5250*color9:                   #660000
xt5250*color10:                  #333333
xt5250*color11:                  #666600
xt5250*color12:                  darkblue
xt5250*color13:                  #660066
xt5250*color14:                  #003366
xt5250*color15:                  black
xt5250*cursorColor:              red2

and the terminal comes up with a very different color scheme. With an
additional

xt5250-2*color0:                azure
.
.
.

and an xt5250 which calls xterm with -T "xt5250-2" you should get a
terminal with azure blue background.

--
Esda Feinstrumpffabrik GmbH
Frank Richter, Leiter EDV
Hauptstr. 76, D-09392 Auerbach
E-Mail: frichter@esda.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.