× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



thanks (and to martin) - but still having problems:

1) Do I have to restart X for the Xresources to take effect?
2) Which color is which?

This is what Ive done:
made xt52502, with the xterm -name "test5250"
entered in Xresources:
test5250*color1:blue
test5250*color8:blue

If I do ps x, it shows with a name of test5250 (although the title is xt5250
- test5250)

The color is green, the xterm menus are white.

I guess Ive got the colors wrong, or I need to edit Xdefaults or a typing
mistake, but having to shut down X each time is getting boring - I've been
here before.

Brendan

On Wednesday 22 August 2001 14:00, you wrote:
> 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
> _______________________________________________
> This is the Linux 5250 Development Project (LINUX5250) mailing list
> To post a message email: LINUX5250@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
> or email: LINUX5250-request@midrange.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-2024 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.